Searched refs:ANeuralNetworks_getDeviceCount (Results 1 – 13 of 13) sorted by relevance
48 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()
54 if (nnapi->ANeuralNetworks_getDeviceCount != nullptr) { in GetDeviceNamesList()57 nnapi->ANeuralNetworks_getDeviceCount(&num_devices); in GetDeviceNamesList()
51 nnapi_->ANeuralNetworks_getDeviceCount = [](uint32_t* numDevices) -> int { in GetDeviceCountReturns()59 nnapi_->ANeuralNetworks_getDeviceCount = [](uint32_t* numDevices) -> int { in GetDeviceCountReturnsCount()66 nnapi_->ANeuralNetworks_getDeviceCount = stub; in StubGetDeviceCountWith()
96 bool has_12 = nnapi.ANeuralNetworks_getDeviceCount != nullptr; in CalculateAndroidSdkVersion()244 LOAD_FUNCTION_OPTIONAL(libneuralnetworks, ANeuralNetworks_getDeviceCount); in LoadNnApi()466 ASSIGN_SL_FUNCTION_TO_NNAPI(ANeuralNetworks_getDeviceCount); in CreateNnApiFromSupportLibrary()
64 nnapi_->ANeuralNetworks_getDeviceCount = nullptr; in SetAndroidSdkVersion()
725 inline int ANeuralNetworks_getDeviceCount(uint32_t* numDevices) { in ANeuralNetworks_getDeviceCount() function726 LOAD_FUNCTION(ANeuralNetworks_getDeviceCount); in ANeuralNetworks_getDeviceCount()
120 EXPECT_EQ(nnapi->ANeuralNetworks_getDeviceCount, nullptr); in TEST()
614 int (*ANeuralNetworks_getDeviceCount)(uint32_t* numDevices); member
190 res = nnapi_sl_handle->getFL5()->ANeuralNetworks_getDeviceCount(&count); in TEST_F()
256 sl_driver_impl.ANeuralNetworks_getDeviceCount = in GetNnApiSlDriverImpl()
248 supportLibraryImplementation->ANeuralNetworks_getDeviceCount = in Java_org_tensorflow_lite_nnapi_NnApiDelegateTest_getMockSlHandle()
1301 int (*ANeuralNetworks_getDeviceCount)(uint32_t* numDevices); member
562 nnapi->ANeuralNetworks_getDeviceCount(&num_devices); in GetDeviceHandle()734 nnapi->ANeuralNetworks_getDeviceCount(&num_devices); in GetTargetDevices()6731 context, nnapi->ANeuralNetworks_getDeviceCount(&device_count), in DoPrepare()