summaryrefslogtreecommitdiff
path: root/tests/java/com/android/server/ethernet/EthernetTrackerTest.java
AgeCommit message (Collapse)Author
2021-05-14Replace clearAll with withoutDefaultCapabilities in NC#BuilderChiachang Wang
Update the naming and usgae according to API review feedback. Bug: 184735772 Test: atest EthernetTrackerTest Change-Id: Ie8dc0bcdf46ceebda5d6062231b48c1f63b250f6
2021-04-14Remove hidden connectivity methods usage in ethernet testChiachang Wang
Bug: 182859030 Test: atest EthernetTrackerTest Test: 1. remove framework-connectivity.impl from framework bp 2. cd frameworks/opt/net/ethernet/tests ; mm Change-Id: Ifaeebfca75dc77eec30dd722ddb3166610795b26
2021-03-05[CS07]Remove hidden API usage of NetworkCapabilitieslifr
The connection service will become the mainline module. The mutable NetworkCapabilities is deprecated, and the NetworkCapabilities should be built through their Builder instead. Bug: 170598012 Test: atest EthernetServiceTests Change-Id: I09661ddda24d652ed791a7c6b093541e20a15e77
2021-01-26Fix EthernetTrackerTest#createNetworkCapabilitieslucaslin
aosp/1307433 added NET_CAPABILITY_NOT_ROAMING, NET_CAPABILITY_NOT_CONGESTED and NET_CAPABILITY_NOT_SUSPENDED for ethernet but forgot to run and modify EthernetTrackerTest. Follow aosp/1307433 to add NET_CAPABILITY_NOT_ROAMING, NET_CAPABILITY_NOT_CONGESTED and NET_CAPABILITY_NOT_SUSPENDED for ethernet in test when verifying the network capabilities of ethernet. Bug: 177782157 Test: atest EthernetServiceTests Change-Id: I32c596b1b7726c47818460ea646bf5e346825887
2019-03-25Update comments and documentation in net type prop changeandroid-q-preview-6android-q-preview-5android-q-preview-4android-q-preview-2.5android-o-mr1-iot-release-1.0.12oreo-mr1-iot-releaseSal Savage
Bug: b/112588045 Test: atest EthernetServiceTests --verbose Test: kitchensink, dumpsys ethernet, with RPi devices and USB to ethernet adapters. Change-Id: Iaa260aabbbd7aa4b7864eba32ecff7e3f84123c3
2019-03-05Migrate frameworks/opt/net/ethernet to androidx.testBrett Chabot
See go/jetpack-test-android-migration Test: compile Change-Id: I20fc49dd2487af2245f060454e7f32f5e9145a9c
2019-01-15Allow network transport type overrideSal Savage
Bug: b/112588045 Test: atest EthernetServiceTests --verbose Test: kitchensink with RPi devices connected by USB -> Ethernet adapters. Edit config.xml to try different tranport overrides manually. Use dumpsys ethernet to show final final network scores. Change-Id: I482e78a76d06c9c090aa6816db14bb346eb6528b
2018-05-30Add missing features to static IP configandroid-9.0.0_r30android-9.0.0_r22android-9.0.0_r21android-9.0.0_r20android-9.0.0_r19android-9.0.0_r16android-9.0.0_r12android-9.0.0_r11pie-qpr1-s3-releasepie-qpr1-s2-releasepie-qpr1-s1-releasepie-qpr1-releasepie-dr1-releasepie-dr1-devpie-devPavel Maltsev
In addition to IP address, OEMs should be able to set gateway, DNS and domains. Bug: 80090920 Test: runtest -x frameworks/opt/net/ethernet/tests Change-Id: I4e3d51a6955d7bfe5ca4e8079936ea10c28832e4