Home
last modified time | relevance | path

Searched refs:client1 (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DConnectedClientsTrackerTest.kt48 private val client1 = TetheredClient(client1Addr, listOf( constant in com.android.networkstack.tethering.ConnectedClientsTrackerTest
80 doReturn(listOf(client1)).`when`(server1).allLeases in testUpdateConnectedClients()
81 assertSameClients(listOf(client1), assertNewClients(tracker, servers, listOf(wifiClient1))) in testUpdateConnectedClients()
85 assertSameClients(listOf(client1, client2WithoutAddr), in testUpdateConnectedClients()
89 doReturn(listOf(client1, client2)).`when`(server1).allLeases in testUpdateConnectedClients()
90 assertSameClients(listOf(client1, client2), assertNewClients(tracker, servers, null)) in testUpdateConnectedClients()
94 assertSameClients(listOf(client1, client2, client3), in testUpdateConnectedClients()
98 assertSameClients(listOf(client1, client3), in testUpdateConnectedClients()
105 assertSameClients(listOf(client1, client3), in testUpdateConnectedClients()
118 doReturn(listOf(client1, client2)).`when`(server1).allLeases in testUpdateConnectedClients_LeaseExpiration()
[all …]
/frameworks/native/libs/vr/libpdx_uds/
Dservice_framework_tests.cpp554 auto client1 = TestClient::Create(kTestService2); in TEST_F() local
555 ASSERT_NE(nullptr, client1); in TEST_F()
558 const int channel_id1 = client1->GetThisChannelId(); in TEST_F()
561 auto client2 = client1->GetNewChannel(); in TEST_F()
563 EXPECT_NE(client1->event_fd(), client2->event_fd()); in TEST_F()
569 auto client3 = client1->GetNewChannelFromOtherService(); in TEST_F()
571 EXPECT_NE(client1->event_fd(), client3->event_fd()); in TEST_F()
577 const int service_id1 = client1->GetServiceId(); in TEST_F()
/frameworks/base/tests/net/java/com/android/server/
DNsdServiceTest.java94 NsdManager client1 = connectClient(service); in testClientsCanConnectAndDisconnect() local
99 client1.disconnect(); in testClientsCanConnectAndDisconnect()
104 client1.disconnect(); in testClientsCanConnectAndDisconnect()
/frameworks/base/packages/Tethering/tests/unit/common/android/net/
DTetheredClientTest.kt95 val client1 = TetheredClient(TEST_MACADDR, listOf(TEST_ADDRINFO1), TETHERING_USB) in makeLinkAddress() constant
100 TETHERING_USB), client1.addAddresses(client2)) in makeLinkAddress()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareMetricsTest.java309 WifiAwareClientState client1 = new WifiAwareClientState(mMockContext, 10, uid1, 0, null, in testDiscoverySessionMetrics() local
315 clients.put(10, client1); in testDiscoverySessionMetrics()
320 client1.addSession(new WifiAwareDiscoverySessionState(null, 100, (byte) 0, null, true, in testDiscoverySessionMetrics()
326 client1.addSession(new WifiAwareDiscoverySessionState(null, 101, (byte) 0, null, true, in testDiscoverySessionMetrics()
369 mDut.recordDiscoverySessionDuration(client1.getSession(100).getCreationTime(), in testDiscoverySessionMetrics()
370 client1.getSession(100).isPublishSession()); in testDiscoverySessionMetrics()
371 client1.removeSession(100); in testDiscoverySessionMetrics()
/frameworks/av/services/mediaresourcemanager/test/
DResourceManagerService_test.cpp193 TestClient *client1 = static_cast<TestClient*>(mTestClient1.get()); in verifyClients() local
197 EXPECT_EQ(c1, client1->reclaimed()); in verifyClients()
201 client1->reset(); in verifyClients()
/frameworks/base/packages/Tethering/tests/integration/src/android/net/
DEthernetTetheringTest.java217 byte[] client1 = MacAddress.fromString("1:2:3:4:5:6").toByteArray(); in testStaticIpv4()
222 DhcpResults dhcpResults = runDhcp(fd, client1); in testStaticIpv4()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java2541 final String client1 = mGroupOwnerMacAddress; in testSetClientList() local
2559 String clientList = client1 + " " + client2; in testSetClientList()
2585 final String client1 = mGroupOwnerMacAddress; in testSetClientListFailureDueToGetNetwork() local
2599 String clientList = client1 + " " + client2; in testSetClientListFailureDueToGetNetwork()
2612 final String client1 = mGroupOwnerMacAddress; in testGetClientList() local
2639 String clientList = client1 + " " + client2; in testGetClientList()
2653 final String client1 = mGroupOwnerMacAddress; in testGetClientListFailureDueToGetNetwork() local
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp3673 sp<SurfaceComposerClient> client1(new SurfaceComposerClient), in TEST_F() local
3676 ASSERT_EQ(NO_ERROR, client1->initCheck()) << "failed to create SurfaceComposerClient"; in TEST_F()
3680 ASSERT_NO_FATAL_FAILURE(layer1 = createLayer(client1, "test", 0, 0, in TEST_F()
3832 sp<SurfaceComposerClient> client1(new SurfaceComposerClient), in TEST_F() local
3834 ASSERT_EQ(NO_ERROR, client1->initCheck()) << "failed to create SurfaceComposerClient"; in TEST_F()
3838 ASSERT_NO_FATAL_FAILURE(layer1 = createLayer(client1, "test", 0, 0, in TEST_F()
3873 sp<SurfaceComposerClient> client1(new SurfaceComposerClient), in TEST_F() local
3875 ASSERT_EQ(NO_ERROR, client1->initCheck()) << "failed to create SurfaceComposerClient"; in TEST_F()
3879 ASSERT_NO_FATAL_FAILURE(layer1 = createLayer(client1, "test", 0, 0, in TEST_F()
3927 sp<SurfaceComposerClient> client1(new SurfaceComposerClient), in TEST_F() local
[all …]