This project is mirrored from https://android.googlesource.com/platform/packages/modules/NetworkStack.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Last successful update .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Last successful update .
- 14 Aug, 2019 2 commits
-
-
android-build-team Robot authored
Change-Id: I80f91f34d0844d959f95874a211e3da2fa300241
-
Remi NGUYEN VAN authored
IPv6 provisioning loss should be ignored when avoidBadWifi is false, not true. Bug: 139023420 Test: with avoidBadWifi=false, when connected to a mobile hotspot that loses connectivity, WiFi does not disconnect anymore Merged-In: I18dc13083a7af4ed8bf95fbbf7dce0ecb9abaa14 (cherry picked from commit 01d68c56) Change-Id: I5bea86e0b5733bff7428f0b40c8a6a1907a1e825 (cherry picked from commit cc246e6c)
-
- 13 Jun, 2019 1 commit
-
-
android-build-team Robot authored
Change-Id: I423b645d6d21f3e8df31befbc137a866d8f61fc6
-
- 12 Jun, 2019 8 commits
-
-
Remi NGUYEN VAN authored
Beta 4 system images only understand the NETWORK_TEST_RESULT_* constants and not the new NETWORK_VALIDATION_RESULT_* constants. When talking to such a build, use the older constants. Bug: 134923144 Test: atest NetorkStackTests Test: beta 4 OS build validates (patched from Icf28c5dcd622c89c411a87b63d2ce4aa7488d082 using: git -C ~/other-branch-repo/frameworks/base/ show -p | patch -p3) Merged-In: Ic97d42c89ac011fa668f0edb23fbb6a13a486e57 (cherry picked from commit eb9e6277) Change-Id: I9e84b9c69e857af7d79a620da0c1ded74f7c2c63
-
android-build-team Robot authored
Merge "Snap for 5652499 from 9f145111 to qt-release" into qt-release
-
android-build-team Robot authored
Merge "Snap for 5652499 from 9f145111 to qt-release" into qt-release
-
android-build-team Robot authored
Merge "Snap for 5652499 from 9f145111 to qt-release" into qt-release
-
android-build-team Robot authored
Change-Id: I35f189dca32ad8b4d03330a0b1e6f39523bc3cee
-
android-build-team Robot authored
Change-Id: Ia676ce47e9b5eb5c9af4d4175b50308ead6c3175
-
android-build-team Robot authored
Change-Id: I0280058b69e0241e9b6e29668c337b183ef197d3
-
android-build-team Robot authored
Change-Id: If578e055a674af815fe939d3a498c5b81031b728
-
- 10 Jun, 2019 1 commit
-
-
Akshay authored
Bug: 129546105 Change-Id: I2712ecdedacd7ada66e6b46c2b12ae89d52fd8ec
-
- 08 Jun, 2019 1 commit
-
-
android-build-team Robot authored
Change-Id: If53f1e7637926f2b064044ea137dd4fd2a952097
-
- 07 Jun, 2019 1 commit
-
-
Lorenzo Colitti authored
Late in the Q release cycle, NetworkMonitor started sending probe results as well as evaluation results to ConnectivityService. This resulted in passing information to NetworkAgents at the wrong time. For example, as soon as it connected to a network, it would report INVALID_NETWORK to the NetworkAgents, causing Wi-Fi to disable autojoin and telephony to detect a data stall and initiate recovery. Unfortunately there is not enough information to correctly suppress these messages in ConnectivityService. So, just stop sending them. ConnectivityService doesn't use them anyway. Bug: 134446021 Test: atest NetworkStackTests Change-Id: I9e3d9b9057fd017e202d056246ca2711f73d28c7
-
- 02 Jun, 2019 1 commit
-
-
android-build-team Robot authored
Change-Id: If48abaed0b361bcb859c4c69896c1ebd70decc15
-
- 31 May, 2019 1 commit
-
-
Baligh Uddin authored
-
- 30 May, 2019 2 commits
-
-
TreeHugger Robot authored
-
Remi NGUYEN VAN authored
Add a check that callers with UID 1000 always have the same PID. This is a proxy for checking that no system is designed to bind to the network stack unless it is the system_server, as otherwise either the system_server would start crashing, or that system would not have access to binder calls. Also remove access from PHONE_UID as it is not being used. Test: Flashed, WiFi working, Bluetooth reverse tethering shows no permission issue. Bug: 133209255 Change-Id: Ib848aaaedfd599c1d4437378846c7dda74352019
-
- 29 May, 2019 1 commit
-
-
Baligh Uddin authored
BUG: 133225687
-
- 28 May, 2019 4 commits
-
-
Chalard Jean authored
Bug: 128499160 Test: new test in this patch Change-Id: I6ccdc801e3888a61b22272c8ce9480f45fa26df2 (cherry picked from commit 3074f10b41fd1b622dc698d89e4c9e1bcb5b05cf) Merged-In: I10b5c5cd85fcb76924ba96c8c379be677774705d
-
TreeHugger Robot authored
-
Chiachang Wang authored
-
Xiao Ma authored
Bug:128499160 Test: manual Test: atest FrameworksNetTests NetworkStackTests Merged-In: I13ad04454e638905b74dd42a1c83266c7c37652f Merged-In: Ia13ff10a57c2043f6676976f23ecfb2d2a9a6ef0 (cherry picked from commit ef6ef68c48b869aa9960edd81c73f3d31391ae26) Change-Id: I42507451d55a620c0e2d271c895ad158f348c1a5
-
- 27 May, 2019 2 commits
-
-
Paul Hu authored
WTF will happen in RegularMaintenanceJobService due to scheduling job and starting maintenance job are in different processes. In AGO project, scheduling job use inprocess process. But starting maintenance job use networkstack process. So IpmemoryService objcet will be null when trying to do the maintenance job. Bug: 132763800 Test: Verify on both AGO and non-AGO projects that WFT will not happen. Test: atest NetworkStackTests Change-Id: I545fc8384ef7b3d97edf2270fa033d8afac2669c Merged-In: If7f61a8b5ddc8cdd25928cd35afa7fece2c8dde5 Merged-In: I8043c405b3c78d8dd1e71ec584d7a2fdaa2fd989 Merged-In: I545fc8384ef7b3d97edf2270fa033d8afac2669c (cherry picked from commit 20abd7d4e6c63b225de2e87595e5f2758353f894)
-
Chiachang Wang authored
This is a follow-up commit for aosp/955431 to update commets and minor updates in unit test. Test: atest com.android.server.ConnectivityServiceTest#testCaptivePortalOnPartialConnectivity Bug: 130683832 Change-Id: I581eae8daeddd2c4c186e7b40e27fef2aaa7ab43 Merged-In: I9087ef791b3fee5399ba8e83ef9d8a544845a4dd Merged-In: I4424663292c5ad29eb7a888fa6975835721a5d2e (cherry picked from commit 3d3a9fff7b7fa0df4ee627cb082668e642d6f754)
-
- 24 May, 2019 1 commit
-
-
Chiachang Wang authored
Once a network is determined to have partial connectivity, it cannot go back to full connectivity without a disconnect. This is because NetworkMonitor can only communicate either PARTIAL_CONNECTIVITY or VALID, but not both. Thus, multiple validation results allow ConnectivityService to know the real network status. Bug: 129662877 Bug: 130683832 Test: atest FrameworksNetTests Test: atest NetworkStackTests Test: atest --generate-new-metrics 50 NetworkStackTests:com.android.server.connectivity.NetworkMonitorTest Test: Simulate partial connectvitiy Change-Id: I406c9368617c03a2dd3ab15fb1f6dbf539d7c714 Merged-In: I243db4c406cca826e803c8035268bc0c6e6e01e2 (cherry picked from commit 4532abd4d2af9ad118873a63cafc6028ed87c52e)
-
- 23 May, 2019 2 commits
-
-
Lorenzo Colitti authored
Our stable AIDL interfaces need to use versioned build targets, otherwise getVersion will always return 0, which makes it impossible to support different components at different versions. List generated with: find . -name Android.bp -exec egrep \ -H "(netd|dnsresolver|ipmemorystore|networkstack).aidl.interface(s?)-(java|cpp)" {} \; \ | grep -v oemnetd | grep -v tests/ Test: m Bug: 133124190 (cherry-pick from aosp/968011) Merged-In: Idf49e840263ef32b9ee4fafa6718d4f893ea7c87 (cherry picked from commit 433f7c4178aaadac7d6a5f6727f39ef83342d436) Change-Id: I77e2291b52fda24ee01e1b22ddafe4fe7368959e
-
Lorenzo Colitti authored
Test: m Bug: 133389827 (cherry pick from aosp/960932) Merged-In: I7aeab47b31429b1f9a42f9b170aeba238c133950 Change-Id: Ie455b7a6a950cb5e34841efc3738c11fe1fd12f0
-
- 22 May, 2019 4 commits
-
-
Remi NGUYEN VAN authored
-
Remi NGUYEN VAN authored
Track a set of versions instead of just the latest seen version, and print versions in the standard dumpsys network_stack as well. Also add version tracking for the netd aidl interface. Test: Flashed, dumpsys network_stack and dumpsys network_stack version Bug: 133124190 Change-Id: I9bf21b10b02f605ef7b85aceb808a5437d936f85
-
Remi NGUYEN VAN authored
-
Remi NGUYEN VAN authored
PlatformCaptivePortalLogin must be used with InProcessNetworkStack instead of CaptivePortalLogin, since the signature of the APKs must match. Bug: 132666298 Test: Flashed walleye_svelte-eng, networking and captive portal working, including "use as-is". Change-Id: I243b29f2397b22f0d55af0d8927e75916d644198
-
- 20 May, 2019 2 commits
-
-
Lorenzo Colitti authored
Currently unimplemented. Implementation will be in a future CL. Test: m Bug: 128499160 Change-Id: Ia11ecd33f528d01667b1baeb8671b7213a31eef5 Merged-In: Ia11ecd33f528d01667b1baeb8671b7213a31eef5 (cherry picked from commit 10ddc681cf8ffc2c189ff975ad5885b32e670cb9)
-
Remi NGUYEN VAN authored
This is necessary to allow testing for the network stack version and the version it is getting from the system server. Test: flashed, WiFi working Test: dumpsys network_stack version shows data (although version numbers being fixed) Bug: 133124190 Change-Id: I9ea85c29667d4510225637071990732360841db6
-
- 17 May, 2019 1 commit
-
-
Remi NGUYEN VAN authored
-
- 16 May, 2019 1 commit
-
-
Remi NGUYEN VAN authored
The in-process NetworkStack runs in the system process, so it does not need to be marked persistent. Doing so causes a spurious com.android.networkstack.inprocess process to be running, wasting memory. Bug: 131046856 Test: Flashed sailfish, networking works, no extra process started Test: Flashed walleye, networking still works Test: aapt dump xmltree NetworkStack.apk AndroidManifest.xml unchanged Change-Id: I0eb896c825ffe2581950c0bdd2b31ebd7eae0982
-
- 15 May, 2019 4 commits
-
-
Aaron Huang authored
-
Aaron Huang authored
-
Chiachang Wang authored
-
Chiachang Wang authored
Bug: 132670008 Test: Manual Test: atest NetworkStackTests Change-Id: I8ae6fa6f3800f5f6c9ee88ffe3b8ada34b96dee6 Merged-In: I362d43ee6af318694a4038a257e1ebb3f577863c
-