Home
last modified time | relevance | path

Searched refs:env (Results 1 – 25 of 46) 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/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/treble/build/sandbox/
Drbe_action.py40 env = rbe.env_array_to_dict(rbe.prepare_env([]))
41 env['PATH'] = os.getenv('PATH')
43 env[d] = '/tmp' # We want the logs in /tmp instead of out.
48 shell_env = ' '.join(['%s=%s' % (k,v) for k, v in env.items()])
54 bootstrap_cmd, env=env, cwd=src_root, stdout=subprocess.DEVNULL)
68 subprocess.check_call(rewrapper_cmd, env=env, cwd=src_root)
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
127 env=env,
157 env=[], argument
295 for var in env:
475 env=args.env)
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)
Drbe.py66 def prepare_env(env): argument
88 prepared_env.update(env_array_to_dict(env))
118 def setup(env, build_log=subprocess.DEVNULL): argument
130 env_dict = env_array_to_dict(env)
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/ssh/
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)
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)
/tools/repohooks/rh/
Dutils.py267 shell=False, env=None, extra_env=None, combine_stdout_stderr=False, argument
374 env = env.copy() if env is not None else os.environ.copy()
375 env.update(extra_env if extra_env else {})
382 stderr=popen_stderr, shell=False, 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/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/bin folder.
48 1. Decompress protoc-3.11.4-win64.zip and copy include/* under env/include folder
/tools/acloud/setup/
Dgcp_setup_runner_test.py236 env=self.gcloud_runner._env, stderr=-2),
239 env=self.gcloud_runner._env, stderr=-2)])
249 env=self.gcloud_runner._env, stderr=-2)])
263 env=self.gcloud_runner._env)
Dgcp_setup_runner.py170 env=self._env, **kwargs)
184 env=self._env, **kwargs)
/tools/acloud/create/
Davd_spec.py638 env = os.environ.copy()
639 env.pop("PYTHONPATH", None)
644 stderr=subprocess.STDOUT, env=env)
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterLogSaver.java296 Map<String, String> env = new HashMap<>(); in appendFilesToContext() local
297 env.put("create", "true"); in appendFilesToContext()
298 try (FileSystem zip = FileSystems.newFileSystem(uri, env)) { in appendFilesToContext() argument
/tools/repohooks/
DPREUPLOAD.cfg13 py2_config_test = python2 ./rh/config_test.py --check-env --commit-id ${PREUPLOAD_COMMIT} --commit-…
14 py3_config_test = python3 ./rh/config_test.py --check-env --commit-id ${PREUPLOAD_COMMIT} --commit-…
/tools/tradefederation/core/atest/
Datest_utils.py120 stderr=subprocess.STDOUT, env=env_vars)
183 env=full_env_vars)
/tools/asuite/atest/
Datest_utils.py139 stderr=subprocess.STDOUT, env=env_vars)
202 env=full_env_vars)
/tools/acloud/list/
Dinstance.py403 env=cvd_env)
441 stderr=dev_null, stdout=dev_null, shell=True, env=cvd_env)
/tools/apksig/src/apksigner/java/com/android/apksigner/
Dhelp_lineage.txt60 env:<name> password provided in the named
79 env:<name> password provided in the named
Dhelp_rotate.txt63 env:<name> password provided in the named
82 env:<name> password provided in the named
/tools/asuite/atest/test_runners/
Datest_tf_test_runner_unittest.py51 env=RUN_ENV_STR,
398 [RUN_CMD.format(env=RUN_ENV_STR,

12