Home
last modified time | relevance | path

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

/test/mlts/benchmark/jni/
Dbenchmark_jni.cpp35 JNIEnv *env, jobject /* this */, jstring _nnApiDeviceName) { in Java_com_android_nn_benchmark_core_NNTestBase_hasNnApiDevice() argument
38 _nnApiDeviceName == NULL ? NULL in Java_com_android_nn_benchmark_core_NNTestBase_hasNnApiDevice()
39 : env->GetStringUTFChars(_nnApiDeviceName, NULL); in Java_com_android_nn_benchmark_core_NNTestBase_hasNnApiDevice()
55 env->ReleaseStringUTFChars(_nnApiDeviceName, nnApiDeviceName); in Java_com_android_nn_benchmark_core_NNTestBase_hasNnApiDevice()
70 jstring _nnApiDeviceName, in Java_com_android_nn_benchmark_core_NNTestBase_initModel() argument
75 _nnApiDeviceName == NULL in Java_com_android_nn_benchmark_core_NNTestBase_initModel()
77 : env->GetStringUTFChars(_nnApiDeviceName, NULL); in Java_com_android_nn_benchmark_core_NNTestBase_initModel()
87 if (_nnApiDeviceName != NULL) { in Java_com_android_nn_benchmark_core_NNTestBase_initModel()
88 env->ReleaseStringUTFChars(_nnApiDeviceName, nnApiDeviceName); in Java_com_android_nn_benchmark_core_NNTestBase_initModel()
Drandom_graph_test_jni.cpp519 JNIEnv* env, jclass /* static method */, jstring _nnApiDeviceName, in Java_com_android_nn_crashtest_core_test_RandomGraphTest_createRandomGraphGenerator() argument
523 _nnApiDeviceName ? env->GetStringUTFChars(_nnApiDeviceName, nullptr) in Java_com_android_nn_crashtest_core_test_RandomGraphTest_createRandomGraphGenerator()
532 env->ReleaseStringUTFChars(_nnApiDeviceName, nnApiDeviceName); in Java_com_android_nn_crashtest_core_test_RandomGraphTest_createRandomGraphGenerator()
535 env->ReleaseStringUTFChars(_nnApiDeviceName, nnApiDeviceName); in Java_com_android_nn_crashtest_core_test_RandomGraphTest_createRandomGraphGenerator()