/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/treble/build/sandbox/ |
D | rbe_action.py | 37 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)
|
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) 30 self.assertIn('RBE_JAVAC=true', env) 31 self.assertIn('RBE_D8=true', env) 32 self.assertIn('RBE_R8=true', env)
|
D | build_android_sandboxed.py | 38 env=[]): argument 86 cleanup = rbe.setup(env) 87 env = rbe.prepare_env(env) 104 env=env, 208 env=args['env'],
|
D | nsjail.py | 67 env=[], argument 129 env=env, 160 env=[], argument 300 for var in env: 499 env=args.env,
|
D | rbe.py | 72 def prepare_env(env): argument 94 prepared_env.update(env_array_to_dict(env)) 124 def setup(env, build_log=subprocess.DEVNULL): argument 136 env_dict = env_array_to_dict(env) 168 env.append("RBE_HTTP_PROXY=10.1.2.1:%i" % port)
|
/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/test/connectivity/acts/framework/acts/controllers/utils_lib/ssh/ |
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)
|
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)
|
/tools/ndkports/openssl/ |
D | build.gradle.kts | 52 env("ANDROID_NDK", toolchain.ndk.path.absolutePath) in <lambda>() 53 env("PATH", "${toolchain.binDir}:${System.getenv("PATH")}") in <lambda>() 59 env("ANDROID_NDK", toolchain.ndk.path.absolutePath) in <lambda>() 60 env("PATH", "${toolchain.binDir}:${System.getenv("PATH")}") in <lambda>() 66 env("ANDROID_NDK", toolchain.ndk.path.absolutePath) in <lambda>() 67 env("PATH", "${toolchain.binDir}:${System.getenv("PATH")}") in <lambda>()
|
/tools/test/connectivity/acts/framework/acts/libs/proc/ |
D | job.py | 111 env=None, argument 137 env=env, 172 def run_async(command, env=None): argument 191 env=env,
|
/tools/ndkports/buildSrc/src/main/kotlin/com/android/ndkports/ |
D | AdHocPortTask.kt | 28 val env = mutableMapOf<String, String>() in arg() constant 29 fun env(key: String, value: String) = env.set(key, value) in arg() method 73 run.cmd, buildDirectory, additionalEnvironment = run.env in builder()
|
/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/ 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 | 237 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)
|
D | gcp_setup_runner.py | 169 env=self._env, **kwargs) 183 env=self._env, **kwargs)
|
/tools/asuite/atest/ |
D | atest_utils.py | 224 stderr=subprocess.STDOUT, env=env_vars) 401 subprocess.check_call(cmd, stderr=subprocess.STDOUT, env=env_vars) 1162 env=env_vars, 1611 for env in demand_env_vars: 1612 if '=' in env: 1613 key, value = env.split('=', 1) 1619 if not os.environ.get(env, None): 1620 verify_error.append('Missing environ:{}'.format(env))
|
D | bazel_mode_unittest.py | 1667 env = { 1672 test_infos, build_metadata=build_metadata, env=env) 1692 env=None): argument 1702 env = env 1708 env=None): argument 1714 env=env
|
D | bazel_mode.py | 1029 env: Dict[str, str]=None, 1045 self.env = env or os.environ 1068 if not self.env.get("ATEST_BAZEL_BES_PUBLISH_CONFIG"): 1071 config = self.env["ATEST_BAZEL_BES_PUBLISH_CONFIG"] 1135 bazelrc = self.env.get('ATEST_BAZELRC')
|
D | atest_completion.sh | 20 /usr/bin/env python3 - << END 49 /usr/bin/env python3 - << END
|
/tools/acloud/create/ |
D | avd_spec.py | 698 env = os.environ.copy() 699 env.pop("PYTHONPATH", None) 704 stderr=subprocess.STDOUT, env=env,
|
/tools/acloud/list/ |
D | instance.py | 552 env=self._GetCvdEnv(), 622 env=self._GetCvdEnv()) 654 stderr=subprocess.STDOUT, shell=True, env=self._GetCvdEnv(), 679 stderr=subprocess.STDOUT, shell=True, env=self._GetCvdEnv())
|
/tools/acloud/public/actions/ |
D | remote_host_gf_device_factory.py | 564 env = {constants.ENV_ANDROID_PRODUCT_OUT: remote_paths.image_dir, 592 env=" ".join(k + "=~/" + v for k, v in env.items()),
|
/tools/asuite/atest-py2/ |
D | atest_utils.py | 120 stderr=subprocess.STDOUT, env=env_vars) 183 env=full_env_vars)
|