Home
last modified time | relevance | path

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

12

/frameworks/ml/nn/runtime/
DMemory.cpp186 Memory::Memory(hal::hidl_memory memory) in Memory()
190 Memory::Memory(hal::hidl_memory memory, std::unique_ptr<MemoryValidatorBase> validator) in Memory()
494 std::unique_ptr<Memory> memory; in allocate() local
538 MemoryAshmem::MemoryAshmem(sp<IMemory> mapped, hidl_memory memory) in MemoryAshmem()
583 MemoryFd::MemoryFd(hidl_memory memory) : Memory(std::move(memory)) {} in MemoryFd()
599 auto memory = std::make_unique<MemoryAHWB>(std::move(hidlMemory), std::move(validator)); in create() local
636 auto memory = std::make_unique<MemoryRuntimeAHWB>(std::move(hidlMemory), ahwb, in create() local
643 MemoryRuntimeAHWB::MemoryRuntimeAHWB(hal::hidl_memory memory, AHardwareBuffer* ahwb, in MemoryRuntimeAHWB()
DExecutionBuilder.cpp162 const Memory* memory, size_t offset, size_t length) { in setInputFromMemory()
239 const Memory* memory, size_t offset, size_t length) { in setOutputFromMemory()
808 const Memory* memory = mMemories[p.locationAndLength().poolIndex]; in compute() local
919 const Memory* memory = mMemories[output.locationAndLength().poolIndex]; in updateMemories() local
936 const Memory* memory = mMemories[output.locationAndLength().poolIndex]; in finishWithoutSyncFence() local
1012 const Memory* memory = mExecutionBuilder->mMemories[builderPoolIndex]; in mapInputOrOutput() local
1021 const Memory* memory, uint32_t offset, in setInputOrOutputFromMemory()
1172 const Memory* memory = mMemories[i]; in computeOnCpuFallback() local
1197 const Memory* memory = mMemories[i]; in computeOnCpuFallback() local
DExecutionBuilder.h257 int setInputFromMemory(uint32_t inputIndex, const Memory* memory, uint32_t offset) { in setInputFromMemory()
261 int setOutputFromMemory(uint32_t outputIndex, const Memory* memory, uint32_t offset) { in setOutputFromMemory()
DNeuralNetworks.cpp967 ANeuralNetworksMemory** memory) { in ANeuralNetworksMemory_createFromDesc()
997 ANeuralNetworksMemory** memory) { in ANeuralNetworksMemory_createFromFd()
1011 ANeuralNetworksMemory** memory) { in ANeuralNetworksMemory_createFromAHardwareBuffer()
1024 void ANeuralNetworksMemory_free(ANeuralNetworksMemory* memory) { in ANeuralNetworksMemory_free()
1087 const ANeuralNetworksMemory* memory, in ANeuralNetworksModel_setOperandValueFromMemory()
1297 const ANeuralNetworksMemory* memory, size_t offset, in ANeuralNetworksExecution_setInputFromMemory()
1324 const ANeuralNetworksMemory* memory, size_t offset, in ANeuralNetworksExecution_setOutputFromMemory()
DMemory.h326 MemoryAHWB(hal::hidl_memory memory, std::unique_ptr<MemoryValidatorBase> validator) in MemoryAHWB()
/frameworks/compile/mclinker/lib/MC/
DInputBuilder.cpp124 MemoryArea* memory = m_pMemFactory->produce(pInput.path(), pMode, pPerm); in setMemory() local
130 MemoryArea* memory = m_pMemFactory->produce(pMemBuffer, pSize); in setMemory() local
/frameworks/ml/nn/common/
DMemoryUtils.cpp34 hidl_memory memory; in allocateSharedMemory() local
DExecutionBurstController.cpp404 [](const hidl_memory& memory) { return memory.valid(); })) { in getMemories()
442 int32_t ExecutionBurstController::ExecutionBurstCallback::getSlotLocked(const hidl_memory& memory, in getSlotLocked()
/frameworks/ml/nn/runtime/test/
DGeneratedTestUtils.h63 void setConstantReferenceMemory(std::unique_ptr<test_wrapper::Memory> memory) { in setConstantReferenceMemory()
DTestUtils.h36 test_wrapper::Memory memory) in TestAshmem()
DGeneratedTestUtils.cpp107 const std::unique_ptr<MemoryAHWB>& memory, in createModelFromSubgraph()
161 std::unique_ptr<MemoryAHWB> memory = createConstantReferenceMemory(testModel); in createModel() local
DTestGenerated.cpp157 ANeuralNetworksMemory* memory = nullptr; in createDeviceMemoryForInput() local
170 ANeuralNetworksMemory* memory = nullptr; in createDeviceMemoryForOutput() local
199 ANeuralNetworksMemory* memory = createDeviceMemoryForInput(compilation, i); in computeWithDeviceMemories() local
214 ANeuralNetworksMemory* memory = createDeviceMemoryForOutput(compilation, i); in computeWithDeviceMemories() local
DTestValidation.cpp241 for (auto* memory : mMemories) ANeuralNetworksMemory_free(memory); in TearDown() local
349 ANeuralNetworksMemory* memory, int expectedResult) { in executeWithMemoryAsInput()
363 ANeuralNetworksMemory* memory, int expectedResult) { in executeWithMemoryAsOutput()
609 ANeuralNetworksMemory* memory; in TEST_F() local
671 ANeuralNetworksMemory* memory; in TEST_F() local
702 ANeuralNetworksMemory* memory; in TEST_F() local
1229 ANeuralNetworksMemory* memory; in TEST_F() local
1410 ANeuralNetworksMemory* memory; in TEST_F() local
1483 ANeuralNetworksMemory* memory; in TEST_F() local
1522 ANeuralNetworksMemory* memory; in TEST_F() local
[all …]
DTestNeuralNetworksWrapper.h54 Memory(ANeuralNetworksMemory* memory) : mMemory(memory) {} in Memory()
190 void setOperandValueFromMemory(uint32_t index, const Memory* memory, uint32_t offset, in setOperandValueFromMemory()
DTestUnspecifiedDimensions.cpp116 std::shared_ptr<Memory> memory; member in __anon9006201d0111::UnspecifiedDimensionsTest::SharedMemoryForTest
251 const SharedMemoryForTest* memory, InOutType inOutType, in setInOut()
DTestCompliance.cpp148 test_wrapper::Memory memory(buffer); in TEST_F() local
DTestPartitioningRandom.cpp281 const WrapperMemory* memory = &mMemories[std::get<0>(regionDescriptor)]; in getRegion() local
322 ANeuralNetworksMemory* memory = reinterpret_cast<ANeuralNetworksMemory*>(ashmem.release()); in layout() local
1033 const WrapperMemory* memory; in TEST_P() local
1323 const WrapperMemory* memory; in TEST_P() local
/frameworks/base/core/java/android/text/
DSelection.java85 private static void setSelection(Spannable text, int start, int stop, int memory) { in setSelection()
106 private static void updateMemory(Spannable text, int memory) { in updateMemory()
173 private static void extendSelection(Spannable text, int index, int memory) { in extendSelection()
239 int memory = getSelectionMemory(text); in setSelectionAndMemory() local
/frameworks/av/media/libaudiohal/impl/
DEffectBufferHalHidl.cpp77 [&](bool success, const hidl_memory& memory) { in init()
/frameworks/base/core/proto/android/internal/
Dpowerprofile.proto104 optional double memory = 36; field
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaBuffer.h122 static bool isDeadObject(const sp<IMemory> &memory) { in isDeadObject()
/frameworks/native/vulkan/vkjson/
Dvkjson.h104 VkPhysicalDeviceMemoryProperties memory; member
/frameworks/av/media/codec2/sfplugin/
DCCodecBuffers.h603 sp<IMemory> memory; member
/frameworks/av/services/soundtrigger/
DSoundTriggerHalHidl.cpp47 sp<IMemory> memory; in memoryAsVector() local
69 sp<IMemory> memory; in moveVectorToMemory() local
/frameworks/av/drm/libmediadrm/
DCryptoHal.cpp300 status_t CryptoHal::toSharedBuffer(const sp<IMemory>& memory, int32_t seqNum, ::SharedBuffer* buffe… in toSharedBuffer()

12