c18cbfdf8d40e7a526a088225cb32341e1ea0920 |
|
13-Jun-2014 |
Lorenzo Colitti <lorenzo@google.com> |
Notify network observers of route changes. Bug: 9180552 Change-Id: If8432bc74335676320b815784b21f404d3479c35
/frameworks/base/core/java/android/net/INetworkManagementEventObserver.aidl
|
0535a9f7aa5d0f875b06845e9af5f6dbfc5c8a19 |
|
13-Mar-2014 |
Ashish Sharma <ashishsharma@google.com> |
Include elapsed realtime (nanos) of the event in the radio state change notifications. Bug: 13247811 Change-Id: I3454aa159a68b9087b4762df947b41965b5a3941
/frameworks/base/core/java/android/net/INetworkManagementEventObserver.aidl
|
64483947fdb03bf838e317ac0a4af5e0f53a5bbf |
|
15-Nov-2013 |
Lorenzo Colitti <lorenzo@google.com> |
Add address flags and scope to LinkAddress. This is necessary so that the framework can know whether an IPv6 address is likely to be usable (i.e., if it's global scope and preferred). Also, it will simplify the address notification methods in INetworkManagementEventObserver, which currently take the address, the flags, and the scope as separate arguments. 1. Add flags and scope to the class and update the unit test. Use the IFA_F_* and RT_SCOPE_* constants defined by libcore. Since most callers don't know about flags and scope, provide constructors that default the flags to zero and determine the scope from the address. Addresses notified by the kernel will have these properly set. Make multicast addresses invalid. Update the class documentation. 2. Provide an isSameAddressAs() method that compares only the address and prefix information between two LinkAddress objects. This is necessary because an interface can't have two addresses with the same address/prefix but different flags. 3. Update LinkProperties's addLinkAddress and removeLinkAddress to identify existing addresses to add/remove using isSameAddressAs instead of implicit equals(). Specifically: - If addLinkAddress is called with an address that is already present, the existing address's flags and scope are updated. This allows, for example, an address on an interface to go from preferred to deprecated when it expires, without it having to be removed and re-added. - If removeLinkAddress is called with an address that is present but with different flags, it deletes that address instead of failing to find a match. 4. Update the INetworkManagementEventObserver address notification methods to take just a LinkAddress instead of LinkAddress, flags, and scope. While I'm at it, change the order of the arguments for consistency with the other functions in the interface. Change-Id: Id8fe0f09a7e8f6bee1ea3b52102178b689a9336e
/frameworks/base/core/java/android/net/INetworkManagementEventObserver.aidl
|
5ad421a3d00c92c155d57af9d1a05d81cc2fa88f |
|
17-Nov-2013 |
Lorenzo Colitti <lorenzo@google.com> |
Use LinkAddress in address notifications. Currently address{Updated,Removed} pass in the address as a string such as "fe80::1/64". Use LinkAddresses instead, since that's what it is. This makes the code more robust in the unlikely case that netd passes in an invalid string. In the future we can move flags and scope into the LinkAddress itself and simplify the code further. Bug: 9180552 Change-Id: I66599f9529cf421caa7676fdd0141bb110b8589e
/frameworks/base/core/java/android/net/INetworkManagementEventObserver.aidl
|
5ae4a531cc31be2868f65c40e8636658f1ae2f06 |
|
31-Oct-2013 |
Lorenzo Colitti <lorenzo@google.com> |
Pass DNS server info notifications to observers. These are sent if the device receives IPv6 Router Advertisements with DNS server configuration options. Currently, nothing listens to them; in a future change we will use them as IPv6 DNS servers. [Cherry-pick of 416740ad4d9132005a71dc0883334e852235a18a] Bug: 9180552 Change-Id: I05000c0cd3867a68ab390102e8470b6912a9d3aa
/frameworks/base/core/java/android/net/INetworkManagementEventObserver.aidl
|
5c7daac2e3d9020185699ba554d763b825ab1778 |
|
05-Aug-2013 |
Lorenzo Colitti <lorenzo@google.com> |
Notify IP address changes to interface observers. 1. Add addressUpdated and addressRemoved methods to INetworkManagementEventObserver. (The -Updated method is not called -Added because it gets called for both adds and changes.) Update all its callers in the tree. 2. Make NetworkManagementService parse IP address notifications from NetlinkHandler and call the address{Removed,Updated} on its observers. Bug: 10232006 Change-Id: Ieb185dbba052bdbff03caafc0cf5397a7f04dc6d
/frameworks/base/core/java/android/net/INetworkManagementEventObserver.aidl
|
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/INetworkManagementEventObserver.aidl
|
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/INetworkManagementEventObserver.aidl
|
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/INetworkManagementEventObserver.aidl
|
6143f5f7392fb0d3e5702a46a2415bd0ecb6efb4 |
|
24-Jun-2011 |
Mike J. Chen <mjchen@google.com> |
Revert "Revert "Propagate new link-status-change message to any NetworkManagementService"" This reverts commit 1a7e67190228a8ff3b92e7e5496a8db8ff306cca. Bring back the changes from Stan Chesnutt regarding link-status-change notifications. The comment from the original patch was: 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: I42cbed692024de32275cad234f42ff23ab7e9d8d Signed-off-by: Mike J. Chen <mjchen@google.com>
/frameworks/base/core/java/android/net/INetworkManagementEventObserver.aidl
|
1a7e67190228a8ff3b92e7e5496a8db8ff306cca |
|
09-Jan-2011 |
Wink Saville <wink@google.com> |
Revert "Propagate new link-status-change message to any NetworkManagementService" This reverts commit 780dfa42aa8664afa53c30ae669fc0e1f10f6537.
/frameworks/base/core/java/android/net/INetworkManagementEventObserver.aidl
|
780dfa42aa8664afa53c30ae669fc0e1f10f6537 |
|
03-Jan-2011 |
Stan Chesnutt <chesnutt@google.com> |
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
/frameworks/base/core/java/android/net/INetworkManagementEventObserver.aidl
|
4d02d001ef6e06583e858e63e48d1aebf54ba28d |
|
23-Jan-2010 |
San Mehat <san@google.com> |
NetworkManagementService: Introduce INetworkManagementEventObserver Introduce a callback event observer which can be registered on the INetworkManagementService instance to receive events from the service. Signed-off-by: San Mehat <san@google.com>
/frameworks/base/core/java/android/net/INetworkManagementEventObserver.aidl
|