/system/libhidl/transport/allocator/1.0/default/ |
D | AshmemAllocator.cpp | 30 static hidl_memory allocateOne(uint64_t size) { in allocateOne() 34 return hidl_memory(); in allocateOne() 41 return hidl_memory("ashmem", handle, size); in allocateOne() 44 static void cleanup(hidl_memory&& memory) { in cleanup() 54 hidl_memory memory = allocateOne(size); in allocate() 68 hidl_vec<hidl_memory> batch; in batchAllocate()
|
D | android.hidl.allocator@1.0-service.rc | 1 service hidl_memory /system/system_ext/bin/hw/android.hidl.allocator@1.0-service 6 on property:hidl_memory.disabled=true 7 stop hidl_memory
|
D | AshmemAllocator.h | 32 using ::android::hardware::hidl_memory;
|
/system/libhidl/transport/ |
D | HidlBinderSupport.cpp | 80 const size_t hidl_memory::kOffsetOfHandle = offsetof(hidl_memory, mHandle); 81 const size_t hidl_memory::kOffsetOfName = offsetof(hidl_memory, mName); 82 static_assert(hidl_memory::kOffsetOfHandle == 0, "wrong offset"); 83 static_assert(hidl_memory::kOffsetOfName == 24, "wrong offset"); 85 status_t readEmbeddedFromParcel(const hidl_memory& memory, in readEmbeddedFromParcel() 91 parentOffset + hidl_memory::kOffsetOfHandle, in readEmbeddedFromParcel() 99 parentOffset + hidl_memory::kOffsetOfName); in readEmbeddedFromParcel() 114 status_t writeEmbeddedToParcel(const hidl_memory &memory, in writeEmbeddedToParcel() 120 parentOffset + hidl_memory::kOffsetOfHandle); in writeEmbeddedToParcel() 127 parentOffset + hidl_memory::kOffsetOfName); in writeEmbeddedToParcel()
|
/system/libhidl/libhidlmemory/ |
D | AshmemMemory.h | 29 using ::android::hardware::hidl_memory; 35 AshmemMemory(const hidl_memory& memory, void* data) : mMemory(memory), mData(data) {} in AshmemMemory() 53 hidl_memory mMemory;
|
D | mapping.cpp | 41 static sp<IMemory> createAshmemMemory(const hidl_memory& mem) { in createAshmemMemory() 81 sp<IMemory> mapMemory(const hidl_memory& memory) { in mapMemory()
|
/system/libhidl/transport/memory/1.0/default/ |
D | AshmemMemory.h | 32 using ::android::hardware::hidl_memory; 41 AshmemMemory(const hidl_memory& memory, void* mappedMemory); 57 hidl_memory mMemory;
|
D | AshmemMapper.h | 33 using ::android::hardware::hidl_memory; 42 Return<sp<IMemory>> mapMemory(const hidl_memory& mem) override;
|
D | AshmemMapper.cpp | 33 Return<sp<IMemory>> AshmemMapper::mapMemory(const hidl_memory& mem) { in mapMemory()
|
D | AshmemMemory.cpp | 27 AshmemMemory::AshmemMemory(const hidl_memory& memory, void* data) in AshmemMemory()
|
/system/libhidl/fuzzer/ |
D | libHidlBase_fuzzer_helper.h | 45 hidl_memory createHidlMemory(FuzzedDataProvider& fdp) { in createHidlMemory() 47 return hidl_memory(); in createHidlMemory() 49 return hidl_memory(createHidlString(fdp), hidl_handle(), in createHidlMemory()
|
D | libHidlBase_parcel_fuzzer.cpp | 45 hidl_memory memory; in createRandomParcel() 55 memory = hidl_memory(hidlString, testNativeHandle, in createRandomParcel() 123 hidl_memory memory = createHidlMemory(mFdp); in process()
|
/system/libhidl/base/ |
D | HidlSupport.cpp | 289 sp<HidlMemory> HidlMemory::getInstance(const hidl_memory& mem) { in getInstance() 291 instance->hidl_memory::operator=(mem); in getInstance() 295 sp<HidlMemory> HidlMemory::getInstance(hidl_memory&& mem) { in getInstance() 297 instance->hidl_memory::operator=(std::move(mem)); in getInstance() 317 HidlMemory::HidlMemory() : hidl_memory() {} in HidlMemory() 320 : hidl_memory(name, std::move(handle), size) {} in HidlMemory()
|
/system/libhidl/transport/allocator/1.0/vts/functional/ |
D | VtsHidlAllocatorV1_0TargetTest.cpp | 26 using ::android::hardware::hidl_memory; 45 EXPECT_OK(allocator->allocate(size, [&](bool success, const hidl_memory& mem) { in expectAllocateSuccess() 61 size, count, [&](bool success, const hidl_vec<hidl_memory>& mems) { in expectBatchAllocateSuccess() 64 for (const hidl_memory& mem : mems) { in expectBatchAllocateSuccess()
|
/system/libhidl/base/include/hidl/ |
D | HidlSupport.h | 223 struct hidl_memory { struct 225 hidl_memory() : mHandle(nullptr), mSize(0), mName("") { in hidl_memory() argument 232 hidl_memory(const hidl_string& name, hidl_handle&& handle, size_t size) in hidl_memory() argument 241 hidl_memory(const hidl_string &name, const native_handle_t *handle, size_t size) in hidl_memory() argument 248 hidl_memory(const hidl_memory& other) { in hidl_memory() argument 253 hidl_memory &operator=(const hidl_memory &other) { 264 hidl_memory(hidl_memory&& other) noexcept { in hidl_memory() function 269 hidl_memory &operator=(hidl_memory &&other) noexcept { 281 ~hidl_memory() { in ~hidl_memory() argument 314 class HidlMemory : public virtual hidl_memory, public virtual ::android::RefBase { [all …]
|
/system/libhidl/ |
D | test_main.cpp | 191 using android::hardware::hidl_memory; in TEST_F() 193 hidl_memory mem1 = hidl_memory(); // default constructor in TEST_F() 194 hidl_memory mem2 = mem1; // copy constructor (nullptr), NOLINT in TEST_F() 200 hidl_memory mem3 = hidl_memory("foo", testHandle, 42 /* size */); // owns testHandle in TEST_F() 201 hidl_memory mem4 = mem3; // copy constructor (regular handle), NOLINT in TEST_F() 208 hidl_memory mem5 = hidl_memory("foo", nullptr, 0); // hidl memory works with nullptr handle in TEST_F() 209 hidl_memory mem6 = mem5; // NOLINT, test copying in TEST_F()
|
/system/libhidl/libhidlmemory/include/hidlmemory/ |
D | mapping.h | 31 sp<android::hidl::memory::V1_0::IMemory> mapMemory(const hidl_memory &memory);
|
/system/libhidl/transport/allocator/1.0/utils/ |
D | FrameworkUtils.cpp | 29 return HidlMemory::getInstance(hidl_memory()); in fromHeap()
|
/system/hardware/interfaces/wifi/keystore/1.0/default/include/wifikeystorehal/ |
D | keystore.h | 20 using ::android::hardware::hidl_memory;
|
/system/libhidl/transport/include/hidl/ |
D | HidlBinderSupport.h | 61 status_t readEmbeddedFromParcel(const hidl_memory &memory, 64 status_t writeEmbeddedToParcel(const hidl_memory &memory,
|
/system/sepolicy/prebuilts/api/30.0/public/ |
D | hal_drm.te | 27 # Allow access to hidl_memory allocation service
|
/system/sepolicy/prebuilts/api/31.0/public/ |
D | hal_drm.te | 31 # Allow access to hidl_memory allocation service
|
/system/sepolicy/prebuilts/api/33.0/public/ |
D | hal_drm.te | 33 # Allow access to hidl_memory allocation service
|
/system/sepolicy/prebuilts/api/32.0/public/ |
D | hal_drm.te | 31 # Allow access to hidl_memory allocation service
|
/system/sepolicy/prebuilts/api/34.0/public/ |
D | hal_drm.te | 39 # Allow access to hidl_memory allocation service
|