Home
last modified time | relevance | path

Searched refs:env (Results 1 – 12 of 12) 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
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 …]
Drandom_graph_test_jni.cpp482 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 …]
Dcrashtest_jni.cpp29 JNIEnv* env, jobject /* this */) { in Java_com_android_nn_crashtest_core_test_CrashingCrashTest_nativeSegViolation() argument
/test/app_compat/csuite/integration_tests/
Dcsuite_test_utils.py100 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/
Dvts_treble_platform_version_test.py55 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))
DVtsTreblePlatformVersionTest.py55 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/
Dutils.py35 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/
DBaseApiServlet.java54 ApiProxy.Environment env = ApiProxy.getCurrentEnvironment(); in init() local
56 env.getAttributes() in init()
/test/vti/test_serving/
D.gitignore13 env/
79 .env
/test/vts/
D.gitignore13 env/
79 .env
/test/framework/
D.gitignore13 env/
78 .env
/test/vts/runners/adapters/acts/
Dacts_adapter.py148 env=environ)