Home
last modified time | relevance | path

Searched refs:TEST_CLIENT_MAC (Results 1 – 3 of 3) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpServerTest.java102 private static final MacAddress TEST_CLIENT_MAC = MacAddress.fromBytes(TEST_CLIENT_MAC_BYTES); field in DhcpServerTest
107 private static final DhcpLease TEST_LEASE = new DhcpLease(null, TEST_CLIENT_MAC,
110 private static final DhcpLease TEST_LEASE_WITH_HOSTNAME = new DhcpLease(null, TEST_CLIENT_MAC,
238 when(mRepository.getOffer(isNull() /* clientId */, eq(TEST_CLIENT_MAC), in testDiscover()
259 when(mRepository.getCommittedLease(isNull() /* clientId */, eq(TEST_CLIENT_MAC), in testDiscover_RapidCommit()
277 when(mRepository.getOffer(isNull() /* clientId */, eq(TEST_CLIENT_MAC), in testDiscover_OutOfAddresses()
305 when(mRepository.requestLease(isNull() /* clientId */, eq(TEST_CLIENT_MAC), in testRequest_Selecting_Ack()
325 when(mRepository.requestLease(isNull(), eq(TEST_CLIENT_MAC), in testRequest_Selecting_Nak()
350 .releaseLease(isNull(), eq(TEST_CLIENT_MAC), eq(TEST_CLIENT_ADDR)); in testRelease()
355 when(mRepository.markAndReleaseDeclinedLease(isNull(), eq(TEST_CLIENT_MAC), in testDecline_LeaseDoesNotExist()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DHostapdHalAidlImpTest.java97 private static final String TEST_CLIENT_MAC = "11:22:33:44:55:66"; field in HostapdHalAidlImpTest
163 apInfo.apIfaceInstanceMacAddress = MacAddress.fromString(TEST_CLIENT_MAC).toByteArray(); in mockApInfoChangedAndVerify()
169 eq(MacAddress.fromString(TEST_CLIENT_MAC)), anyList()); in mockApInfoChangedAndVerify()
177 eq(MacAddress.fromString(TEST_CLIENT_MAC)), anyList()); in mockApInfoChangedAndVerify()
903 clientInfo.clientAddress = MacAddress.fromString(TEST_CLIENT_MAC).toByteArray(); in testHostapdCallbackEvent()
907 eq(MacAddress.fromString(TEST_CLIENT_MAC)), eq(true)); in testHostapdCallbackEvent()
DHostapdHalHidlImpTest.java72 private static final String TEST_CLIENT_MAC = "11:22:33:44:55:66"; field in HostapdHalHidlImpTest
1320 MacAddress.fromString(TEST_CLIENT_MAC).toByteArray()); in testHostapdCallbackEventAfter1_3()
1324 eq(MacAddress.fromString(TEST_CLIENT_MAC)), anyList()); in testHostapdCallbackEventAfter1_3()
1330 MacAddress.fromString(TEST_CLIENT_MAC).toByteArray(), true); in testHostapdCallbackEventAfter1_3()
1332 eq(MacAddress.fromString(TEST_CLIENT_MAC)), eq(true)); in testHostapdCallbackEventAfter1_3()