Home
last modified time | relevance | path

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

/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DConnectedClientsTrackerTest.kt48 private val client1 = TetheredClient(client1Addr, listOf( constant
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/av/media/libmediatranscoding/tests/
DTranscodingClientManager_tests.cpp174 std::shared_ptr<ITranscodingServiceClient> client1 = in TEST_F() local
179 client1, kClientId, kClientPid, kClientUid, kClientOpPackageName); in TEST_F()
192 std::shared_ptr<ITranscodingServiceClient> client1 = in TEST_F() local
197 client1, kClientId, kClientPid, kClientUid, kClientOpPackageName); in TEST_F()
210 std::shared_ptr<ITranscodingServiceClient> client1 = in TEST_F() local
215 client1, kClientId, kClientPid, kClientUid, kClientOpPackageName); in TEST_F()
/frameworks/native/services/surfaceflinger/tests/
DLayerCallback_test.cpp334 sp<SurfaceComposerClient> client1(new SurfaceComposerClient), in TEST_F() local
337 ASSERT_EQ(NO_ERROR, client1->initCheck()) << "failed to create SurfaceComposerClient"; in TEST_F()
341 ASSERT_NO_FATAL_FAILURE(layer1 = createLayer(client1, "test", 0, 0, in TEST_F()
493 sp<SurfaceComposerClient> client1(new SurfaceComposerClient), in TEST_F() local
495 ASSERT_EQ(NO_ERROR, client1->initCheck()) << "failed to create SurfaceComposerClient"; in TEST_F()
499 ASSERT_NO_FATAL_FAILURE(layer1 = createLayer(client1, "test", 0, 0, in TEST_F()
534 sp<SurfaceComposerClient> client1(new SurfaceComposerClient), in TEST_F() local
536 ASSERT_EQ(NO_ERROR, client1->initCheck()) << "failed to create SurfaceComposerClient"; in TEST_F()
540 ASSERT_NO_FATAL_FAILURE(layer1 = createLayer(client1, "test", 0, 0, in TEST_F()
588 sp<SurfaceComposerClient> client1(new SurfaceComposerClient), in TEST_F() local
[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.java319 WifiAwareClientState client1 = new WifiAwareClientState(mMockContext, 10, uid1, 0, null, in testDiscoverySessionMetrics() local
325 clients.put(10, client1); in testDiscoverySessionMetrics()
330 client1.addSession(new WifiAwareDiscoverySessionState(null, 100, (byte) 0, null, true, in testDiscoverySessionMetrics()
336 client1.addSession(new WifiAwareDiscoverySessionState(null, 101, (byte) 0, null, true, in testDiscoverySessionMetrics()
379 mDut.recordDiscoverySessionDuration(client1.getSession(100).getCreationTime(), in testDiscoverySessionMetrics()
380 client1.getSession(100).isPublishSession()); in testDiscoverySessionMetrics()
381 client1.removeSession(100); in testDiscoverySessionMetrics()
/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.java2561 final String client1 = mGroupOwnerMacAddress; in testSetClientList() local
2579 String clientList = client1 + " " + client2; in testSetClientList()
2605 final String client1 = mGroupOwnerMacAddress; in testSetClientListFailureDueToGetNetwork() local
2619 String clientList = client1 + " " + client2; in testSetClientListFailureDueToGetNetwork()
2632 final String client1 = mGroupOwnerMacAddress; in testGetClientList() local
2659 String clientList = client1 + " " + client2; in testGetClientList()
2673 final String client1 = mGroupOwnerMacAddress; in testGetClientListFailureDueToGetNetwork() local
/frameworks/av/services/mediaresourcemanager/test/
DResourceManagerService_test.cpp212 TestClient *client1 = static_cast<TestClient*>(mTestClient1.get()); in verifyClients() local
216 EXPECT_EQ(c1, client1->reclaimed()); in verifyClients()
220 client1->reset(); in verifyClients()