Jaikumar Ganesh
0db51a0631
Add TYPE_BLUETOOTH network interface for reverse tethering.
...
Change-Id: I2aa61ce15f57aea9e8fd3a4cb56799c8bc51e998
2010-12-22 15:24:18 -08:00
Robert Greenwalt
eb123acefc
Add a Dummy data connection for testing purposes.
...
Enable with:
<string-array translatable="false" name="networkAttributes">
<item>"wifi,1,1,1"</item>
<item>"dummy,7,7,0"</item>
</string-array>
in your config.xml
Change-Id: I3965edaeb4873e95131f4083b8d23d682ce17841
2010-12-07 07:48:33 -08:00
Robert Greenwalt
c3c5f865a3
Notify all VMs when proxy changes.
...
bug:2700664
Change-Id: I74cc6e0bd6e66847bf18f524ce851e3e9d2c4e87
2010-11-19 10:24:30 -08:00
Elliott Hughes
29666e46f4
Remove NetworkUtils.isIpAddress.
...
Bug: 3073384
Change-Id: I5bd46d1995186c2384c68d0afff3b869f46624c5
2010-11-04 15:27:33 -07:00
Irfan Sheriff
e0b2c0fdc4
Use LinkProperties for IP and proxy configuration
...
Change-Id: I4ae817fb00141e9a742216b7fd02dca1ed228270
2010-10-08 12:41:11 -07:00
Irfan Sheriff
fb7c96415b
Add LinkAddress
...
LinkAddress stores IP address + prefix for a network link
Change-Id: Id3e74e9d0a62121d097ebdc9be064eeea257ba1f
2010-10-06 11:04:05 -07:00
Irfan Sheriff
30bdeb33fe
use hostname when address null ProxyProperties parcelling
...
In ProxyProperties parcel, use toString so that hostname
is used when address is null
Change-Id: I4813dbdaf3c4a7bb404edf960d0f990c732ec0b8
2010-09-27 12:16:11 -07:00
Wink Saville
1746543a54
Cleanup copyright dates add missing method.
...
Change-Id: I2d8fe0b705e7c90efabb8b3427a539a4a1056874
2010-09-21 09:16:38 -07:00
Robert Greenwalt
9f0ee4fcde
Enhance http proxy support
...
Make it read proxys the correct way from CS so it works for all network types.
Add utility class for apache http client support.
bug:2700664
Change-Id: If81917b19b5f0636247a6519a1ec78bd8dbf3596
2010-09-17 16:14:10 -07:00
Robert Greenwalt
978f509cea
am 7d6070c3: am 134b28a7: Merge "Update Inet Connection Status display" into gingerbread
...
Merge commit '7d6070c3fd486af99f44c0fa3d4e8a7bc484ed95'
* commit '7d6070c3fd486af99f44c0fa3d4e8a7bc484ed95':
Update Inet Connection Status display
2010-09-15 19:49:53 -07:00
Robert Greenwalt
7d6070c3fd
am 134b28a7: Merge "Update Inet Connection Status display" into gingerbread
...
Merge commit '134b28a7f049719cb74fd5baadbbcc5915bc861b' into gingerbread-plus-aosp
* commit '134b28a7f049719cb74fd5baadbbcc5915bc861b':
Update Inet Connection Status display
2010-09-15 18:02:59 -07:00
Robert Greenwalt
d3401f9b40
Update Inet Connection Status display
...
Cellular signal strength should also be green - these assets aren't, but
the art guys are working on that.
Also using a new intent so we don't overload the CONNECTIVITY_ACTION and
confuse the apps.
bug:2994024
Change-Id: I6fe8f65dd6e9869d9724064c4fae45340491a4d8
2010-09-15 17:54:17 -07:00
Irfan Sheriff
a416052905
Add per network static IP settings
...
Remove the existing global static IP settings and add support
for per network configuration
Change-Id: I5a6d8b877471b8c8ad07951c96d273893754607f
2010-09-14 16:15:22 -07:00
Robert Greenwalt
b3102acc81
Fix the build
...
add '*' so javadoc recognizes a comment block and finds the required @hide..
Change-Id: If665ba6549f9e017c063ea2800b7970917c33bdf
2010-09-09 14:22:59 -07:00
Robert Greenwalt
24118e8a28
resolved conflicts for merge of ee6dfc50 to master
...
Change-Id: I31297232c9d918a967b93c3ae977f81b6a94f2ed
2010-09-09 13:15:32 -07:00
Robert Greenwalt
ee6dfc507a
am 0727a865: Merge "Add network condition reporting." into gingerbread
...
Merge commit '0727a865d83b944c2fecc0bf1228a36976fe5300' into gingerbread-plus-aosp
* commit '0727a865d83b944c2fecc0bf1228a36976fe5300':
Add network condition reporting.
2010-09-09 09:49:15 -07:00
Robert Greenwalt
986c741ac1
Add network condition reporting.
...
Apps can report if they like their connection to the nets
and we display either not-really-connected or fully-connected
icons. Final icons TBD.
bug:2978624
Change-Id: I28be52085edfe54571c0d4559aba0df883548654
2010-09-09 09:33:02 -07:00
Robert Greenwalt
98f45836b6
Some cleanup of Proxy class.
...
Switch to using InetSocketAddress.
Change-Id: Ibdb97fcd2d06eecaa1e847b78267180156089f27
2010-09-03 16:18:41 -07:00
Robert Greenwalt
e422ad9819
Fix NPE in toString
...
bug:2965739
Change-Id: Ic3f274cba8ac668d86a8f69f1b2b738d348b3977
2010-09-01 10:09:40 -07:00
Andrew Stadler
e55ada7892
Fix crash when proxy exclusion list is null.
...
Also cleaned up source a little bit and eliminated a warning.
Bug: 2964821
Change-Id: I35825bb345742ea1a1854e8998aa67e353deaa17
2010-08-31 14:28:58 -07:00
Irfan Sheriff
fd151ec69b
Fix reboot loop due to NPE
...
Bug: 2962059
Change-Id: I73d5fa5ef0f29dc139c843b34f58f189c94dfe4b
2010-08-30 20:40:19 -07:00
Robert Greenwalt
1f1bcfe6a2
Rename NetworkProperties to LinkProperties
...
Also add copy constructors and use them when giving out data.
Change-Id: Id320eb8fb91d0bd250305ce7bb4f628570215615
2010-08-30 15:54:37 -07:00
Robert Greenwalt
906eda5bac
Merge "resolved conflicts for merge of 4ea54f44 to master"
2010-08-27 17:27:02 -07:00
Wink Saville
7d85790ad8
Add NetworkProperties to DataConnection.
...
Since we have NetworkProperties we can remove the individual accessors
from Phone and its subclasses.
Change-Id: Id9969a880405900a63051b3ae4019d889afb1fe8
2010-08-27 11:15:18 -07:00
Robert Greenwalt
7fe44cbc2b
resolved conflicts for merge of 4ea54f44 to master
...
Change-Id: Ia77bb59a6e1950648c8ebf7db307e204f93a9f56
2010-08-27 11:05:11 -07:00
Robert Greenwalt
7ac5d3748d
resolved conflicts for merge of b998f311 to gingerbread-plus-aosp
...
Change-Id: I7ceb0b624e78d85542d1c36bfabeb5dc31961505
2010-08-25 17:48:47 -07:00
Robert Greenwalt
da9f734152
DO NOT MERGE Fixing Connectivity
...
Passing Gateway addr info from telephony into ConnectivityService so it can
add/remove the default route as needed. Fixed differently on master.
bug:2927822
Change-Id: I9a3ee7cd23c4717e7c60098f0595aa3f77c44b15
2010-08-20 10:01:55 -07:00
Banavathu, Srinivas Naik
7601f575aa
Add an API to request route to an IPv6 host.
...
Add API to create a route to an IPv6 host through a particular
interface.
Change-Id: I7649051e94832576e02b5f5ad17abe093d21d48e
2010-08-19 12:50:35 -07:00
Danica Chang
965670546b
bluetooth tethering
...
Change-Id: Id6d5fb1922facc7013abc29214d3e1141995b767
2010-08-18 15:07:50 -07:00
Irfan Sheriff
a89f2ad616
Avoid hostname lookup in NetworkProperties
...
Bug: 2870816
Change-Id: Iba98d7d25da5068051dba19aa04702cc93b7cc05
2010-08-04 15:15:49 -07:00
Irfan Sheriff
653e2a2f64
Refactor WifiStateTracker
...
Implement WifiStateTracker as a HSM.
Change-Id: Ic12fd78f1f183b5c4dea8ad2301002267ceff0cb
2010-07-27 11:59:29 -07:00
Robert Greenwalt
a7dfbd3a1d
Pass network properties to ConnectivityService.
...
Used as a bag to hold ipaddr, gateway, dns, proxy info.
addr's are InetAddresses for v4/v6 use. Cleaning up some old v4-only code
bug:2655015
Change-Id: I7ac886fe5c519e8bab42f49cd82a5189d9c9ab59
2010-07-13 18:07:41 -07:00
Robert Greenwalt
93dc104209
Move the net transition wakelock to ConnService.
...
When the default network goes down we lose the wake-on-incoming-data capability
until the new net is brought up and apps rebuild their connections. We fixed this
in Wifi, but it's a general connectivity issue, not a wifi issue so moving the
mechanism to connecitivty so other networks can use it.
bug:2734419
Change-Id: I39b5d825eb6b548bd9bb8f179b89254f4db53147
2010-06-16 11:04:37 -07:00
The Android Open Source Project
2198ddbc38
merge from open-source master
...
Change-Id: I0684cac9eb230d864614aef0634c072f4e3ef6a3
2010-06-15 11:37:17 -07:00
Szymon Jakubczak
c23dbd2557
- updates NetUtils to use new libnetutils headers
...
- updates WifiStateTracker to track net.XXX.dnsX properties for name servers
- removes dhcp from WifiNative (use NetworkUtils instead)
Change-Id: Ic69ff253e8784cad34e9291e7970ee38bfa235b9
2010-06-15 10:22:25 -07:00
Irfan Sheriff
7f132d9680
Make NetworkStateTracker an interface
...
As part of the WifiStateTracker cleanup, need
to have NetworkStateTracker as an interface.
Change-Id: I2ac48d7e4c7274ac4df40bc3b8591b182956a936
2010-06-10 10:55:23 -07:00
jsh
bfa8172505
Add definitions for WiMAX and iDen network types.
...
b/2509185
Change-Id: Icf07ce857874e200712218713edbdbb47e646297
2010-03-15 15:31:08 -07:00
Robert Greenwalt
4283ded6b4
Add error reporting for Tethering.
...
Also make the usb interface configuration more robust so retries are possible.
Makes all Tethering errors recoverable - no harm letting them try again anyway. Worst case
is they need to reboot.
2010-03-03 15:14:29 -08:00
Robert Greenwalt
1b21f6c058
Add mobile data on/off switch.
...
bug:2251458
2010-02-24 18:14:07 -08:00
Robert Greenwalt
8e87f12bed
Update Tethering.
...
Adds telephony support, async model, multiple tethered iface suport,
better notifications, device config.
bug:2413855
2010-02-16 16:56:09 -08:00
Robert Greenwalt
0c4828c25d
First pass at USB Tethering.
...
bug:2281900
2010-02-04 09:15:06 -08:00
Robert Greenwalt
993d19f923
Fix Javadoc errors so the sdk can build.
...
I unhid some API in a previous install, triggering javadoc processing on
their buggy comments.
Fixing build.
2010-01-13 11:47:50 -08:00
Robert Greenwalt
c0ee47ffc5
Unhide some CM constants to support unbundling.
...
The MOBILE_MMS, MOBILE_SUPL, MOBILE_DUN and MOBILE_HIPRI net types used
by location, messaging, and vending needed to be exposed.
Bug: 2363272
Change-ID: I6d2361d3642064db619b283b9217512563eb3439
2010-01-13 10:01:44 -08:00
Robert Greenwalt
4666ed0e7e
Fix for multi-apn MMS access.
...
Mark cellular variants with the same availability, regardless of which are currently in use.
Availability just means the radio is enabled and sees the network, but has no guarantees that
we could connect to an APN if requested.
Fix the requestRouteToHost logic to support apn switches without WIFI.
bug:2093841
2009-09-10 18:01:01 -07:00
Robert Greenwalt
2034b91973
Add net type to mobile for mobile-required traffic
...
This also refactors ConnectivityService a bit towards supporting multiple simultaneous connections by making each a seem like a seperate Network with it's own stateTracker, etc.
Also adds tracking of process death to clean orphaned startUsingNetworkFeature features.
2009-08-12 16:08:25 -07:00
Mike Lockwood
1791998080
wifi: Keep the WLAN network interface up whenever wifi is enabled.
...
We now only bring it down briefly and bring it back up again when
we want to reset the interface.
Signed-off-by: Mike Lockwood <lockwood@android.com >
2009-07-10 17:24:07 -04:00
Eric Shienbrood
418d2d13d3
AI 146222: Manual merge of 145980 from donutburger => master.
...
Automated import of CL 146222
2009-04-14 15:40:20 -07:00
The Android Open Source Project
28527d2c5f
auto import from //depot/cupcake/@135843
2009-03-03 19:31:44 -08:00
The Android Open Source Project
ae5a5399b4
auto import from //depot/cupcake/@135843
2009-03-03 18:28:45 -08:00
The Android Open Source Project
cffb11385e
auto import from //branches/cupcake/...@130745
2009-02-10 15:44:00 -08:00