Robert Greenwalt
5364d754c9
Correct an error code to pass CTS.
...
We used to report an unmatch stopUsingNetworkFeature call with an "ok, stopped" response,
but we need to report it as an error.
bug:3281837
Change-Id: I35728159e62a021cb10de4396b3f60a92df0570f
2010-12-15 15:22:50 -08:00
Nick Kralevich
553ae9a71a
still seeing flakyness. Increase retries.
...
Change-Id: I988afa2922dc503bcdff455822088ad22c854d97
2010-12-13 14:02:45 -08:00
Nick Kralevich
26c4fe935f
Make ListeningPortsTest less flaky.
...
When a DNS lookup occurs, a new listening UDP socket will be
created to receive the DNS response. This listening socket is
only temporary, and shouldn't count as a permanent open
socket.
Bug: 3276283
Change-Id: I45090c0e07d9b360cc26f4bce23833db8c399507
2010-12-13 12:52:34 -08:00
Wink Saville
b9024c6009
Have MobileDataStateTracker & DataConnectionTracker communicate directly.
...
Added CMD_SET_DATA_ENABLE which is sent when data is enabled/disabled
via the ConnectivityService. It is anticipated that the communication
channel will be used for additional commands and to receive unsoliciated
commands from DataConnectionTracker back to MobileDataStateTracker.
Change-Id: I3863e7385155d503f069b1dcb7e4f766ec78b5f8
2010-12-07 10:31:02 -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
d93dc8f82d
Make Proxy change broadcast sticky
...
Makes it easier for apps who care. Includes the current values.
Change-Id: I5f1d3589a036ebc9910281f97d4780ecda2829f2
2010-12-06 11:29:17 -08:00
Robert Greenwalt
82cde1324d
Don't clobber the net hostname if it's already set.
...
Be a good citizen.
Change-Id: Ic58aeab013e2ff34201be71e01e399390edbbb5f
2010-12-06 09:47:31 -08:00
Wink Saville
e70c6f53c6
Cleanup logging.
...
Change-Id: Ie73c6d97ec19b0d27e58c085b60e885d90066056
2010-12-03 12:01:38 -08:00
Robert Greenwalt
6f7c609039
Load persisted global proxy settings.
...
Was persisted before, but not loaded at boot.
Change-Id: I6d6b69ede3d212a8266847d73d07a037ae917788
2010-12-02 12:19:17 -08:00
Brian Muramatsu
f074f02bc1
am 19b68add: am 8c329055: Merge "Fix Build" into froyo
...
* commit '19b68add2857e75ab9303c4e32f1abe987d7186d':
Fix Build
2010-11-29 14:41:38 -08:00
Brian Muramatsu
8c32905516
Merge "Fix Build" into froyo
2010-11-29 14:31:18 -08:00
Brian Muramatsu
5822cf4427
Fix Build
...
Didn't have the right javac set in my environment... :-(
Change-Id: I951a11460eafeb75c081a4a07787aaf320b48b31
2010-11-29 14:28:39 -08:00
Brian Muramatsu
358cf19274
am 6873bf0f: am 91d0b1ea: Merge "Fix android.net.cts.ProxyTest" into froyo
...
* commit '6873bf0fd29a0537ba8e44459a0674fb77e9029d':
Fix android.net.cts.ProxyTest
2010-11-29 14:06:01 -08:00
Brian Muramatsu
91d0b1ea9b
Merge "Fix android.net.cts.ProxyTest" into froyo
2010-11-29 13:57:54 -08:00
Brian Muramatsu
c11e42329b
am 69c69f15: am a89ee93f: Merge "Stop WifiManagerTest from disabling current network." into froyo
...
* commit '69c69f156bebe834cfbb13eb7f93dc9e25ee723b':
Stop WifiManagerTest from disabling current network.
2010-11-29 13:00:44 -08:00
Brian Muramatsu
5f78c57fc5
Fix android.net.cts.ProxyTest
...
Bug 3188260
Remove the code that was trying to write to secure settings
and take off the BrokenTest annotation.
Change-Id: I0759db38225a9822b25c987e66a7590c555b5e9e
2010-11-29 12:57:14 -08:00
Brian Muramatsu
5d2d97902a
Merge "Stop WifiManagerTest from disabling current network." into eclair
2010-11-29 12:31:44 -08:00
Brett Chabot
9e410175ba
Stop WifiManagerTest from disabling current network.
...
Bug 3181376
Change-Id: Ia8d12a10f4ed0c46325e76f1dffeef93412a55e5
2010-11-29 12:21:20 -08:00
Brett Chabot
c97dbae9d4
Stop WifiManagerTest from disabling current network.
...
Bug 3181376
Change-Id: I7dad90ba830678357b900709359f10319070c96e
2010-11-29 12:20:44 -08:00
Robert Greenwalt
c3c5f865a3
Notify all VMs when proxy changes.
...
bug:2700664
Change-Id: I74cc6e0bd6e66847bf18f524ce851e3e9d2c4e87
2010-11-19 10:24:30 -08:00
Brett Chabot
bfc9868369
Stop WifiManagerTest from disabling current network.
...
Bug 3181376
Change-Id: I93fa28f20a36b2cc90fbe0a59bbfbac758855c3a
2010-11-12 17:24:30 -08:00
Robert Greenwalt
f93a7e934e
Merge "Tell each VM to flush their DNS cache."
2010-11-04 17:02:44 -07:00
Elliott Hughes
29666e46f4
Remove NetworkUtils.isIpAddress.
...
Bug: 3073384
Change-Id: I5bd46d1995186c2384c68d0afff3b869f46624c5
2010-11-04 15:27:33 -07:00
Robert Greenwalt
051642b87b
Tell each VM to flush their DNS cache.
...
bug:3095357
Change-Id: I93de24e3e5a7d8b94d55f4facfffc863a2b8c202
2010-11-04 11:52:35 -07:00
Brian Muramatsu
5ff0ab314c
Delete CM#testAccessNetworkPreference Test
...
Bug 3106981
ConnectivityManager#setNetworkPreference used to be synchronous,
but now it merely sends a handler message. As a result, the
method won't throw any SecurityExceptions, because it will throw
it in the handler instead when trying to write to System.Secure
settings. The test tries to write invalid settings or the same
settings value to test that it won't throw a SecurityException.
Since the method won't throw the exceptions anymore and its
not clear how long to wait to confirm that the settings weren't
going to be changed, just delete these tests.
Change-Id: I9e754bb0e026656511512b17108c42c37d84b069
2010-10-20 15:04:28 -07:00
Wink Saville
3425ad6ca6
am 7f8f1e13: am 96619f9f: Merge "Add some error-case logging." into gingerbread
...
Merge commit '7f8f1e13d346bc2d645e9625660aae0c9ee1749d'
* commit '7f8f1e13d346bc2d645e9625660aae0c9ee1749d':
Add some error-case logging.
2010-10-11 10:49:47 -07:00
The Android Automerger
e116997c2a
Merge branch 'gingerbread' into gingerbread-release
2010-10-10 16:36:36 -07:00
Wink Saville
7f8f1e13d3
am 96619f9f: Merge "Add some error-case logging." into gingerbread
...
Merge commit '96619f9f0653a5c7f407c52ab565b5ddf23ad696' into gingerbread-plus-aosp
* commit '96619f9f0653a5c7f407c52ab565b5ddf23ad696':
Add some error-case logging.
2010-10-10 12:47:18 -07:00
Robert Greenwalt
e981bc5138
Add some error-case logging.
...
Turning off all debug logging is a good thing, but it leaves us blind when errors come in.
bug:3075537
Change-Id: I8a4e7f2ce094574ec45cec268bdbc46449540c9f
2010-10-10 11:26:41 -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
Robert Greenwalt
063dc7d9d1
Turn on some debugging info
...
bug:3060742
Change-Id: I86f4e0b3f678c80e1bee11abd32ab0b9e0563b09
2010-10-05 19:12:26 -07:00
The Android Automerger
f80e11a3b3
Merge branch 'gingerbread' into gingerbread-release
2010-10-01 07:17:43 -07:00
Dianne Hackborn
3f5a9b046d
resolved conflicts for merge of 93aca85e to master
...
Change-Id: I1ca1d100274d4a733ef2bf58b0d5d7217b4f858e
2010-09-30 20:34:34 -07:00
Dianne Hackborn
93aca85e11
am 0a69f597: Merge "Rub in a little \'ol log-b-gone." into gingerbread
...
Merge commit '0a69f597604254bc37721b135ab612eaacdd0cbd' into gingerbread-plus-aosp
* commit '0a69f597604254bc37721b135ab612eaacdd0cbd':
Rub in a little 'ol log-b-gone.
2010-09-30 19:12:11 -07:00
Dianne Hackborn
8919f5a331
Rub in a little 'ol log-b-gone.
...
Mmmmmm... great fresh scent!
Change-Id: I050e70b31b5d4a9c6731f15a4b51a3620a33a78d
2010-09-30 18:27:22 -07:00
Irfan Sheriff
8de0c34da0
Merge "use hostname when address null ProxyProperties parcelling"
2010-09-27 16:24:23 -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
The Android Automerger
6a96ba3557
Merge branch 'gingerbread' into gingerbread-release
2010-09-26 12:40:45 -07:00
Robert Greenwalt
ccb36f95ba
resolved conflicts for merge of b40ecd6c to master
...
Change-Id: I08fc7881010083407a102f471483cd6d5b9774b4
2010-09-24 14:47:06 -07:00
Robert Greenwalt
b40ecd6c73
am 8f97fe55: Merge "Move long Connectivity tasks to handler thread." into gingerbread
...
Merge commit '8f97fe551e7bd95abf395eed303b975eaa8f0158' into gingerbread-plus-aosp
* commit '8f97fe551e7bd95abf395eed303b975eaa8f0158':
Move long Connectivity tasks to handler thread.
2010-09-24 11:09:29 -07:00
Robert Greenwalt
6a2db8adc1
Move long Connectivity tasks to handler thread.
...
Reduce ANR potential.
bug:2942829
Change-Id: I21610b462d5ab91821015cd16eecd86d2c0580d1
2010-09-23 16:43:21 -07:00
Brian Carlstrom
bf05633358
Create CTS test for SSL hostname checks
...
Bug: 2807618
Change-Id: I05b051d779850e51eabea0880400273cdcc2f748
2010-09-23 10:59:12 -07:00
The Android Automerger
c8104d17a9
Merge branch 'gingerbread' into gingerbread-release
2010-09-22 07:12:16 -07:00
Wink Saville
c5a22a088a
Merge "Cleanup copyright dates add missing method."
2010-09-21 14:55:16 -07:00
Robert Greenwalt
b1c4c8d23c
am 325eed46: am 6548f395: Merge "Inet status bug fix" into gingerbread
...
Merge commit '325eed464f0eaa89172f447a60449ba4d96b2474'
* commit '325eed464f0eaa89172f447a60449ba4d96b2474':
Inet status bug fix
2010-09-21 10:44:26 -07:00
Robert Greenwalt
9f758cdd31
resolved conflicts for merge of 20979077 to master
...
Change-Id: Ica492307505d53e57863d4363b5f75abd798bcd8
2010-09-21 10:27:59 -07:00
Wink Saville
1746543a54
Cleanup copyright dates add missing method.
...
Change-Id: I2d8fe0b705e7c90efabb8b3427a539a4a1056874
2010-09-21 09:16:38 -07:00
Robert Greenwalt
325eed464f
am 6548f395: Merge "Inet status bug fix" into gingerbread
...
Merge commit '6548f395a974d2a8dcefe29b3a498d1ca87d8aef' into gingerbread-plus-aosp
* commit '6548f395a974d2a8dcefe29b3a498d1ca87d8aef':
Inet status bug fix
2010-09-21 08:22:59 -07:00
The Android Automerger
070568fa19
Merge branch 'gingerbread' into gingerbread-release
2010-09-21 07:11:48 -07:00