Home
last modified time | relevance | path

Searched refs:jHandle (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/jni/
Dandroid_os_NativeHandle.cpp55 JNIEnv *env, jobject jHandle, EphemeralStorage *storage) { in MakeCppNativeHandle() argument
56 if (jHandle == nullptr) { return nullptr; } in MakeCppNativeHandle()
58 if (!env->IsInstanceOf(jHandle, gNativeHandleFields.clazz)) { in MakeCppNativeHandle()
65 jHandle, gNativeHandleFields.getFdsID)); in MakeCppNativeHandle()
68 jHandle, gNativeHandleFields.getIntsID)); in MakeCppNativeHandle()
Dandroid_os_NativeHandle.h41 static native_handle_t* MakeCppNativeHandle(JNIEnv *env, jobject jHandle,
Dandroid_os_HwParcel.cpp623 ScopedLocalRef<jobject> jHandle(env, env->GetObjectArrayElement(jHandleArray, i)); in JHwParcel_native_writeNativeHandleVector() local
625 native_handle_t* handle = JNativeHandle::MakeCppNativeHandle(env, jHandle.get(), storage); in JHwParcel_native_writeNativeHandleVector()
908 jobject jHandle = JNativeHandle::MakeJavaNativeHandleObj(env, (*vec)[i].getNativeHandle()); in JHwParcel_native_readNativeHandleVector() local
910 env->SetObjectArrayElement(objArray, i, jHandle); in JHwParcel_native_readNativeHandleVector()
Dandroid_os_HwBlob.cpp500 jlong offset, jobject jHandle) { in JHwBlob_native_putNativeHandle() argument
502 JNativeHandle::MakeCppNativeHandle(env, jHandle, nullptr /* storage */), in JHwBlob_native_putNativeHandle()
Dandroid_media_AudioSystem.cpp982 jobject jHandle = env->GetObjectField(jAudioPort, gAudioPortFields.mHandle); in convertAudioPortConfigToNative() local
983 nAudioPortConfig->id = env->GetIntField(jHandle, gAudioHandleFields.mId); in convertAudioPortConfigToNative()
992 env->DeleteLocalRef(jHandle); in convertAudioPortConfigToNative()
1047 env->DeleteLocalRef(jHandle); in convertAudioPortConfigToNative()
1096 ScopedLocalRef<jobject> jHandle(env, in convertAudioPortConfigFromNative() local
1103 if (jHandle == NULL) { in convertAudioPortConfigFromNative()
1111 jHandle.get(), // handle in convertAudioPortConfigFromNative()
1519 ScopedLocalRef<jobject> jHandle(env, in convertAudioPortFromNative() local
1522 if (jHandle == nullptr) { in convertAudioPortFromNative()
1540 jHandle.get(), jDeviceName.get(), jAudioProfiles.get(), in convertAudioPortFromNative()
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_biometrics_SurfaceToNativeHandleConverter.cpp91 jobject jHandle = JNativeHandle::MakeJavaNativeHandleObj(env, native_handle); in acquireSurfaceHandle() local
94 return jHandle; in acquireSurfaceHandle()
97 void releaseSurfaceHandle(JNIEnv* env, jobject /* clazz */, jobject jHandle) { in releaseSurfaceHandle() argument
103 JNativeHandle::MakeCppNativeHandle(env, jHandle, nullptr /* storage */); in releaseSurfaceHandle()