Commit graph android_packages_modules_Co.../core/java/android
Message SHA1
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

Robert Greenwalt   commited 2010-12-07 07:48:33 -08:00
eb123acefc
Notify all VMs when proxy changes.
bug:2700664
Change-Id: I74cc6e0bd6e66847bf18f524ce851e3e9d2c4e87

Robert Greenwalt   commited 2010-11-19 10:24:30 -08:00
c3c5f865a3
Remove NetworkUtils.isIpAddress.
Bug: 3073384
Change-Id: I5bd46d1995186c2384c68d0afff3b869f46624c5

Elliott Hughes   commited 2010-11-04 15:27:33 -07:00
29666e46f4
Use LinkProperties for IP and proxy configuration
Change-Id: I4ae817fb00141e9a742216b7fd02dca1ed228270

Irfan Sheriff   commited 2010-10-08 12:41:11 -07:00
e0b2c0fdc4
Add LinkAddress
LinkAddress stores IP address + prefix for a network link

Change-Id: Id3e74e9d0a62121d097ebdc9be064eeea257ba1f

Irfan Sheriff   commited 2010-10-06 11:04:05 -07:00
fb7c96415b
use hostname when address null ProxyProperties parcelling
In ProxyProperties parcel, use toString so that hostname
is used when address is null

Change-Id: I4813dbdaf3c4a7bb404edf960d0f990c732ec0b8

Irfan Sheriff   commited 2010-09-27 12:16:11 -07:00
30bdeb33fe
Cleanup copyright dates add missing method.
Change-Id: I2d8fe0b705e7c90efabb8b3427a539a4a1056874

Wink Saville   commited 2010-09-21 09:16:38 -07:00
1746543a54
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

Robert Greenwalt   commited 2010-09-17 16:14:10 -07:00
9f0ee4fcde
am 7d6070c3: am 134b28a7: Merge "Update Inet Connection Status display" into gingerbread
Merge commit '7d6070c3fd'

* commit '7d6070c3fd':
  Update Inet Connection Status display

Robert Greenwalt   authored and   Android Git Automerger   commited 2010-09-15 19:49:53 -07:00
978f509cea
am 134b28a7: Merge "Update Inet Connection Status display" into gingerbread
Merge commit '134b28a7f049719cb74fd5baadbbcc5915bc861b' into gingerbread-plus-aosp

* commit '134b28a7f049719cb74fd5baadbbcc5915bc861b':
  Update Inet Connection Status display

Robert Greenwalt   authored and   Android Git Automerger   commited 2010-09-15 18:02:59 -07:00
7d6070c3fd
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

Robert Greenwalt   commited 2010-09-15 17:54:17 -07:00
d3401f9b40
Add per network static IP settings
Remove the existing global static IP settings and add support
for per network configuration

Change-Id: I5a6d8b877471b8c8ad07951c96d273893754607f

Irfan Sheriff   commited 2010-09-14 16:15:22 -07:00
a416052905
Fix the build
add '*' so javadoc recognizes a comment block and finds the required @hide..

Change-Id: If665ba6549f9e017c063ea2800b7970917c33bdf

Robert Greenwalt   commited 2010-09-09 14:22:59 -07:00
b3102acc81
resolved conflicts for merge of ee6dfc50 to master
Change-Id: I31297232c9d918a967b93c3ae977f81b6a94f2ed

Robert Greenwalt   commited 2010-09-09 13:15:32 -07:00
24118e8a28
am 0727a865: Merge "Add network condition reporting." into gingerbread
Merge commit '0727a865d83b944c2fecc0bf1228a36976fe5300' into gingerbread-plus-aosp

* commit '0727a865d83b944c2fecc0bf1228a36976fe5300':
  Add network condition reporting.

Robert Greenwalt   authored and   Android Git Automerger   commited 2010-09-09 09:49:15 -07:00
ee6dfc507a
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

Robert Greenwalt   commited 2010-09-09 09:33:02 -07:00
986c741ac1
Some cleanup of Proxy class.
Switch to using InetSocketAddress.

Change-Id: Ibdb97fcd2d06eecaa1e847b78267180156089f27

Robert Greenwalt   commited 2010-09-03 16:18:41 -07:00
98f45836b6
Fix NPE in toString
bug:2965739
Change-Id: Ic3f274cba8ac668d86a8f69f1b2b738d348b3977

Robert Greenwalt   commited 2010-09-01 10:09:40 -07:00
e422ad9819
Fix crash when proxy exclusion list is null.
Also cleaned up source a little bit and eliminated a warning.

Bug: 2964821
Change-Id: I35825bb345742ea1a1854e8998aa67e353deaa17

Andrew Stadler   commited 2010-08-31 14:28:58 -07:00
e55ada7892
Fix reboot loop due to NPE
Bug: 2962059
Change-Id: I73d5fa5ef0f29dc139c843b34f58f189c94dfe4b

Irfan Sheriff   commited 2010-08-30 20:40:19 -07:00
fd151ec69b
Rename NetworkProperties to LinkProperties
Also add copy constructors and use them when giving out data.

Change-Id: Id320eb8fb91d0bd250305ce7bb4f628570215615

Robert Greenwalt   commited 2010-08-30 15:54:37 -07:00
1f1bcfe6a2
Merge "resolved conflicts for merge of 4ea54f44 to master"
Robert Greenwalt   authored and   Android (Google) Code Review   commited 2010-08-27 17:27:02 -07:00
906eda5bac
Add NetworkProperties to DataConnection.
Since we have NetworkProperties we can remove the individual accessors
from Phone and its subclasses.

Change-Id: Id9969a880405900a63051b3ae4019d889afb1fe8

Wink Saville   commited 2010-08-27 11:15:18 -07:00
7d85790ad8
resolved conflicts for merge of 4ea54f44 to master
Change-Id: Ia77bb59a6e1950648c8ebf7db307e204f93a9f56

Robert Greenwalt   commited 2010-08-27 11:05:11 -07:00
7fe44cbc2b
resolved conflicts for merge of b998f311 to gingerbread-plus-aosp
Change-Id: I7ceb0b624e78d85542d1c36bfabeb5dc31961505

Robert Greenwalt   commited 2010-08-25 17:48:47 -07:00
7ac5d3748d
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

Robert Greenwalt   commited 2010-08-20 10:01:55 -07:00
da9f734152
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

Banavathu, Srinivas Naik   authored and   Banavathu Srinivas Naik   commited 2010-08-19 12:50:35 -07:00
7601f575aa
bluetooth tethering
Change-Id: Id6d5fb1922facc7013abc29214d3e1141995b767

Danica Chang   commited 2010-08-18 15:07:50 -07:00
965670546b
Avoid hostname lookup in NetworkProperties
Bug: 2870816
Change-Id: Iba98d7d25da5068051dba19aa04702cc93b7cc05

Irfan Sheriff   commited 2010-08-04 15:15:49 -07:00
a89f2ad616
Refactor WifiStateTracker
Implement WifiStateTracker as a HSM.

Change-Id: Ic12fd78f1f183b5c4dea8ad2301002267ceff0cb

Irfan Sheriff   commited 2010-07-27 11:59:29 -07:00
653e2a2f64
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

Robert Greenwalt   commited 2010-07-13 18:07:41 -07:00
a7dfbd3a1d
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

Robert Greenwalt   commited 2010-06-16 11:04:37 -07:00
93dc104209
Make NetworkStateTracker an interface
As part of the WifiStateTracker cleanup, need
to have NetworkStateTracker as an interface.

Change-Id: I2ac48d7e4c7274ac4df40bc3b8591b182956a936

Irfan Sheriff   commited 2010-06-10 10:55:23 -07:00
7f132d9680
Add definitions for WiMAX and iDen network types.
b/2509185

Change-Id: Icf07ce857874e200712218713edbdbb47e646297

jsh   commited 2010-03-15 15:31:08 -07:00
bfa8172505
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.

Robert Greenwalt   commited 2010-03-03 15:14:29 -08:00
4283ded6b4
Add mobile data on/off switch.
bug:2251458

Robert Greenwalt   commited 2010-02-24 18:14:07 -08:00
1b21f6c058
Update Tethering.
Adds telephony support, async model, multiple tethered iface suport,
better notifications, device config.

bug:2413855

Robert Greenwalt   commited 2010-02-16 16:56:09 -08:00
8e87f12bed
First pass at USB Tethering.
bug:2281900

Robert Greenwalt   commited 2010-02-04 09:15:06 -08:00
0c4828c25d
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.

Robert Greenwalt   commited 2010-01-13 11:47:50 -08:00
993d19f923
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

Robert Greenwalt   commited 2010-01-13 10:01:44 -08:00
c0ee47ffc5
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

Robert Greenwalt   commited 2009-09-10 18:01:01 -07:00
4666ed0e7e
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.

Robert Greenwalt   commited 2009-08-12 16:08:25 -07:00
2034b91973
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>

Mike Lockwood   commited 2009-07-10 17:24:07 -04:00
1791998080
AI 146222: Manual merge of 145980 from donutburger => master.
Automated import of CL 146222

Eric Shienbrood   authored and   The Android Open Source Project   commited 2009-04-14 15:40:20 -07:00
418d2d13d3
auto import from //depot/cupcake/@135843
The Android Open Source Project   commited 2009-03-03 19:31:44 -08:00
28527d2c5f
auto import from //depot/cupcake/@135843
The Android Open Source Project   commited 2009-03-03 18:28:45 -08:00
ae5a5399b4
auto import from //branches/cupcake/...@130745
The Android Open Source Project   commited 2009-02-10 15:44:00 -08:00
cffb11385e
Code drop from //branches/cupcake/...@124589
The Android Open Source Project   commited 2008-12-17 18:05:43 -08:00
0caef3f9f1
Initial Contribution
The Android Open Source Project   commited 2008-10-21 07:00:00 -07:00
54a942fddf