/frameworks/native/libs/gui/ |
D | DisplayEventReceiver.cpp | 35 DisplayEventReceiver::DisplayEventReceiver(ISurfaceComposer::VsyncSource vsyncSource) { in DisplayEventReceiver() function in android::DisplayEventReceiver 46 DisplayEventReceiver::~DisplayEventReceiver() { in ~DisplayEventReceiver() 49 status_t DisplayEventReceiver::initCheck() const { in initCheck() 55 int DisplayEventReceiver::getFd() const { in getFd() 62 status_t DisplayEventReceiver::setVsyncRate(uint32_t count) { in setVsyncRate() 73 status_t DisplayEventReceiver::requestNextVsync() { in requestNextVsync() 82 ssize_t DisplayEventReceiver::getEvents(DisplayEventReceiver::Event* events, in getEvents() 84 return DisplayEventReceiver::getEvents(mDataChannel.get(), events, count); in getEvents() 87 ssize_t DisplayEventReceiver::getEvents(gui::BitTube* dataChannel, in getEvents() 93 ssize_t DisplayEventReceiver::sendEvents(gui::BitTube* dataChannel, in sendEvents()
|
D | Android.bp | 99 "DisplayEventReceiver.cpp",
|
/frameworks/native/services/displayservice/ |
D | DisplayEventReceiver.cpp | 47 DisplayEventReceiver::AttachedEvent::AttachedEvent(const sp<IEventCallback> &callback) in AttachedEvent() 57 DisplayEventReceiver::AttachedEvent::~AttachedEvent() { in ~AttachedEvent() 63 bool DisplayEventReceiver::AttachedEvent::detach() { in detach() 71 bool DisplayEventReceiver::AttachedEvent::valid() const { in valid() 75 DisplayEventReceiver::FwkReceiver &DisplayEventReceiver::AttachedEvent::receiver() { in receiver() 79 int DisplayEventReceiver::AttachedEvent::handleEvent(int fd, int events, void* /* data */) { in handleEvent() 130 Return<Status> DisplayEventReceiver::init(const sp<IEventCallback>& callback) { in init() 142 Return<Status> DisplayEventReceiver::setVsyncRate(int32_t count) { in setVsyncRate() 153 Return<Status> DisplayEventReceiver::requestNextVsync() { in requestNextVsync() 164 Return<Status> DisplayEventReceiver::close() { in close()
|
D | DisplayService.cpp | 27 return new DisplayEventReceiver(); in getEventReceiver()
|
D | Android.bp | 22 "DisplayEventReceiver.cpp",
|
/frameworks/native/services/surfaceflinger/tests/vsync/ |
D | vsync.cpp | 25 DisplayEventReceiver* q = (DisplayEventReceiver*)data; in receiver() 28 DisplayEventReceiver::Event buffer[1]; in receiver() 34 if (buffer[i].header.type == DisplayEventReceiver::DISPLAY_EVENT_VSYNC) { in receiver() 52 DisplayEventReceiver myDisplayEvent; in main()
|
/frameworks/base/core/java/android/view/ |
D | DisplayEventReceiver.java | 37 public abstract class DisplayEventReceiver { class 65 private static native long nativeInit(WeakReference<DisplayEventReceiver> receiver, in nativeInit() 76 public DisplayEventReceiver(Looper looper) { in DisplayEventReceiver() method in DisplayEventReceiver 86 public DisplayEventReceiver(Looper looper, int vsyncSource) { in DisplayEventReceiver() method in DisplayEventReceiver 92 mReceiverPtr = nativeInit(new WeakReference<DisplayEventReceiver>(this), mMessageQueue, in DisplayEventReceiver()
|
D | Choreographer.java | 19 import static android.view.DisplayEventReceiver.VSYNC_SOURCE_APP; 20 import static android.view.DisplayEventReceiver.VSYNC_SOURCE_SURFACE_FLINGER; 876 private final class FrameDisplayEventReceiver extends DisplayEventReceiver
|
/frameworks/native/services/surfaceflinger/ |
D | EventThread.cpp | 54 event.header.type = DisplayEventReceiver::DISPLAY_EVENT_VSYNC; in EventThread() 151 mVSyncEvent[0].header.type = DisplayEventReceiver::DISPLAY_EVENT_VSYNC; in onVSyncEvent() 164 DisplayEventReceiver::Event event; in onHotplugReceived() 165 event.header.type = DisplayEventReceiver::DISPLAY_EVENT_HOTPLUG; in onHotplugReceived() 177 DisplayEventReceiver::Event event; in threadMain() 208 std::unique_lock<std::mutex>* lock, DisplayEventReceiver::Event* event) { in waitForEventLocked() 321 mVSyncEvent[0].header.type = DisplayEventReceiver::DISPLAY_EVENT_VSYNC; in waitForEventLocked() 405 status_t EventThread::Connection::postEvent(const DisplayEventReceiver::Event& event) { in postEvent() 406 ssize_t size = DisplayEventReceiver::sendEvents(&mChannel, &event, 1); in postEvent()
|
D | EventThread.h | 88 virtual status_t postEvent(const DisplayEventReceiver::Event& event); 136 DisplayEventReceiver::Event* event) 157 Vector<DisplayEventReceiver::Event> mPendingEvents GUARDED_BY(mMutex); 158 DisplayEventReceiver::Event mVSyncEvent[DisplayDevice::NUM_BUILTIN_DISPLAY_TYPES] GUARDED_BY(
|
D | MessageQueue.cpp | 151 DisplayEventReceiver::Event buffer[8]; in eventReceiver() 152 while ((n = DisplayEventReceiver::getEvents(&mEventTube, buffer, 8)) > 0) { in eventReceiver() 154 if (buffer[i].header.type == DisplayEventReceiver::DISPLAY_EVENT_VSYNC) { in eventReceiver()
|
/frameworks/base/libs/androidfw/ |
D | DisplayEventDispatcher.cpp | 119 DisplayEventReceiver::Event buf[EVENT_BUFFER_SIZE]; in processPendingEvents() 124 const DisplayEventReceiver::Event& ev = buf[i]; in processPendingEvents() 126 case DisplayEventReceiver::DISPLAY_EVENT_VSYNC: in processPendingEvents() 134 case DisplayEventReceiver::DISPLAY_EVENT_HOTPLUG: in processPendingEvents()
|
/frameworks/native/libs/gui/include/gui/ |
D | DisplayEventReceiver.h | 50 class DisplayEventReceiver { 87 DisplayEventReceiver( 95 ~DisplayEventReceiver();
|
/frameworks/base/libs/hwui/renderthread/ |
D | RenderThread.cpp | 59 DisplayEventReceiverWrapper(std::unique_ptr<DisplayEventReceiver>&& receiver) in DisplayEventReceiverWrapper() 68 DisplayEventReceiver::Event buf[EVENT_BUFFER_SIZE]; in latestVsyncEvent() 73 const DisplayEventReceiver::Event& ev = buf[i]; in latestVsyncEvent() 75 case DisplayEventReceiver::DISPLAY_EVENT_VSYNC: in latestVsyncEvent() 88 std::unique_ptr<DisplayEventReceiver> mDisplayEventReceiver; 147 auto receiver = std::make_unique<DisplayEventReceiver>(); in initializeDisplayEventReceiver()
|
/frameworks/native/services/displayservice/include/displayservice/ |
D | DisplayEventReceiver.h | 37 class DisplayEventReceiver : public IDisplayEventReceiver { 45 using FwkReceiver = ::android::DisplayEventReceiver;
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | EventThreadTest.cpp | 54 MOCK_METHOD1(postEvent, status_t(const DisplayEventReceiver::Event& event)); 58 AsyncCallRecorderWithCannedReturn<status_t (*)(const DisplayEventReceiver::Event&)>; 157 EXPECT_EQ(DisplayEventReceiver::DISPLAY_EVENT_VSYNC, event.header.type) in expectVsyncEventReceivedByConnection() 177 EXPECT_EQ(DisplayEventReceiver::DISPLAY_EVENT_HOTPLUG, event.header.type); in expectHotplugEventReceivedByConnection()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | DisplayEventDispatcher.h | 37 DisplayEventReceiver mReceiver;
|
/frameworks/base/libs/hwui/tests/common/ |
D | TestContext.h | 64 DisplayEventReceiver mDisplayEventReceiver;
|
D | TestContext.cpp | 123 DisplayEventReceiver::Event buf[100]; in waitForVsync()
|
/frameworks/native/services/surfaceflinger/tests/fakehwc/ |
D | SFFakeHwc_test.cpp | 155 std::unique_ptr<DisplayEventReceiver> mReceiver; 157 std::deque<DisplayEventReceiver::Event> mReceivedDisplayEvents; 197 mReceiver.reset(new DisplayEventReceiver()); in SetUp() 224 DisplayEventReceiver::Event buffer[1]; in processDisplayEvents() 252 ALOGV_IF(event.header.type == DisplayEventReceiver::DISPLAY_EVENT_HOTPLUG, in waitForHotplugEvent() 256 if (event.header.type == DisplayEventReceiver::DISPLAY_EVENT_HOTPLUG && in waitForHotplugEvent()
|
/frameworks/base/core/jni/ |
D | android_view_DisplayEventReceiver.cpp | 60 DisplayEventReceiver mReceiver;
|
/frameworks/base/libs/input/ |
D | PointerController.h | 149 DisplayEventReceiver mDisplayEventReceiver;
|
D | PointerController.cpp | 497 DisplayEventReceiver::Event buf[EVENT_BUFFER_SIZE]; in handleEvent() 500 if (buf[i].header.type == DisplayEventReceiver::DISPLAY_EVENT_VSYNC) { in handleEvent()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | LocalDisplayAdapter.java | 40 import android.view.DisplayEventReceiver; 726 private final class HotplugDisplayEventReceiver extends DisplayEventReceiver {
|
/frameworks/base/config/ |
D | hiddenapi-light-greylist.txt | 5992 Landroid/view/DisplayEventReceiver;-><init>(Landroid/os/Looper;)V 5993 Landroid/view/DisplayEventReceiver;->dispatchHotplug(JIZ)V 5994 Landroid/view/DisplayEventReceiver;->dispatchVsync(JII)V 5995 Landroid/view/DisplayEventReceiver;->mReceiverPtr:J 5996 Landroid/view/DisplayEventReceiver;->onHotplug(JIZ)V 5997 Landroid/view/DisplayEventReceiver;->onVsync(JII)V 5998 Landroid/view/DisplayEventReceiver;->scheduleVsync()V
|