e2a6d3df1257c1c04b1a14777bb7ee65f634bdc3 |
|
22-Aug-2013 |
Vinit Deshapnde <vinitd@google.com> |
Merge "Introduce network link quality statistics" into klp-dev
|
1f12cb52a494a3eaefc62d03a8d2fdf47a5535e9 |
|
21-Aug-2013 |
Vinit Deshapnde <vinitd@google.com> |
Introduce network link quality statistics This change starts tracking traffic quality data for WiFi and mobile networks. The quality is tracked based on incidental traffic, and not on specific measurements. Theoretical bandwidths are hard-coded, as well as sampling interval; although sampling interval can be changed by setting a system policy. Bugs filed to remove shortcomings of this change - 10342372 Change LinkInfo name to something better 10342318 Move hardcoded values of MobileLinkInfo to resources so they can be updated without changing code Bug: 10006249 Change-Id: I83d8c7594da20fe53abbd5e1f909b1f606b035bb
/frameworks/base/core/java/android/net/EthernetDataTracker.java
|
df86a9f2e92d077386b146fe483b2cf14850737d |
|
20-Aug-2013 |
Lorenzo Colitti <lorenzo@google.com> |
Make BaseNetworkObserver available to core code Currently BaseNetworkObserver is in frameworks/base/services, but there is code in frameworks/base/core that could use it. This code typically extends INetworkManagementEventObserver.stub because BaseNetworkObserver is not available. Move BaseNetworkObserver to frameworks/base/core without changing its package name, and use it to simplify two callers. The third caller, Tethering, is much larger, and I'm not sure it's appropriate to change it. Bug: 10232006 Change-Id: Ifc0f2e619e3424e27e35730c048a1cc523df345e
/frameworks/base/core/java/android/net/EthernetDataTracker.java
|
9b7b4450185e723dc7021f7e8bae4a12d4dd5606 |
|
09-Aug-2013 |
Wink Saville <wink@google.com> |
am 02eab434: am 4d87d91d: Merge "If in a mobile captive portal is detected enable fail fast." into jb-mr2-dev * commit '02eab434ad9faa25291e63023b7e66698ca457a8': If in a mobile captive portal is detected enable fail fast.
|
d747cbc898ef44e59c3fbf74a8327b6a12aad397 |
|
08-Aug-2013 |
Wink Saville <wink@google.com> |
If in a mobile captive portal is detected enable fail fast. When captive portal checking completes pass back the result. This is used to enable/disable failing fast for mobile. When failing fast is enabled we don't check for data stalls and thus won't be continually trying to do recovery operations, such as restarting the radio. Bug: 9462512 Change-Id: I0dea0eee519f8ee7f94e79d40e82c18f30d7fe2e
/frameworks/base/core/java/android/net/EthernetDataTracker.java
|
777e2e8545e37dfaf27f0f0ccd835f64fab7b746 |
|
15-May-2013 |
Robert Greenwalt <rgreenwalt@google.com> |
am a34b531b: Merge "EthernetDataTracker: Set network available on connected" * commit 'a34b531bb6d2f2923f474b8c0a0c09149303e5d3': EthernetDataTracker: Set network available on connected
|
665e1aed5e99af1e66af56c0d73e32fd86f57273 |
|
22-Aug-2012 |
Robert Greenwalt <rgreenwalt@google.com> |
Add BT - DataTracker connection Allows the external BT stack the means to communicate with ConnectivityService during reverse tethering. bug:8445208 Change-Id: Ice7dfb0b50c9481d359aed14a51372878185171c
/frameworks/base/core/java/android/net/EthernetDataTracker.java
|
69edd64d9bf839428ce0a7723cd0f1deda98dc0d |
|
07-Mar-2013 |
Lorenzo Colitti <lorenzo@google.com> |
Add stacking to the NetworkStateTrackers. Bug: 8276725 Change-Id: I55a107fea78f9cc84f15bd6c75292138fb35a1b6
/frameworks/base/core/java/android/net/EthernetDataTracker.java
|
0c0f95321f05b13cb69c13e5d9140539f32ce16a |
|
11-Mar-2013 |
Peter YOON <hyundongy@google.com> |
EthernetDataTracker: Set network available on connected This change fixes state mismatch found in the bugs below, and makes the code look consistent with disconnect(). In startMonitoring(), reconnect() is called before mNMService.registerObserver(). Then dhcpThread.run() could finish without getting interfaceLinkStateChanged() callback. In such a case, mNetworkInfo has connected but not-available state - which is contradictory. Bug: 8113933, 8291000, 8291039 Change-Id: I29d74f8d09dcffb97d6c9f8198811bca046fef0c
/frameworks/base/core/java/android/net/EthernetDataTracker.java
|
002221d34a67f37b886cbff2e01ffeac43ccbeec |
|
07-Dec-2012 |
Adam Hampson <ahampson@google.com> |
am fd0b2587: am 6a9d5761: EthernetDataTracker: Start DHCP on Link Up * commit 'fd0b25875c3fe005329d412a2500da1951ff6a7b': EthernetDataTracker: Start DHCP on Link Up
|
6a9d57617a9b502c65d62f053ad8bd0309afdc24 |
|
05-Dec-2012 |
Adam Hampson <ahampson@google.com> |
EthernetDataTracker: Start DHCP on Link Up The behavior of mLinkUp has previously changed so that it only represents the link state. This changes fixes interfaceLinkStateChanged() so that it triggers a reconnect based only on the present link state. Change-Id: I950e04e1f5b5019d59d3b9530f369f8b8f13134a Signed-off-by: Adam Hampson <ahampson@google.com>
/frameworks/base/core/java/android/net/EthernetDataTracker.java
|
4717c261b2c670d5c0925e3527a864aa52db6ac0 |
|
31-Oct-2012 |
Robert Greenwalt <rgreenwalt@google.com> |
Remove DhcpInfoInternal First step in accepting a set of patches. bug:6799630 Change-Id: I6c894c60aeb3022960c2aaa45451bb1dde2b493b
/frameworks/base/core/java/android/net/EthernetDataTracker.java
|
f008ab727e46926bff018ef970ea8265ccc0f45d |
|
12-Sep-2012 |
Robert Greenwalt <rgreenwalt@google.com> |
am 5d33e76c: am 65208857: am 2415841c: Merge "EthernetDataTracker: indicate link up based on flags" * commit '5d33e76cff65245d03f592a3dbcbf2e17a2f1581': EthernetDataTracker: indicate link up based on flags
|
b6b72f5411d02b928441543dc4c5e8545e48920a |
|
11-Sep-2012 |
Vishal Mahaveer <vishalm@ti.com> |
EthernetDataTracker: indicate link up based on flags Indicate link up state based on flags/interface up, and not on IP address. This is for ethernet interfaces that already exists. Change-Id: Ib342d519c483bbb2dfa08cfac2c0c1a288cee7c0 Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
/frameworks/base/core/java/android/net/EthernetDataTracker.java
|
da6da0907b28d4704aabbdb1bbeb4300954670d1 |
|
16-Aug-2012 |
Irfan Sheriff <isheriff@google.com> |
Captive portal handling We now notify the user of a captive portal before switching to the network as default. This allows background applications to continue to work until the user confirms he wants to sign in to the captive portal. Also, moved out captive portal handling out of wifi as a seperate component. Change-Id: I7c7507481967e33a1afad0b4961688bd192f0d31
/frameworks/base/core/java/android/net/EthernetDataTracker.java
|
db3c8678e5cbdfec011afaf25bde2091152c30ad |
|
20-Jun-2012 |
Haoyu Bai <bhy@google.com> |
Network data activity change intent for network interfaces. The activity notification is received from netd, an intent DATA_ACTIVITY_CHANGE is then raised for other part of the system to consume. Change-Id: Idfcc4763c51c5b314c57f546c12557082f06bebf
/frameworks/base/core/java/android/net/EthernetDataTracker.java
|
b25f48f2be76a99088426ca068dd80fbf3e6dc5f |
|
14-Jun-2012 |
Jason Simmons <jsimmons@google.com> |
am 1d28fef9: Stop any running DHCP client before bringup up an Ethernet interface * commit '1d28fef92e516b0144d7844413194ba9e953b317': Stop any running DHCP client before bringup up an Ethernet interface
|
1d28fef92e516b0144d7844413194ba9e953b317 |
|
14-Jun-2012 |
Jason Simmons <jsimmons@google.com> |
Stop any running DHCP client before bringup up an Ethernet interface If the system server is restarted, the dhcpcd_eth0 service may have already been started by the previous system server, and the new system server's attempts to start the dhcpcd will do nothing. Change-Id: Icfd480a5369eb9c7dfe86b43190294871a915529
/frameworks/base/core/java/android/net/EthernetDataTracker.java
|
198bc11d099008531b7e445d9715698421d6e644 |
|
07-May-2012 |
Robert Greenwalt <rgreenwalt@google.com> |
Bring up the ethernet interface when detected We don't get link status info if it's down. If the device has been configured for ethernet and we see the interface appear, we should make it active. bug:6444395 Change-Id: Ibc233ab12942b069d7db9c0671936798c5161659
/frameworks/base/core/java/android/net/EthernetDataTracker.java
|
efeba018bde81e02e1255714e3d4eeeb43c055e7 |
|
15-Dec-2011 |
Mike Lockwood <lockwood@google.com> |
EthernetDataTracker: Don't run DHCP or set network available until link is up Previously we were starting DHCP as soon as the interface was added, which is at boot on devices with builtin ethernet. Signed-off-by: Mike Lockwood <lockwood@google.com>
/frameworks/base/core/java/android/net/EthernetDataTracker.java
|
d60ae7f6688ea83df536c2eb1101a74ae1914ac6 |
|
03-Nov-2011 |
Doug Zongker <dougz@android.com> |
store the hw addr in the extraInfo field of ethernet NetworkInfos
/frameworks/base/core/java/android/net/EthernetDataTracker.java
|
4bcbefdc5f24702dbbae485d016997e3efb5e5cc |
|
01-Oct-2011 |
Mike J. Chen <mjchen@google.com> |
Fix disconnect from wired ethernet issues. When a cable was unplugged, we were telling the driver to release the ip address so if a cable on a different network was plugged in, it would still try to use it's old ip address on the new network, which probably didn't work. Also, we didn't notify ConnectivityService about the state change in the unplug case. Some of this was done in the interface removed case, but we never remove the interface in Tungsten, just unplug. So refactor the common disconnect code into a disconnect() function that's called by both the link status change (unplug) and interface removal (only applies to things like USB ethernet dongles) cases. Signed-off-by: Mike J. Chen <mjchen@google.com>
/frameworks/base/core/java/android/net/EthernetDataTracker.java
|
e41df2c9d479928c8aa3f1b4a3b01ff447a87116 |
|
15-Dec-2011 |
Mike Lockwood <lockwood@google.com> |
EthernetDataTracker: Don't run DHCP or set network available until link is up Previously we were starting DHCP as soon as the interface was added, which is at boot on devices with builtin ethernet. Change-Id: I726c2b139cbf91455d159d7cbcd08e24a336942b Signed-off-by: Mike Lockwood <lockwood@google.com>
/frameworks/base/core/java/android/net/EthernetDataTracker.java
|
fe30a1ef600b52d00c9233d1757cb3c2e8ae7377 |
|
03-Nov-2011 |
Doug Zongker <dougz@android.com> |
store the hw addr in the extraInfo field of ethernet NetworkInfos Change-Id: Ic645396e81d1481d84061945eb9721f0eeb151eb
/frameworks/base/core/java/android/net/EthernetDataTracker.java
|
8f1667ac786538d34bfe94209d0e5942b141d29d |
|
01-Oct-2011 |
Mike J. Chen <mjchen@google.com> |
Fix disconnect from wired ethernet issues. When a cable was unplugged, we were telling the driver to release the ip address so if a cable on a different network was plugged in, it would still try to use it's old ip address on the new network, which probably didn't work. Also, we didn't notify ConnectivityService about the state change in the unplug case. Some of this was done in the interface removed case, but we never remove the interface in Tungsten, just unplug. So refactor the common disconnect code into a disconnect() function that's called by both the link status change (unplug) and interface removal (only applies to things like USB ethernet dongles) cases. Change-Id: I19d7ceb540d6a0e24df1b55314a13af78f1e593d Signed-off-by: Mike J. Chen <mjchen@google.com>
/frameworks/base/core/java/android/net/EthernetDataTracker.java
|
8e28b7d78232f6cf08739ca0d129cc7f9e650801 |
|
19-Aug-2011 |
Jeff Sharkey <jsharkey@android.com> |
Proactively disable data when over policy limit. Add policy controls to NetworkStateTracker which are combined with other user preference and internal flags to decide if data connection should be established. Better locking around enabled flags. When data network would be over limit, proactively disable data on that network. Enable when policy is snoozed or when cycle resets. Track and dismiss notifications from now-stale policies. Bug: 4587023, 5178147 Change-Id: Ibfcc9f73cda7c369209af701b46eddd3d1943f2d
/frameworks/base/core/java/android/net/EthernetDataTracker.java
|
12b933d0d9252decaae9fee2456bb1e1cd94c085 |
|
15-Jul-2011 |
JP Abgrall <jpa@google.com> |
NetworkManagementService: receive bandwidth controller events This is a 1st pass at receiving events that indicate some quota has been reached e.g. warning quota, data collection quota, cutoff quota,... It needs: - new kernel with quota2 logging support - new net:bandwidthcontroller that supports . quota2, . setting alerts. - new NetlinkEvent/NetlinkManager/NetlinkHandler to process NETLINK NFLOG messages. Change-Id: Ibfbb13512c5350cdee0e544ec14caa6f59812409
/frameworks/base/core/java/android/net/EthernetDataTracker.java
|
f59c7d0f2ac8d489b6d8118543a57ea4a603eacf |
|
24-Jun-2011 |
Mike J. Chen <mjchen@google.com> |
Hookup interface status to other clients After unreverting the linkstate change patch, hook up notification handlers that didn't exist when the first patch was created, like EthernetDataTracker.java and Vpn.java. For the observers that handle interfaceStatusChanged(), I made interfaceLinkStatusChanged() call it so they both do the same thing. Change-Id: I0077e5e5f48f3932ba98f5bf363243892f2de6cc Signed-off-by: Mike J. Chen <mjchen@google.com>
/frameworks/base/core/java/android/net/EthernetDataTracker.java
|
c96a667162fab44a250503caccb770109a9cb69a |
|
13-Jun-2011 |
Mike J. Chen <mjchen@google.com> |
Handle always present wired ethernet interfaces at boot. Devices with always present wired ethernet interfaces (as opposed to usb ethernet dongles) don't have the interface added and removed. Instead, it is present already at boot time. Change EthernetDataTracker to support the already existing at boot time case. Change-Id: I7b8e938f6b07aabd14f00ace55b35b7a05ea5a38 Signed-off-by: Mike J. Chen <mjchen@google.com>
/frameworks/base/core/java/android/net/EthernetDataTracker.java
|
af6eddb1c285a11841a2e1e0e3a41636f6bfd63d |
|
08-Apr-2011 |
Robert Greenwalt <rgreenwalt@google.com> |
Fix build. Change-Id: I9ac1c28de4f3f11f84b04923d4547ab64dd57f23
/frameworks/base/core/java/android/net/EthernetDataTracker.java
|
1997069436f0d47583a0b700c12ed63132cf3312 |
|
22-Dec-2010 |
Benoit Goby <benoit@android.com> |
Add support for USB Ethernet adapters Change-Id: Ie75cbcdb1b0c8965b59b89675a05175a1e9ebdd6
/frameworks/base/core/java/android/net/EthernetDataTracker.java
|