c07a96d1e4a90c1c42040fd24ad9e4f209becce4 |
|
31-Oct-2017 |
Pavel Maltsev <pavelm@google.com> |
Enable multiple active Ethernet interfaces - add Ethernet interface configurations to config.xml; no vendors can specify network capabilities (in particular they can mark network as restricted which make sense for embedded applications + static IP configuration) - extend EthernetManager to support multiple interfaces, use interface name as an identificator - extend IpConfigStore to store IP configuration based on string identifier (e.g. ethernet name) Test: runtest -x frameworks/base/services/tests/servicestests/ -c com.android.server.net.IpConfigStoreTest Change-Id: Ic1e70003f2380ca8edb4469d6b34e27c5e8cf059
/frameworks/base/services/core/java/com/android/server/net/IpConfigStore.java
|
06fe328c4fc8ea701932ef8c49012c177fcd058b |
|
02-Jun-2016 |
Roshan Pius <rpius@google.com> |
IpConfigStore: Changes for parsing old wifi backup Some changes in IpConfigStore to parse old backup data. The old backup data contained a raw byte dump of the ipconfig.txt. So, make changes in IpConfigStore to parse the inputstream from backup data into IpConfiguration objects. Changes in the CL: 1. Make the |readIpAndProxyConfigurations| method static so that it can be used as a utility for parsing the backup data. 2. Create a new version of |readIpAndProxyConfigurations| method to accept an input stream parameter. 3. Make |writeConfig| method static so that it can be used for unit-testing the backup migration logic. BUG: 29075035 Change-Id: Ic074952d9f9ef143089a371e6c527470cb1c229c
/frameworks/base/services/core/java/com/android/server/net/IpConfigStore.java
|
12acbd7836e989150d73b04452d8ee300d54bcf6 |
|
02-Feb-2016 |
Joe Onorato <joeo@google.com> |
Turn down the logging a little bit. Change-Id: Ib6e0e6f3577afac3b9bfe9a9b1cce70fb16d9d04
/frameworks/base/services/core/java/com/android/server/net/IpConfigStore.java
|
718df42b23e7913dad7f9520a2f2c6810c33c956 |
|
23-Feb-2016 |
Roshan Pius <rpius@google.com> |
IpConfigStore: New constructor to accept writer Add a new constructor to accept a DelayeDiskWrite object from the caller. BUG: 27293150 Change-Id: I13fb86c76ee5a0d05b45fec0c42b7e1b2233ee76 TEST: `runtest frameworks-wifi`
/frameworks/base/services/core/java/com/android/server/net/IpConfigStore.java
|
08c7116ab9cd04ad6dd3c04aa1017237e7f409ac |
|
28-Feb-2015 |
John Spurlock <jspurlock@google.com> |
Remove unused imports in frameworks/base. Change-Id: I031443de83f93eb57a98863001826671b18f3b17
/frameworks/base/services/core/java/com/android/server/net/IpConfigStore.java
|
79adc958e5cd8daf7231ec042dfa367010d415f4 |
|
20-Nov-2014 |
Geoffrey Borggaard <geoffreyb@google.com> |
Fix null handling in proxies. ProxyInfo.getPacFileUrl() can not be null. It will be equal to Uri.EMPTY. Checking for null was causing global proxies to never be disabled. Or more accurately, global proxies would be disabled, but would reappear after a reboot. ProxyInfo.getExclusionListByString() can be null. If no exclusion list was specified, the proxy settings would not be successfully saved, they would disappear after reboot. Bug: 18453223 Change-Id: I1c27e5dca5b9664bb7468ea909bff489fa110a07
/frameworks/base/services/core/java/com/android/server/net/IpConfigStore.java
|
0a82e80073e193725a9d4c84a93db8a04b2456b9 |
|
30-Jul-2014 |
Lorenzo Colitti <lorenzo@google.com> |
Stop using LinkProperties for static configuration. LinkProperties can represent way more complicated configurations than what we can actually apply to interfaces. This makes it error-prone to use it to represent static configuration, both when trying to apply configuration coming from LinkProperties and when trying to save configuration from current LinkProperties. Instead, move static configuration (IPv4 only, since we don't support static IPv6 configuration) into a separate StaticIpConfiguration class. Bug: 16114392 Bug: 16893413 Change-Id: Ib33f35c004e30b6067bb20235ffa43c247d174df
/frameworks/base/services/core/java/com/android/server/net/IpConfigStore.java
|
7dc78cf3af9fd11a4f1e2e981ce584a23755ea9e |
|
09-Jun-2014 |
Lorenzo Colitti <lorenzo@google.com> |
Minor changes to the LinkAddress API docs. 1. Rename getNetworkPrefixLength to getPrefixLength. Update all callers in frameworks/base and add a shim method and a TODO for the rest. 2. @hide isSameAddressAs. It doesn't add much, and it's just one-liner that callers can implement if they want. 3. Fix the alignment of the initial paragraph (<ul> should have been </ul>). 4. Remove the documentation that talks about creating LinkAddresses, since there's no public API for creating them. With these changes I think LinkAddress is fine as a public API. Bug: 15142362 Change-Id: Iaf3b1db577745bb68a9e1dd7f96d666dd3f3ec7c
/frameworks/base/services/core/java/com/android/server/net/IpConfigStore.java
|
cc91c7b804a079f7b20404827277c61dd403805f |
|
04-Jun-2014 |
Sreeram Ramachandran <sreeram@google.com> |
Add a new IpPrefix class and use it in RouteInfo. This change uses IpPrefix only in the public API and continues to use LinkAddress for everything else. It does not change the callers to use the new APIs, with the exception of changing all current uses of getDestination to getDestinationLinkAddress to make room for the new getDestination method that returns an IpPrefix. Based on Sreeram's earlier change: https://googleplex-android-review.git.corp.google.com/#/c/477874/ but a bit simplified and with a bit more documentation. Bug: 15142362 Bug: 13885501 Change-Id: Ib4cd96b22cbff4ea31bb26a7853989f50da8de4e
/frameworks/base/services/core/java/com/android/server/net/IpConfigStore.java
|
df2b878ff4e7b4a258588d3a93574c399db78a07 |
|
06-Jun-2014 |
Robert Greenwalt <rgreenwalt@google.com> |
Fix public API of LinkProperties. bug:15142362 Change-Id: I1457111da7d3bd09998f7e010febb8bb4c45c8bc
/frameworks/base/services/core/java/com/android/server/net/IpConfigStore.java
|
56cf7c517e33df5f871f85c13a2e2315b20cb2ed |
|
22-May-2014 |
Lorenzo Colitti <lorenzo@google.com> |
Fix a typo in IpConfigStore. Change-Id: I1fc845bf4547ae9a86db02ed29b6d5ba60a01277
/frameworks/base/services/core/java/com/android/server/net/IpConfigStore.java
|
6346155c5a48495944041e65ec279c88b0fa1391 |
|
10-Mar-2014 |
Jaewan Kim <jaewan@google.com> |
Move IP config from WifiConfiguration to IpConfiguration. This is so that Ethernet can use it in the future. Bug: 7606609 Bug: 8687763 Change-Id: I5d1189682b13f1088848809604690648d8d9ecca
/frameworks/base/services/core/java/com/android/server/net/IpConfigStore.java
|