Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/util/
DMemoryIntArray.java75 mMemoryAddr = nativeOpen(mFd.getFd(), true, clientWritable); in MemoryIntArray()
89 mMemoryAddr = nativeOpen(mFd.getFd(), false, mClientWritable); in MemoryIntArray()
111 return nativeGet(mFd.getFd(), mMemoryAddr, index, isOwner()); in get()
127 nativeSet(mFd.getFd(), mMemoryAddr, index, value, isOwner()); in set()
137 return nativeSize(mFd.getFd()); in size()
150 nativeClose(pfd.getFd(), mMemoryAddr, isOwner()); in close()
196 } else if (mFd.getFd() != other.mFd.getFd()) { in equals()
/frameworks/native/libs/gui/
DSensorEventQueue.cpp57 int SensorEventQueue::getFd() const in getFd() function in android::SensorEventQueue
59 return mSensorChannel->getFd(); in getFd()
90 mLooper->addFd(getFd(), getFd(), ALOOPER_EVENT_INPUT, NULL, NULL); in getLooper()
97 const int fd = getFd(); in waitForEvent()
161 ssize_t size = ::send(mSensorChannel->getFd(), &event, sizeof(event), MSG_NOSIGNAL); in injectSensorEvent()
183 ssize_t size = ::send(mSensorChannel->getFd(), &mNumAcksToSend, sizeof(mNumAcksToSend), in sendAck()
DDisplayEventReceiver.cpp53 int DisplayEventReceiver::getFd() const { in getFd() function in android::DisplayEventReceiver
57 return mDataChannel->getFd(); in getFd()
DBitTube.cpp97 int BitTube::getFd() const in getFd() function in android::BitTube
/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/base/native/android/
Dsensor.cpp90 ALooper_addFd(looper, queue->getFd(), ident, ALOOPER_EVENT_INPUT, callback, data); in ASensorManager_createEventQueue()
101 ALooper_removeFd(queue->looper, queue->getFd()); in ASensorManager_destroyEventQueue()
138 pfd.fd = static_cast<SensorEventQueue*>(queue)->getFd(); in ASensorEventQueue_hasEvents()
/frameworks/base/libs/androidfw/
DDisplayEventDispatcher.cpp48 int rc = mLooper->addFd(mReceiver.getFd(), 0, Looper::EVENT_INPUT, in initialize()
60 mLooper->removeFd(mReceiver.getFd()); in dispose()
/frameworks/base/media/java/android/mtp/
DMtpDevice.java297 return native_import_file(objectHandle, descriptor.getFd()); in importFile()
312 return native_send_object(objectHandle, size, descriptor.getFd()); in sendObject()
/frameworks/base/graphics/java/android/graphics/pdf/
DPdfEditor.java82 mNativeDocument = nativeOpen(mInput.getFd(), size); in PdfEditor()
222 nativeWrite(mNativeDocument, output.getFd()); in write()
DPdfRenderer.java157 mNativeDocument = nativeCreate(mInput.getFd(), size); in PdfRenderer()
/frameworks/native/include/gui/
DDisplayEventReceiver.h96 int getFd() const;
DBitTube.h49 int getFd() const;
DSensorEventQueue.h72 int getFd() const;
/frameworks/native/services/surfaceflinger/tests/vsync/
Dvsync.cpp56 loop->addFd(myDisplayEvent.getFd(), 0, ALOOPER_EVENT_INPUT, receiver, in main()
/frameworks/base/libs/hwui/tests/common/
DTestContext.cpp58 mLooper->addFd(mDisplayEventReceiver.getFd(), IDENT_DISPLAYEVENT, in TestContext()
/frameworks/native/services/sensorservice/tests/
Dsensorservicetest.cpp85 loop->addFd(q->getFd(), 0, ALOOPER_EVENT_INPUT, receiver, q.get()); in main()
/frameworks/base/core/jni/
Dandroid_view_InputEventSender.cpp97 int receiveFd = mInputPublisher.getChannel()->getFd(); in initialize()
107 mMessageQueue->getLooper()->removeFd(mInputPublisher.getChannel()->getFd()); in dispose()
Dandroid_hardware_SensorManager.cpp277 mMessageQueue->getLooper()->removeFd( mSensorQueue->getFd() ); in destroy()
283 mMessageQueue->getLooper()->addFd(mSensorQueue->getFd(), 0, in onFirstRef()
Dandroid_view_InputChannel.cpp233 parcel->writeDupFileDescriptor(inputChannel->getFd()); in android_view_InputChannel_nativeWriteToParcel()
Dandroid_view_InputEventReceiver.cpp148 int fd = mInputConsumer.getChannel()->getFd(); in setFdEvents()
/frameworks/native/services/surfaceflinger/
DMessageQueue.cpp98 mLooper->addFd(mEventTube->getFd(), 0, Looper::EVENT_INPUT, in setEventThread()
/frameworks/base/core/java/android/os/
DParcelFileDescriptor.java605 public int getFd() { in getFd() method in ParcelFileDescriptor
607 return mWrapped.getFd(); in getFd()
634 final int fd = getFd(); in detachFd()
/frameworks/native/libs/input/tests/
DInputChannel_test.cpp48 EXPECT_EQ(pipe.sendFd, inputChannel->getFd()) in TEST_F()
/frameworks/native/include/input/
DInputTransport.h153 inline int getFd() const { return mFd; } in getFd() function
/frameworks/base/libs/hwui/renderthread/
DRenderThread.cpp179 mLooper->addFd(mDisplayEventReceiver->getFd(), 0, in initializeDisplayEventReceiver()

12