Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorDirectConnection.cpp32 : mService(service), mUid(uid), mMem(*mem), in SensorDirectConnection()
52 if (mMem.handle != nullptr) { in destroy()
53 native_handle_close(mMem.handle); in destroy()
54 native_handle_delete(const_cast<struct native_handle*>(mMem.handle)); in destroy()
156 || !s.isDirectChannelTypeSupported(mMem.type)) { in configureChannel()
234 if (mMem.type == mem->type) { in isEquivalent()
235 switch (mMem.type) { in isEquivalent()
240 int fd1 = mMem.handle->data[0]; in isEquivalent()
251 ALOGE("Unexpected mem type %d", mMem.type); in isEquivalent()
/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->unsecurePointer(), in descramble()
251 memcpy((void*)((uint8_t*)dstPtr + dstOffset), mMem->unsecurePointer(), in descramble()
/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()