Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalAidlImplTest.java2457 int testNetworkId = 5; in testSetClientList() local
2464 if (networkId == testNetworkId) { in testSetClientList()
2474 assertTrue(mDut.setClientList(testNetworkId, clientList)); in testSetClientList()
2496 int testNetworkId = 5; in testSetClientListFailureDueToGetNetwork() local
2505 assertFalse(mDut.setClientList(testNetworkId, clientList)); in testSetClientListFailureDueToGetNetwork()
2515 int testNetworkId = 5; in testGetClientList() local
2525 if (networkId == testNetworkId) { in testGetClientList()
2536 assertEquals(expectedClients, mDut.getClientList(testNetworkId)); in testGetClientList()
2546 int testNetworkId = 5; in testGetClientListFailureDueToGetNetwork() local
2557 assertNull(mDut.getClientList(testNetworkId)); in testGetClientListFailureDueToGetNetwork()
DSupplicantP2pIfaceHalHidlImplTest.java2607 int testNetworkId = 5; in testSetClientList() local
2614 if (networkId == testNetworkId) { in testSetClientList()
2627 assertTrue(mDut.setClientList(testNetworkId, clientList)); in testSetClientList()
2650 int testNetworkId = 5; in testSetClientListFailureDueToGetNetwork() local
2666 assertFalse(mDut.setClientList(testNetworkId, clientList)); in testSetClientListFailureDueToGetNetwork()
2677 int testNetworkId = 5; in testGetClientList() local
2684 if (networkId == testNetworkId) { in testGetClientList()
2705 assertEquals(clientList, mDut.getClientList(testNetworkId)); in testGetClientList()
2717 int testNetworkId = 5; in testGetClientListFailureDueToGetNetwork() local
2740 assertEquals(null, mDut.getClientList(testNetworkId)); in testGetClientListFailureDueToGetNetwork()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiMetricsTest.java2930 int testNetworkId = 0; in testLogUserActionEventValidNetworkId() local
2935 when(mWcm.getConfiguredNetwork(testNetworkId)).thenReturn(config); in testLogUserActionEventValidNetworkId()
2937 mWifiMetrics.logUserActionEvent(testEventType, testNetworkId); in testLogUserActionEventValidNetworkId()
2964 int testNetworkId = 1; in testLogWifiStatusInUserActionEvent() local
2970 when(wifiInfo.getNetworkId()).thenReturn(testNetworkId); in testLogWifiStatusInUserActionEvent()
2973 mWifiMetrics.setNominatorForNetwork(testNetworkId, in testLogWifiStatusInUserActionEvent()
2978 mWifiMetrics.logUserActionEvent(testEventType, testNetworkId); in testLogWifiStatusInUserActionEvent()
3067 int testNetworkId = 0; in testLogUserActionEventInvalidNetworkId() local
3070 when(mWcm.getConfiguredNetwork(testNetworkId)).thenReturn(null); in testLogUserActionEventInvalidNetworkId()
3072 mWifiMetrics.logUserActionEvent(testEventType, testNetworkId); in testLogUserActionEventInvalidNetworkId()