- 29 Apr, 2016 2 commits
-
-
Lorenzo Colitti authored
am: c84dd949 * commit 'c84dd949': Disable the IpManager timeout on Ethernet. Change-Id: I33e0c1243534db348a0b6a8f8ce1a71b68d0ff91
-
Lorenzo Colitti authored
This fixes a longstanding bug where after a DHCP timeout, we would never restart the DHCP client and get an IP address until the link bounced. Also, two minor improvements: 1. Dump IpManager info when dump() is called. 2. When onLinkPropertiesChange is called, also update mLinkProperties. We were already sending the updated LinkProperties to the NetworkAgent, so this is really only useful for dump(), but it's just one line and safe because onLinkPropertiesChange already grabs the lock. Bug: 17733693 Change-Id: I42c3319cb4bc151c547ed721baf5e83f97e23862
-
- 22 Feb, 2016 1 commit
-
-
Erik Kline authored
- WaitForProvisioningCallback - setHttpProxy - setTcpBufferSizes Bug: 26991160 Change-Id: I5e02039a35006f0466fb40c43805f0443cd758c2
-
- 17 Feb, 2016 1 commit
-
-
Erik Kline authored
Bug: 17733693 Bug: 26991160 Change-Id: Idaee8c64bf452e58b93031d8d7ad666edb0c82ae
-
- 15 Oct, 2015 1 commit
-
-
Lorenzo Colitti authored
Requiring CHANGE_NETWORK_STATE is pointless, since immediately after doing that we require CONNECTIVITY_INTERNAL, which is a system-only permission. Bug: 23597341 Change-Id: If4c8ecbb319e547c2c81d2dcc3c7bbb63e0bc2af
-
- 08 Sep, 2015 1 commit
-
-
Lorenzo Colitti authored
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
-
- 07 Aug, 2015 1 commit
-
-
Billy Lau authored
Replaced the method where we used to enforce static permission CHANGE_NETWORK_STATE to method calls that also check for WRITE_SETTINGS. This is due to the merging of CHANGE_NETWORK_STATE permission with WRITE_SETTINGS in M. Change-Id: I104ac41733663b4f6b5cd30e7314574ec4acdc07
-
- 04 Aug, 2015 1 commit
-
-
Lorenzo Colitti authored
This was not necessary in L, but it is necessary after https://partner-android-review.googlesource.com/#/c/205415/ . Bug: 22936203 Change-Id: I24a96c33e5bb375f36217a1c2cec2076eb5ac8b4
-
- 20 Feb, 2015 2 commits
-
- 19 Feb, 2015 1 commit
-
-
Bill Yi authored
-
- 16 Feb, 2015 2 commits
-
-
Pierre Couillaud authored
* commit '52334a19': eth: make sure dhcp is stopped before bringing up interface.
-
Pierre Couillaud authored
* commit 'ef8e0b94': eth: make sure dhcp is stopped before bringing up interface.
-
- 11 Feb, 2015 1 commit
-
-
Pierre Couillaud authored
Signed-off-by:
Pierre Couillaud <pierre@broadcom.com> Signed-off-by:
Blair Prescott <blairp@broadcom.com>
-
- 21 Nov, 2014 1 commit
-
-
Jaewan Kim authored
* commit 'a3d7e618': Add an API to check availability of Ethernet interface.
-
- 19 Nov, 2014 1 commit
-
-
Jaewan Kim authored
Bug: 18045481 Change-Id: I3fb517c3e7fa807e2937fda92026301e312be986
-
- 02 Oct, 2014 1 commit
-
-
Lorenzo Colitti authored
* commit '74d270d1': Clear all Ethernet state when our interface goes away.
-
- 01 Oct, 2014 1 commit
-
-
Lorenzo Colitti authored
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
-
- 11 Sep, 2014 1 commit
-
-
Robert Greenwalt authored
* commit 'e3cbf2e7': Don't accept score below 0.
-
- 10 Sep, 2014 1 commit
-
-
Robert Greenwalt authored
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
-
- 22 Aug, 2014 1 commit
-
-
Robert Greenwalt authored
* commit '69b9c6a7': Use config resource for tcp buffer size
-
- 21 Aug, 2014 1 commit
-
-
Robert Greenwalt authored
bug:16549611 Change-Id: I48426f6b746e4bd9729bdd529d81b163ff5112a9
-
- 20 Aug, 2014 2 commits
-
-
Lorenzo Colitti authored
* commit 'aea43f59': Actually provide useful output in Ethernet service dump.
-
Lorenzo Colitti authored
Bug: 17133859 Change-Id: Ic8424004e48712e4dd906d5bb6a48ce7d38ff9d8
-
- 19 Aug, 2014 2 commits
-
-
Lorenzo Colitti authored
* commit '41a372f1': Stop using LinkProperties for static configuration.
-
Lorenzo Colitti authored
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
-
- 17 Aug, 2014 1 commit
-
-
Robert Greenwalt authored
* commit 'dcbf3b90': Add tcp buffer size data for ethernet
-
- 15 Aug, 2014 1 commit
-
-
Robert Greenwalt authored
bug: 16549611 Change-Id: I61d29bb88b9e58c50e03c39570f3ebb7712e4f37
-
- 22 Jul, 2014 2 commits
-
-
Robert Greenwalt authored
* commit '3191f909': DO NOT MERGE Don't tear down based on NetworkFactory input.
-
Robert Greenwalt authored
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 ed75bcf1)
-
- 23 Jun, 2014 1 commit
-
-
Robert Greenwalt authored
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
-
- 12 Jun, 2014 1 commit
-
-
Robert Greenwalt authored
* commit '4b1ec3fc': Make NetworkCapabilities publicly immutable.
-
- 11 Jun, 2014 1 commit
-
-
Robert Greenwalt authored
Applying API council comments. bug: 15142362 Change-Id: Ie0bde68b72656a676d90c0343b9756fe9268d8d6
-
- 06 Jun, 2014 1 commit
-
-
Robert Greenwalt authored
* commit 'ff0bf8dc': Fix ethernet.
-
- 04 Jun, 2014 2 commits
-
-
Robert Greenwalt authored
* commit '0d1b1749': Apply refactored NetworkFactory.
-
Robert Greenwalt authored
It was attempting to update the NetworkAgent before the NetworkAgent was created, causing NullPointerExceptions. bug:15407938 Change-Id: Ie36b906df4b12f095a16d1b30c847a55b074d60c
-
- 03 Jun, 2014 1 commit
-
-
Robert Greenwalt authored
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 a0a5625c)
-
- 02 Jun, 2014 1 commit
-
-
Robert Greenwalt authored
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
-
- 28 May, 2014 2 commits
-
-
Lorenzo Colitti authored
* commit '044a758e': DO NOT MERGE - Make Ethernet more reliable.
-
Lorenzo Colitti authored
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 8c797f82)
-