Home
last modified time | relevance | path

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

/test/mlts/benchmark/jni/
Dbenchmark_jni.cpp37 JNIEnv *env, in Java_com_android_nn_benchmark_core_NNTestBase_initModel() argument
45 const char *modelFileName = env->GetStringUTFChars(_modelFileName, NULL); in Java_com_android_nn_benchmark_core_NNTestBase_initModel()
49 : env->GetStringUTFChars(_nnApiDeviceName, NULL); in Java_com_android_nn_benchmark_core_NNTestBase_initModel()
53 : env->GetStringUTFChars(_nnApiCacheDir, NULL); in Java_com_android_nn_benchmark_core_NNTestBase_initModel()
58 env->ReleaseStringUTFChars(_modelFileName, modelFileName); in Java_com_android_nn_benchmark_core_NNTestBase_initModel()
60 env->ReleaseStringUTFChars(_nnApiDeviceName, nnApiDeviceName); in Java_com_android_nn_benchmark_core_NNTestBase_initModel()
64 jclass nnapiFailureClass = env->FindClass( in Java_com_android_nn_benchmark_core_NNTestBase_initModel()
67 env->GetMethodID(nnapiFailureClass, "<init>", "(I)V"); in Java_com_android_nn_benchmark_core_NNTestBase_initModel()
69 env->NewObject(nnapiFailureClass, constructor, nnapiErrno); in Java_com_android_nn_benchmark_core_NNTestBase_initModel()
70 env->Throw(static_cast<jthrowable>(exception)); in Java_com_android_nn_benchmark_core_NNTestBase_initModel()
[all …]
Drandom_graph_test_jni.cpp480 JNIEnv* env, jclass /* static method */, jlong _generatorHandle, in Java_com_android_nn_crashtest_core_RandomGraphTest_runRandomModel() argument
517 JNIEnv* env, jclass /* static method */, jstring _nnApiDeviceName, in com_android_nn_crashtest_core_RandomGraphTest_RandomGraphTest_createRandomGraphGenerator() argument
521 _nnApiDeviceName ? env->GetStringUTFChars(_nnApiDeviceName, nullptr) in com_android_nn_crashtest_core_RandomGraphTest_RandomGraphTest_createRandomGraphGenerator()
530 env->ReleaseStringUTFChars(_nnApiDeviceName, nnApiDeviceName); in com_android_nn_crashtest_core_RandomGraphTest_RandomGraphTest_createRandomGraphGenerator()
533 env->ReleaseStringUTFChars(_nnApiDeviceName, nnApiDeviceName); in com_android_nn_crashtest_core_RandomGraphTest_RandomGraphTest_createRandomGraphGenerator()
538 const char* testNameBuf = env->GetStringUTFChars(_testName, nullptr); in com_android_nn_crashtest_core_RandomGraphTest_RandomGraphTest_createRandomGraphGenerator()
540 env->ReleaseStringUTFChars(_testName, testNameBuf); in com_android_nn_crashtest_core_RandomGraphTest_RandomGraphTest_createRandomGraphGenerator()
546 env->GetStringUTFChars(_nnapiLogPath, nullptr); in com_android_nn_crashtest_core_RandomGraphTest_RandomGraphTest_createRandomGraphGenerator()
548 env->ReleaseStringUTFChars(_nnapiLogPath, nnapiLogPathTmp); in com_android_nn_crashtest_core_RandomGraphTest_RandomGraphTest_createRandomGraphGenerator()
554 env->GetStringUTFChars(_failedModelDumpPath, nullptr); in com_android_nn_crashtest_core_RandomGraphTest_RandomGraphTest_createRandomGraphGenerator()
[all …]
Dcrashtest_jni.cpp29 JNIEnv* env, jobject /* this */) { in Java_com_android_nn_crashtest_core_test_CrashingCrashTest_nativeSegViolation() argument
/test/framework/host_setup/
Dfabfile.py22 from fabric.api import env
54 env.password = password
70 env.hosts = hosts_module.EmitHostList()
77 env.key_filename = "~/.ssh/google_compute_engine"
84 env.hosts.append("%s@%s" % (account, line.strip().split()[-2]))
331 "Reset adb server daemon on host %s (y/n)? " % env.host)
342 run("screen -S %s -X stuff \"%s\"" % (new_screen_name, env.password))
/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/fuzz/kernel/syzkaller/
Dsyzkaller_test.py22 import environment_variables as env namespace
61 self._env['syzkaller_dir'] = os.path.join(_temp_dir, env.syzkaller_dir)
63 env.syzkaller_bin_dir)
65 env.syzkaller_work_dir)
66 self._env['template_cfg'] = os.path.join(_temp_dir, env.template_cfg)
Dsyzkaller_test_case.py21 import environment_variables as env namespace
40 def __init__(self, env, device_target, device_code, device_type, reproduce, argument
42 self._env = env
/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/vts/runners/adapters/acts/
Dacts_adapter.py148 env=environ)