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.cpp63 status_t DisplayEventReceiver::setVsyncRate(uint32_t count) { in setVsyncRate() function in android::DisplayEventReceiver
68 mEventConnection->setVsyncRate(count); in setVsyncRate()
/frameworks/native/services/surfaceflinger/tests/unittests/
DEventThreadTest.cpp277 mThread->setVsyncRate(0, firstConnection); in TEST_F()
288 mThread->setVsyncRate(1, secondConnection); in TEST_F()
304 mThread->setVsyncRate(1, mConnection); in TEST_F()
327 mThread->setVsyncRate(2, mConnection); in TEST_F()
354 mThread->setVsyncRate(1, mConnection); in TEST_F()
376 mThread->setVsyncRate(1, errorConnection); in TEST_F()
402 mThread->setVsyncRate(1, errorConnection); in TEST_F()
DSchedulerTest.cpp33 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.h79 status_t setVsyncRate(uint32_t rate) override;
118 virtual void setVsyncRate(uint32_t rate, const sp<EventThreadConnection>& connection) = 0;
138 void setVsyncRate(uint32_t rate, const sp<EventThreadConnection>& connection) override;
DEventThread.cpp136 status_t EventThreadConnection::setVsyncRate(uint32_t rate) { in setVsyncRate() function in android::EventThreadConnection
137 mEventThread->setVsyncRate(rate, this); in setVsyncRate()
243 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.h139 status_t setVsyncRate(uint32_t count);
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockEventThread.h41 MOCK_METHOD2(setVsyncRate, void(uint32_t, const sp<android::EventThreadConnection> &));
/frameworks/native/services/displayservice/include/displayservice/
DDisplayEventReceiver.h40 Return<Status> setVsyncRate(int32_t count) override;
/frameworks/native/services/surfaceflinger/tests/vsync/
Dvsync.cpp59 myDisplayEvent.setVsyncRate(1); in main()