Commit Graph

8592 Commits

Author SHA1 Message Date
The Android Automerger
cccc3fc167 merge in gingerbread-release history after reset to gingerbread 2010-12-22 08:00:45 -08:00
Robert Greenwalt
08df90cf80 am 5d0fafe8: Merge "Be sure and report NO_CONNECTIVITY when needed." into gingerbread
* commit '5d0fafe80752ad4e40fe0ec2bc06c43e669a0612':
  Be sure and report NO_CONNECTIVITY when needed.
2010-12-21 16:06:19 -08:00
Robert Greenwalt
ea8bca0251 Be sure and report NO_CONNECTIVITY when needed.
Reports that we sometimes didn't report NO_CONNECTIVITY led to this suggested change.
Could not repro the problem, but the change looks ok anyway.  Better safe than sorry.

bug:3276408
Change-Id: I0cdb48a05a5c9dfcf3a0b468a6eae43d461023b1
2010-12-21 11:43:28 -08:00
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
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
Robert Greenwalt
c3c5f865a3 Notify all VMs when proxy changes.
bug:2700664
Change-Id: I74cc6e0bd6e66847bf18f524ce851e3e9d2c4e87
2010-11-19 10: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
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
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
Robert Greenwalt
b2a9e4957a Inet status bug fix
Don't wipe out the connected status every time we get a cellular status change.
Don't filter out disconnect event for wifi - we need them.

bug:3009923
Change-Id: I68cadac5f44d6eb4e0fe711fda7c5d218abb45bd
2010-09-21 05:38:36 -07:00
Robert Greenwalt
2097907748 am 313af5a3: Merge "Add Inet Condition log to bugreports" into gingerbread
Merge commit '313af5a3b5ba51eb75dea35eb568c841aa4beb6a' into gingerbread-plus-aosp

* commit '313af5a3b5ba51eb75dea35eb568c841aa4beb6a':
  Add Inet Condition log to bugreports
2010-09-20 21:31:29 -07:00
Robert Greenwalt
0e80be1a8d Add Inet Condition log to bugreports
Reports who reports what condition on which network at what time.  Where is implied.

Change-Id: I89fbc7323dec438041859fcc934169fa325f0133
2010-09-20 16:00:44 -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
The Android Automerger
16f3dfe9d3 Merge branch 'gingerbread' into gingerbread-release 2010-09-16 09:39:15 -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
The Android Automerger
19c7b34934 Merge branch 'gingerbread' into gingerbread-release 2010-09-13 07:49:13 -07:00
Robert Greenwalt
eaecb133ea 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-10 11:35:27 -07:00
Robert Greenwalt
3b3a726199 Merge "Fix the build" 2010-09-09 14:26:38 -07:00