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_hardware_SoundTrigger.cpp523 jobject jSoundModel, jintArray jHandle) in android_hardware_SoundTrigger_loadSoundModel() argument
542 if (jHandle == NULL) { in android_hardware_SoundTrigger_loadSoundModel()
545 jsize jHandleLen = env->GetArrayLength(jHandle); in android_hardware_SoundTrigger_loadSoundModel()
549 jint *nHandle = env->GetIntArrayElements(jHandle, NULL); in android_hardware_SoundTrigger_loadSoundModel()
681 env->ReleaseIntArrayElements(jHandle, nHandle, NULL); in android_hardware_SoundTrigger_loadSoundModel()
691 jint jHandle) in android_hardware_SoundTrigger_unloadSoundModel() argument
699 status = module->unloadSoundModel((sound_model_handle_t)jHandle); in android_hardware_SoundTrigger_unloadSoundModel()
706 jint jHandle, jobject jConfig) in android_hardware_SoundTrigger_startRecognition() argument
793 status = module->startRecognition(jHandle, memory); in android_hardware_SoundTrigger_startRecognition()
799 jint jHandle) in android_hardware_SoundTrigger_stopRecognition() argument
[all …]
Dandroid_os_NativeHandle.h41 static native_handle_t* MakeCppNativeHandle(JNIEnv *env, jobject jHandle,
Dandroid_media_AudioSystem.cpp811 jobject jHandle = env->GetObjectField(jAudioPort, gAudioPortFields.mHandle); in convertAudioPortConfigToNative() local
812 nAudioPortConfig->id = env->GetIntField(jHandle, gAudioHandleFields.mId); in convertAudioPortConfigToNative()
821 env->DeleteLocalRef(jHandle); in convertAudioPortConfigToNative()
876 env->DeleteLocalRef(jHandle); in convertAudioPortConfigToNative()
930 jobject jHandle = env->NewObject(gAudioHandleClass, gAudioHandleCstor, in convertAudioPortConfigFromNative() local
936 if (jHandle == NULL) { in convertAudioPortConfigFromNative()
944 jHandle, // handle in convertAudioPortConfigFromNative()
952 env->DeleteLocalRef(jHandle); in convertAudioPortConfigFromNative()
1124 jobject jHandle = NULL; in convertAudioPortFromNative() local
1269 jHandle = env->NewObject(gAudioHandleClass, gAudioHandleCstor, in convertAudioPortFromNative()
[all …]
Dandroid_os_HwParcel.cpp619 ScopedLocalRef<jobject> jHandle(env, env->GetObjectArrayElement(jHandleArray, i)); in JHwParcel_native_writeNativeHandleVector() local
621 native_handle_t* handle = JNativeHandle::MakeCppNativeHandle(env, jHandle.get(), storage); in JHwParcel_native_writeNativeHandleVector()
906 jobject jHandle = JNativeHandle::MakeJavaNativeHandleObj(env, (*vec)[i].getNativeHandle()); in JHwParcel_native_readNativeHandleVector() local
908 env->SetObjectArrayElement(objArray, i, jHandle); in JHwParcel_native_readNativeHandleVector()
Dandroid_os_HwBlob.cpp490 jlong offset, jobject jHandle) { in JHwBlob_native_putNativeHandle() argument
492 JNativeHandle::MakeCppNativeHandle(env, jHandle, nullptr /* storage */), in JHwBlob_native_putNativeHandle()