Home
last modified time | relevance | path

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

/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/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/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/tools/winscope/
Dwebpack.config.js23 if (process.env.AOSP) {
31 if (process.env.AOSP) {
39 if (process.env.AOSP) {
113 var prod = (process.env.NODE_ENV === 'production');
D.babelrc3 ["env", { "modules": false }]
Dyarn.lock724 babel-preset-env@^1.5.1:
726 …resolved "https://registry.yarnpkg.com/babel-preset-env/-/babel-preset-env-1.7.0.tgz#dea79fa4ebeb8…
1471 cross-env@^3.0.0:
1473 …resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-3.2.4.tgz#9e0585f277864ed421ce756f81a…
/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/vndk/tools/header-checker/utils/
Dutils.py310 env = os.environ.copy()
312 env['TARGET_PRODUCT'] = product
314 env['TARGET_BUILD_VARIANT'] = variant
321 stderr=subprocess.PIPE, cwd=AOSP_DIR, env=env)
/development/scripts/
Dgdbclient.py396 for env in required_env:
397 if env not in os.environ:
399 "Environment variable '{}' not defined, have you run lunch?".format(env))
443 if args.env:
444 cmd_prefix += ['env'] + [v[0] for v in args.env]
/development/tools/
Dmonkey44 def PrintCommand(cmd, env=None): argument
48 if env:
49 for k,v in env.iteritems():
Dmake_key73 -passout env:password
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DMatrixTrackingGL.java865 public void glGetTexEnviv(int env, int pname, int[] params, int offset) { in glGetTexEnviv() argument
869 public void glGetTexEnviv(int env, int pname, IntBuffer params) { in glGetTexEnviv() argument
873 public void glGetTexEnvxv(int env, int pname, int[] params, int offset) { in glGetTexEnvxv() argument
877 public void glGetTexEnvxv(int env, int pname, IntBuffer params) { in glGetTexEnvxv() argument
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dcommit.csv17969 …thub,fake_4lmw47xaQKGKY4FfKOY01g@fakeemail.com,Sync changes required to build firmware in test env.
19126 …/packages/apps/Bluetooth,fake_t0k-F6bkTZ6mDtWQc404Nw@fakeemail.com,AVRCP: fix check of callback env
19479 …latform/external/iproute2,fake_qKBp5RQmQp6ALqWziFjSKg@fakeemail.com,bpf: fix mnt path when from env
35195 …477bd58d038ea13b5,platform/external/toybox,fake_gnT8A_cVTTKi-K0m6ZlKqg@fakeemail.com,Add -0 to env.
35210 …a,platform/external/toybox,fake_gnT8A_cVTTKi-K0m6ZlKqg@fakeemail.com,Typo (env -0 was checking the…
35360 …3,platform/external/toybox,fake_gnT8A_cVTTKi-K0m6ZlKqg@fakeemail.com,Teach env that - as first arg…
35412 …d8b613dd96834,platform/external/toybox,fake_gnT8A_cVTTKi-K0m6ZlKqg@fakeemail.com,Add basic env.test
38571 …platform/external/conscrypt,fake_9ebMczyDTAuk37rXHesU9A@fakeemail.com,Mark env as intentionally un…
42187 …20ea6bf147,device/linaro/hikey,fake_J3ZuomzoTvaNB1TPkBZjnw@fakeemail.com,hikey: Use python from env
44289 …ternal/mesa3d,fake_7xV7tNZYQVGqUhuyzbTHqw@fakeemail.com,winsys/radeon: the env var RADEON_NOOP can…
[all …]