/frameworks/ml/nn/runtime/ |
D | Memory.h | 167 class Memory { 169 DISALLOW_COPY_AND_ASSIGN(Memory); 174 virtual ~Memory(); 199 static int copy(const Memory& src, const Memory& dst); 202 Memory(hal::hidl_memory memory); 203 Memory(hal::hidl_memory memory, std::unique_ptr<MemoryValidatorBase> validator); 204 Memory(sp<hal::IBuffer> buffer, uint32_t token); 241 std::pair<int, std::unique_ptr<Memory>> allocate() const; 274 class MemoryAshmem : public Memory { 301 class MemoryFd : public Memory { [all …]
|
D | Memory.cpp | 186 Memory::Memory(hal::hidl_memory memory) in Memory() function in android::nn::Memory 190 Memory::Memory(hal::hidl_memory memory, std::unique_ptr<MemoryValidatorBase> validator) in Memory() function in android::nn::Memory 193 Memory::Memory(sp<hal::IBuffer> buffer, uint32_t token) in Memory() function in android::nn::Memory 196 Memory::~Memory() { in ~Memory() 204 Request::MemoryPool Memory::getMemoryPool() const { in getMemoryPool() 214 std::optional<RunTimePoolInfo> Memory::getRunTimePoolInfo() const { in getRunTimePoolInfo() 223 intptr_t Memory::getKey() const { in getKey() 227 void Memory::usedBy(const std::shared_ptr<ExecutionBurstController>& burst) const { in usedBy() 279 static int copyInternal(const Memory& src, const Memory& dst) { in copyInternal() 310 int Memory::copy(const Memory& src, const Memory& dst) { in copy() [all …]
|
D | ExecutionBuilder.h | 44 class Memory; variable 58 const Memory* memory, size_t offset, size_t length); 62 const Memory* memory, size_t offset, size_t length); 257 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() 287 int setInputOrOutputFromMemory(const hal::Operand& inputOrOutputOperand, const Memory* memory, 291 const std::optional<Deadline>& deadline, const std::vector<const Memory*>& memories,
|
D | Manager.cpp | 107 std::pair<int, std::unique_ptr<Memory>> allocate(const MemoryDescriptor& desc, 138 const std::vector<const Memory*>& memories, 146 const std::vector<const Memory*>& memories, const std::vector<int>& waitFor, 257 std::pair<int, std::unique_ptr<Memory>> DriverDevice::allocate(const MemoryDescriptor& desc, in allocate() 283 std::vector<const Memory*>* memories) { in allocatePointerArgumentsToPool() 325 const std::vector<const Memory*>& memories, in execute() 332 std::vector<const Memory*> localMemories = memories; in execute() 387 for (const Memory* memory : localMemories) { in execute() 433 const std::vector<const Memory*>& memories, const std::vector<int>& waitFor, in executeFenced() 440 std::vector<const Memory*> localMemories = memories; in executeFenced() [all …]
|
D | Manager.h | 60 const std::vector<const Memory*>& memories, 71 const std::vector<const Memory*>& memories, const std::vector<int>& waitFor, 114 virtual std::pair<int, std::unique_ptr<Memory>> allocate(const MemoryDescriptor& desc,
|
D | ExecutionBuilder.cpp | 164 const Memory* memory, size_t offset, size_t length) { in setInputFromMemory() 241 const Memory* memory, size_t offset, size_t length) { in setOutputFromMemory() 810 const Memory* memory = mMemories[p.locationAndLength().poolIndex]; in compute() 921 const Memory* memory = mMemories[output.locationAndLength().poolIndex]; in updateMemories() 938 const Memory* memory = mMemories[output.locationAndLength().poolIndex]; in finishWithoutSyncFence() 1014 const Memory* memory = mExecutionBuilder->mMemories[builderPoolIndex]; in mapInputOrOutput() 1023 const Memory* memory, uint32_t offset, in setInputOrOutputFromMemory() 1082 const std::optional<Deadline>& deadline, const std::vector<const Memory*>& memories, in computeWithMemories() 1147 std::vector<const Memory*> memories = mMemories.getObjects(); in computeOnCpuFallback() 1150 std::vector<std::unique_ptr<Memory>> blobAhwbs; in computeOnCpuFallback() [all …]
|
D | NeuralNetworks.cpp | 991 const Memory* s = reinterpret_cast<const Memory*>(src); in ANeuralNetworksMemory_copy() 992 const Memory* d = reinterpret_cast<const Memory*>(dst); in ANeuralNetworksMemory_copy() 993 return Memory::copy(*s, *d); in ANeuralNetworksMemory_copy() 1027 Memory* m = reinterpret_cast<Memory*>(memory); in ANeuralNetworksMemory_free() 1094 const Memory* mem = reinterpret_cast<const Memory*>(memory); in ANeuralNetworksModel_setOperandValueFromMemory() 1305 const Memory* m = reinterpret_cast<const Memory*>(memory); in ANeuralNetworksExecution_setInputFromMemory() 1333 const Memory* m = reinterpret_cast<const Memory*>(memory); in ANeuralNetworksExecution_setOutputFromMemory()
|
D | ModelBuilder.h | 37 class Memory; variable 47 int setOperandValueFromMemory(uint32_t index, const Memory* memory, uint32_t offset,
|
D | ExecutionPlan.h | 53 class Memory; variable 161 std::shared_ptr<StepExecutor> stepExecutor, const Memory* temporaryMemory, 407 const Memory* memory;
|
D | Android.bp | 50 "Memory.cpp",
|
/frameworks/base/core/java/android/os/ |
D | FileBridge.java | 28 import libcore.io.Memory; 100 final int cmd = Memory.peekInt(temp, 0, ByteOrder.BIG_ENDIAN); in run() 103 int len = Memory.peekInt(temp, 4, ByteOrder.BIG_ENDIAN); in run() 166 Memory.pokeInt(mTemp, 0, cmd, ByteOrder.BIG_ENDIAN); in writeCommandAndBlock() 171 if (Memory.peekInt(mTemp, 0, ByteOrder.BIG_ENDIAN) == cmd) { in writeCommandAndBlock() 182 Memory.pokeInt(mTemp, 0, CMD_WRITE, ByteOrder.BIG_ENDIAN); in write() 183 Memory.pokeInt(mTemp, 4, byteCount, ByteOrder.BIG_ENDIAN); in write()
|
D | ParcelFileDescriptor.java | 55 import libcore.io.Memory; 854 Memory.pokeInt(buf, writePtr, status, ByteOrder.BIG_ENDIAN); in writeCommStatusAndClose() 888 final int status = Memory.peekInt(buf, 0, ByteOrder.BIG_ENDIAN); in readCommStatus()
|
/frameworks/ml/nn/runtime/test/ |
D | TestNeuralNetworksWrapper.h | 51 class Memory { 54 Memory(ANeuralNetworksMemory* memory) : mMemory(memory) {} in Memory() function 56 Memory(size_t size, int protect, int fd, size_t offset) { in Memory() function 61 Memory(AHardwareBuffer* buffer) { in Memory() function 66 virtual ~Memory() { ANeuralNetworksMemory_free(mMemory); } in ~Memory() 71 Memory(const Memory&) = delete; 72 Memory& operator=(const Memory&) = delete; 77 Memory(Memory&& other) { *this = std::move(other); } in Memory() function 78 Memory& operator=(Memory&& other) { 190 void setOperandValueFromMemory(uint32_t index, const Memory* memory, uint32_t offset, in setOperandValueFromMemory() [all …]
|
D | TestMemoryDomain.cpp | 214 std::pair<int, test_wrapper::Memory> allocateDeviceMemory( in allocateDeviceMemory() 233 return {n, test_wrapper::Memory(memory)}; in allocateDeviceMemory() 291 const Memory* m = reinterpret_cast<const Memory*>(memory.get()); in TEST_P() 301 const Memory* m = reinterpret_cast<const Memory*>(memory.get()); in TEST_P() 329 const Memory* m = reinterpret_cast<const Memory*>(memory.get()); in TEST_P() 339 const Memory* m = reinterpret_cast<const Memory*>(memory.get()); in TEST_P() 363 const Memory* m = reinterpret_cast<const Memory*>(memory.get()); in TEST_P() 386 const Memory* m = reinterpret_cast<const Memory*>(memory.get()); in TEST_P() 412 const Memory* m = reinterpret_cast<const Memory*>(memory.get()); in TEST_P()
|
D | TestUtils.h | 36 test_wrapper::Memory memory) in TestAshmem() 58 test_wrapper::Memory memory(length, PROT_READ | PROT_WRITE, fd, 0); in createFrom() 67 test_wrapper::Memory* get() { return &mMemory; } in get() 77 test_wrapper::Memory mMemory;
|
D | GeneratedTestUtils.h | 61 void setConstantReferenceMemory(std::unique_ptr<test_wrapper::Memory> memory) { in setConstantReferenceMemory() 67 std::unique_ptr<test_wrapper::Memory> mConstantReferenceMemory;
|
D | GeneratedTestUtils.cpp | 50 class MemoryAHWB : public Memory { 81 MemoryAHWB(AHardwareBuffer* ahwb, void* buffer) : Memory(ahwb), mAhwb(ahwb), mBuffer(buffer) {} in MemoryAHWB()
|
D | TestUnspecifiedDimensions.cpp | 108 memory = std::make_shared<Memory>(size, PROT_READ | PROT_WRITE, fd, 0); in initialize() 111 const Memory* getMemory() const { return memory.get(); } in getMemory() 116 std::shared_ptr<Memory> memory;
|
D | TestMemory.cpp | 28 using WrapperMemory = ::android::nn::test_wrapper::Memory;
|
/frameworks/ml/nn/runtime/include/ |
D | NeuralNetworksWrapper.h | 156 class Memory { 158 Memory(size_t size, int protect, int fd, size_t offset) { in Memory() function 163 Memory(AHardwareBuffer* buffer) { in Memory() function 168 ~Memory() { ANeuralNetworksMemory_free(mMemory); } in ~Memory() 173 Memory(const Memory&) = delete; 174 Memory& operator=(const Memory&) = delete; 179 Memory(Memory&& other) { *this = std::move(other); } in Memory() function 180 Memory& operator=(Memory&& other) { 264 void setOperandValueFromMemory(uint32_t index, const Memory* memory, uint32_t offset, in setOperandValueFromMemory() 440 Result setInputFromMemory(uint32_t index, const Memory* memory, uint32_t offset, [all …]
|
/frameworks/base/core/proto/android/os/ |
D | pagetypeinfo.proto | 52 // Memory zone. 70 // Memory zone.
|
D | procrank.proto | 24 // Memory usage of running processes
|
/frameworks/base/media/java/android/media/ |
D | ImageUtils.java | 24 import libcore.io.Memory; 279 Memory.memmove(dstBuffer, dstOffset, srcBuffer, srcOffset, srcByteCount); in directByteBufferCopy()
|
/frameworks/native/include/binder/ |
D | IMemory.h | 74 DECLARE_META_INTERFACE(Memory)
|
/frameworks/native/libs/binder/include/binder/ |
D | IMemory.h | 74 DECLARE_META_INTERFACE(Memory)
|