9fc9da2b2d8837165f0fc3819d702959c367299f |
|
08-Sep-2015 |
Lorenzo Colitti <lorenzo@google.com> |
Don't crash on startup if we can't fetch the interface list. The intent of the code was to catch exceptions, but it wasn't actually doing that because when a netd command fails we get an IllegalStateException, not a RemoteException. Bug: 23581852 Change-Id: I66c7c33bdc7b0d0de4fa5cd92dff054797cf860f
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/EthernetNetworkFactory.java
|
0e47a8aae62e79d80db150bdde3298a100ab2d03 |
|
04-Aug-2015 |
Lorenzo Colitti <lorenzo@google.com> |
Stop DHCP if it times out. This was not necessary in L, but it is necessary after https://partner-android-review.googlesource.com/#/c/205415/ . Bug: 22936203 Change-Id: I24a96c33e5bb375f36217a1c2cec2076eb5ac8b4
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/EthernetNetworkFactory.java
|
52334a190a36d6fdbfcf0a38526925183f396fb2 |
|
16-Feb-2015 |
Pierre Couillaud <pierre@broadcom.com> |
am ef8e0b94: eth: make sure dhcp is stopped before bringing up interface. * commit 'ef8e0b9491467cf8d49fa3af7d43f12e3bd524e4': eth: make sure dhcp is stopped before bringing up interface.
|
ef8e0b9491467cf8d49fa3af7d43f12e3bd524e4 |
|
11-Feb-2015 |
Pierre Couillaud <pierre@broadcom.com> |
eth: make sure dhcp is stopped before bringing up interface. Signed-off-by: Pierre Couillaud <pierre@broadcom.com> Signed-off-by: Blair Prescott <blairp@broadcom.com>
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/EthernetNetworkFactory.java
|
a3d7e61812f8d68ca109280c4e7589e4f968723a |
|
19-Oct-2014 |
Jaewan Kim <jaewan@google.com> |
Add an API to check availability of Ethernet interface. Bug: 18045481 Change-Id: I3fb517c3e7fa807e2937fda92026301e312be986
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/EthernetNetworkFactory.java
|
74d270d167ed6c3a6fa28e426da80d51a44a2af0 |
|
01-Oct-2014 |
Lorenzo Colitti <lorenzo@google.com> |
Clear all Ethernet state when our interface goes away. Previously we did not stop DHCP or try to force a disconnect. This made it impossible to reconnect by unplugging and replugging an USB Ethernet adapter. Bug: 17736828 Change-Id: Idd8576a96b063b5ca726ee9149800bdcb0f62bd1
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/EthernetNetworkFactory.java
|
e3cbf2e7349dd366f33905784595e2e3a1cec245 |
|
10-Sep-2014 |
Robert Greenwalt <rgreenwalt@google.com> |
Don't accept score below 0. Network Factories are allowed to go below, but networks need to be constrained. Allowing the network to go below 0 meant that -1 could sometimes leak through and foul the logic. bug:17361330 Change-Id: Ife34ca0f9c233dd3c3df80f6fea580af43afcdeb
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/EthernetNetworkFactory.java
|
69b9c6a7d6453c1c76857c5edfeb1d89a1315674 |
|
22-Aug-2014 |
Robert Greenwalt <rgreenwalt@google.com> |
Use config resource for tcp buffer size bug:16549611 Change-Id: I48426f6b746e4bd9729bdd529d81b163ff5112a9
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/EthernetNetworkFactory.java
|
aea43f5901e6591c390b83b10d3dd9b515a6442a |
|
19-Aug-2014 |
Lorenzo Colitti <lorenzo@google.com> |
Actually provide useful output in Ethernet service dump. Bug: 17133859 Change-Id: Ic8424004e48712e4dd906d5bb6a48ce7d38ff9d8
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/EthernetNetworkFactory.java
|
41a372f13a7d19807d91e09f2e955b8a61f02d5c |
|
12-Aug-2014 |
Lorenzo Colitti <lorenzo@google.com> |
Stop using LinkProperties for static configuration. Also make static IP configuration more robust (e.g., tear down our NetworkAgent when we switch between static and DHCP). Bug: 16114392 Bug: 16893413 Change-Id: Ib33f35c004e30b6067bb20235ffa43c247d174df
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/EthernetNetworkFactory.java
|
dcbf3b908024d9ce1d3bf9216f8af11503459afc |
|
07-Aug-2014 |
Robert Greenwalt <rgreenwalt@google.com> |
Add tcp buffer size data for ethernet bug: 16549611 Change-Id: I61d29bb88b9e58c50e03c39570f3ebb7712e4f37
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/EthernetNetworkFactory.java
|
3191f909a20216646f1652537eba6804b5435c74 |
|
20-Jun-2014 |
Robert Greenwalt <rgreenwalt@google.com> |
DO NOT MERGE Don't tear down based on NetworkFactory input. NetworkFactory only indicates if we're interested in new connections. It shouldn't be used to tear down existing connections (they have unwanted callbacks for that). Supports linger properly as well as dealing with tie scores. bug:15612739 Change-Id: Ib3dfe673d3645b9dc4756c176958409a64ec32e4 (cherry picked from commit ed75bcf13a0b416843cf8d8e349a3340ae270f9d)
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/EthernetNetworkFactory.java
|
4b1ec3fc8e4e4b432328297c45519fa4f6baa3cd |
|
10-Jun-2014 |
Robert Greenwalt <rgreenwalt@google.com> |
Make NetworkCapabilities publicly immutable. Applying API council comments. bug: 15142362 Change-Id: Ie0bde68b72656a676d90c0343b9756fe9268d8d6
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/EthernetNetworkFactory.java
|
ff0bf8dcf33f32eee17a6af5f688f6b5fef13aac |
|
04-Jun-2014 |
Robert Greenwalt <rgreenwalt@google.com> |
Fix ethernet. It was attempting to update the NetworkAgent before the NetworkAgent was created, causing NullPointerExceptions. bug:15407938 Change-Id: Ie36b906df4b12f095a16d1b30c847a55b074d60c
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/EthernetNetworkFactory.java
|
0d1b1749dad71372d9baeb0f852d3d91fccac73d |
|
28-May-2014 |
Robert Greenwalt <rgreenwalt@google.com> |
Apply refactored NetworkFactory. Make NetworkFactory a concrete class and divide responsibilites between it and NetworkAgent. Factory will track requests and by default give a single connect/disconnect api for ease of use. Then NetworkAgent is created and destroyed as needed with very simple logic. Change-Id: I401c14a6e5466f2fc63b04219b97ff85bb9af291 (cherry picked from commit a0a5625c7fa746d363b743ff7c662888a459d392)
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/EthernetNetworkFactory.java
|
044a758ebb1e38df875a45e9cfe84f4a53352aba |
|
22-May-2014 |
Lorenzo Colitti <lorenzo@google.com> |
DO NOT MERGE - Make Ethernet more reliable. 1. If DHCP fails, set the score to 0. Coupled with changes in NetworkAgent, that will cause us to retry DHCP the next time the link is plugged in. 2. Send LinkProperties before sending NetworkInfo, because of a race in NetworkAgent. 3. Make Ethernet work properly after a runtime restart. 4. Improve locking. 5. Clarify how things work in comments. Bug: 15295359 Change-Id: I06cd683a1633838bca1ec177e61f1829889d3934 (cherry picked from commit 8c797f82fd3856effc121cb2d096fabbb66221a1)
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/EthernetNetworkFactory.java
|
20c1c99c4351abd8bb3d6e8f966fcf3b6de0e5b0 |
|
21-May-2014 |
Lorenzo Colitti <lorenzo@google.com> |
Initial EthernetService implementation. Bug: 14981801 Bug: 14993642 Change-Id: If392ef7063e096854ef830f4fe3b038439a1d307
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/EthernetNetworkFactory.java
|