Searched refs:HidlMemory (Results 1 – 9 of 9) sorted by relevance
/system/libhidl/base/ |
D | HidlSupport.cpp | 286 sp<HidlMemory> HidlMemory::getInstance(const hidl_memory& mem) { in getInstance() 287 sp<HidlMemory> instance = new HidlMemory(); in getInstance() 292 sp<HidlMemory> HidlMemory::getInstance(hidl_memory&& mem) { in getInstance() 293 sp<HidlMemory> instance = new HidlMemory(); in getInstance() 298 sp<HidlMemory> HidlMemory::getInstance(const hidl_string& name, int fd, uint64_t size) { in getInstance() 303 return new HidlMemory(); in getInstance() 310 sp<HidlMemory> instance = new HidlMemory(name, std::move(hidlHandle), size); in getInstance() 314 HidlMemory::HidlMemory() : hidl_memory() {} in HidlMemory() function in android::hardware::HidlMemory 316 HidlMemory::HidlMemory(const hidl_string& name, hidl_handle&& handle, size_t size) in HidlMemory() function in android::hardware::HidlMemory 320 HidlMemory::~HidlMemory() {} in ~HidlMemory()
|
/system/libhidl/transport/allocator/1.0/utils/ |
D | FrameworkUtils.cpp | 25 sp<HidlMemory> fromHeap(const sp<IMemoryHeap>& heap) { in fromHeap() 29 return HidlMemory::getInstance(hidl_memory()); in fromHeap() 35 return HidlMemory::getInstance("ashmem", fd, heap->getSize()); in fromHeap()
|
/system/libhidl/libhidlcache/ |
D | libhidlcache_test.cpp | 54 sp<HidlMemory> mem; in HidlCacheWhiteBoxTest() 57 mem = HidlMemory::getInstance(_mem); in HidlCacheWhiteBoxTest() 110 using ::android::hardware::HidlMemory; in TEST_F() 119 sp<HidlMemory> m1; in TEST_F() 120 sp<HidlMemory> m2; in TEST_F() 124 m1 = HidlMemory::getInstance(mem); in TEST_F() 129 m2 = HidlMemory::getInstance(mem); in TEST_F()
|
D | MemoryDealer.cpp | 311 mToken(new HidlMemoryToken(HidlMemory::getInstance(mem))) {} in HidlMemoryDealer()
|
/system/libhidl/libhidlmemory/include/hidlmemory/ |
D | HidlMemoryToken.h | 28 HidlMemoryToken(sp<HidlMemory> memory); 31 sp<HidlMemory> mMemory;
|
/system/libhidl/transport/allocator/1.0/utils/include/hidlmemory/ |
D | FrameworkUtils.h | 31 sp<HidlMemory> fromHeap(const sp<IMemoryHeap>& heap);
|
/system/libhidl/libhidlmemory/ |
D | HidlMemoryToken.cpp | 21 HidlMemoryToken::HidlMemoryToken(sp<HidlMemory> memory) : mMemory(memory) {} in HidlMemoryToken()
|
/system/libhidl/base/include/hidl/ |
D | HidlSupport.h | 306 class HidlMemory : public virtual hidl_memory, public virtual ::android::RefBase { 308 static sp<HidlMemory> getInstance(const hidl_memory& mem); 310 static sp<HidlMemory> getInstance(hidl_memory&& mem); 312 static sp<HidlMemory> getInstance(const hidl_string& name, hidl_handle&& handle, uint64_t size); 317 static sp<HidlMemory> getInstance(const hidl_string& name, int fd, uint64_t size); 319 virtual ~HidlMemory(); 322 HidlMemory(); 323 HidlMemory(const hidl_string& name, hidl_handle&& handle, size_t size);
|
/system/tools/hidl/test/hidl_test/ |
D | hidl_test_client.cpp | 119 using ::android::hardware::HidlMemory; 1034 sp<HidlMemory> mem; in TEST_F() 1037 mem = HidlMemory::getInstance(_mem); in TEST_F()
|