Searched refs:jHandle (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/jni/ |
D | android_os_NativeHandle.cpp | 55 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()
|
D | android_os_NativeHandle.h | 41 static native_handle_t* MakeCppNativeHandle(JNIEnv *env, jobject jHandle,
|
D | android_os_HwParcel.cpp | 623 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()
|
D | android_os_HwBlob.cpp | 500 jlong offset, jobject jHandle) { in JHwBlob_native_putNativeHandle() argument 502 JNativeHandle::MakeCppNativeHandle(env, jHandle, nullptr /* storage */), in JHwBlob_native_putNativeHandle()
|
D | android_media_AudioSystem.cpp | 982 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/ |
D | com_android_server_biometrics_SurfaceToNativeHandleConverter.cpp | 91 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()
|