HomeSort by relevance Sort by last modified time
    Searched defs:env (Results 51 - 75 of 570) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/chromium_org/content/common/android/
device_telephony_info.cc 19 JNIEnv* env = AttachCurrentThread(); local
20 j_device_info_.Reset(Java_DeviceTelephonyInfo_create(env,
28 JNIEnv* env = AttachCurrentThread(); local
30 Java_DeviceTelephonyInfo_getNetworkCountryIso(env, j_device_info_.obj());
35 bool DeviceTelephonyInfo::RegisterDeviceTelephonyInfo(JNIEnv* env) {
36 return RegisterNativesImpl(env);
  /external/chromium_org/content/test/
webkit_support.cc 65 JNIEnv* env = base::android::AttachCurrentThread(); local
66 net::android::RegisterNetworkLibrary(env);
  /external/chromium_org/media/base/
run_all_unittests.cc 33 JNIEnv* env = base::android::AttachCurrentThread(); local
35 ui::gl::android::RegisterJni(env);
36 media::RegisterJni(env);
  /external/chromium_org/ui/gfx/android/
view_configuration.cc 17 JNIEnv* env = AttachCurrentThread(); local
18 return Java_ViewConfiguration_getDoubleTapTimeout(env);
22 JNIEnv* env = AttachCurrentThread(); local
23 return Java_ViewConfiguration_getLongPressTimeout(env);
27 JNIEnv* env = AttachCurrentThread(); local
28 return Java_ViewConfiguration_getTapTimeout(env);
32 JNIEnv* env = AttachCurrentThread(); local
34 Java_ViewConfiguration_get(env, GetApplicationContext());
35 return Java_ViewConfiguration_getScaledMaximumFlingVelocity(env, view.obj());
39 JNIEnv* env = AttachCurrentThread() local
46 JNIEnv* env = AttachCurrentThread(); local
    [all...]
  /external/compiler-rt/lib/tsan/lit_tests/
longjmp3.cc 7 void bar(jmp_buf env) {
9 longjmp(env, 42);
13 void foo(jmp_buf env) {
15 bar(env);
27 jmp_buf env; local
28 if (setjmp(env) == 42) {
32 foo(env);
longjmp4.cc 8 void bar(jmp_buf env) {
11 memcpy(env2, env, sizeof(jmp_buf));
16 void foo(jmp_buf env) {
18 bar(env);
30 jmp_buf env; local
31 if (setjmp(env) == 42) {
35 foo(env);
  /external/libvpx/libvpx/vpx_ports/
arm_cpudetect.c 16 char *env; local
17 env = getenv("VPX_SIMD_CAPS");
18 if (env && *env) {
19 *flags = (int)strtol(env, NULL, 0);
27 char *env; local
28 env = getenv("VPX_SIMD_CAPS_MASK");
29 return env && *env ? (int)strtol(env, NULL, 0) : ~0
    [all...]
  /external/linux-tools-perf/util/
pager.c 95 const char *env; local
100 env = getenv("PERF_PAGER_IN_USE");
101 return env ? perf_config_bool("PERF_PAGER_IN_USE", env) : 0;
  /external/qemu/target-mips/
machine.c 45 CPUState *env = opaque; local
49 save_tc(f, &env->active_tc);
52 save_fpu(f, &env->active_fpu);
55 qemu_put_sbe32s(f, &env->mvp->CP0_MVPControl);
56 qemu_put_sbe32s(f, &env->mvp->CP0_MVPConf0);
57 qemu_put_sbe32s(f, &env->mvp->CP0_MVPConf1);
60 qemu_put_be32s(f, &env->tlb->nb_tlb);
62 uint16_t flags = ((env->tlb->mmu.r4k.tlb[i].G << 10) |
63 (env->tlb->mmu.r4k.tlb[i].C0 << 7) |
64 (env->tlb->mmu.r4k.tlb[i].C1 << 4)
192 CPUState *env = opaque; local
    [all...]
  /external/v8/test/cctest/
test-disasm-arm.cc 43 static v8::Persistent<v8::Context> env; variable
46 if (env.IsEmpty()) {
47 env = v8::Context::New();
test-disasm-mips.cc 43 static v8::Persistent<v8::Context> env; variable
48 if (env.IsEmpty()) {
49 env = v8::Context::New();
test-random.cc 39 static v8::Persistent<v8::Context> env; variable
73 if (env.IsEmpty()) env = v8::Context::New();
77 env->Enter();
  /frameworks/base/packages/DefaultContainerService/jni/
com_android_defcontainer_MeasurementUtils.cpp 32 static jlong native_measureDirectory(JNIEnv* env, jobject clazz, jstring directory) {
35 const char* path = env->GetStringUTFChars(directory, NULL);
48 env->ReleaseStringUTFChars(directory, path);
57 int register_com_android_defcontainer(JNIEnv *env) {
59 env, "com/android/defcontainer/MeasurementUtils", g_methods, NELEM(g_methods)) < 0) {
69 JNIEnv *env; local
71 if (jvm->GetEnv((void**)&env, JNI_VERSION_1_6)) {
75 return android::register_com_android_defcontainer(env);
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
ProcessBuilderTest.java 100 Map<String, String> env = pb.environment(); local
101 assertEquals(System.getenv(), env); local
102 env.clear();
103 env = pb.environment();
104 assertTrue(env.isEmpty());
106 env.put(null,"");
112 env.put("",null);
118 env.get(null);
124 assertNull(env.get(new Object()));
  /art/runtime/entrypoints/quick/
quick_jni_entrypoints.cc 32 JNIEnvExt* env = self->GetJniEnv(); local
33 DCHECK(env != NULL);
34 uint32_t saved_local_ref_cookie = env->local_ref_cookie;
35 env->local_ref_cookie = env->locals.GetSegmentState();
46 JNIEnvExt* env = self->GetJniEnv(); local
47 env->locals.SetSegmentState(env->local_ref_cookie);
48 env->local_ref_cookie = saved_local_ref_cookie;
  /development/samples/SimpleJNI/jni/
native.cpp 25 add(JNIEnv *env, jobject thiz, jint a, jint b) {
40 static int registerNativeMethods(JNIEnv* env, const char* className,
45 clazz = env->FindClass(className);
50 if (env->RegisterNatives(clazz, gMethods, numMethods) < 0) {
63 static int registerNatives(JNIEnv* env)
65 if (!registerNativeMethods(env, classPathName,
81 JNIEnv* env; member in union:__anon1556
90 JNIEnv* env = NULL; local
98 env = uenv.env;
    [all...]
  /external/chromium/android/jni/
mime_utils.cc 12 static jclass get_class(JNIEnv* env) {
13 static jclass clazz = env->FindClass("libcore/net/MimeUtils");
17 static jmethodID guess_mime_type_from_extension(JNIEnv* env) {
18 static jmethodID method = env->GetStaticMethodID(get_class(env),
23 static jmethodID guess_extension_from_mime_type(JNIEnv* env) {
24 static jmethodID method = env->GetStaticMethodID(get_class(env),
35 JNIEnv* env = jni::GetJNIEnv(); local
36 jstring jExtension = env->NewStringUTF(extension.c_str())
49 JNIEnv* env = jni::GetJNIEnv(); local
    [all...]
platform_file_jni.cc 13 JNIEnv* env = jni::GetJNIEnv(); local
14 jclass inputStreamClass = env->FindClass("java/io/InputStream");
15 m_read = env->GetMethodID(inputStreamClass, "read", "([B)I");
16 m_close = env->GetMethodID(inputStreamClass, "close", "()V");
18 jclass bridgeClass = env->FindClass("android/webkit/JniUtil");
19 jmethodID method = env->GetStaticMethodID(
23 m_inputStream = env->NewGlobalRef(env->CallStaticObjectMethod(
26 jni::ConvertUTF8ToJavaString(env, path.value())));
27 env->DeleteLocalRef(bridgeClass)
32 JNIEnv* env = jni::GetJNIEnv(); local
39 JNIEnv* env = jni::GetJNIEnv(); local
54 JNIEnv* env = jni::GetJNIEnv(); local
    [all...]
  /external/chromium/chrome/browser/importer/
profile_import_process_host.cc 103 base::environment_vector env; local
106 env.push_back(std::make_pair("DYLD_FALLBACK_LIBRARY_PATH", dylib_path));
108 Launch(false, env, cmd_line);
114 base::environment_vector env; local
116 Launch(false, env, cmd_line);
  /external/chromium/chrome/browser/
platform_util_linux.cc 22 base::environment_vector env; local
27 env.push_back(std::make_pair("MM_NOTTTY", "1"));
35 env.push_back(std::make_pair("GNOME_DISABLE_CRASH_DIALOG", ""));
40 if (base::LaunchApp(argv, env, no_files, false, &handle))
  /external/chromium_org/android_webview/native/
aw_http_auth_handler.cc 27 JNIEnv* env = base::android::AttachCurrentThread(); local
30 env, reinterpret_cast<intptr_t>(this), first_auth_attempt));
39 void AwHttpAuthHandler::Proceed(JNIEnv* env,
45 login_delegate_->Proceed(ConvertJavaStringToUTF16(env, user),
46 ConvertJavaStringToUTF16(env, password));
51 void AwHttpAuthHandler::Cancel(JNIEnv* env, jobject obj) {
76 bool RegisterAwHttpAuthHandler(JNIEnv* env) {
77 return RegisterNativesImpl(env) >= 0;
  /external/chromium_org/base/android/
java_handler_thread.cc 21 JNIEnv* env = base::android::AttachCurrentThread(); local
24 env, ConvertUTF8ToJavaString(env, name).Release()));
34 JNIEnv* env = base::android::AttachCurrentThread(); local
36 Java_JavaHandlerThread_start(env,
49 void JavaHandlerThread::InitializeThread(JNIEnv* env, jobject obj, jint event) {
57 bool JavaHandlerThread::RegisterBindings(JNIEnv* env) {
58 return RegisterNativesImpl(env);
jni_android_unittest.cc 17 int LazyMethodIDCall(JNIEnv* env, jclass clazz, int p) {
20 env, clazz,
25 return env->CallStaticIntMethod(clazz, id, p);
28 int MethodIDCall(JNIEnv* env, jclass clazz, jmethodID id, int p) {
29 return env->CallStaticIntMethod(clazz, id, p);
35 JNIEnv* env = AttachCurrentThread(); local
36 ScopedJavaLocalRef<jclass> clazz(GetClass(env, "java/lang/Math"));
40 o += LazyMethodIDCall(env, clazz.obj(), i);
46 o += MethodIDCall(env, clazz.obj(), id, i);
path_utils.cc 18 JNIEnv* env = AttachCurrentThread(); local
20 Java_PathUtils_getDataDirectory(env, GetApplicationContext());
27 JNIEnv* env = AttachCurrentThread(); local
29 Java_PathUtils_getDatabaseDirectory(env, GetApplicationContext());
36 JNIEnv* env = AttachCurrentThread(); local
38 Java_PathUtils_getCacheDirectory(env, GetApplicationContext());
45 JNIEnv* env = AttachCurrentThread(); local
47 Java_PathUtils_getDownloadsDirectory(env, GetApplicationContext());
54 JNIEnv* env = AttachCurrentThread(); local
56 Java_PathUtils_getNativeLibraryDirectory(env, GetApplicationContext())
63 JNIEnv* env = AttachCurrentThread(); local
    [all...]
sys_utils.cc 14 bool SysUtils::Register(JNIEnv* env) {
15 return RegisterNativesImpl(env);
19 JNIEnv* env = AttachCurrentThread(); local
20 return Java_SysUtils_isLowEndDevice(env);
29 JNIEnv* env = AttachCurrentThread(); local
30 return static_cast<size_t>(Java_SysUtils_amountOfPhysicalMemoryKB(env));

Completed in 2727 milliseconds

1 23 4 5 6 7 8 91011>>