Home
last modified time | relevance | path

Searched refs:client2 (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/
DBiometricSchedulerTest.java89 final HalClientMonitor<Object> client2 = in testClientDuplicateFinish_ignoredBySchedulerAndDoesNotCrash() local
92 mScheduler.scheduleClientMonitor(client2); in testClientDuplicateFinish_ignoredBySchedulerAndDoesNotCrash()
107 final TestClientMonitor client2 = new TestClientMonitor(mContext, mToken, lazyDaemon2); in testRemovesPendingOperations_whenNullHal_andNotBiometricPrompt() local
121 mScheduler.scheduleClientMonitor(client2, callback2); in testRemovesPendingOperations_whenNullHal_andNotBiometricPrompt()
128 assertTrue(client2.wasUnableToStart()); in testRemovesPendingOperations_whenNullHal_andNotBiometricPrompt()
129 verify(callback2).onClientFinished(eq(client2), eq(false) /* success */); in testRemovesPendingOperations_whenNullHal_andNotBiometricPrompt()
147 final TestClientMonitor client2 = new TestClientMonitor(mContext, mToken, lazyDaemon2); in testRemovesOnlyBiometricPromptOperation_whenNullHal() local
161 mScheduler.scheduleClientMonitor(client2, callback2); in testRemovesOnlyBiometricPromptOperation_whenNullHal()
174 assertFalse(client2.wasUnableToStart()); in testRemovesOnlyBiometricPromptOperation_whenNullHal()
175 assertTrue(client2.hasStarted()); in testRemovesOnlyBiometricPromptOperation_whenNullHal()
[all …]
/frameworks/av/services/camera/libcameraservice/
DAndroid.bp53 "api1/client2/Parameters.cpp",
54 "api1/client2/FrameProcessor.cpp",
55 "api1/client2/StreamingProcessor.cpp",
56 "api1/client2/JpegProcessor.cpp",
57 "api1/client2/CallbackProcessor.cpp",
58 "api1/client2/JpegCompressor.cpp",
59 "api1/client2/CaptureSequencer.cpp",
60 "api1/client2/ZslProcessor.cpp",
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DMockingOomAdjusterTests.java1046 ProcessRecord client2 = spy(makeDefaultProcessRecord(MOCKAPP3_PID, MOCKAPP3_UID, in testUpdateOomAdj_DoOne_Service_Chain_BoundByTop() local
1048 bindService(client, client2, null, 0, mock(IBinder.class)); in testUpdateOomAdj_DoOne_Service_Chain_BoundByTop()
1050 doReturn(client2).when(sService).getTopApp(); in testUpdateOomAdj_DoOne_Service_Chain_BoundByTop()
1067 ProcessRecord client2 = spy(makeDefaultProcessRecord(MOCKAPP3_PID, MOCKAPP3_UID, in testUpdateOomAdj_DoOne_Service_BoundByFgService_Branch() local
1069 bindService(app, client2, null, 0, mock(IBinder.class)); in testUpdateOomAdj_DoOne_Service_BoundByFgService_Branch()
1070 client2.mServices.setHasForegroundServices(true, 0); in testUpdateOomAdj_DoOne_Service_BoundByFgService_Branch()
1086 ProcessRecord client2 = spy(makeDefaultProcessRecord(MOCKAPP3_PID, MOCKAPP3_UID, in testUpdateOomAdj_DoOne_Service_Chain_BoundByFgService() local
1088 bindService(client, client2, null, 0, mock(IBinder.class)); in testUpdateOomAdj_DoOne_Service_Chain_BoundByFgService()
1089 client2.mServices.setHasForegroundServices(true, 0); in testUpdateOomAdj_DoOne_Service_Chain_BoundByFgService()
1105 ProcessRecord client2 = spy(makeDefaultProcessRecord(MOCKAPP3_PID, MOCKAPP3_UID, in testUpdateOomAdj_DoOne_Service_Chain_BoundByFgService_Cycle() local
[all …]
/frameworks/hardware/interfaces/bufferhub/1.0/vts/functional/
DVtsHalBufferHubV1_0TargetTest.cpp228 sp<IBufferClient> client2; in TEST_F() local
233 client2 = outClient; in TEST_F()
238 EXPECT_NE(nullptr, client2.get()); in TEST_F()
249 EXPECT_EQ(BufferHubStatus::NO_ERROR, client2->close()); in TEST_F()
326 sp<IBufferClient> client2; in TEST_F() local
331 client2 = outClient; in TEST_F()
336 EXPECT_EQ(nullptr, client2.get()); in TEST_F()
/frameworks/native/services/surfaceflinger/tests/
DLayerCallback_test.cpp417 client2(new SurfaceComposerClient); in TEST_F() local
420 ASSERT_EQ(NO_ERROR, client2->initCheck()) << "failed to create SurfaceComposerClient"; in TEST_F()
425 ASSERT_NO_FATAL_FAILURE(layer2 = createLayer(client2, "test", 0, 0, in TEST_F()
595 client2(new SurfaceComposerClient); in TEST_F() local
597 ASSERT_EQ(NO_ERROR, client2->initCheck()) << "failed to create SurfaceComposerClient"; in TEST_F()
602 ASSERT_NO_FATAL_FAILURE(layer2 = createLayer(client2, "test", 0, 0, in TEST_F()
644 client2(new SurfaceComposerClient); in TEST_F() local
646 ASSERT_EQ(NO_ERROR, client2->initCheck()) << "failed to create SurfaceComposerClient"; in TEST_F()
651 ASSERT_NO_FATAL_FAILURE(layer2 = createLayer(client2, "test", 0, 0, in TEST_F()
705 client2(new SurfaceComposerClient); in TEST_F() local
[all …]
/frameworks/native/libs/vr/libpdx_uds/
Dservice_framework_tests.cpp561 auto client2 = client1->GetNewChannel(); in TEST_F() local
562 EXPECT_NE(nullptr, client2); in TEST_F()
563 EXPECT_NE(client1->event_fd(), client2->event_fd()); in TEST_F()
565 const int channel_id2 = client2->GetThisChannelId(); in TEST_F()
580 const int service_id2 = client2->GetServiceId(); in TEST_F()
Dremote_method_tests.cpp701 auto client2 = TestClient::Create(std::move(channel)); in TEST_F() local
702 ASSERT_NE(nullptr, client2); in TEST_F()
705 const int sum = client2->Add(10, 25); in TEST_F()
/frameworks/av/services/mediaresourcemanager/test/
DResourceManagerService_test.cpp33 TestClient *client2 = static_cast<TestClient*>(mTestClient2.get()); in verifyClients() local
37 EXPECT_EQ(c2, client2->reclaimed()); in verifyClients()
41 client2->reset(); in verifyClients()