Home
last modified time | relevance | path

Searched refs:mMem (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/services/sensorservice/
DSensorDirectConnection.cpp28 : mService(service), mUid(uid), mMem(*mem), in SensorDirectConnection()
48 if (mMem.handle != nullptr) { in destroy()
49 native_handle_close(mMem.handle); in destroy()
50 native_handle_delete(const_cast<struct native_handle*>(mMem.handle)); in destroy()
119 || !s.isDirectChannelTypeSupported(mMem.type)) { in configureChannel()
190 if (mMem.type == mem->type) { in isEquivalent()
191 switch (mMem.type) { in isEquivalent()
196 int fd1 = mMem.handle->data[0]; in isEquivalent()
207 ALOGE("Unexpected mem type %d", mMem.type); in isEquivalent()
DSensorDirectConnection.h70 const sensors_direct_mem_t mMem; variable
/frameworks/av/media/libmedia/
DOMXBuffer.cpp51 mMem(mem) { in OMXBuffer()
88 return parcel->writeStrongBinder(IInterface::asBinder(mMem)); in writeToParcel()
134 mMem = interface_cast<IMemory>(parcel->readStrongBinder()); in readFromParcel()
179 mMem = std::move(source.mMem); in operator =()
/frameworks/base/media/jni/
Dandroid_media_MediaDescrambler.cpp71 sp<IMemory> mMem; member
156 mMem.clear(); in ~JDescrambler()
174 if (mMem != NULL && mMem->size() >= neededSize) { in ensureBufferCapacity()
179 mMem == NULL ? 0 : mMem->size(), neededSize); in ensureBufferCapacity()
186 mMem = mDealer->allocate(neededSize); in ensureBufferCapacity()
190 sp<IMemoryHeap> heap = mMem->getMemory(&offset, &size); in ensureBufferCapacity()
223 memcpy(mMem->pointer(), in descramble()
251 memcpy((void*)((uint8_t*)dstPtr + dstOffset), mMem->pointer(), *bytesWritten); in descramble()
/frameworks/av/media/libmedia/include/media/
DOMXBuffer.h128 sp<IMemory> mMem; variable
/frameworks/av/media/libstagefright/omx/
DOMXNodeInstance.cpp107 : mMem(mem), in BufferMeta()
131 return mMem.get() ? static_cast<OMX_U8*>(mMem->pointer()) : in getPointer()
190 sp<IMemory> mMem; member
1121 return useBuffer_l(portIndex, omxBuffer.mMem, NULL, buffer); in useBuffer()