Searched refs:mSchedulerCallback (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/ |
D | AcquisitionClientTest.java | 61 private ClientMonitorCallback mSchedulerCallback; field in AcquisitionClientTest 73 client.start(mSchedulerCallback); in testUserCanceled() 76 verify(mSchedulerCallback).onClientStarted(eq(client)); in testUserCanceled() 80 verify(mSchedulerCallback, never()).onClientFinished(any(), anyBoolean()); in testUserCanceled() 90 verify(mSchedulerCallback).onClientFinished(eq(client), anyBoolean()); in testUserCanceled()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | SchedulerTest.cpp | 103 mock::SchedulerCallback mSchedulerCallback; member in android::scheduler::__anon810a6bab0111::SchedulerTest 105 TestableScheduler* mScheduler = new TestableScheduler{mSelector, mFlinger, mSchedulerCallback}; 133 EXPECT_CALL(mSchedulerCallback, requestHardwareVsync(kDisplayId1, false)).Times(0); in TEST_F() 142 EXPECT_CALL(mSchedulerCallback, requestHardwareVsync(kDisplayId2, false)).Times(1); in TEST_F() 143 EXPECT_CALL(mSchedulerCallback, requestHardwareVsync(kDisplayId3, false)).Times(1); in TEST_F() 174 EXPECT_CALL(mSchedulerCallback, requestDisplayModes(_)).Times(0); in TEST_F() 238 EXPECT_CALL(mSchedulerCallback, requestDisplayModes(Is120Hz())).Times(1); in TEST_F() 243 EXPECT_CALL(mSchedulerCallback, requestDisplayModes(_)).Times(0); in TEST_F() 592 mSchedulerCallback}; in TEST_F() 717 EXPECT_CALL(mSchedulerCallback, onChoreographerAttached); in TEST_F() [all …]
|
D | LayerInfoTest.cpp | 66 mock::SchedulerCallback mSchedulerCallback; member in android::scheduler::LayerInfoTest 68 TestableScheduler* mScheduler = new TestableScheduler(mSelector, mFlinger, mSchedulerCallback);
|
D | TestableSurfaceFlinger.h | 248 : static_cast<ISchedulerCallback&>(mSchedulerCallback); 308 scheduler::mock::SchedulerCallback& mockSchedulerCallback() { return mSchedulerCallback; } in mockSchedulerCallback() 1161 scheduler::mock::SchedulerCallback mSchedulerCallback; variable
|
D | LayerHistoryIntegrationTest.cpp | 167 mock::SchedulerCallback mSchedulerCallback; member in android::scheduler::LayerHistoryIntegrationTest 169 TestableScheduler* mScheduler = new TestableScheduler(mSelector, mFlinger, mSchedulerCallback);
|
D | LayerHistoryTest.cpp | 151 mock::SchedulerCallback mSchedulerCallback; member in android::scheduler::LayerHistoryTest 153 TestableScheduler* mScheduler = new TestableScheduler(mSelector, mFlinger, mSchedulerCallback);
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | Scheduler.cpp | 72 mSchedulerCallback(callback) {} in Scheduler() 237 mSchedulerCallback.onCommitNotComposited(pacesetterPtr->displayId); in onFrameSignal() 343 mSchedulerCallback.onExpectedPresentTimePosted(expectedPresentTime, frameRateMode.modePtr, in onExpectedPresentTimePosted() 373 mSchedulerCallback.onChoreographerAttached(); in createDisplayEventConnection() 567 mSchedulerCallback.requestHardwareVsync(id, enabled); in onHardwareVsyncRequest() 816 mSchedulerCallback.kernelTimerChanged(state == TimerState::Expired); in kernelIdleTimerCallback() 955 .vrr = {.onReset = [this] { mSchedulerCallback.vrrDisplayIdle(false); }, in promotePacesetterDisplayLocked() 956 .onExpired = [this] { mSchedulerCallback.vrrDisplayIdle(true); }}}); in promotePacesetterDisplayLocked() 1149 mSchedulerCallback.requestDisplayModes(std::move(modeRequests)); in applyPolicy() 1152 mSchedulerCallback.triggerOnFrameRateOverridesChanged(); in applyPolicy()
|
D | Scheduler.h | 498 ISchedulerCallback& mSchedulerCallback; variable
|