Home
last modified time | relevance | path

Searched defs:memory (Results 1 – 25 of 47) sorted by relevance

12

/hardware/interfaces/neuralnetworks/utils/common/test/
DResilientBufferTest.cpp118 const nn::SharedMemory memory = std::make_shared<const nn::Memory>(); in TEST() local
132 const nn::SharedMemory memory = std::make_shared<const nn::Memory>(); in TEST() local
147 const nn::SharedMemory memory = std::make_shared<const nn::Memory>(); in TEST() local
164 const nn::SharedMemory memory = std::make_shared<const nn::Memory>(); in TEST() local
178 const nn::SharedMemory memory = std::make_shared<const nn::Memory>(); in TEST() local
192 const nn::SharedMemory memory = std::make_shared<const nn::Memory>(); in TEST() local
207 const nn::SharedMemory memory = std::make_shared<const nn::Memory>(); in TEST() local
224 const nn::SharedMemory memory = std::make_shared<const nn::Memory>(); in TEST() local
/hardware/interfaces/tests/memory/1.0/default/
DMemoryTest.cpp33 namespace memory { namespace
44 sp<IMemory> memory = mapMemory(memory_in); in fillMemory() local
/hardware/interfaces/neuralnetworks/utils/adapter/hidl/src/
DBuffer.cpp44 const auto memory = NN_TRY(convertInput(dst)); in copyTo() local
51 const auto memory = NN_TRY(convertInput(src)); in copyFrom() local
DBurst.cpp54 for (const auto& memory : memories) { in getMemoriesCallback() local
131 void Burst::MemoryCache::addCacheEntryLocked(int32_t slot, nn::SharedMemory memory) { in addCacheEntryLocked()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DBurst.cpp88 const nn::SharedMemory& memory) { in getOrCacheMemory()
124 Burst::MemoryCache::getMemoryIfAvailable(const nn::SharedMemory& memory) { in getMemoryIfAvailable()
141 void Burst::MemoryCache::tryFreeMemory(const nn::SharedMemory& memory, int64_t identifier) { in tryFreeMemory()
202 if (const auto* memory = std::get_if<nn::SharedMemory>(&memoryPool)) { in execute() local
285 if (const auto* memory = std::get_if<nn::SharedMemory>(&memoryPool)) { in createReusableExecution() local
DUtils.cpp63 nn::GeneralResult<Memory> clone(const Memory& memory) { in clone()
DConversions.cpp364 GeneralResult<SharedMemory> unvalidatedConvert(const aidl_hal::Memory& memory) { in unvalidatedConvert()
660 nn::GeneralResult<Memory> unvalidatedConvert(const nn::Memory::Ashmem& memory) { in unvalidatedConvert()
679 nn::GeneralResult<Memory> unvalidatedConvert(const nn::Memory::Fd& memory) { in unvalidatedConvert()
705 nn::GeneralResult<Memory> unvalidatedConvert(const nn::Memory::HardwareBuffer& memory) { in unvalidatedConvert()
857 nn::GeneralResult<Memory> unvalidatedConvert(const nn::SharedMemory& memory) { in unvalidatedConvert()
1073 [](const nn::SharedMemory& memory) -> nn::GeneralResult<RequestMemoryPool> { in unvalidatedConvert()
1168 nn::GeneralResult<Memory> convert(const nn::SharedMemory& memory) { in convert()
/hardware/interfaces/neuralnetworks/1.0/utils/src/
DConversions.cpp98 nn::GeneralResult<nn::SharedMemory> createSharedMemoryFromHidlMemory(const hidl_memory& memory) { in createSharedMemoryFromHidlMemory()
288 GeneralResult<SharedMemory> unvalidatedConvert(const hidl_memory& memory) { in unvalidatedConvert()
441 nn::GeneralResult<hidl_memory> createHidlMemoryFrom(const nn::Memory::Ashmem& memory) { in createHidlMemoryFrom()
447 nn::GeneralResult<hidl_memory> createHidlMemoryFrom(const nn::Memory::Fd& memory) { in createHidlMemoryFrom()
457 nn::GeneralResult<hidl_memory> createHidlMemoryFrom(const nn::Memory::HardwareBuffer& memory) { in createHidlMemoryFrom()
480 nn::GeneralResult<hidl_memory> createHidlMemoryFrom(const nn::Memory::Unknown& memory) { in createHidlMemoryFrom()
570 nn::GeneralResult<hidl_memory> unvalidatedConvert(const nn::SharedMemory& memory) { in unvalidatedConvert()
/hardware/interfaces/soundtrigger/2.1/default/
DSoundTriggerHw.cpp45 sp<IMemory> memory; in memoryAsVector() local
67 sp<IMemory> memory; in moveVectorToMemory() local
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DUtils.cpp113 const auto& memory = std::get<nn::Memory::Ashmem>(sharedMemory->handle); in convertSharedMemoryToReadonly() local
117 const auto& memory = std::get<nn::Memory::Fd>(sharedMemory->handle); in convertSharedMemoryToReadonly() local
DMemoryDomainTests.cpp693 size_t getSize(const Memory& memory) { in getSize()
711 auto memory = utils::convert(sharedMemory).value(); in allocateSharedMemory() local
716 void testCopyFrom(const std::shared_ptr<IBuffer>& buffer, const Memory& memory, in testCopyFrom()
727 void testCopyTo(const std::shared_ptr<IBuffer>& buffer, const Memory& memory, in testCopyTo()
739 Memory memory = allocateSharedMemory(kTestOperandDataSize); in initializeDeviceMemory() local
794 Memory memory = allocateSharedMemory(kTestOperandDataSize); in TEST_P() local
820 Memory memory = allocateSharedMemory(kTestOperandDataSize); in TEST_P() local
846 Memory memory = allocateSharedMemory(kTestOperandDataSize); in TEST_P() local
/hardware/google/apf/
Dapf_interpreter.c29 #define APF_TRACE_HOOK(pc, regs, program, program_len, packet, packet_len, memory, memory_len) \ argument
70 uint32_t memory[MEMORY_ITEMS] = {}; in accept_packet() local
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/src/
DBurst.cpp83 const auto& memory = std::get<nn::SharedMemory>(pool); in ensureAllMemoriesAreCached() local
134 Value Burst::ThreadSafeMemoryCache::add(int64_t token, const nn::SharedMemory& memory, in add()
/hardware/interfaces/neuralnetworks/1.2/utils/src/
DBurst.cpp96 const auto memory = NN_TRY(memoryCache->getMemory(slot)); in getMemoriesHelper() local
124 const nn::SharedMemory& memory) { in cacheMemory()
170 void Burst::MemoryCache::freeMemory(const nn::SharedMemory& memory) { in freeMemory()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DMemoryDomainTests.cpp665 hidl_memory memory = nn::allocateSharedMemory(size); in allocateSharedMemory() local
670 void testCopyFrom(const sp<IBuffer>& buffer, const hidl_memory& memory, in testCopyFrom()
677 void testCopyTo(const sp<IBuffer>& buffer, const hidl_memory& memory, in testCopyTo()
685 hidl_memory memory = nn::allocateSharedMemory(kTestOperandDataSize); in initializeDeviceMemory() local
738 hidl_memory memory = allocateSharedMemory(kTestOperandDataSize); in TEST_P() local
764 hidl_memory memory = allocateSharedMemory(kTestOperandDataSize); in TEST_P() local
790 hidl_memory memory = allocateSharedMemory(kTestOperandDataSize); in TEST_P() local
850 hidl_memory memory = allocateSharedMemory(size); in createSharedMemoryPool() local
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCamera2HWICallbacks.cpp343 QCameraGrallocMemory *memory = (QCameraGrallocMemory *)preview_frame->mem_info; in selectScene() local
614 QCameraMemory *memory = (QCameraMemory *)pFrame->mem_info; in TsMakeupProcess() local
734 QCameraGrallocMemory *memory = (QCameraGrallocMemory *) frame->mem_info; in synchronous_stream_cb_routine() local
807 QCameraGrallocMemory *memory = (QCameraGrallocMemory *)super_frame->bufs[0]->mem_info; in preview_stream_cb_routine() local
974 QCameraMemory *memory, uint32_t idx) in sendPreviewCallback()
1412 QCameraGrallocMemory *memory = (QCameraGrallocMemory *)super_frame->bufs[0]->mem_info; in postview_stream_cb_routine() local
DQCameraMem.cpp1059 QCameraStreamMemory::QCameraStreamMemory(camera_request_memory memory, in QCameraStreamMemory()
1293 QCameraVideoMemory::QCameraVideoMemory(camera_request_memory memory, void* cbCookie, in QCameraVideoMemory()
1884 QCameraGrallocMemory::QCameraGrallocMemory(camera_request_memory memory, void* cbCookie, QCameraMem… in QCameraGrallocMemory()
/hardware/interfaces/soundtrigger/2.3/default/
DSoundTriggerHw.cpp465 sp<IMemory> memory; in convertRecognitionConfigToHalHeader() local
604 sp<IMemory> memory; in memoryAsVector() local
626 sp<IMemory> memory; in moveVectorToMemory() local
/hardware/google/gchips/gralloc4/src/hidl_common/
DSharedMetadata.cpp30 void shared_metadata_init(void *memory, std::string_view name) in shared_metadata_init()
/hardware/google/gchips/GrallocHAL/src/hidl_common/
DSharedMetadata.cpp30 void shared_metadata_init(void *memory, std::string_view name) in shared_metadata_init()
/hardware/interfaces/soundtrigger/2.2/default/
DSoundTriggerHw.cpp548 sp<IMemory> memory; in memoryAsVector() local
570 sp<IMemory> memory; in moveVectorToMemory() local
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DConversions.cpp405 nn::GeneralResult<hidl_memory> unvalidatedConvert(const nn::SharedMemory& memory) { in unvalidatedConvert()
437 nn::GeneralResult<Request::MemoryPool> makeMemoryPool(const nn::SharedMemory& memory) { in makeMemoryPool()
728 nn::GeneralResult<hidl_memory> convert(const nn::SharedMemory& memory) { in convert()
/hardware/interfaces/drm/1.2/vts/functional/
Ddrm_hal_common.cpp369 size, [&](bool success, const hidl_memory& memory) { in getDecryptMemory()
384 void DrmHalTest::fillRandom(const sp<IMemory>& memory) { in fillRandom()
/hardware/interfaces/neuralnetworks/1.1/utils/src/
DConversions.cpp171 nn::GeneralResult<hidl_memory> unvalidatedConvert(const nn::SharedMemory& memory) { in unvalidatedConvert()
/hardware/interfaces/soundtrigger/2.1/vts/functional/
DVtsHalSoundtriggerV2_1TargetTest.cpp271 sp<IMemory> memory = ::android::hardware::mapMemory(hmemory); in TEST_P() local

12