/test/mlts/benchmark/jni/ |
D | benchmark_jni.cpp | 35 JNIEnv *env, jobject /* this */, jstring _nnApiDeviceName) { in Java_com_android_nn_benchmark_core_NNTestBase_hasNnApiDevice() argument 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() 65 JNIEnv *env, in Java_com_android_nn_benchmark_core_NNTestBase_initModel() argument 73 const char *modelFileName = env->GetStringUTFChars(_modelFileName, NULL); in Java_com_android_nn_benchmark_core_NNTestBase_initModel() 77 : env->GetStringUTFChars(_nnApiDeviceName, NULL); in Java_com_android_nn_benchmark_core_NNTestBase_initModel() 81 : env->GetStringUTFChars(_nnApiCacheDir, NULL); in Java_com_android_nn_benchmark_core_NNTestBase_initModel() 86 env->ReleaseStringUTFChars(_modelFileName, modelFileName); in Java_com_android_nn_benchmark_core_NNTestBase_initModel() 88 env->ReleaseStringUTFChars(_nnApiDeviceName, nnApiDeviceName); in Java_com_android_nn_benchmark_core_NNTestBase_initModel() 92 jclass nnapiFailureClass = env->FindClass( in Java_com_android_nn_benchmark_core_NNTestBase_initModel() [all …]
|
D | random_graph_test_jni.cpp | 482 JNIEnv* env, jclass /* static method */, jlong _generatorHandle, in Java_com_android_nn_crashtest_core_test_RandomGraphTest_runRandomModel() argument 519 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() 540 const char* testNameBuf = env->GetStringUTFChars(_testName, nullptr); in Java_com_android_nn_crashtest_core_test_RandomGraphTest_createRandomGraphGenerator() 542 env->ReleaseStringUTFChars(_testName, testNameBuf); in Java_com_android_nn_crashtest_core_test_RandomGraphTest_createRandomGraphGenerator() 548 env->GetStringUTFChars(_nnapiLogPath, nullptr); in Java_com_android_nn_crashtest_core_test_RandomGraphTest_createRandomGraphGenerator() 550 env->ReleaseStringUTFChars(_nnapiLogPath, nnapiLogPathTmp); in Java_com_android_nn_crashtest_core_test_RandomGraphTest_createRandomGraphGenerator() 556 env->GetStringUTFChars(_failedModelDumpPath, nullptr); in Java_com_android_nn_crashtest_core_test_RandomGraphTest_createRandomGraphGenerator() [all …]
|
D | crashtest_jni.cpp | 29 JNIEnv* env, jobject /* this */) { in Java_com_android_nn_crashtest_core_test_CrashingCrashTest_nativeSegViolation() argument
|
/test/app_compat/csuite/integration_tests/ |
D | csuite_test_utils.py | 100 env = os.environ.copy() 104 env.pop('ANDROID_BUILD_TOP', None) 105 env.pop('ANDROID_HOST_OUT', None) 109 env.pop('ANDROID_HOST_OUT_TESTCASES', None) 110 env.pop('ANDROID_TARGET_OUT_TESTCASES', None) 114 env.pop('ANDROID_SERIAL', None) 117 env['ANDROID_TARGET_OUT_TESTCASES'] = self._testcases_dir 119 return _run_command([self._launcher_binary] + flags, env=env) 210 env = kwargs.get('env', {}) 214 env_str = ['env', '-i'] + ['%s=%s' % (k, v) for k, v in env.items()]
|
/test/vts-testcase/hal/treble/platform_version/ |
D | vts_treble_platform_version_test.py | 55 def getEnv(self, env): argument 58 out, err, return_code = self.dut.Execute("printenv " + env) 61 logging.info("environment variable %s undefined", env) 66 logging.info("printenv {}:{}".format(env, result))
|
D | VtsTreblePlatformVersionTest.py | 55 def getEnv(self, env): argument 58 results = self.dut.shell.Execute("printenv " + env) 61 logging.info("environment variable %s undefined", env) 66 logging.info("printenv {}:{}".format(env, result))
|
/test/vts-testcase/vndk/ |
D | utils.py | 35 env = os.environ.copy() 36 if "ADB_COMPRESSION" not in env: 37 env["ADB_COMPRESSION"] = "0" 38 subprocess.check_call(cmd, shell=False, env=env, stdin=subprocess.PIPE,
|
/test/vti/dashboard/src/main/java/com/android/vts/api/ |
D | BaseApiServlet.java | 54 ApiProxy.Environment env = ApiProxy.getCurrentEnvironment(); in init() local 56 env.getAttributes() in init()
|
/test/vti/test_serving/ |
D | .gitignore | 13 env/ 79 .env
|
/test/vts/ |
D | .gitignore | 13 env/ 79 .env
|
/test/framework/ |
D | .gitignore | 13 env/ 78 .env
|
/test/vts/runners/adapters/acts/ |
D | acts_adapter.py | 148 env=environ)
|