John Wang
a8191da467
am f2cc9d1c: am 5d6f1167: Merge "Make LinkProperties comparable." into honeycomb-LTE
...
* commit 'f2cc9d1c7a54d92ed5d8357253963db4b614d203':
Make LinkProperties comparable.
2011-04-07 12:48:17 -07:00
John Wang
3e567d5c3a
Make LinkProperties comparable.
...
Add equals() and hashcode() to LinkProperties and related fields.
Bug:3501569
Change-Id: Ifa737a67c16867ac43cf76bf618a483e612a189e
2011-04-07 12:36:56 -07:00
Robert Greenwalt
34848c0192
Add external dependency API.
...
An APN will not be connected to if some external dependency is not met.
bug:3486704
Change-Id: I7d94df343b260013efd11faa978deb13f07f1389
2011-04-07 12:28:37 -07:00
Brian Carlstrom
587274ea3a
Don't use local ref for cached jclass reference in JNI code
...
Change-Id: Id45b2acb358a819f2fd332e99f3a095f6fc7299b
related-to-bug: 4241138
2011-04-06 10:04:20 -07:00
Robert Greenwalt
dab2c6223e
Do not merge: Add some input checking to prevent problems
...
Adding nulls can cause unhappiness. It's suspected as a cause of 3495045.
bug:3495045
Change-Id: I925c965ef64032fc57849bf15fe9b11f4bc99351
2011-03-14 12:25:09 -07:00
Wink Saville
b7c92c720f
Do not merge: Revert the revert of "LTE Changes for Telephony including Multiple PDN support and IPV6 support"
...
This reverts commit bbba216fe3
and is the first of the LTE commits in master being back ported
to the LTE branch.
Change-Id: I17d4a1b779ed74bc7dfb409d2c1a30f60fdb27c7
2011-03-14 12:25:04 -07:00
Wink Saville
bbba216fe3
DO NOT MERGE: Revert "LTE Changes for Telephony including Multiple PDN support and IPV6 support"
...
This reverts commit f6b7669493 .
Change-Id: Ifc4e9aaccb54e065a36380710694cd6e4d347636
2011-03-03 09:53:52 -08:00
Robert Greenwalt
0ce55042b4
Add some input checking to prevent problems
...
Adding nulls can cause unhappiness. It's suspected as a cause of 3495045.
bug:3495045
Change-Id: I1d83a5461caa0b8de9602f93a40681e7963b915e
2011-03-02 17:03:37 -08:00
Wink Saville
f6b7669493
LTE Changes for Telephony including Multiple PDN support and IPV6 support
...
Added init for CDMAPhone.java
Change-Id: I2392b5ad3382ee1993537b8477ef00dd036c6fe9
2011-02-24 18:23:36 -08:00
Elliott Hughes
3064b9e18e
Use InetAddress.parseNumericAddress.
...
Bug: 3300307
Change-Id: I4ebfe533056e67931db1117e934596ba7b5c8b75
2011-02-15 17:11:29 -08:00
Robert Greenwalt
7fae12cc19
Remove more use of netmask
...
bug:2542681
Change-Id: Ifd75672739ee8262d4df22afd8173e4f3f67260d
2011-02-14 14:32:33 -08:00
Robert Greenwalt
5c733977a4
Update LinkProperties treatment of gateways
...
A link can have multiple gateways (think ipv4/ipv6 for a trivial example).
.
bug:3438810
Change-Id: I28c90a6947cd50b82e5ca9a0113148f98b3f4dd8
2011-02-11 11:06:23 -08:00
Robert Greenwalt
f2b39b4773
am 996d60e3: resolved conflicts for merge of 36165a67 to honeycomb-plus-aosp
...
* commit '996d60e3a5abe29479b741bd1b346977e4c101aa':
Add some network types that OEM's are asking for.
2011-01-29 09:35:28 -08:00
Robert Greenwalt
996d60e3a5
resolved conflicts for merge of 36165a67 to honeycomb-plus-aosp
...
Change-Id: I7a3445f7df2a66c70f630fa63ceb4ae150d70963
2011-01-29 09:32:04 -08:00
Robert Greenwalt
36165a676a
am 6b739dc7: Merge "Add some network types that OEM\'s are asking for." into gingerbread
...
* commit '6b739dc7292452227cdd8abd90658f4db8f0ce70':
Add some network types that OEM's are asking for.
2011-01-29 06:55:38 -08:00
Robert Greenwalt
9d07781cb6
Add some network types that OEM's are asking for.
...
Adding them hidden so that if OEM's are rolling their own at least they can
use the same values. Will mark them unhidden in a future sdk release.
bug:3395729
Change-Id: I90eabe036a96e1aa7c8cac49ca51efd9b1776a0c
2011-01-28 14:48:37 -08:00
Robert Greenwalt
52ef39aff1
Fix the build
...
Check for null before trying to make InetAddresses.
Change-Id: I3228eea32eb455437dd76be2de56a913884f3f6e
2011-01-27 10:49:27 -08:00
Robert Greenwalt
3ec1eeea3a
Get rid of manual int->ipv4 string generation
...
bug:2542681
Change-Id: I67919d7b5dc8d72eeb2dfb9e3906210b1951d4fb
2011-01-26 13:57:24 -08:00
Robert Greenwalt
7baf8a8f08
Make the interface with DHCP IPv6 capable.
...
It doesn't work (yet) for IPv6, but we can remove v4-centric notions from the framework.
bug:2542681
Change-Id: I21c058f5c88d07706c9265bf0ea902fc90357e56
2011-01-26 09:10:01 -08:00
Robert Greenwalt
2e1763cb15
Switch from NetworkUtils to netd for iface config.
...
Moving more stuff to netd and getting rid of unused NetworkUtils.
Change-Id: Ibb5a11dca58d07291fe33e6d33027553f6158ea7
2011-01-21 10:44:12 -08:00
Jesse Wilson
3741bedee7
Deprecate a method that formats only IPv4 addresses.
...
Anyone calling this method is probably storing IP addresses
in an int, which doesn't make sense anymore.
Change-Id: Iba535b66f6cff47ce07b5ecc6427e3b2fd846998
2011-01-06 19:33:00 -08:00
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