Home
last modified time | relevance | path

Searched refs:setVsyncRate (Results 1 – 14 of 14) sorted by relevance

/frameworks/hardware/interfaces/displayservice/1.0/vts/functional/
DVtsFwkDisplayServiceV1_0TargetTest.cpp119 EXPECT_SUCCESS(receiver->setVsyncRate(1)); in TEST_F()
124 EXPECT_SUCCESS(receiver->setVsyncRate(2)); in TEST_F()
129 EXPECT_SUCCESS(receiver->setVsyncRate(4)); in TEST_F()
158 EXPECT_SUCCESS(receiver->setVsyncRate(0)); in TEST_F()
159 EXPECT_SUCCESS(receiver->setVsyncRate(5)); in TEST_F()
160 EXPECT_SUCCESS(receiver->setVsyncRate(0)); in TEST_F()
161 EXPECT_BAD_VALUE(receiver->setVsyncRate(-1)); in TEST_F()
162 EXPECT_BAD_VALUE(receiver->setVsyncRate(-1000)); in TEST_F()
/frameworks/native/libs/gui/
DIDisplayEventConnection.cpp47 status_t setVsyncRate(uint32_t count) override { in setVsyncRate() function in android::BpDisplayEventConnection
48 return callRemote<decltype(&IDisplayEventConnection::setVsyncRate)>(Tag::SET_VSYNC_RATE, in setVsyncRate()
74 return callLocal(data, reply, &IDisplayEventConnection::setVsyncRate); in onTransact()
DDisplayEventReceiver.cpp62 status_t DisplayEventReceiver::setVsyncRate(uint32_t count) { in setVsyncRate() function in android::DisplayEventReceiver
67 mEventConnection->setVsyncRate(count); in setVsyncRate()
/frameworks/native/services/surfaceflinger/tests/unittests/
DEventThreadTest.cpp271 mThread->setVsyncRate(0, firstConnection); in TEST_F()
281 mThread->setVsyncRate(1, secondConnection); in TEST_F()
297 mThread->setVsyncRate(1, mConnection); in TEST_F()
320 mThread->setVsyncRate(2, mConnection); in TEST_F()
347 mThread->setVsyncRate(1, mConnection); in TEST_F()
367 mThread->setVsyncRate(1, errorConnection); in TEST_F()
391 mThread->setVsyncRate(1, errorConnection); in TEST_F()
DSchedulerTest.cpp32 MOCK_METHOD1(setVsyncRate, status_t(uint32_t count));
/frameworks/hardware/interfaces/displayservice/1.0/
DIDisplayEventReceiver.hal23 * by default. Vsync events must be enabled with setVsyncRate.
43 setVsyncRate(int32_t count) generates (Status status);
46 * Must have no effect if vsync rate (set with setVsyncRate) is 0.
/frameworks/native/services/surfaceflinger/Scheduler/
DEventThread.h78 status_t setVsyncRate(uint32_t rate) override;
115 virtual void setVsyncRate(uint32_t rate, const sp<EventThreadConnection>& connection) = 0;
134 void setVsyncRate(uint32_t rate, const sp<EventThreadConnection>& connection) override;
DEventThread.cpp130 status_t EventThreadConnection::setVsyncRate(uint32_t rate) { in setVsyncRate() function in android::EventThreadConnection
131 mEventThread->setVsyncRate(rate, this); in setVsyncRate()
235 void EventThread::setVsyncRate(uint32_t rate, const sp<EventThreadConnection>& connection) { in setVsyncRate() function in android::impl::EventThread
/frameworks/native/services/displayservice/
DDisplayEventReceiver.cpp142 Return<Status> DisplayEventReceiver::setVsyncRate(int32_t count) { in setVsyncRate() function in android::frameworks::displayservice::V1_0::implementation::DisplayEventReceiver
149 bool success = OK == mAttached->receiver().setVsyncRate(count); in setVsyncRate()
/frameworks/native/libs/gui/include/gui/
DIDisplayEventConnection.h48 virtual status_t setVsyncRate(uint32_t count) = 0;
DDisplayEventReceiver.h136 status_t setVsyncRate(uint32_t count);
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockEventThread.h40 MOCK_METHOD2(setVsyncRate, void(uint32_t, const sp<android::EventThreadConnection> &));
/frameworks/native/services/surfaceflinger/tests/vsync/
Dvsync.cpp59 myDisplayEvent.setVsyncRate(1); in main()
/frameworks/native/services/displayservice/include/displayservice/
DDisplayEventReceiver.h40 Return<Status> setVsyncRate(int32_t count) override;