Searched refs:mMem (Results 1 – 8 of 8) sorted by relevance
/frameworks/native/services/sensorservice/ |
D | SensorDirectConnection.cpp | 32 : mService(service), mUid(uid), mMem(*mem), in SensorDirectConnection() 53 if (mMem.handle != nullptr) { in destroy() 54 native_handle_close(mMem.handle); in destroy() 55 native_handle_delete(const_cast<struct native_handle*>(mMem.handle)); in destroy() 166 || !s.isDirectChannelTypeSupported(mMem.type)) { in configureChannel() 334 if (mMem.type == mem->type) { in isEquivalent() 335 switch (mMem.type) { in isEquivalent() 340 int fd1 = mMem.handle->data[0]; in isEquivalent() 351 ALOGE("Unexpected mem type %d", mMem.type); in isEquivalent()
|
D | SensorDirectConnection.h | 95 const sensors_direct_mem_t mMem; variable
|
/frameworks/av/media/libmedia/ |
D | OMXBuffer.cpp | 51 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/ |
D | android_media_MediaDescrambler.cpp | 71 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/platform/ |
D | C2SurfaceSyncObj.cpp | 46 : mInit(false), mHandle(nullptr), mMem(nullptr) {} in C2SurfaceSyncMemory() 50 if (mMem) { in ~C2SurfaceSyncMemory() 51 munmap(static_cast<void *>(mMem), mHandle->size()); in ~C2SurfaceSyncMemory() 83 syncMem->mMem = static_cast<C2SyncVariables*>(ptr); in Import() 104 syncMem->mMem = static_cast<C2SyncVariables*>(ptr); in Create() 113 return !mInit ? nullptr : mMem; in mem()
|
/frameworks/av/media/codec2/vndk/include/ |
D | C2SurfaceSyncObj.h | 160 int memFd() const {return mFds.mMem;} in memFd() 176 int mMem; member 228 C2SyncVariables *mMem; variable
|
/frameworks/av/media/libmedia/include/media/ |
D | OMXBuffer.h | 128 sp<IMemory> mMem; variable
|
/frameworks/av/media/libstagefright/omx/ |
D | OMXNodeInstance.cpp | 109 : 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()
|