Home
last modified time | relevance | path

Searched refs:hidl_memory (Results 1 – 25 of 75) sorted by relevance

123

/frameworks/ml/nn/common/
DMemoryUtils.cpp24 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()
DExecutionBurstServer.cpp64 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()
DExecutionBurstController.cpp397 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/
Dandroid_os_HidlMemory.h33 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;
Dandroid_os_HidlMemory.cpp67 /* 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/
DMemory.h161 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);
DMemory.cpp186 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/
DOMXHarness.h37 typedef hardware::hidl_memory hidl_memory; typedef
44 hidl_memory mHidlMemory;
/frameworks/av/media/libmedia/include/media/
DOMXBuffer.h52 using hardware::hidl_memory;
84 OMXBuffer(const hidl_memory &hidlMemory);
137 hidl_memory mHidlMemory;
/frameworks/native/services/sensorservice/hidl/include/sensorservicehidl/
DSensorManager.h40 using ::android::hardware::hidl_memory;
52 …Return<void> createAshmemDirectChannel(const hidl_memory& mem, uint64_t size, createAshmemDirectCh…
/frameworks/ml/nn/common/include/
DCpuExecutor.h108 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);
DExecutionBurstController.h254 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;
DMemoryUtils.h28 hardware::hidl_memory allocateSharedMemory(int64_t size);
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/
DCryptoPlugin.h47 using ::android::hardware::hidl_memory;
98 Return<void> setSharedBufferBase(const hidl_memory& base,
/frameworks/native/services/schedulerservice/include/schedulerservice/
DSchedulingPolicyService.h32 using ::android::hardware::hidl_memory;
/frameworks/native/libs/gui/include/gui/bufferqueue/1.0/
DB2HProducerListener.h38 using ::android::hardware::hidl_memory;
DWProducerListener.h32 using ::android::hardware::hidl_memory;
/frameworks/av/media/bufferpool/2.0/
DObserver.h33 using ::android::hardware::hidl_memory;
DConnection.h34 using ::android::hardware::hidl_memory;
/frameworks/ml/nn/tools/test_generator/tests/P_vts_variation/
Dstdout.txt.expect112 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/
Dstdout.txt.expect112 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/
Dstdout.txt.expect112 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/
DDirectReportChannel.h37 using ::android::hardware::hidl_memory;
/frameworks/av/media/bufferpool/1.0/
DConnection.h34 using ::android::hardware::hidl_memory;
/frameworks/av/media/libmedia/include/media/omx/1.0/
DWOmxObserver.h40 using ::android::hardware::hidl_memory;

123