/frameworks/ml/nn/common/ |
D | MemoryUtils.cpp | 24 using ::android::hardware::hidl_memory; 30 hidl_memory allocateSharedMemory(int64_t size) { in allocateSharedMemory() 34 hidl_memory memory; in allocateSharedMemory() 37 allocator->allocate(size, [&](bool success, const hidl_memory& mem) { in allocateSharedMemory()
|
D | ExecutionBurstServer.cpp | 64 void addCacheEntry(const hidl_memory& memory, int32_t slot) override { in addCacheEntry() 74 hidl_vec<hidl_memory> pools(slots.size()); in execute() 106 std::map<int32_t, hidl_memory> mMemoryCache; 583 std::vector<hidl_memory> returnedMemories; in ensureCacheEntriesArePresentLocked() 585 const hidl_vec<hidl_memory>& memories) { in ensureCacheEntriesArePresentLocked()
|
D | ExecutionBurstController.cpp | 397 hidl_vec<hidl_memory> memories(slots.size()); in getMemories() 399 return slot < mMemoryCache.size() ? mMemoryCache[slot] : hidl_memory{}; in getMemories() 404 [](const hidl_memory& memory) { return memory.valid(); })) { in getMemories() 415 const hidl_vec<hidl_memory>& memories, const std::vector<intptr_t>& keys) { in getSlots() 442 int32_t ExecutionBurstController::ExecutionBurstCallback::getSlotLocked(const hidl_memory& memory, in getSlotLocked()
|
/frameworks/base/core/jni/ |
D | android_os_HidlMemory.h | 33 static const hardware::hidl_memory* fromJava(JNIEnv* env, 41 const hardware::hidl_memory& cobj); 61 static std::unique_ptr<hardware::hidl_memory> javaToNative(JNIEnv* env, 64 std::unique_ptr<hardware::hidl_memory> mObj;
|
D | android_os_HidlMemory.cpp | 67 /* static */ const hardware::hidl_memory* JHidlMemory::fromJava(JNIEnv* env, in fromJava() 81 const hardware::hidl_memory& cobj) { in toJava() 99 /* static */ std::unique_ptr<hardware::hidl_memory> JHidlMemory::javaToNative( in javaToNative() 120 return std::make_unique<hardware::hidl_memory>(cname, chandle, csize); in javaToNative()
|
/frameworks/ml/nn/runtime/ |
D | Memory.h | 161 int copyIBufferToHidlMemory(const sp<hal::IBuffer>& src, const hal::hidl_memory& dst); 163 int copyHidlMemoryToIBuffer(const hal::hidl_memory& src, const sp<hal::IBuffer>& dst, 177 const hal::hidl_memory& getHidlMemory() const { return kHidlMemory; } in getHidlMemory() 202 Memory(hal::hidl_memory memory); 203 Memory(hal::hidl_memory memory, std::unique_ptr<MemoryValidatorBase> validator); 208 const hal::hidl_memory kHidlMemory; 295 MemoryAshmem(sp<hal::IMemory> mapped, hal::hidl_memory memory); 313 MemoryFd(hal::hidl_memory memory); 326 MemoryAHWB(hal::hidl_memory memory, std::unique_ptr<MemoryValidatorBase> validator) in MemoryAHWB() 350 MemoryRuntimeAHWB(hal::hidl_memory memory, AHardwareBuffer* ahwb, uint8_t* buffer);
|
D | Memory.cpp | 186 Memory::Memory(hal::hidl_memory memory) in Memory() 190 Memory::Memory(hal::hidl_memory memory, std::unique_ptr<MemoryValidatorBase> validator) in Memory() 249 int copyIBufferToHidlMemory(const sp<IBuffer>& src, const hidl_memory& dst) { in copyIBufferToHidlMemory() 258 int copyHidlMemoryToIBuffer(const hidl_memory& src, const sp<IBuffer>& dst, in copyHidlMemoryToIBuffer() 272 const hidl_memory& hidlMemory = memory->getHidlMemory(); in copyIBuffers() 524 hidl_memory hidlMemory = allocateSharedMemory(size); in create() 538 MemoryAshmem::MemoryAshmem(sp<IMemory> mapped, hidl_memory memory) in MemoryAshmem() 578 hidl_memory hidlMemory = hidl_memory("mmap_fd", std::move(hidlHandle), size); in create() 583 MemoryFd::MemoryFd(hidl_memory memory) : Memory(std::move(memory)) {} in MemoryFd() 589 hidl_memory hidlMemory; in create() [all …]
|
/frameworks/av/media/libstagefright/omx/tests/ |
D | OMXHarness.h | 37 typedef hardware::hidl_memory hidl_memory; typedef 44 hidl_memory mHidlMemory;
|
/frameworks/av/media/libmedia/include/media/ |
D | OMXBuffer.h | 52 using hardware::hidl_memory; 84 OMXBuffer(const hidl_memory &hidlMemory); 137 hidl_memory mHidlMemory;
|
/frameworks/native/services/sensorservice/hidl/include/sensorservicehidl/ |
D | SensorManager.h | 40 using ::android::hardware::hidl_memory; 52 …Return<void> createAshmemDirectChannel(const hidl_memory& mem, uint64_t size, createAshmemDirectCh…
|
/frameworks/ml/nn/common/include/ |
D | CpuExecutor.h | 108 static std::optional<RunTimePoolInfo> createFromHidlMemory(const hal::hidl_memory& hidlMemory); 113 const hal::hidl_memory& getHidlMemory() const; 124 const hal::hidl_vec<hal::hidl_memory>& pools);
|
D | ExecutionBurstController.h | 254 std::vector<int32_t> getSlots(const hardware::hidl_vec<hardware::hidl_memory>& memories, 272 int32_t getSlotLocked(const hardware::hidl_memory& memory, intptr_t key); 278 std::vector<hardware::hidl_memory> mMemoryCache;
|
D | MemoryUtils.h | 28 hardware::hidl_memory allocateSharedMemory(int64_t size);
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/ |
D | CryptoPlugin.h | 47 using ::android::hardware::hidl_memory; 98 Return<void> setSharedBufferBase(const hidl_memory& base,
|
/frameworks/native/services/schedulerservice/include/schedulerservice/ |
D | SchedulingPolicyService.h | 32 using ::android::hardware::hidl_memory;
|
/frameworks/native/libs/gui/include/gui/bufferqueue/1.0/ |
D | B2HProducerListener.h | 38 using ::android::hardware::hidl_memory;
|
D | WProducerListener.h | 32 using ::android::hardware::hidl_memory;
|
/frameworks/av/media/bufferpool/2.0/ |
D | Observer.h | 33 using ::android::hardware::hidl_memory;
|
D | Connection.h | 34 using ::android::hardware::hidl_memory;
|
/frameworks/ml/nn/tools/test_generator/tests/P_vts_variation/ |
D | stdout.txt.expect | 112 const std::vector<hidl_memory> pools = {}; 259 const std::vector<hidl_memory> pools = {}; 407 const std::vector<hidl_memory> pools = {}; 554 const std::vector<hidl_memory> pools = {}; 701 const std::vector<hidl_memory> pools = {}; 849 const std::vector<hidl_memory> pools = {}; 996 const std::vector<hidl_memory> pools = {}; 1143 const std::vector<hidl_memory> pools = {}; 1291 const std::vector<hidl_memory> pools = {}; 1438 const std::vector<hidl_memory> pools = {}; [all …]
|
/frameworks/ml/nn/tools/test_generator/tests/P_vts_implicit_variation/ |
D | stdout.txt.expect | 112 const std::vector<hidl_memory> pools = {}; 259 const std::vector<hidl_memory> pools = {}; 407 const std::vector<hidl_memory> pools = {}; 554 const std::vector<hidl_memory> pools = {}; 701 const std::vector<hidl_memory> pools = {}; 849 const std::vector<hidl_memory> pools = {}; 996 const std::vector<hidl_memory> pools = {}; 1143 const std::vector<hidl_memory> pools = {}; 1291 const std::vector<hidl_memory> pools = {}; 1438 const std::vector<hidl_memory> pools = {}; [all …]
|
/frameworks/ml/nn/tools/test_generator/tests/P_vts_naming/ |
D | stdout.txt.expect | 112 const std::vector<hidl_memory> pools = {}; 259 const std::vector<hidl_memory> pools = {}; 407 const std::vector<hidl_memory> pools = {}; 554 const std::vector<hidl_memory> pools = {}; 701 const std::vector<hidl_memory> pools = {}; 849 const std::vector<hidl_memory> pools = {}; 996 const std::vector<hidl_memory> pools = {}; 1143 const std::vector<hidl_memory> pools = {}; 1291 const std::vector<hidl_memory> pools = {}; 1438 const std::vector<hidl_memory> pools = {}; [all …]
|
/frameworks/native/services/sensorservice/hidl/ |
D | DirectReportChannel.h | 37 using ::android::hardware::hidl_memory;
|
/frameworks/av/media/bufferpool/1.0/ |
D | Connection.h | 34 using ::android::hardware::hidl_memory;
|
/frameworks/av/media/libmedia/include/media/omx/1.0/ |
D | WOmxObserver.h | 40 using ::android::hardware::hidl_memory;
|