summaryrefslogtreecommitdiff
path: root/tests/src/android/net/ip
AgeCommit message (Collapse)Author
2019-05-21Move the NetworkStack tests to unit/ to add an integration test.Lorenzo Colitti
Test: m Change-Id: If638183f45956b60d694c859a759dd761c0598b2
2019-04-05Add a mechanism to pass the L2Key and group hint to IpClientChalard Jean
Test: IpClientTest Change-Id: I399b20ce29a385a74971b7a7248a48cb4d66deb6
2019-03-18Move the IpMemoryStore to the network stack.Chalard Jean
Test: atest FrameworksNetTests Change-Id: Ic5bd6ff54b09a6fa92b6863f240a5b053011acb6
2019-03-16Remove aidl wrappers for framework parcelablesRemi NGUYEN VAN
The new @JavaOnlyStableParcelable annotation allows using the framework parcelables directly, which removes a lot of boilerplate. Includes new copy constructors for IpPrefix and LinkAddress so they can be copied easily as-is into parcelables. Test: atest FrameworksNetTests Test: booted, WiFi works Bug: 126477266 Change-Id: Icac8afe498d0b5ebf9a0d0b9eceb14d64a29b381
2019-03-08Remove NetworkStack test dependency on testutilsRemi NGUYEN VAN
frameworks-base-testutils is close to unused in the tests, and has the side-effect of adding some unrelated tests to be run in NetworkStackTests like TestLooperTest. TestLooperTest is also failing in some cases. Bug: 127908503 Test: atest NetworkStackTests Change-Id: Iebc174ed1362e8c341d765129a7fc51f8ed1999d
2019-03-01Migrate frameworks/base/tests/testables and its users to androidx.testBrett Chabot
See go/jetpack-test-android-migration Test: atest TestablesTests NetworkStackTests FrameworksServicesTests SystemUITests FrameworksUiServicesTests ExtServicesUnitTests Exempt-From-Owner-Approval: already reviewed Change-Id: I083fcdaa71b503535aa2b3c257740f3ecf055373 Merged-In: Ib04d80954bd8536914d88c66b28e6632e60a6245
2019-02-14Remove deps from framework on netd interfacesRemi NGUYEN VAN
If included in framework.jar, the interfaces conflict with any app that needs to depend on them, including the NetworkStack. Bug: 124033493 Test: atest FrameworksNetTests NetworkStackTests Change-Id: I2db9f87b7154130726d4700b241d55b041635d98 Merged-In: I0ecae20d514bf888f3a80331f19369ceb1c52aa3
2019-01-29Run IpClientLinkObserver on Binder threadRemi NGUYEN VAN
This restores previous behavior, where callbacks would not be called on the IpClient handler thread. Test: atest FrameworksNetTests NetworkStackTests Test: flashed, WiFi works Bug: 123062477 Change-Id: I3015566b0922d76ac7cf70579a1de3e033bf7b4a
2019-01-29Remove IpClient usage of NetworkManagementServiceRemi NGUYEN VAN
Use the new NetworkObserverRegistry instead. Test: atest FrameworksNetTests NetworkStackTests Test: flashed, WiFi working fine Bug: 112869080 Change-Id: If16ecfd6489f86afec67c22b4c3692cd68f4edbf
2019-01-24Fix IpClientTestRemi NGUYEN VAN
NetworkStackTests is run with a version of mockito that allows mocking final methods, which broke mocking of the ConnectivityService. Test: atest NetworkStackTests Change-Id: I430fe12216c43a0c4265a504dbefafad37c09291
2019-01-23Move IpClient to NetworkStackRemi NGUYEN VAN
Test: atest FrameworksNetTests NetworkStackTests Bug: b/112869080 Change-Id: I7d00848c052382cd1b6ce458868bed6a1e9e8ec5