Robert Greenwalt
af2eb4f6db
Make new networkAttribute parameter non-optional.
...
Dependencymet sets the default dep-met value for the network. Should
be set to true unless you know what you're doing.
Change-Id: Ifa3765a97615f5333da07bce9defdb8600275129
2011-04-25 16:04:45 -07:00
Benoit Goby
43be7a6120
EthernetDataTracker: implement setDependencyMet
...
Change-Id: I4be804e3c9dccacfacb5cb813a4ad6f513224f06
2011-04-11 20:13:10 -07:00
Benoit Goby
2869d1715d
resolved conflicts for merge of 08c39c6a to honeycomb-LTE
...
Change-Id: I79f8ac1dc8ff9f5d0559d37043b850cd26246b92
2011-04-11 18:41:23 -07:00
Benoit Goby
08c39c6a11
Add support for USB Ethernet adapters
...
Change-Id: I6ae34a32d0e1b6f21c484b8639c3e7ce086e568d
2011-04-11 16:33:43 -07:00
Robert Greenwalt
70c3d1c23b
Merge "Add external dependency API." into honeycomb-LTE
2011-04-07 13:02:28 -07:00
John Wang
4e900091c4
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
d55a6b498d
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
Robert Greenwalt
04cac40ff8
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
9d7d62801d
Do not merge: Revert the revert of "LTE Changes for Telephony including Multiple PDN support and IPV6 support"
...
This reverts commit eca208fae6
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
eca208fae6
DO NOT MERGE: Revert "LTE Changes for Telephony including Multiple PDN support and IPV6 support"
...
This reverts commit 2b8bcfe5b7 .
Change-Id: Ifc4e9aaccb54e065a36380710694cd6e4d347636
2011-03-03 09:53:52 -08:00
Robert Greenwalt
7e48e76cab
Merge "Start using NetworkUtils.numericToInetAddress."
2011-03-02 12:10:51 -08:00
Robert Greenwalt
e590373ea7
Start using NetworkUtils.numericToInetAddress.
...
Generates InetAddresses without risking an accidental dns lookup. For use with supposedly
numeric-only ip address strings.
Change-Id: I694f3976ce1c6382854706f6557ea88a289add3a
2011-03-02 11:37:32 -08:00
Wink Saville
2b8bcfe5b7
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
Robert Greenwalt
e5a3e97901
Merge "Remove some unused code."
2011-02-21 13:25:14 -08:00
Robert Greenwalt
645b83f3ec
Remove some unused code.
...
Change-Id: Id29bf7d2118065e2e772b22d910bda1c6de2a475
2011-02-21 11:22:35 -08:00
Irfan Sheriff
227bec4915
data activity reporting on wifi
...
Initial checkin, need icons to complete the feature
Bug: 3412258
Change-Id: I9a3ecc8159cc314d84707065dafe23d402409a84
2011-02-17 13:57:55 -08:00
Brian Carlstrom
cc687c52a0
Deprecate non-X509Certificate SslCertificate constructors
...
Change-Id: I45541c48b321fbd6054712c08d8ac64108d32674
2011-02-16 12:50:56 -08:00
Elliott Hughes
f5bbb57204
Use InetAddress.parseNumericAddress.
...
Bug: 3300307
Change-Id: I4ebfe533056e67931db1117e934596ba7b5c8b75
2011-02-15 17:11:29 -08:00
Robert Greenwalt
b979f79158
Remove more use of netmask
...
bug:2542681
Change-Id: Ifd75672739ee8262d4df22afd8173e4f3f67260d
2011-02-14 14:32:33 -08:00
Robert Greenwalt
992564e481
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
Stan Chesnutt
eafccc0859
Place the DHCP server address in the "next server IP address"
...
field of the bootp header. A certain Apple client likes this,
and it is more consistent with other DHCP servers.
Change-Id: I59e73fbf3dccfbadd1325d3ad5e2997952a28fde
2011-02-03 17:32:39 -08:00
Robert Greenwalt
f8d40f0d55
Merge "Bind addr and prefixLength together in LinkAddress"
2011-02-03 13:17:48 -08:00
Stan Chesnutt
045b166ac2
Provide an empty List of dns servers, protecting against an NPE if the
...
DHCP server omits the list of DNS servers from the DHCP-OFFER packet.
Change-Id: I4cdb3d47f36ecceaef390948741c0632067ee8ba
2011-02-02 12:10:21 -08:00
Brian Carlstrom
929a1c2192
Removing android.security.MessageDigest
...
Bug: 3392028
Change-Id: I6b9732da17d086ba00c846c3ad1c7fb39baf9502
2011-02-01 22:25:47 -08:00
Ashish Sharma
e982f711a3
Merge "Fix a minor documentation bug in TrafficStats."
2011-01-31 17:32:40 -08:00
Ashish Sharma
beda53d5a6
Fix a minor documentation bug in TrafficStats.
...
Change-Id: I3cf2199797d875ccb6ab432c298afaace44c7527
Signed-off-by: Ashish Sharma <ashishsharma@google.com >
2011-01-31 14:30:16 -08:00
Robert Greenwalt
b46062bc08
am f8fdec50: resolved conflicts for merge of aa3866e6 to honeycomb-plus-aosp
...
* commit 'f8fdec50c7871b640c13cfe3e2e7a3b449f62f69':
Add some network types that OEM's are asking for.
2011-01-29 09:35:28 -08:00
Robert Greenwalt
f8fdec50c7
resolved conflicts for merge of aa3866e6 to honeycomb-plus-aosp
...
Change-Id: I7a3445f7df2a66c70f630fa63ceb4ae150d70963
2011-01-29 09:32:04 -08:00
Robert Greenwalt
aa3866e6fa
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
ed12640932
Bind addr and prefixLength together in LinkAddress
...
bug:2542681
Change-Id: I90200446216d78c676498144946832afe75efdb8
2011-01-28 15:34:55 -08:00
Robert Greenwalt
e12aec941d
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
Ashish Sharma
c39c1d4dee
TrafficStats: Include UDP stats and packet count to API
...
Change-Id: I70063e6033d3c181bcc5b9e401f9474900e25281
Signed-off-by: Ashish Sharma <ashishsharma@google.com >
2011-01-27 15:52:38 -08:00
Robert Greenwalt
68e18d2329
Fix the build
...
Check for null before trying to make InetAddresses.
Change-Id: I3228eea32eb455437dd76be2de56a913884f3f6e
2011-01-27 10:49:27 -08:00
Robert Greenwalt
b27ce98451
am 89a54408: Merge "Update networktype before sending state change." into gingerbread
...
* commit '89a544088fcfa849be0d8824a2ac0a545950847b':
Update networktype before sending state change.
2011-01-27 10:20:33 -08:00
Robert Greenwalt
70d2c4d82c
Get rid of manual int->ipv4 string generation
...
bug:2542681
Change-Id: I67919d7b5dc8d72eeb2dfb9e3906210b1951d4fb
2011-01-26 13:57:24 -08:00
Robert Greenwalt
67881c414a
Update networktype before sending state change.
...
Fixes potential race condition in network-type info. May fix this issue.
bug:3376930
Change-Id: I3d5fd7c76e54923b62c56defa947be3c9c1cd585
2011-01-26 13:39:46 -08:00
Robert Greenwalt
0216e61819
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
Brian Carlstrom
aa16a0f357
am f2b7c844: am 8d37c4ef: Merge "Tracking jarjar of org.bouncycastle to com.android.org.bouncycastle" into honeycomb
...
* commit 'f2b7c84468c5397b44566c393bec2675d73817b7':
Tracking jarjar of org.bouncycastle to com.android.org.bouncycastle
2011-01-25 11:03:52 -08:00
Brian Carlstrom
4140faeebb
Tracking jarjar of org.bouncycastle to com.android.org.bouncycastle
...
Bug: 3086427
Change-Id: I7af99fe4c36d9a519777f0499ccab65646313879
2011-01-24 18:17:21 -08:00
Robert Greenwalt
27d3c5907c
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
Irfan Sheriff
ff017477f8
am fc6ef518: am 326feb89: Merge "Pick an upstream interface with valid IP config" into honeycomb
...
* commit 'fc6ef518e0696ca45608ca07803aa50081f9f72f':
Pick an upstream interface with valid IP config
2011-01-17 14:47:41 -08:00
Irfan Sheriff
29552095e1
Pick an upstream interface with valid IP config
...
As a work around for the issue of picking
the wrong interface, add a check for selecting
an upstream interface that has a valid IP configuration
Bug: 3362306
Change-Id: I01084517cff756c97660b2cfbfa8e9bf26673148
2011-01-17 13:50:48 -08:00
Robert Greenwalt
e5a3556268
am 7b04b1d7: am 1e02ebd2: Merge "Update network subtypes info so it is current." into honeycomb
...
* commit '7b04b1d7ff7a38be30794c25e893beb40616affb':
Update network subtypes info so it is current.
2011-01-14 12:28:58 -08:00
Robert Greenwalt
17415b9292
Update network subtypes info so it is current.
...
bug:3327895
Change-Id: Ic1e2a5527c651333af50cc5cfa6c44a15b991fb0
2011-01-14 11:23:54 -08:00
Wink Saville
1a7e671902
Revert "Propagate new link-status-change message to any NetworkManagementService"
...
This reverts commit 780dfa42aa .
2011-01-09 12:16:38 -08:00
Stan Chesnutt
780dfa42aa
Propagate new link-status-change message to any NetworkManagementService
...
observers. Also fix the syntax of the "interface-status-change" message. Add
a null handler in the ThrottleService and Tethering classes (plus fix names).
Change-Id: I58cabc7b0ce5662243bc6513b2de4818065e6c52
2011-01-07 11:40:33 -08:00
Vasu Nori
a085ef3e35
am a270bd59: Merge "fix a long-standing \'typo\' bug" into honeycomb
...
* commit 'a270bd59a8e6d291af8c1cfcf13af5260ec0ed5a':
fix a long-standing 'typo' bug
2011-01-07 00:29:38 -08:00
Jesse Wilson
07481ccd1d
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
Vasu Nori
29549c7abd
fix a long-standing 'typo' bug
...
bug:2676368
Change-Id: Ie7381f343223c3bd4757de962efab7b75fe2cf1d
2011-01-06 18:46:39 -08:00
Jean-Baptiste Queru
4887804ea6
am a6ac0ec3: am 69ebb984: Merge "according to rfc2617, nc-value = 8LHEX"
...
* commit 'a6ac0ec30dfdacb7baba126b5cea69fc7097496e':
according to rfc2617, nc-value = 8LHEX
2010-12-28 15:53:41 -08:00