Home
last modified time | relevance | path

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

/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/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.py158 env=None, argument
187 if env is None:
188 env = {}
204 full_command, env, self._settings, extra_options=extra_options)
277 self.run(command, timeout, ignore_status, env, io_encoding,
281 def run_async(self, command, env=None): argument
303 result = self.run(command, env=env)
/tools/test/connectivity/tools/lab/utils/
Djob.py113 env=None, argument
141 env=env,
177 def run_async(command, env=None): argument
197 env=env,
/tools/test/connectivity/acts/framework/acts/libs/proc/
Djob.py115 env=None, argument
143 env=env,
179 def run_async(command, env=None): argument
199 env=env,
/tools/repohooks/rh/
Dutils.py263 shell=False, env=None, extra_env=None, ignore_sigint=False, argument
383 env = env.copy() if env is not None else os.environ.copy()
384 env.update(extra_env if extra_env else {})
395 stderr=stderr, shell=False, env=env,
/tools/metalava/
Dbuild.gradle83 * With the build server you are given two env variables:
89 if (System.env.DIST_DIR != null && System.env.OUT_DIR != null) {
90 buildDir = file("${System.env.OUT_DIR}/host/common/metalava").getCanonicalFile()
91 ext.distDir = file(System.env.DIST_DIR).getCanonicalFile()
/tools/asuite/aidegen/lib/
Dmodule_info_util_unittest.py144 env=mock_copy.return_value,
210 env=full_env_vars, shell=True)
Dmodule_info_util.py125 cmd, stderr=subprocess.STDOUT, env=full_env_vars, shell=True)
/tools/tradefederation/core/atest/
Datest_utils.py84 stderr=subprocess.STDOUT, env=env_vars)
150 env=full_env_vars)
Datest_integration_tests.py75 env=self.full_env_vars,
/tools/test/connectivity/tools/
D.gitignore12 env/
/tools/test/connectivity/acts/
D.gitignore12 env/
/tools/test/connectivity/acts/framework/tests/
Dacts_test_ssh.py54 result = conn.run('printenv', env={'MYSPECIALVAR': 20})
Dacts_job_test.py116 result = job.run('printenv', env=test_env.copy())
/tools/test/graphicsbenchmark/
DREADME3 Note: env setup requires slightly more than a normal Android build,
/tools/tradefederation/core/atest/test_runners/
Dtest_runner_base.py90 env=env_vars)
/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
Dhelp_sign.txt111 env:<name> password provided in the named
130 env:<name> password provided in the named
/tools/test/connectivity/tools/lab/
DREADME.md16 env: whether $ADB_VENDOR_KEYS is set (bool)
/tools/tradefederation/core/src/com/android/tradefed/command/
DConsole.java1092 Map<String, String> env = new TreeMap<>(System.getenv()); in dumpEnv() local
1093 for (Map.Entry<String, String> entry : env.entrySet()) { in dumpEnv()
/tools/acloud/internal/lib/
Dutils.py955 subprocess.Popen(ssvnc_args.split(), env=ssvnc_env)