Searched refs:NnApiImplementation (Results 1 – 14 of 14) sorted by relevance
50 if (NnApiImplementation()->ANeuralNetworks_getDeviceCount != nullptr) { in GetDeviceNamesList()53 NnApiImplementation()->ANeuralNetworks_getDeviceCount(&num_devices); in GetDeviceNamesList()58 NnApiImplementation()->ANeuralNetworks_getDevice(i, &device); in GetDeviceNamesList()59 NnApiImplementation()->ANeuralNetworksDevice_getName(device, &buffer); in GetDeviceNamesList()
39 const NnApi* nnapi = NnApiImplementation(); in TEST_F()56 NnApi nnapi_orig_copy = *NnApiImplementation(); in TEST_F()66 Ne(NnApiImplementation()->ANeuralNetworks_getDeviceCount)); in TEST_F()70 ExpectEquals(nnapi_orig_copy, *NnApiImplementation()); in TEST_F()75 const NnApi* nnapi = NnApiImplementation(); in TEST_F()100 const NnApi* nnapi = NnApiImplementation(); in TEST_F()142 const NnApi* nnapi = NnApiImplementation(); in TEST_F()
35 static const NnApi orig_nnapi_copy = *NnApiImplementation(); in NnApiPassthroughInstance()44 static NnApiHandler handler{const_cast<NnApi*>(NnApiImplementation())}; in Instance()
17 const NnApi* NnApiImplementation() { in NnApiImplementation() function
20 TEST(NnapiLibTest, NnApiImplementation) { in TEST() argument21 const NnApi* nnapi = NnApiImplementation(); in TEST()
1667 const NnApi* NnApiImplementation();
305 const NnApi* NnApiImplementation() { in NnApiImplementation() function
85 nnapi_ = *NnApiImplementation(); in SetUp()
253 NNAPIDelegateKernel() : NNAPIDelegateKernel(NnApiImplementation()) {} in NNAPIDelegateKernel()
351 if (!NnApiImplementation()->ANeuralNetworksDevice_getName) { in TEST()413 if (!NnApiImplementation()->ASharedMemory_create || in TEST()414 !NnApiImplementation()->ANeuralNetworksMemory_createFromFd) { in TEST()429 NnApiImplementation()->ASharedMemory_create("input1", kInput1ByteSize); in TEST()436 int result = NnApiImplementation()->ANeuralNetworksMemory_createFromFd( in TEST()
4816 : StatefulNnApiDelegate(NnApiImplementation(), options) {} in StatefulNnApiDelegate()
168 const auto* nnapi_impl = NnApiImplementation(); in CreateTfLiteDelegate()
63 nnapi_ = const_cast<NnApi*>(NnApiImplementation()); in SetUp()
361 const NnApi* nnapi = NnApiImplementation(); in ExpectOpAcceleratedWithNnapi()