Lines Matching refs:numDevices
864 uint32_t numDevices = 0; in TEST_F() local
865 EXPECT_EQ(ANeuralNetworks_getDeviceCount(&numDevices), ANEURALNETWORKS_NO_ERROR); in TEST_F()
867 if (numDevices > 0) { in TEST_F()
903 uint32_t numDevices = 0; in TEST_F() local
904 EXPECT_EQ(ANeuralNetworks_getDeviceCount(&numDevices), ANEURALNETWORKS_NO_ERROR); in TEST_F()
908 if (numDevices > 0) { in TEST_F()
2204 uint32_t numDevices = 0; in TEST() local
2205 EXPECT_EQ(ANeuralNetworks_getDeviceCount(&numDevices), ANEURALNETWORKS_NO_ERROR); in TEST()
2210 uint32_t numDevices = 0; in TEST() local
2211 EXPECT_EQ(ANeuralNetworks_getDeviceCount(&numDevices), ANEURALNETWORKS_NO_ERROR); in TEST()
2214 for (uint32_t i = 0; i < numDevices; i++) { in TEST()
2220 EXPECT_EQ(ANeuralNetworks_getDevice(numDevices, &device), ANEURALNETWORKS_BAD_DATA); in TEST()
2224 uint32_t numDevices = 0; in deviceStringCheck() local
2225 EXPECT_EQ(ANeuralNetworks_getDeviceCount(&numDevices), ANEURALNETWORKS_NO_ERROR); in deviceStringCheck()
2228 for (uint32_t i = 0; i < numDevices; i++) { in deviceStringCheck()
2244 uint32_t numDevices = 0; in TEST() local
2245 EXPECT_EQ(ANeuralNetworks_getDeviceCount(&numDevices), ANEURALNETWORKS_NO_ERROR); in TEST()
2248 for (uint32_t i = 0; i < numDevices; i++) { in TEST()
2264 uint32_t numDevices = 0; in TEST() local
2265 EXPECT_EQ(ANeuralNetworks_getDeviceCount(&numDevices), ANEURALNETWORKS_NO_ERROR); in TEST()
2268 for (uint32_t i = 0; i < numDevices; i++) { in TEST()
2284 uint32_t numDevices = 0; in TEST() local
2285 EXPECT_EQ(ANeuralNetworks_getDeviceCount(&numDevices), ANEURALNETWORKS_NO_ERROR); in TEST()
2291 for (uint32_t i = 0; i < numDevices; i++) { in TEST()
2307 uint32_t numDevices = 0; in TEST() local
2308 EXPECT_EQ(ANeuralNetworks_getDeviceCount(&numDevices), ANEURALNETWORKS_NO_ERROR); in TEST()
2310 for (uint32_t i = 0; i < numDevices; i++) { in TEST()
2325 uint32_t numDevices = 0; in SetUp() local
2326 EXPECT_EQ(ANeuralNetworks_getDeviceCount(&numDevices), ANEURALNETWORKS_NO_ERROR); in SetUp()
2328 if (numDevices > 0) { in SetUp()
2443 uint32_t numDevices = 0; in SetUp() local
2444 EXPECT_EQ(ANeuralNetworks_getDeviceCount(&numDevices), ANEURALNETWORKS_NO_ERROR); in SetUp()
2446 if (numDevices > 1) { in SetUp()
2541 uint32_t numDevices = 0; in SetUp() local
2542 EXPECT_EQ(ANeuralNetworks_getDeviceCount(&numDevices), ANEURALNETWORKS_NO_ERROR); in SetUp()
2543 for (uint32_t i = 0; i < numDevices; i++) { in SetUp()
3361 uint32_t numDevices = 0; in TEST() local
3362 EXPECT_EQ(ANeuralNetworks_getDeviceCount(&numDevices), ANEURALNETWORKS_NO_ERROR); in TEST()
3364 for (uint32_t i = 0; i < numDevices; i++) { in TEST()