/tools/test/graphicsbenchmark/benchmark_libs/ |
D | agq.cpp | 54 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/ |
D | native_choreo_activity.cpp | 143 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 …]
|
D | surface_flinger_test_activity.cpp | 46 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/ |
D | rbe_action.py | 40 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)
|
D | build_android_sandboxed.py | 29 readonly_bind_mount=None, env=[]): argument 80 cleanup = rbe.setup(env) 81 env = rbe.prepare_env(env) 98 env=env, 203 env=args['env'],
|
D | nsjail.py | 67 env=[], argument 127 env=env, 157 env=[], argument 295 for var in env: 475 env=args.env)
|
D | rbe_test.py | 27 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)
|
D | rbe.py | 66 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/ |
D | connection.py | 157 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)
|
D | formatter.py | 164 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/ |
D | utils.py | 267 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/ |
D | job.py | 109 env=None, argument 136 env=env, 171 def run_async(command, env=None): argument 190 env=env,
|
/tools/test/openhst/ |
D | Makefile | 21 PROTOC_DIR := ./env 52 python -m venv .\env 59 python -m venv env 63 python -m venv env
|
D | README.md | 36 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/ |
D | gcp_setup_runner_test.py | 236 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)
|
D | gcp_setup_runner.py | 170 env=self._env, **kwargs) 184 env=self._env, **kwargs)
|
/tools/acloud/create/ |
D | avd_spec.py | 638 env = os.environ.copy() 639 env.pop("PYTHONPATH", None) 644 stderr=subprocess.STDOUT, env=env)
|
/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | ClusterLogSaver.java | 296 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/ |
D | PREUPLOAD.cfg | 13 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/ |
D | atest_utils.py | 120 stderr=subprocess.STDOUT, env=env_vars) 183 env=full_env_vars)
|
/tools/asuite/atest/ |
D | atest_utils.py | 139 stderr=subprocess.STDOUT, env=env_vars) 202 env=full_env_vars)
|
/tools/acloud/list/ |
D | instance.py | 403 env=cvd_env) 441 stderr=dev_null, stdout=dev_null, shell=True, env=cvd_env)
|
/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | help_lineage.txt | 60 env:<name> password provided in the named 79 env:<name> password provided in the named
|
D | help_rotate.txt | 63 env:<name> password provided in the named 82 env:<name> password provided in the named
|
/tools/asuite/atest/test_runners/ |
D | atest_tf_test_runner_unittest.py | 51 env=RUN_ENV_STR, 398 [RUN_CMD.format(env=RUN_ENV_STR,
|