Home
last modified time | relevance | path

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

/cts/tests/tests/neuralnetworks/java_test/jni/
Dandroid_neuralnetworks_cts_ModelAssetTest.cpp64 std::vector<const char*> deviceNames(numDevices, nullptr); in getNnapiDeviceNames() local
75 deviceNames[i] = deviceName; in getNnapiDeviceNames()
77 return deviceNames; in getNnapiDeviceNames()
241 auto deviceNames = getNnapiDeviceNames(env); in Java_android_neuralnetworks_cts_ModelAssetTest_getNnapiDevices() local
246 jobjectArray jDeviceNames = env->NewObjectArray(deviceNames.size(), stringClass, nullptr); in Java_android_neuralnetworks_cts_ModelAssetTest_getNnapiDevices()
247 for (uint32_t i = 0; i < deviceNames.size(); i++) { in Java_android_neuralnetworks_cts_ModelAssetTest_getNnapiDevices()
248 jstring jDeviceName = env->NewStringUTF(deviceNames[i]); in Java_android_neuralnetworks_cts_ModelAssetTest_getNnapiDevices()