Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorDirectConnection.cpp32 : mService(service), mUid(uid), mMem(*mem), in SensorDirectConnection()
54 if (mMem.handle != nullptr) { in destroy()
55 native_handle_close(mMem.handle); in destroy()
56 native_handle_delete(const_cast<struct native_handle*>(mMem.handle)); in destroy()
167 || !s.isDirectChannelTypeSupported(mMem.type)) { in configureChannel()
335 if (mMem.type == mem->type) { in isEquivalent()
336 switch (mMem.type) { in isEquivalent()
341 int fd1 = mMem.handle->data[0]; in isEquivalent()
352 ALOGE("Unexpected mem type %d", mMem.type); in isEquivalent()
DSensorDirectConnection.h94 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/av/media/codec2/vndk/platform/
DC2SurfaceSyncObj.cpp46 : mInit(false), mHandle(nullptr), mMem(nullptr) {} in C2SurfaceSyncMemory()
50 if (mMem) { in ~C2SurfaceSyncMemory()
51 munmap(static_cast<void *>(mMem), mHandle->size()); in ~C2SurfaceSyncMemory()
78 syncMem->mMem = static_cast<C2SyncVariables*>(ptr); in Import()
99 syncMem->mMem = static_cast<C2SyncVariables*>(ptr); in Create()
108 return !mInit ? nullptr : mMem; in mem()
/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->unsecurePointer(), in descramble()
251 memcpy((void*)((uint8_t*)dstPtr + dstOffset), mMem->unsecurePointer(), in descramble()
/frameworks/av/media/codec2/vndk/include/
DC2SurfaceSyncObj.h159 int memFd() const {return mFds.mMem;} in memFd()
175 int mMem; member
227 C2SyncVariables *mMem; variable
/frameworks/av/media/libmedia/include/media/
DOMXBuffer.h128 sp<IMemory> mMem; variable
/frameworks/av/media/libstagefright/omx/
DOMXNodeInstance.cpp109 : mMem(mem), in BufferMeta()
133 return mMem.get() ? static_cast<OMX_U8*>(mMem->unsecurePointer()) : in getPointer()
192 sp<IMemory> mMem; member
1206 return useBuffer_l(portIndex, omxBuffer.mMem, NULL, buffer); in useBuffer()