Home
last modified time | relevance | path

Searched refs:Mapping (Results 1 – 13 of 13) sorted by relevance

/packages/modules/NeuralNetworks/common/types/src/
DSharedMemoryAndroid.cpp81 GeneralResult<Mapping> map(const Memory::Ashmem& memory) { in map()
92 return Mapping{ in map()
118 GeneralResult<Mapping> map(const Memory::Ashmem& /*memory*/) { in map()
154 GeneralResult<Mapping> map(const Memory::Fd& memory) { in map()
171 return Mapping{.pointer = pointer, .size = memory.size, .context = std::move(context)}; in map()
174 GeneralResult<Mapping> map(const Memory::HardwareBuffer& memory) { in map()
198 return Mapping{.pointer = data, .size = size, .context = std::move(sharedScoped)}; in map()
203 return (NN_ERROR() << "map failed").operator nn::GeneralResult<Mapping>(); in map()
207 GeneralResult<Mapping> map(const Memory::Unknown& /*memory*/) { in map()
279 GeneralResult<Mapping> map(const SharedMemory& memory) { in map()
[all …]
/packages/modules/NeuralNetworks/common/types/include/nnapi/
DSharedMemory.h104 struct Mapping { struct
110 GeneralResult<Mapping> map(const SharedMemory& memory); argument
112 bool flush(const Mapping& mapping);
154 Mapping mapping) in RelocationTracker()
167 const Mapping kMapping;
/packages/modules/NeuralNetworks/runtime/
DMemory.h285 MemoryAshmem(SharedMemory memory, Mapping mapped);
288 const Mapping kMapping;
339 MemoryRuntimeAHWB(SharedMemory memory, Mapping mapping);
342 const Mapping kMapping;
DMemory.cpp539 MemoryAshmem::MemoryAshmem(SharedMemory memory, Mapping mapping) in MemoryAshmem()
623 MemoryRuntimeAHWB::MemoryRuntimeAHWB(SharedMemory memory, Mapping mapping) in MemoryRuntimeAHWB()
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder_client_ndk.h114 struct Mapping { struct
124 std::vector<Mapping>* mappings); argument
155 static void SetupDNSServers(unsigned numServers, const std::vector<Mapping>& mappings,
Ddns_responder_client_ndk.cpp59 std::vector<Mapping>* mappings) { in SetupMappings()
141 void DnsResponderClient::SetupDNSServers(unsigned numServers, const std::vector<Mapping>& mappings, in SetupDNSServers()
/packages/modules/NeuralNetworks/runtime/operation_converters/
DSubGraphContext.cpp108 const Mapping& SubGraphContext::getMapping(uint32_t poolIndex) { in getMapping()
114 GeneralResult<Mapping> mapping = map(memory); in getMapping()
131 const Mapping& mapping = getMapping(operand.location.poolIndex); in getConstantPointerAndLength()
DSubGraphContext.h72 const Mapping& getMapping(uint32_t poolIndex);
89 std::vector<Mapping> mMappings;
/packages/modules/DnsResolver/tests/
Dresolv_stress_test.cpp41 std::vector<DnsResponderClient::DnsResponderClient::Mapping> mappings; in RunGetAddrInfoStressTest()
Dresolv_integration_test.cpp671 std::vector<DnsResponderClient::Mapping> mappings; in TEST_F()
675 const DnsResponderClient::Mapping& mapping = mappings[0]; in TEST_F()
1885 std::vector<DnsResponderClient::Mapping> mappings; in TEST_F()
/packages/apps/Settings/protos/
Dnetwork_mode_choices.proto77 // Mapping to popup menu categories.
/packages/modules/NeuralNetworks/common/
DCpuExecutor.cpp289 RunTimePoolInfoImpl(SharedMemory memory, Mapping mapping);
300 const Mapping mMapping;
303 RunTimePoolInfo::RunTimePoolInfoImpl::RunTimePoolInfoImpl(SharedMemory memory, Mapping mapping) in RunTimePoolInfoImpl()
340 auto mapping = Mapping{.pointer = buffer, .size = size}; in createFromExistingBuffer()
/packages/modules/Wifi/service/proto/src/
Dmetrics.proto94 // Mapping of error codes to the number of times that scans resulted
123 // Mapping of system state to the number of times that scans were requested in
139 // Mapping of Error/Success codes to the number of background scans that resulted in it
142 // Mapping of system state to the number of times that Background scans were requested in that