Home
last modified time | relevance | path

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

12

/tools/test/graphicsbenchmark/benchmark_libs/
Dagq.cpp54 JNIEnv* env = getJniEnv(); in createIntent() local
55 jclass intentClass = env->FindClass("android/content/Intent"); in createIntent()
56 jmethodID constructor = env->GetMethodID(intentClass, "<init>", "(Ljava/lang/String;)V"); in createIntent()
57 jobject intent = env->NewObject(intentClass, constructor, env->NewStringUTF(INTENT_START)); in createIntent()
59 env->GetMethodID( in createIntent()
63 env->CallObjectMethod(intent, set_type, env->NewStringUTF("text/plain")); in createIntent()
65 env->GetMethodID( in createIntent()
71 env->CallObjectMethod(intent, put_extra, env->NewStringUTF("timestamp"), timestamp); in createIntent()
87 JNIEnv* env = getJniEnv(); in startLoop() local
88 jclass contextClass = env->FindClass("android/content/Context"); in startLoop()
[all …]
/tools/treble/build/sandbox/
Drbe_action.py37 env = []
38 cleanup = rbe.setup(env, sys.stdout if args.print else subprocess.DEVNULL)
41 env = rbe.env_array_to_dict(rbe.prepare_env(env))
42 env['PATH'] = os.getenv('PATH')
44 env[d] = '/tmp' # We want the logs in /tmp instead of out.
49 shell_env = ' '.join(['%s=%s' % (k,v) for k, v in env.items()])
55 bootstrap_cmd, env=env, cwd=src_root, stdout=subprocess.DEVNULL)
69 subprocess.check_call(rewrapper_cmd, env=env, cwd=src_root)
Drbe_test.py27 env = rbe.prepare_env(env=["RBE_instance=test_instance", "RBE_service=test_service"])
28 self.assertIn('USE_RBE=true', env)
29 self.assertIn('RBE_instance=test_instance', env)
30 self.assertIn('RBE_JAVAC=true', env)
31 self.assertIn('RBE_D8=true', env)
32 self.assertIn('RBE_R8=true', env)
Dbuild_android_sandboxed.py29 readonly_bind_mount=None, env=[]): argument
80 cleanup = rbe.setup(env)
81 env = rbe.prepare_env(env)
98 env=env,
203 env=args['env'],
Dnsjail.py67 env=[], argument
129 env=env,
160 env=[], argument
300 for var in env:
489 env=args.env,
Drbe.py68 def prepare_env(env): argument
90 prepared_env.update(env_array_to_dict(env))
120 def setup(env, build_log=subprocess.DEVNULL): argument
132 env_dict = env_array_to_dict(env)
164 env.append("RBE_HTTP_PROXY=10.1.2.1:%i" % port)
Dbuild_android_sandboxed_test.py192 env=['first_env_var=first_value', 'second_env_var=second_value'])
/tools/test/graphicsbenchmark/functional_tests/java/src/cpp/
Dnative_choreo_activity.cpp143 Java_com_android_game_qualification_tests_ChoreoTestActivity_runTheTest(JNIEnv* env, jobject, jobje… in Java_com_android_game_qualification_tests_ChoreoTestActivity_runTheTest() argument
144 theWindow = ANativeWindow_fromSurface(env, surface); in Java_com_android_game_qualification_tests_ChoreoTestActivity_runTheTest()
182 Java_com_android_game_qualification_tests_ChoreoTestActivity_getFrameIntervals(JNIEnv* env, jobject… in Java_com_android_game_qualification_tests_ChoreoTestActivity_getFrameIntervals() argument
183 jclass arrayListClass = env->FindClass("java/util/ArrayList"); in Java_com_android_game_qualification_tests_ChoreoTestActivity_getFrameIntervals()
184 jmethodID arrayListConstructor = env->GetMethodID(arrayListClass, "<init>", "()V"); in Java_com_android_game_qualification_tests_ChoreoTestActivity_getFrameIntervals()
185 jmethodID addMethod = env->GetMethodID(arrayListClass, "add", "(Ljava/lang/Object;)Z"); in Java_com_android_game_qualification_tests_ChoreoTestActivity_getFrameIntervals()
187 jclass longClass = env->FindClass("java/lang/Long"); in Java_com_android_game_qualification_tests_ChoreoTestActivity_getFrameIntervals()
188 jmethodID longValueOf = env->GetStaticMethodID(longClass, "valueOf", "(J)Ljava/lang/Long;"); in Java_com_android_game_qualification_tests_ChoreoTestActivity_getFrameIntervals()
190 jobject list = env->NewObject(arrayListClass, arrayListConstructor); in Java_com_android_game_qualification_tests_ChoreoTestActivity_getFrameIntervals()
196 jobject javaInterval = env->CallStaticObjectMethod(longClass, longValueOf, interval); in Java_com_android_game_qualification_tests_ChoreoTestActivity_getFrameIntervals()
[all …]
Dsurface_flinger_test_activity.cpp46 Java_com_android_game_qualification_tests_SurfaceFlingerTestActivity_initDisplay(JNIEnv* env, jobje… in Java_com_android_game_qualification_tests_SurfaceFlingerTestActivity_initDisplay() argument
66 ANativeWindow* window = ANativeWindow_fromSurface(env, surface); in Java_com_android_game_qualification_tests_SurfaceFlingerTestActivity_initDisplay()
119 Java_com_android_game_qualification_tests_SurfaceFlingerTestActivity_getFrameData(JNIEnv* env, jobj… in Java_com_android_game_qualification_tests_SurfaceFlingerTestActivity_getFrameData() argument
124 jlongArray result = env->NewLongArray(2); in Java_com_android_game_qualification_tests_SurfaceFlingerTestActivity_getFrameData()
125 env->SetLongArrayRegion(result, 0, 2, buffer); in Java_com_android_game_qualification_tests_SurfaceFlingerTestActivity_getFrameData()
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/ssh/
Dformatter.py164 def format_remote_command(self, command, env): argument
177 if not env:
181 for name in env:
182 value = env[name]
191 env, argument
208 remote_command = self.format_remote_command(command, env)
Dconnection.py157 env=None, argument
186 if env is None:
187 env = {}
203 full_command, env, self._settings, extra_options=extra_options)
276 self.run(command, timeout, ignore_status, env, io_encoding,
280 def run_async(self, command, env=None): argument
302 result = self.run(command, env=env)
/tools/test/connectivity/acts/framework/acts/libs/proc/
Djob.py109 env=None, argument
136 env=env,
171 def run_async(command, env=None): argument
190 env=env,
/tools/repohooks/rh/
Dutils.py263 shell=False, env=None, extra_env=None, combine_stdout_stderr=False, argument
370 env = env.copy() if env is not None else os.environ.copy()
371 env.update(extra_env if extra_env else {})
378 stderr=popen_stderr, shell=False, env=env,
/tools/test/openhst/
DMakefile21 PROTOC_DIR := ./env
52 python -m venv .\env
59 python -m venv env
63 python -m venv env
DREADME.md36 1. source env/bin/activate
44 1. .\env\Scripts\activate
47 1. Decompress protoc-3.11.4-win64.zip and copy bin/protoc.exe to env/ folder
48 1. Decompress protoc-3.11.4-win64.zip and copy include/* under env/include folder
/tools/acloud/setup/
Dgcp_setup_runner_test.py237 env=self.gcloud_runner._env, stderr=-2),
240 env=self.gcloud_runner._env, stderr=-2)])
250 env=self.gcloud_runner._env, stderr=-2)])
264 env=self.gcloud_runner._env)
Dgcp_setup_runner.py170 env=self._env, **kwargs)
184 env=self._env, **kwargs)
/tools/acloud/create/
Davd_spec.py663 env = os.environ.copy()
664 env.pop("PYTHONPATH", None)
669 stderr=subprocess.STDOUT, env=env,
/tools/asuite/atest/
Datest_utils.py191 stderr=subprocess.STDOUT, env=env_vars)
289 env=full_env_vars)
1053 env=env_vars,
/tools/asuite/atest-py2/
Datest_utils.py120 stderr=subprocess.STDOUT, env=env_vars)
183 env=full_env_vars)
/tools/repohooks/
DPREUPLOAD.cfg8 config_test = ./rh/config_test.py --check-env --commit-id ${PREUPLOAD_COMMIT} --commit-msg ${PREUPL…
/tools/test/connectivity/tools/
D.gitignore12 env/
/tools/test/connectivity/acts_tests/
D.gitignore12 env/
/tools/test/connectivity/acts/
D.gitignore12 env/
/tools/asuite/atest/test_runners/
Datest_tf_test_runner_unittest.py54 env=RUN_ENV_STR,
401 [RUN_CMD.format(env=RUN_ENV_STR,
788 [RUN_CMD.format(env=RUN_ENV_STR,

12