/test/mlts/benchmark/jni/ |
D | benchmark_jni.cpp | 37 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 …]
|
D | random_graph_test_jni.cpp | 480 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 …]
|
D | crashtest_jni.cpp | 29 JNIEnv* env, jobject /* this */) { in Java_com_android_nn_crashtest_core_test_CrashingCrashTest_nativeSegViolation() argument
|
/test/framework/host_setup/ |
D | fabfile.py | 22 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/ |
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/fuzz/kernel/syzkaller/ |
D | syzkaller_test.py | 22 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)
|
D | syzkaller_test_case.py | 21 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/ |
D | BaseApiServlet.java | 54 ApiProxy.Environment env = ApiProxy.getCurrentEnvironment(); in init() local 56 env.getAttributes() in init()
|
/test/vts/runners/adapters/acts/ |
D | acts_adapter.py | 148 env=environ)
|