Searched defs:env (Results 1 - 25 of 311) sorted by relevance

1234567891011>>

/frameworks/opt/net/voip/src/jni/rtp/
H A Drtp_jni.cpp21 extern int registerRtpStream(JNIEnv *env);
22 extern int registerAudioGroup(JNIEnv *env);
26 JNIEnv *env = NULL; local
27 if (vm->GetEnv((void **)&env, JNI_VERSION_1_4) != JNI_OK ||
28 registerRtpStream(env) < 0 || registerAudioGroup(env) < 0) {
/frameworks/base/core/jni/
H A Dandroid_os_seccomp.cpp24 static void Seccomp_setPolicy(JNIEnv* /*env*/) {
42 int register_android_os_seccomp(JNIEnv* env) { argument
43 return android::RegisterMethodsOrDie(env, "android/os/Seccomp",
H A Dandroid_app_Activity.cpp28 static jstring getDlWarning_native(JNIEnv* env, jobject) { argument
36 return msg.empty() ? nullptr : env->NewStringUTF(msg.c_str());
47 int register_android_app_Activity(JNIEnv* env) { argument
48 return RegisterMethodsOrDie(env, kActivityPathName, g_methods, NELEM(g_methods));
H A Dandroid_database_SQLiteCommon.cpp24 void throw_sqlite3_exception(JNIEnv* env, sqlite3* handle) { argument
25 throw_sqlite3_exception(env, handle, NULL);
29 void throw_sqlite3_exception(JNIEnv* env, const char* message) { argument
30 throw_sqlite3_exception(env, NULL, message);
36 void throw_sqlite3_exception(JNIEnv* env, sqlite3* handle, const char* message) { argument
42 throw_sqlite3_exception(env, sqlite3_extended_errcode(handle),
47 throw_sqlite3_exception(env, SQLITE_OK, "unknown error", message);
54 void throw_sqlite3_exception_errcode(JNIEnv* env, int errcode, const char* message) { argument
55 throw_sqlite3_exception(env, errcode, "unknown error", message);
61 void throw_sqlite3_exception(JNIEnv* env, in argument
[all...]
H A Dandroid_os_GraphicsEnvironment.cpp25 void setDriverPath(JNIEnv* env, jobject clazz, jstring path) { argument
26 ScopedUtfChars pathChars(env, path);
40 int register_android_os_GraphicsEnvironment(JNIEnv* env) { argument
41 return RegisterMethodsOrDie(env, kGraphicsEnvironmentName, g_methods, NELEM(g_methods));
H A Dandroid_os_SystemClock.cpp100 int register_android_os_SystemClock(JNIEnv* env) argument
102 return RegisterMethodsOrDie(env, "android/os/SystemClock", gMethods, NELEM(gMethods));
H A Dandroid_os_VintfRuntimeInfo.cpp33 static jstring android_os_VintfRuntimeInfo_##javaMethod(JNIEnv* env, jclass clazz) \
37 return env->NewStringUTF((cppString).c_str()); \
51 static jlong android_os_VintfRuntimeInfo_getKernelSepolicyVersion(JNIEnv *env, jclass clazz) argument
75 int register_android_os_VintfRuntimeInfo(JNIEnv* env) argument
77 return RegisterMethodsOrDie(env, kVintfRuntimeInfoPathName, gVintfRuntimeInfoMethods, NELEM(gVintfRuntimeInfoMethods));
H A Dcom_android_internal_util_VirtualRefBasePtr.cpp23 static void incStrong(JNIEnv* env, jobject clazz, jlong objPtr) { argument
28 static void decStrong(JNIEnv* env, jobject clazz, jlong objPtr) { argument
44 int register_com_android_internal_util_VirtualRefBasePtr(JNIEnv* env) { argument
45 return RegisterMethodsOrDie(env, kClassPathName, gMethods, NELEM(gMethods));
/frameworks/base/packages/services/PacProcessor/jni/
H A Djni_init.cpp23 extern int register_com_android_pacprocessor_PacNative(JNIEnv *env);
29 JNIEnv *env; local
30 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) {
35 register_com_android_pacprocessor_PacNative(env);
/frameworks/base/services/core/jni/
H A Donload.cpp23 int register_android_server_AlarmManagerService(JNIEnv* env);
24 int register_android_server_BatteryStatsService(JNIEnv* env);
25 int register_android_server_ConsumerIrService(JNIEnv *env);
26 int register_android_server_InputApplicationHandle(JNIEnv* env);
27 int register_android_server_InputWindowHandle(JNIEnv* env);
28 int register_android_server_InputManager(JNIEnv* env);
29 int register_android_server_LightsService(JNIEnv* env);
30 int register_android_server_PowerManagerService(JNIEnv* env);
31 int register_android_server_storage_AppFuse(JNIEnv* env);
32 int register_android_server_SerialService(JNIEnv* env);
57 JNIEnv* env = NULL; local
[all...]
/frameworks/base/tools/bit/
H A Dcommand.h42 map<string,string> env; member in struct:Command
/frameworks/base/vr/
H A Ddvr_library_loader.cpp10 JNIEnv* env, jclass, jstring java_library) {
15 const char* data = env->GetStringUTFChars(java_library, NULL);
16 size_t size = env->GetStringUTFLength(java_library);
18 env->ReleaseStringUTFChars(java_library, data);
9 Java_com_google_vr_platform_Dvr_nativeLoadLibrary( JNIEnv* env, jclass, jstring java_library) argument
/frameworks/ex/framesequence/jni/
H A DJNIHelpers.cpp20 void jniThrowException(JNIEnv* env, const char* className, const char* msg) { argument
21 jclass clazz = env->FindClass(className);
28 if (env->ThrowNew(clazz, msg) != JNI_OK) {
32 env->DeleteLocalRef(clazz);
/frameworks/base/core/tests/utiltests/jni/
H A Dregistration.cpp19 extern jint android_util_MemoryIntArrayTest_createAshmem(JNIEnv* env,
21 extern void android_util_MemoryIntArrayTest_setAshmemSize(JNIEnv* env,
26 JNIEnv * env, jobject obj, jstring name, jint size);
28 JNIEnv * env, jobject obj, jint fd, jint size);
32 __attribute__((unused)) JNIEnv * env,__attribute__((unused)) jobject obj,
35 return android_util_MemoryIntArrayTest_createAshmem(env, obj, name, size);
39 __attribute__((unused)) JNIEnv * env,__attribute__((unused)) jobject obj,
42 android_util_MemoryIntArrayTest_setAshmemSize(env, obj, fd, size);
31 Java_android_util_MemoryIntArrayTest_nativeCreateAshmem( __attribute__((unused)) JNIEnv * env,__attribute__((unused)) jobject obj, jstring name, jint size) argument
38 Java_android_util_MemoryIntArrayTest_nativeSetAshmemSize( __attribute__((unused)) JNIEnv * env,__attribute__((unused)) jobject obj, jint fd, jint size) argument
H A Dandroid_util_MemoryIntArrayTest.cpp24 jint android_util_MemoryIntArrayTest_createAshmem(__attribute__((unused)) JNIEnv* env, argument
37 const char* nameStr = env->GetStringUTFChars(name, NULL);
40 env->ReleaseStringUTFChars(name, nameStr);
54 void android_util_MemoryIntArrayTest_setAshmemSize(__attribute__((unused)) JNIEnv* env, argument
/frameworks/base/native/android/
H A Dhardware_buffer_jni.cpp25 AHardwareBuffer* AHardwareBuffer_fromHardwareBuffer(JNIEnv* env, jobject hardwareBufferObj) { argument
26 return android_hardware_HardwareBuffer_getNativeHardwareBuffer(env, hardwareBufferObj);
29 jobject AHardwareBuffer_toHardwareBuffer(JNIEnv* env, AHardwareBuffer* hardwareBuffer) { argument
30 return android_hardware_HardwareBuffer_createFromAHardwareBuffer(env, hardwareBuffer);
H A Dnative_window_jni.cpp30 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface) { argument
31 sp<ANativeWindow> win = android_view_Surface_getNativeWindow(env, surface);
38 jobject ANativeWindow_toSurface(JNIEnv* env, ANativeWindow* window) { argument
43 return android_view_Surface_createFromSurface(env, surface);
/frameworks/webview/chromium/plat_support/
H A Djni_entry_point.cpp24 void RegisterDrawGLFunctor(JNIEnv* env);
25 void RegisterGraphicsUtils(JNIEnv* env);
30 JNIEnv* env = NULL; local
31 jint ret = vm->AttachCurrentThread(&env, NULL);
33 android::RegisterDrawGLFunctor(env);
34 android::RegisterGraphicsUtils(env);
/frameworks/av/media/libstagefright/http/
H A DHTTPHelper.cpp39 JNIEnv *env = AndroidRuntime::getJNIEnv(); local
42 env, env->FindClass("android/media/MediaHTTPService"));
45 jmethodID constructID = env->GetMethodID(clazz.get(), "<init>", "()V");
49 env, env->NewObject(clazz.get(), constructID));
54 env->GetMethodID(clazz.get(), "asBinder", "()Landroid/os/IBinder;");
58 env, env->CallObjectMethod(httpServiceObj.get(), asBinderID));
62 ibinderForJavaObject(env, httpServiceBinderOb
[all...]
/frameworks/base/core/jni/android/graphics/
H A DCanvasProperty.cpp29 static jlong createFloat(JNIEnv* env, jobject clazz, jfloat initialValue) { argument
33 static jlong createPaint(JNIEnv* env, jobject clazz, jlong paintPtr) { argument
47 int register_android_graphics_CanvasProperty(JNIEnv* env) { argument
48 return RegisterMethodsOrDie(env, "android/graphics/CanvasProperty", gMethods,
/frameworks/base/media/jni/
H A Dandroid_media_SyncParams.cpp23 void SyncParams::fields_t::init(JNIEnv *env) { argument
24 jclass lclazz = env->FindClass("android/media/SyncParams");
29 clazz = (jclass)env->NewGlobalRef(lclazz);
34 constructID = env->GetMethodID(clazz, "<init>", "()V");
36 sync_source = env->GetFieldID(clazz, "mSyncSource", "I");
37 audio_adjust_mode = env->GetFieldID(clazz, "mAudioAdjustMode", "I");
38 tolerance = env->GetFieldID(clazz, "mTolerance", "F");
39 frame_rate = env->GetFieldID(clazz, "mFrameRate", "F");
40 set = env->GetFieldID(clazz, "mSet", "I");
43 env
54 exit(JNIEnv *env) argument
59 fillFromJobject(JNIEnv *env, const fields_t& fields, jobject params) argument
72 asJobject(JNIEnv *env, const fields_t& fields) argument
[all...]
/frameworks/base/media/jni/midi/
H A Dandroid_media_midi_MidiDevice.cpp29 JNIEnv *env, jobject, jobject midiDeviceServer, jint id)
32 sp<IBinder> serverBinder = ibinderForJavaObject(env, midiDeviceServer);
28 Java_android_media_midi_MidiDevice_native_1mirrorToNative( JNIEnv *env, jobject, jobject midiDeviceServer, jint id) argument
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DImageEncoder.java53 public void process(FilterContext env) { argument
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/text/
H A DStringLogger.java43 public void process(FilterContext env) { argument
H A DStringSource.java48 public void process(FilterContext env) { argument
49 Frame output = env.getFrameManager().newFrame(mOutputFormat);

Completed in 793 milliseconds

1234567891011>>