/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/ |
D | BiometricSchedulerTest.java | 102 final HalClientMonitor<Object> client1 = in testClientDuplicateFinish_ignoredBySchedulerAndDoesNotCrash() local 106 mScheduler.scheduleClientMonitor(client1); in testClientDuplicateFinish_ignoredBySchedulerAndDoesNotCrash() 109 client1.mCallback.onClientFinished(client1, true /* success */); in testClientDuplicateFinish_ignoredBySchedulerAndDoesNotCrash() 110 client1.mCallback.onClientFinished(client1, true /* success */); in testClientDuplicateFinish_ignoredBySchedulerAndDoesNotCrash() 116 final TestHalClientMonitor client1 = new TestHalClientMonitor( in testRemovesPendingOperations_whenNullHal_andNotBiometricPrompt() local 129 mScheduler.scheduleClientMonitor(client1, callback1); in testRemovesPendingOperations_whenNullHal_andNotBiometricPrompt() 136 assertTrue(client1.mUnableToStart); in testRemovesPendingOperations_whenNullHal_andNotBiometricPrompt() 137 verify(callback1).onClientFinished(eq(client1), eq(false) /* success */); in testRemovesPendingOperations_whenNullHal_andNotBiometricPrompt() 154 final TestAuthenticationClient client1 = in testRemovesOnlyBiometricPromptOperation_whenNullHal() local 167 mScheduler.scheduleClientMonitor(client1, callback1); in testRemovesOnlyBiometricPromptOperation_whenNullHal() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/quickaffordance/ |
D | KeyguardQuickAffordanceRemoteUserSelectionManagerTest.kt | 57 private lateinit var client1: FakeCustomizationProviderClient in <lambda>() variable in com.android.systemui.keyguard.data.quickaffordance.KeyguardQuickAffordanceRemoteUserSelectionManagerTest 65 client1 = FakeCustomizationProviderClient() in <lambda>() 96 OTHER_USER_ID_1 -> client1 in <lambda>() 123 client1.insertSelection( in <lambda>() 175 client1.insertSelection( in <lambda>()
|
/frameworks/native/libs/vr/libpdx_uds/ |
D | service_framework_tests.cpp | 554 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/native/services/surfaceflinger/tests/ |
D | LayerCallback_test.cpp | 445 sp<SurfaceComposerClient> client1(new SurfaceComposerClient), in TEST_F() local 448 ASSERT_EQ(NO_ERROR, client1->initCheck()) << "failed to create SurfaceComposerClient"; in TEST_F() 452 ASSERT_NO_FATAL_FAILURE(layer1 = createLayer(client1, "test", 0, 0, in TEST_F() 623 sp<SurfaceComposerClient> client1(new SurfaceComposerClient), in TEST_F() local 625 ASSERT_EQ(NO_ERROR, client1->initCheck()) << "failed to create SurfaceComposerClient"; in TEST_F() 629 ASSERT_NO_FATAL_FAILURE(layer1 = createLayer(client1, "test", 0, 0, in TEST_F() 672 sp<SurfaceComposerClient> client1(new SurfaceComposerClient), in TEST_F() local 674 ASSERT_EQ(NO_ERROR, client1->initCheck()) << "failed to create SurfaceComposerClient"; in TEST_F() 678 ASSERT_NO_FATAL_FAILURE(layer1 = createLayer(client1, "test", 0, 0, in TEST_F() 733 sp<SurfaceComposerClient> client1(new SurfaceComposerClient), in TEST_F() local [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/repository/ |
D | KeyguardQuickAffordanceRepositoryTest.kt | 64 private lateinit var client1: FakeCustomizationProviderClient in <lambda>() variable in com.android.systemui.keyguard.data.repository.KeyguardQuickAffordanceRepositoryTest 92 client1 = FakeCustomizationProviderClient() in <lambda>() 103 SECONDARY_USER_1 -> client1 in <lambda>()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | MockingOomAdjusterTests.java | 1554 final ProcessRecord client1 = spy(makeDefaultProcessRecord(MOCKAPP3_PID, MOCKAPP3_UID, in testUpdateOomAdj_DoOne_ScheduleLikeTop() local 1558 bindService(app1, client1, null, Context.BIND_FOREGROUND_SERVICE_WHILE_AWAKE, in testUpdateOomAdj_DoOne_ScheduleLikeTop() 1562 client1.mState.setMaxAdj(PERSISTENT_PROC_ADJ); in testUpdateOomAdj_DoOne_ScheduleLikeTop() 1574 bindService(app1, client1, null, Context.BIND_SCHEDULE_LIKE_TOP_APP, mock(IBinder.class)); in testUpdateOomAdj_DoOne_ScheduleLikeTop() 1600 final ProcessRecord client1 = spy(makeDefaultProcessRecord(MOCKAPP3_PID, MOCKAPP3_UID, in testUpdateOomAdj_DoOne_TreatLikeVisFGS() local 1604 client1.mState.setMaxAdj(PERSISTENT_PROC_ADJ); in testUpdateOomAdj_DoOne_TreatLikeVisFGS() 1607 final ServiceRecord s1 = bindService(app1, client1, null, in testUpdateOomAdj_DoOne_TreatLikeVisFGS() 1620 bindService(app2, client1, s2, Context.BIND_TREAT_LIKE_VISIBLE_FOREGROUND_SERVICE, in testUpdateOomAdj_DoOne_TreatLikeVisFGS() 1628 client1.mState.setMaxAdj(UNKNOWN_ADJ); in testUpdateOomAdj_DoOne_TreatLikeVisFGS() 1630 client1.mServices.setHasForegroundServices(true, 0); in testUpdateOomAdj_DoOne_TreatLikeVisFGS() [all …]
|
/frameworks/av/services/mediatranscoding/tests/ |
D | mediatranscodingservice_simulated_tests.cpp | 149 std::shared_ptr<ITranscodingClient> client1; in TEST_F() local 150 status = mService->registerClient(mClient1, kClientName, kClientOpPackageName, &client1); in TEST_F()
|