Home
last modified time | relevance | path

Searched refs:addFd (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/native/cmds/servicemanager/
Dmain.cpp48 int ret = looper->addFd(cb->mBinderFd, Looper::POLL_CALLBACK, Looper::EVENT_INPUT, cb, in setupTo()
97 int addRes = looper->addFd(fdTimer, in setupTo()
/frameworks/base/cmds/incidentd/src/
DPrivacyFilter.h73 void addFd(const sp<FilterFd>& output);
DPrivacyFilter.cpp263 void PrivacyFilter::addFd(const sp<FilterFd>& output) { in addFd() function in android::os::incidentd::PrivacyFilter
357 filter.addFd(new ReadbackFilterFd(args.getPrivacyPolicy(), to)); in filter_and_write_report()
DReporter.cpp500 filter.addFd(new PersistedFilterFd(mMaxPersistedPrivacyPolicy, in writeSection()
509 filter.addFd(new StreamingFilterFd(request->args.getPrivacyPolicy(), in writeSection()
/frameworks/native/services/surfaceflinger/tests/vsync/
Dvsync.cpp65 loop->addFd(myDisplayEvent.getFd(), 0, ALOOPER_EVENT_INPUT, receiver, in main()
/frameworks/native/services/sensorservice/hidl/
DEventQueue.cpp66 mLooper->addFd(internalQueue->getFd(), ALOOPER_POLL_CALLBACK, ALOOPER_EVENT_INPUT, in EventQueue()
/frameworks/base/native/android/
Dlooper.cpp80 return ALooper_to_Looper(looper)->addFd(fd, ident, events, callback, data); in ALooper_addFd()
/frameworks/native/services/sensorservice/aidl/
DEventQueue.cpp65 mLooper->addFd(internalQueue->getFd(), ALOOPER_POLL_CALLBACK, ALOOPER_EVENT_INPUT, in EventQueue()
/frameworks/base/libs/hwui/tests/common/
DTestContext.cpp72 mLooper->addFd(mDisplayEventReceiver.getFd(), EVENT_ID, Looper::EVENT_INPUT, nullptr, nullptr); in TestContext()
/frameworks/native/services/sensorservice/tests/
Dsensorservicetest.cpp128 loop->addFd(q->getFd(), 0, ALOOPER_EVENT_INPUT, receiver, q.get()); in main()
/frameworks/native/services/displayservice/
DDisplayEventReceiver.cpp50 mLooperAttached = getLooper()->addFd(mFwkReceiver.getFd(), in AttachedEvent()
/frameworks/native/libs/sensor/
DSensorEventQueue.cpp88 mLooper->addFd(getFd(), getFd(), ALOOPER_EVENT_INPUT, nullptr, nullptr); in getLooper()
/frameworks/native/libs/gui/
DDisplayEventDispatcher.cpp62 int rc = mLooper->addFd(mReceiver.getFd(), 0, Looper::EVENT_INPUT, this, NULL); in initialize()
/frameworks/base/libs/input/
DPointerControllerContext.cpp157 mContext.mLooper->addFd(mDisplayEventReceiver.getFd(), Looper::POLL_CALLBACK, in initializeDisplayEventReceiver()
/frameworks/base/core/jni/
Dandroid_os_MessageQueue.cpp149 mLooper->addFd(fd, Looper::POLL_CALLBACK, looperEvents, in setFileDescriptorEvents()
Dandroid_view_InputQueue.cpp74 looper->addFd(mDispatchReadFd, ident, ALOOPER_EVENT_INPUT, callback, data); in attachLooper()
Dandroid_view_InputEventSender.cpp106 mMessageQueue->getLooper()->addFd(receiveFd, 0, ALOOPER_EVENT_INPUT, this, NULL); in initialize()
Dandroid_view_InputEventReceiver.cpp205 mMessageQueue->getLooper()->addFd(fd, 0, events, this, nullptr); in setFdEvents()
Dandroid_app_NativeActivity.cpp341 code->messageQueue->getLooper()->addFd( in loadNativeCode_native()
/frameworks/base/services/incremental/
DServiceWrappers.cpp125 int addFd(int fd, int ident, int events, android::Looper_callbackFunc callback, in addFd() function in android::incremental::RealLooperWrapper
127 return mLooper.addFd(fd, ident, events, callback, data); in addFd()
DServiceWrappers.h153 virtual int addFd(int fd, int ident, int events, android::Looper_callbackFunc callback,
/frameworks/av/media/libheadtracking/
DSensorPoseProvider.cpp64 looper->addFd(mQueue->getFd(), kIdent, ALOOPER_EVENT_INPUT, in EventQueueGuard()
/frameworks/base/libs/hwui/renderthread/
DRenderThread.cpp255 mLooper->addFd(AChoreographer_getFd(mChoreographer), 0, Looper::EVENT_INPUT, in initializeChoreographer()
/frameworks/native/libs/gui/tests/
DRegionSampling_test.cpp112 looper->addFd(vsync_notify_fd, 0, Looper::EVENT_INPUT, in __anon53ee6fa30302()
/frameworks/base/services/incremental/test/
DIncrementalServiceTest.cpp544 MOCK_METHOD5(addFd, int(int, int, int, android::Looper_callbackFunc, void*));
550 ON_CALL(*this, addFd(_, _, _, _, _)) in MockLooperWrapper()
1229 EXPECT_CALL(*mLooper, addFd(MockIncFs::kPendingReadsFd, _, _, _, _)).Times(1); in TEST_F()
1265 EXPECT_CALL(*mLooper, addFd(MockIncFs::kPendingReadsFd, _, _, _, _)).Times(1); in TEST_F()
1322 EXPECT_CALL(*mLooper, addFd(MockIncFs::kPendingReadsFd, _, _, _, _)).Times(2); in TEST_F()

12