Home
last modified time | relevance | path

Searched refs:getFd (Results 1 – 25 of 53) sorted by relevance

123

/frameworks/native/services/surfaceflinger/Scheduler/
DMessageQueue.cpp94 if (mEventTube.getFd() >= 0) { in setEventThread()
95 mLooper->removeFd(mEventTube.getFd()); in setEventThread()
102 mLooper->addFd(mEventTube.getFd(), 0, Looper::EVENT_INPUT, MessageQueue::cb_eventReceiver, in setEventThread()
107 if (mEventTube.getFd() >= 0) { in setEventConnection()
108 mLooper->removeFd(mEventTube.getFd()); in setEventConnection()
113 mLooper->addFd(mEventTube.getFd(), 0, Looper::EVENT_INPUT, MessageQueue::cb_eventReceiver, in setEventConnection()
/frameworks/native/libs/sensor/
DSensorEventQueue.cpp55 int SensorEventQueue::getFd() const in getFd() function in android::SensorEventQueue
57 return mSensorChannel->getFd(); in getFd()
88 mLooper->addFd(getFd(), getFd(), ALOOPER_EVENT_INPUT, nullptr, nullptr); in getLooper()
95 const int fd = getFd(); in waitForEvent()
159 ssize_t size = ::send(mSensorChannel->getFd(), &event, sizeof(event), MSG_NOSIGNAL); in injectSensorEvent()
181 ssize_t size = ::send(mSensorChannel->getFd(), &mNumAcksToSend, sizeof(mNumAcksToSend), in sendAck()
DBitTube.cpp95 int BitTube::getFd() const in getFd() function in android::BitTube
/frameworks/base/native/android/
Dsharedmem.cpp32 jmethodID getFd; member
43 sSharedMemory.getFd = env->GetMethodID(sSharedMemory.clazz, "getFd", "()I"); in jniInit()
44 LOG_ALWAYS_FATAL_IF(sSharedMemory.getFd == nullptr, in jniInit()
74 int fd = env->CallIntMethod(javaSharedMemory, sSharedMemory.getFd); in ASharedMemory_dupFromJava()
Dsensor.cpp116 ALooper_addFd(looper, queue->getFd(), ident, ALOOPER_EVENT_INPUT, callback, data); in ASensorManager_createEventQueue()
129 ALooper_removeFd(q->looper, q->getFd()); in ASensorManager_destroyEventQueue()
256 pfd.fd = static_cast<SensorEventQueue*>(queue)->getFd(); in ASensorEventQueue_hasEvents()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/
DBitmapSerializeUtils.java44 nativeReadBitmapPixels(bitmap, source.getFd()); in readBitmapPixels()
54 nativeWriteBitmapPixels(bitmap, destination.getFd()); in writeBitmapPixels()
/frameworks/native/services/displayservice/
DDisplayEventReceiver.cpp50 mLooperAttached = getLooper()->addFd(mFwkReceiver.getFd(), in AttachedEvent()
68 return getLooper()->removeFd(mFwkReceiver.getFd()); in detach()
80 CHECK(fd == mFwkReceiver.getFd()); in handleEvent()
/frameworks/native/libs/gui/
DDisplayEventReceiver.cpp56 int DisplayEventReceiver::getFd() const { in getFd() function in android::DisplayEventReceiver
60 return mDataChannel->getFd(); in getFd()
/frameworks/native/services/sensorservice/hidl/
DEventQueue.cpp66 mLooper->addFd(internalQueue->getFd(), ALOOPER_POLL_CALLBACK, ALOOPER_EVENT_INPUT, in EventQueue()
72 mLooper->removeFd(mInternalQueue->getFd()); in onLastStrongRef()
/frameworks/base/libs/androidfw/
DDisplayEventDispatcher.cpp50 int rc = mLooper->addFd(mReceiver.getFd(), 0, Looper::EVENT_INPUT, in initialize()
62 mLooper->removeFd(mReceiver.getFd()); in dispose()
/frameworks/base/media/java/android/mtp/
DMtpDevice.java343 return native_import_file(objectHandle, descriptor.getFd()); in importFile()
359 return native_send_object(objectHandle, size, descriptor.getFd()); in sendObject()
/frameworks/base/cmds/incidentd/src/
DPrivacyFilter.h47 int getFd() { return mFd;} in getFd() function
DPrivacyFilter.cpp291 err = write_section_header(output->getFd(), mSectionId, dataSize); in writeData()
297 err = fieldStripper.writeData(output->getFd()); in writeData()
DReporter.h64 int getFd() { return mFd; } in getFd() function
/frameworks/native/services/surfaceflinger/tests/vsync/
Dvsync.cpp56 loop->addFd(myDisplayEvent.getFd(), 0, ALOOPER_EVENT_INPUT, receiver, in main()
/frameworks/base/graphics/java/android/graphics/pdf/
DPdfEditor.java83 mNativeDocument = nativeOpen(mInput.getFd(), size); in PdfEditor()
259 nativeWrite(mNativeDocument, output.getFd()); in write()
/frameworks/native/libs/sensor/include/sensor/
DBitTube.h46 int getFd() const;
DSensorEventQueue.h72 int getFd() const;
/frameworks/native/services/inputflinger/reader/include/
DTouchVideoDevice.h47 int getFd() const { return mFd.get(); } in getFd() function
/frameworks/native/libs/gui/include/private/gui/
DBitTube.h50 int getFd() const;
/frameworks/native/libs/gui/include/gui/
DDisplayEventReceiver.h116 int getFd() const;
/frameworks/base/libs/services/include/android/os/
DDropBoxManager.h74 const unique_fd& getFd() const;
/frameworks/native/services/sensorservice/tests/
Dsensorservicetest.cpp85 loop->addFd(q->getFd(), 0, ALOOPER_EVENT_INPUT, receiver, q.get()); in main()
/frameworks/base/libs/hwui/tests/common/
DTestContext.cpp60 mLooper->addFd(mDisplayEventReceiver.getFd(), IDENT_DISPLAYEVENT, Looper::EVENT_INPUT, nullptr, in TestContext()
/frameworks/base/core/jni/
Dandroid_view_InputEventSender.cpp97 int receiveFd = mInputPublisher.getChannel()->getFd(); in initialize()
107 mMessageQueue->getLooper()->removeFd(mInputPublisher.getChannel()->getFd()); in dispose()

123