Home
last modified time | relevance | path

Searched defs:memory (Results 1 – 25 of 45) 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/neuralnetworks/utils/common/src/
DCommonUtils.cpp109 nn::GeneralResult<hidl_memory> createHidlMemoryFrom(const nn::Memory::Ashmem& memory) { in createHidlMemoryFrom()
115 nn::GeneralResult<hidl_memory> createHidlMemoryFrom(const nn::Memory::Fd& memory) { in createHidlMemoryFrom()
125 nn::GeneralResult<hidl_memory> createHidlMemoryFrom(const nn::Memory::HardwareBuffer& memory) { in createHidlMemoryFrom()
141 nn::GeneralResult<hidl_memory> createHidlMemoryFrom(const nn::Memory::Unknown& memory) { in createHidlMemoryFrom()
195 auto memory = NN_TRY(memoryBuilder.finish()); in flushDataFromPointerToShared() local
258 auto memory = NN_TRY(inputBuilder.finish()); in convertRequestFromPointerToShared() local
282 auto memory = NN_TRY(outputBuilder.finish()); in convertRequestFromPointerToShared() local
298 nn::GeneralResult<hidl_memory> createHidlMemoryFromSharedMemory(const nn::SharedMemory& memory) { in createHidlMemoryFromSharedMemory()
309 nn::GeneralResult<nn::SharedMemory> createSharedMemoryFromHidlMemory(const hidl_memory& memory) { in createSharedMemoryFromHidlMemory()
/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/src/
DBuffer.cpp44 const auto memory = NN_TRY(convertInput(dst)); in copyTo() local
51 const auto memory = NN_TRY(convertInput(src)); in copyFrom() local
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DBurst.cpp83 const nn::SharedMemory& memory) { in getOrCacheMemory()
119 Burst::MemoryCache::getMemoryIfAvailable(const nn::SharedMemory& memory) { in getMemoryIfAvailable()
136 void Burst::MemoryCache::tryFreeMemory(const nn::SharedMemory& memory, int64_t identifier) { in tryFreeMemory()
195 if (const auto* memory = std::get_if<nn::SharedMemory>(&memoryPool)) { in execute() local
264 if (const auto* memory = std::get_if<nn::SharedMemory>(&memoryPool)) { in createReusableExecution() local
DConversions.cpp350 GeneralResult<SharedMemory> unvalidatedConvert(const aidl_hal::Memory& memory) { in unvalidatedConvert()
651 nn::GeneralResult<Memory> unvalidatedConvert(const nn::Memory::Ashmem& memory) { in unvalidatedConvert()
670 nn::GeneralResult<Memory> unvalidatedConvert(const nn::Memory::Fd& memory) { in unvalidatedConvert()
696 nn::GeneralResult<Memory> unvalidatedConvert(const nn::Memory::HardwareBuffer& memory) { in unvalidatedConvert()
763 nn::GeneralResult<Memory> unvalidatedConvert(const nn::SharedMemory& memory) { in unvalidatedConvert()
946 [](const nn::SharedMemory& memory) -> nn::GeneralResult<RequestMemoryPool> { in unvalidatedConvert()
1025 nn::GeneralResult<Memory> convert(const nn::SharedMemory& memory) { in convert()
DUtils.cpp62 nn::GeneralResult<Memory> clone(const Memory& memory) { in clone()
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/
DCommonUtils.h85 std::vector<RelocationInfoType> relocationInfos, nn::SharedMemory memory) { in create()
91 RelocationTracker(std::vector<RelocationInfoType> relocationInfos, nn::SharedMemory memory, in RelocationTracker()
/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.cpp111 const auto& memory = std::get<nn::Memory::Ashmem>(sharedMemory->handle); in convertSharedMemoryToReadonly() local
115 const auto& memory = std::get<nn::Memory::Fd>(sharedMemory->handle); in convertSharedMemoryToReadonly() local
DMemoryDomainTests.cpp666 size_t getSize(const Memory& memory) { in getSize()
684 auto memory = utils::convert(sharedMemory).value(); in allocateSharedMemory() local
689 void testCopyFrom(const std::shared_ptr<IBuffer>& buffer, const Memory& memory, in testCopyFrom()
700 void testCopyTo(const std::shared_ptr<IBuffer>& buffer, const Memory& memory, in testCopyTo()
712 Memory memory = allocateSharedMemory(kTestOperandDataSize); in initializeDeviceMemory() local
767 Memory memory = allocateSharedMemory(kTestOperandDataSize); in TEST_P() local
793 Memory memory = allocateSharedMemory(kTestOperandDataSize); in TEST_P() local
819 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/1.2/utils/src/
DExecutionBurstServer.cpp58 for (const auto& memory : memories) { in getMemoriesCallback() local
137 void ExecutionBurstServer::MemoryCache::addCacheEntryLocked(int32_t slot, nn::SharedMemory memory) { in addCacheEntryLocked()
DExecutionBurstController.cpp100 const auto memory = NN_TRY(memoryCache->getMemory(slot)); in getMemoriesHelper() local
128 ExecutionBurstController::MemoryCache::cacheMemory(const nn::SharedMemory& memory) { in cacheMemory()
174 void ExecutionBurstController::MemoryCache::freeMemory(const nn::SharedMemory& memory) { in freeMemory()
DConversions.cpp296 GeneralResult<SharedMemory> convert(const hardware::hidl_memory& memory) { in convert()
338 nn::GeneralResult<hidl_memory> unvalidatedConvert(const nn::SharedMemory& memory) { in unvalidatedConvert()
/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/interfaces/neuralnetworks/1.0/utils/src/
DConversions.cpp149 GeneralResult<SharedMemory> unvalidatedConvert(const hidl_memory& memory) { in unvalidatedConvert()
335 nn::GeneralResult<hidl_memory> unvalidatedConvert(const nn::SharedMemory& memory) { in unvalidatedConvert()
/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/interfaces/neuralnetworks/1.3/utils/src/
DConversions.cpp387 nn::GeneralResult<hidl_memory> unvalidatedConvert(const nn::SharedMemory& memory) { in unvalidatedConvert()
419 nn::GeneralResult<Request::MemoryPool> makeMemoryPool(const nn::SharedMemory& memory) { in makeMemoryPool()
689 nn::GeneralResult<hidl_memory> convert(const nn::SharedMemory& memory) { in convert()
/hardware/interfaces/soundtrigger/2.2/default/
DSoundTriggerHw.cpp548 sp<IMemory> memory; in memoryAsVector() local
570 sp<IMemory> memory; in moveVectorToMemory() local
/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.cpp167 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