Home
last modified time | relevance | path

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

12

/development/samples/SimpleJNI/jni/
Dnative.cpp46 static int registerNativeMethods(JNIEnv* env, const char* className, in registerNativeMethods() argument
51 clazz = env->FindClass(className); in registerNativeMethods()
56 if (env->RegisterNatives(clazz, gMethods, numMethods) < 0) { in registerNativeMethods()
69 static int registerNatives(JNIEnv* env) in registerNatives() argument
71 if (!registerNativeMethods(env, classPathName, in registerNatives()
87 JNIEnv* env; member
96 JNIEnv* env = NULL; in JNI_OnLoad() local
104 env = uenv.env; in JNI_OnLoad()
106 if (registerNatives(env) != JNI_TRUE) { in JNI_OnLoad()
/development/tools/ndk/ndkabidump/
Dsoong.py40 env: dict[str, str] | None = None,
60 if env is None:
61 env = {}
72 exec_env.update(env)
81 env=exec_env,
101 def build(self, targets: list[str], env: dict[str, str] | None = None) -> None:
112 self.soong_ui(["--make-mode", "--soong-only"] + targets, env=env)
/development/scripts/
Dupdate_crate_tests.py134 def __init__(self, env): argument
147 self.path = os.path.join(env.ANDROID_BUILD_TOP, "build", "bazel", "bin", "bazel")
148 soong_ui = os.path.join(env.ANDROID_BUILD_TOP, "build", "soong", "soong_ui.bash")
151 os.chdir(env.ANDROID_BUILD_TOP)
204 def test_to_test_mapping(self, env, path, test): argument
205 test_mapping_files = self.find_all_test_mapping_files(env.ANDROID_BUILD_TOP + path)
228 def query_rdep_tests_dirs(self, env, modules, path, exclude_dir): argument
243 mapping_path = self.test_to_test_mapping(env, rdep_path, rdep_test)
266 def __init__(self, path, env, bazel): argument
283 self.dir_rel = self.dir.split(env.ANDROID_BUILD_TOP)[1]
[all …]
/development/vndk/tools/sourcedr/blueprint/
Dblueprint.py385 def eval(self, env): argument
393 def eval(self, env): argument
431 def eval(self, env): argument
474 def eval(self, env): argument
494 def eval(self, env): argument
497 return env[self.name].eval(env)
498 return self.value.eval(env)
504 def eval(self, env): argument
506 return List(item.eval(env) for item in self)
518 def eval(self, env): argument
[all …]
/development/vndk/tools/sourcedr/ninja/tests/
Dtest_ninja.py20 def _push_context(self, lexer, env): argument
21 super(MockedParser, self)._push_context(lexer, env)
22 self.mocked_env.append(env)
50 env = ninja.EvalEnv()
51 env['key'] = ninja.EvalStringBuilder().append_raw('value').getvalue()
54 self.assertEqual('value', ninja.eval_string(s, env))
57 env = ninja.EvalEnv()
58 env['key1'] = ninja.EvalStringBuilder().append_raw('a').getvalue()
59 env['key2'] = ninja.EvalStringBuilder().append_raw('b').getvalue()
66 self.assertEqual('ab', ninja.eval_string(s, env))
[all …]
/development/tools/ota_analysis/
D.gitignore11 # local env files
12 .env.local
13 .env.*.local
Dvue.config.js2 publicPath: process.env.NODE_ENV === 'production'
/development/tools/external_crates/crate_health/src/
Dandroid_bp.rs17 env,
70 let new_path = match env::var_os("PATH") { in run_cargo_embargo()
73 paths.extend(env::split_paths(&p)); in run_cargo_embargo()
74 env::join_paths(paths)? in run_cargo_embargo()
82 .env("PATH", new_path) in run_cargo_embargo()
83 .env("ANDROID_BUILD_TOP", staging_path.root()) in run_cargo_embargo()
/development/tools/otagui/
D.gitignore12 # local env files
13 .env.local
14 .env.*.local
Dota_interface.py230 env = {}
232 env['PATH'] = os.path.join(
237 command, stderr=ferr, stdout=fout, shell=False, env=env, cwd=self.otatools_dir)
DDockerfile9 COPY .env* .
/development/tools/checkcolor/
Dbuild.gradle9 * With the build server you are given two env variables.
15 if (System.env.DIST_DIR != null && System.env.OUT_DIR != null) {
16 buildDir = new File(System.env.OUT_DIR + '/gradle/checkcolor').getCanonicalFile()
17 project.ext.distDir = new File(System.env.DIST_DIR).getCanonicalFile()
/development/samples/AconfigDemo/src/
Dexample_cpp_lib.cc21 JNIEnv* env, in Java_com_example_android_aconfig_demo_AconfigDemoActivity_printCFlag() argument
33 return env->NewStringUTF(result.c_str()); in Java_com_example_android_aconfig_demo_AconfigDemoActivity_printCFlag()
Dlib.rs28 mut env: JNIEnv<'local>, in Java_com_example_android_aconfig_demo_AconfigDemoActivity_printRustFlag()
43 let output = env.new_string(result).expect("Couldn't create java string!"); in Java_com_example_android_aconfig_demo_AconfigDemoActivity_printRustFlag()
/development/python-packages/adb/
D.gitignore85 .env
87 env/
90 env.bak/
/development/vndk/tools/sourcedr/ninja/
Dninja.py119 def _eval_string(s, env, expanded_vars, result_buf): argument
143 next_es = env.get_recursive(varname)
145 _eval_string(next_es, env, expanded_vars, result_buf)
150 def eval_string(s, env): argument
165 _eval_string(s, env, expanded_vars, result_buf)
169 def eval_path_strings(strs, env): argument
179 return [intern(os.path.normpath(eval_string(s, env))) for s in strs]
526 def _push_context(self, lexer, env): argument
536 self._env = env
564 def _parse_internal(self, path, encoding, env): argument
[all …]
/development/tools/otagui/src/services/
DApiService.js3 const baseURL = process.env.NODE_ENV === 'production' ? '' : 'http://localhost:5000';
5 console.log(`Build mode: ${process.env.NODE_ENV}, API base url ${baseURL}`);
/development/samples/AconfigDemo/src/include/
Dexample_cpp_lib.h6 JNIEnv* env,
/development/python-packages/
D.gitignore108 .env
110 env/
113 env.bak/
/development/tools/ndk/
D.gitignore108 .env
110 env/
113 env.bak/
/development/vndk/tools/header-checker/utils/
Dutils.py338 env = os.environ.copy()
339 env['TARGET_PRODUCT'] = build_target.product
340 env['TARGET_BUILD_VARIANT'] = build_target.variant
342 env['TARGET_RELEASE'] = build_target.release
349 stderr=subprocess.PIPE, cwd=AOSP_DIR, env=env)
/development/tools/winscope/
D.eslintrc.js25 env: {
/development/tools/otagui/src/router/
Dindex.js38 history: createWebHistory(process.env.BASE_URL),
/development/tools/
Dmonkey44 def PrintCommand(cmd, env=None): argument
48 if env:
49 for k,v in env.iteritems():
Dmake_key73 -passout env:password

12