Searched refs:ANeuralNetworks_getDeviceCount (Results 1 – 9 of 9) 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()
50 if (NnApiImplementation()->ANeuralNetworks_getDeviceCount != nullptr) { in GetDeviceNamesList()53 NnApiImplementation()->ANeuralNetworks_getDeviceCount(&num_devices); in GetDeviceNamesList()
49 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()
100 bool has_12 = nnapi.ANeuralNetworks_getDeviceCount != nullptr; in CalculateAndroidSdkVersion()226 LOAD_FUNCTION_OPTIONAL(libneuralnetworks, ANeuralNetworks_getDeviceCount); in LoadNnApi()
62 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()
607 int (*ANeuralNetworks_getDeviceCount)(uint32_t* numDevices); member
120 EXPECT_EQ(nnapi->ANeuralNetworks_getDeviceCount, nullptr); in TEST()
486 nnapi->ANeuralNetworks_getDeviceCount(&num_devices); in GetDeviceHandle()628 nnapi->ANeuralNetworks_getDeviceCount(&num_devices); in GetTargetDevices()5092 context, nnapi->ANeuralNetworks_getDeviceCount(&device_count), in DoPrepare()