Searched refs:HidlMemory (Results 1 – 8 of 8) sorted by relevance
/system/libhidl/base/ |
D | HidlSupport.cpp | 289 sp<HidlMemory> HidlMemory::getInstance(const hidl_memory& mem) { in getInstance() 290 sp<HidlMemory> instance = new HidlMemory(); in getInstance() 295 sp<HidlMemory> HidlMemory::getInstance(hidl_memory&& mem) { in getInstance() 296 sp<HidlMemory> instance = new HidlMemory(); in getInstance() 301 sp<HidlMemory> HidlMemory::getInstance(const hidl_string& name, int fd, uint64_t size) { in getInstance() 306 return new HidlMemory(); in getInstance() 313 sp<HidlMemory> instance = new HidlMemory(name, std::move(hidlHandle), size); in getInstance() 317 HidlMemory::HidlMemory() : hidl_memory() {} in HidlMemory() function in android::hardware::HidlMemory 319 HidlMemory::HidlMemory(const hidl_string& name, hidl_handle&& handle, size_t size) in HidlMemory() function in android::hardware::HidlMemory 323 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/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 | 314 class HidlMemory : public virtual hidl_memory, public virtual ::android::RefBase { 316 static sp<HidlMemory> getInstance(const hidl_memory& mem); 318 static sp<HidlMemory> getInstance(hidl_memory&& mem); 320 static sp<HidlMemory> getInstance(const hidl_string& name, hidl_handle&& handle, uint64_t size); 325 static sp<HidlMemory> getInstance(const hidl_string& name, int fd, uint64_t size); 327 virtual ~HidlMemory(); 330 HidlMemory(); 331 HidlMemory(const hidl_string& name, hidl_handle&& handle, size_t size);
|
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/ |
D | HidlTestJava.java | 38 import android.os.HidlMemory; 251 HidlMemory hidlMem = HidlMemoryUtil.byteArrayToHidlMemory( in runClientMemoryTests() 263 HidlMemory hidlMem = memoryInterface.getTestMem(); in runClientMemoryTests()
|
/system/tools/hidl/test/hidl_test/ |
D | hidl_test_client.cpp | 113 using ::android::hardware::HidlMemory; 1009 sp<HidlMemory> mem; in TEST_F() 1012 mem = HidlMemory::getInstance(_mem); in TEST_F()
|