/hardware/interfaces/tests/memory/1.0/ |
H A D | IMemoryTest.hal | 23 haveSomeMemory(memory mem) generates(memory mem); 26 set(memory mem);
|
/hardware/interfaces/tests/memory/1.0/default/ |
H A D | MemoryTest.cpp | 38 Return<void> Memory::haveSomeMemory(const hidl_memory& mem, haveSomeMemory_cb _hidl_cb) { argument 39 _hidl_cb(mem); 69 Return<void> Memory::set(const hidl_memory& mem) { argument 70 sp<HidlMemory> hidlMem = HidlMemory::getInstance(mem);
|
H A D | MemoryTest.h | 46 Return<void> haveSomeMemory(const hidl_memory& mem, haveSomeMemory_cb _hidl_cb) override; 52 Return<void> set(const ::android::hardware::hidl_memory& mem) override;
|
/hardware/qcom/display/msm8084/liboverlay/ |
H A D | overlayMdpRot.cpp | 144 OvMem mem; local 146 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i"); 148 if(!mem.open(numbufs, bufsz, mRotImgInfo.secure)){ 150 mem.close(); 154 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed"); 155 OVASSERT(mem.getFD() != -1, "getFd is -1"); 157 mRotDataInfo.dst.memory_id = mem.getFD(); 159 mMem.mem = mem; 177 ALOGE("Mdp Rot error closing mem"); [all...] |
H A D | overlayMdssRot.cpp | 147 (mMem.mCurrIndex + 1) % mMem.mem.numBufs(); 160 OvMem mem; local 161 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i"); 164 if(!mem.open(numbufs, bufsz, isSecure)){ 166 mem.close(); 170 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed"); 171 OVASSERT(mem.getFD() != -1, "getFd is -1"); 173 mRotData.dst_data.memory_id = mem.getFD(); 175 mMem.mem = mem; [all...] |
H A D | overlayRotator.h | 54 bool valid() { return mem.valid(); } 55 uint32_t size() const { return mem.bufSz(); } 63 OvMem mem; member in struct:overlay::RotMem
|
/hardware/qcom/display/msm8226/liboverlay/ |
H A D | overlayMdpRot.cpp | 163 OvMem mem; local 165 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i"); 167 if(!mem.open(numbufs, bufsz, mRotImgInfo.secure)){ 169 mem.close(); 173 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed"); 174 OVASSERT(mem.getFD() != -1, "getFd is -1"); 176 mRotDataInfo.dst.memory_id = mem.getFD(); 178 mMem.mem = mem; 196 ALOGE("Mdp Rot error closing mem"); [all...] |
H A D | overlayMdssRot.cpp | 171 (mMem.mCurrIndex + 1) % mMem.mem.numBufs(); 184 OvMem mem; local 185 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i"); 188 if(!mem.open(numbufs, bufsz, isSecure)){ 190 mem.close(); 194 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed"); 195 OVASSERT(mem.getFD() != -1, "getFd is -1"); 197 mRotData.dst_data.memory_id = mem.getFD(); 199 mMem.mem = mem; [all...] |
H A D | overlayRotator.h | 54 bool valid() { return mem.valid(); } 55 uint32_t size() const { return mem.bufSz(); } 63 OvMem mem; member in struct:overlay::RotMem
|
/hardware/qcom/display/msm8994/liboverlay/ |
H A D | overlayMdpRot.cpp | 171 OvMem mem; local 173 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i"); 175 if(!mem.open(numbufs, bufsz, mRotImgInfo.secure)){ 177 mem.close(); 181 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed"); 182 OVASSERT(mem.getFD() != -1, "getFd is -1"); 184 mRotDataInfo.dst.memory_id = mem.getFD(); 186 mMem.mem = mem; 204 ALOGE("Mdp Rot error closing mem"); [all...] |
H A D | overlayMdssRot.cpp | 212 (mMem.mCurrIndex + 1) % mMem.mem.numBufs(); 219 OvMem mem; local 220 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i"); 223 if(!mem.open(numbufs, bufsz, isSecure)){ 225 mem.close(); 229 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed"); 230 OVASSERT(mem.getFD() != -1, "getFd is -1"); 232 mRotData.dst_data.memory_id = mem.getFD(); 234 mMem.mem = mem; [all...] |
H A D | overlayRotator.cpp | 104 if(mem.close() == false) { 105 ALOGE("%s error in closing rot mem", __FUNCTION__); 145 uint32_t numRotBufs = mem.numBufs();
|
H A D | overlayRotator.h | 53 bool valid() { return mem.valid(); } 54 uint32_t size() const { return mem.bufSz(); } 63 OvMem mem; member in struct:overlay::RotMem
|
/hardware/qcom/display/msm8960/liboverlay/ |
H A D | overlayMdpRot.cpp | 159 OvMem mem; local 161 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i"); 163 if(!mem.open(numbufs, bufsz, mRotImgInfo.secure)){ 165 mem.close(); 169 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed"); 170 OVASSERT(mem.getFD() != -1, "getFd is -1"); 172 mRotDataInfo.dst.memory_id = mem.getFD(); 174 mMem.curr().m = mem; 192 ALOGE("Mdp Rot error closing mem"); 252 // if the prev mem i [all...] |
H A D | overlayMdssRot.cpp | 149 // if the prev mem is valid, we need to close 155 ALOGE("%s error in closing prev rot mem", __FUNCTION__); 165 OvMem mem; local 166 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i"); 169 if(!mem.open(numbufs, bufsz, isSecure)){ 171 mem.close(); 175 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed"); 176 OVASSERT(mem.getFD() != -1, "getFd is -1"); 178 mRotData.dst_data.memory_id = mem.getFD(); 180 mMem.curr().m = mem; [all...] |
/hardware/intel/common/libwsbm/src/ |
H A D | wsbm_mallocpool.c | 46 void *mem; member in struct:_WsbmMallocBuffer 66 mBuf->mem = (void *)((unsigned long)mBuf + sizeof(*mBuf)); 89 *virtual = mallocBuf(buf)->mem;
|
/hardware/interfaces/sensors/1.0/ |
H A D | ISensors.hal | 148 * @param mem shared memory info data structure. 157 registerDirectChannel(SharedMemInfo mem)
|
/hardware/interfaces/camera/device/1.0/default/ |
H A D | CameraDevice.cpp | 319 [&](bool success, const hidl_memory& mem) { 325 mHidlHandle = native_handle_clone(mem.handle()); 370 CameraHeapMemory* mem; local 372 mem = new CameraHeapMemory(object->mAshmemAllocator, buf_size, num_bufs); 374 mem = new CameraHeapMemory(fd, buf_size, num_bufs); 376 mem->incStrong(mem); 377 hidl_handle hidlHandle = mem->mHidlHandle; 379 mem->handle.mId = id; 386 object->mMemoryMap[id] = mem; 452 CameraHeapMemory* mem = static_cast<CameraHeapMemory *>(data->handle); local [all...] |
/hardware/libhardware/modules/camera/3_4/arc/ |
H A D | exif_utils.cpp | 389 ExifMem* mem = exif_mem_new_default(); local 390 if (!mem) { 394 std::unique_ptr<ExifEntry> entry(exif_entry_new_mem(mem)); 397 exif_mem_unref(mem); 400 void* tmpBuffer = exif_mem_alloc(mem, size); 403 exif_mem_unref(mem); 414 exif_mem_unref(mem);
|
/hardware/intel/common/libmix/videoencoder/ |
H A D | IntelMetadataBuffer.cpp | 84 sp<MemoryBase> mem = new MemoryBase(heap, offset, size); local 85 if (mem == NULL) 91 map->value = (intptr_t)( mem->pointer() + 0x0FFF) & ~0x0FFF; 92 map->membase = mem; 96 heap->getHeapID(), mem->pointer(), *((intptr_t *)(mem->pointer())), map->value); 315 ALOGE("onTransact GET_MEM: Not find mem"); 462 //Detect IntelBufferSharingService, share mem to service 682 IMB_Result IntelMetadataBuffer::ShareValue(sp<MemoryBase> mem) argument 684 mValue = (intptr_t)((intptr_t) ( mem [all...] |
H A D | IntelMetadataBuffer.h | 117 IMB_Result ShareValue(sp<MemoryBase> mem);
|
/hardware/interfaces/sensors/1.0/default/ |
H A D | Sensors.h | 57 const SharedMemInfo& mem, registerDirectChannel_cb _hidl_cb) override;
|
/hardware/interfaces/soundtrigger/2.1/default/ |
H A D | SoundTriggerHw.cpp | 66 std::pair<bool, sp<IMemory>> moveVectorToMemory(hidl_vec<uint8_t>* v, hidl_memory* mem) { argument 79 if (success) *mem = m; 82 memory = hardware::mapMemory(*mem);
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipanat/src/ |
H A D | ipa_nat_drvi.c | 159 * @mem: [in] name of device that need to create 167 int CreateNatDevice(struct ipa_ioc_nat_alloc_mem *mem) argument 171 ret = ioctl(ipv4_nat_cache.ipa_fd, IPA_IOC_ALLOC_NAT_MEM, mem); 174 IPAERR("unable to post nat mem init. Error ;%d\n", ret); 645 struct ipa_ioc_nat_alloc_mem mem; local 652 memset(&mem, 0, sizeof(mem)); 654 &mem, 666 ret = ipa_nati_update_cache(&mem, 696 struct ipa_ioc_nat_alloc_mem *mem, 695 ipa_nati_alloc_table(uint16_t number_of_entries, struct ipa_ioc_nat_alloc_mem *mem, uint16_t *table_entries, uint16_t *expn_table_entries) argument 742 ipa_nati_update_cache(struct ipa_ioc_nat_alloc_mem *mem, uint32_t public_addr, uint16_t tbl_entries, uint16_t expn_tbl_entries) argument [all...] |
/hardware/qcom/camera/msm8998/QCamera2/HAL/test/ |
H A D | qcamera_test.h | 140 status_t saveFile(const sp<IMemory>& mem, String8 path); 142 status_t decodeJPEG(const sp<IMemory>& mem, SkBitmap *skBM); 145 void previewCallback(const sp<IMemory>& mem);
|