Home
last modified time | relevance | path

Searched refs:ANeuralNetworks_getDeviceCount (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/lite/nnapi/
Dnnapi_handler_test.cc48 ASSERT_THAT(nnapi->ANeuralNetworks_getDeviceCount, NotNull()); in TEST_F()
51 nnapi->ANeuralNetworks_getDeviceCount(&device_count); in TEST_F()
65 EXPECT_THAT(nnapi_orig_copy.ANeuralNetworks_getDeviceCount, in TEST_F()
66 Ne(NnApiImplementation()->ANeuralNetworks_getDeviceCount)); in TEST_F()
76 device_count_ptr = nnapi->ANeuralNetworks_getDeviceCount; in TEST_F()
80 return NnApiPassthroughInstance()->ANeuralNetworks_getDeviceCount == in TEST_F()
85 EXPECT_THAT(nnapi->ANeuralNetworks_getDeviceCount(&device_count), Eq(1)); in TEST_F()
104 EXPECT_THAT(nnapi->ANeuralNetworks_getDeviceCount, IsNull()); in TEST_F()
146 EXPECT_THAT(nnapi->ANeuralNetworks_getDeviceCount, IsNull()); in TEST_F()
207 EXPECT_NNAPI_MEMBER_EQ(ANeuralNetworks_getDeviceCount); in ExpectEquals()
Dnnapi_util.cc50 if (NnApiImplementation()->ANeuralNetworks_getDeviceCount != nullptr) { in GetDeviceNamesList()
53 NnApiImplementation()->ANeuralNetworks_getDeviceCount(&num_devices); in GetDeviceNamesList()
Dnnapi_handler.h49 nnapi_->ANeuralNetworks_getDeviceCount = [](uint32_t* numDevices) -> int { in GetDeviceCountReturns()
57 nnapi_->ANeuralNetworks_getDeviceCount = [](uint32_t* numDevices) -> int { in GetDeviceCountReturnsCount()
64 nnapi_->ANeuralNetworks_getDeviceCount = stub; in StubGetDeviceCountWith()
Dnnapi_implementation.cc100 bool has_12 = nnapi.ANeuralNetworks_getDeviceCount != nullptr; in CalculateAndroidSdkVersion()
226 LOAD_FUNCTION_OPTIONAL(libneuralnetworks, ANeuralNetworks_getDeviceCount); in LoadNnApi()
Dnnapi_handler.cc62 nnapi_->ANeuralNetworks_getDeviceCount = nullptr; in SetAndroidSdkVersion()
DNeuralNetworksShim.h725 inline int ANeuralNetworks_getDeviceCount(uint32_t* numDevices) { in ANeuralNetworks_getDeviceCount() function
726 LOAD_FUNCTION(ANeuralNetworks_getDeviceCount); in ANeuralNetworks_getDeviceCount()
Dnnapi_implementation.h607 int (*ANeuralNetworks_getDeviceCount)(uint32_t* numDevices); member
Dnnapi_implementation_test.cc120 EXPECT_EQ(nnapi->ANeuralNetworks_getDeviceCount, nullptr); in TEST()
/external/tensorflow/tensorflow/lite/delegates/nnapi/
Dnnapi_delegate.cc486 nnapi->ANeuralNetworks_getDeviceCount(&num_devices); in GetDeviceHandle()
628 nnapi->ANeuralNetworks_getDeviceCount(&num_devices); in GetTargetDevices()
5092 context, nnapi->ANeuralNetworks_getDeviceCount(&device_count), in DoPrepare()