Home
last modified time | relevance | path

Searched refs:nId (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/media/jni/audioeffect/
Dandroid_media_StreamDefaultEffect.cpp46 jint* nId = NULL; in android_media_StreamDefaultEffect_native_setup() local
75 nId = reinterpret_cast<jint *>(env->GetPrimitiveArrayCritical(jId, NULL)); in android_media_StreamDefaultEffect_native_setup()
76 if (nId == NULL) { in android_media_StreamDefaultEffect_native_setup()
95 nId[0] = static_cast<jint>(id); in android_media_StreamDefaultEffect_native_setup()
100 if (nId != NULL) { in android_media_StreamDefaultEffect_native_setup()
101 env->ReleasePrimitiveArrayCritical(jId, nId, 0); in android_media_StreamDefaultEffect_native_setup()
102 nId = NULL; in android_media_StreamDefaultEffect_native_setup()
Dandroid_media_SourceDefaultEffect.cpp46 jint* nId = NULL; in android_media_SourceDefaultEffect_native_setup() local
75 nId = reinterpret_cast<jint *>(env->GetPrimitiveArrayCritical(jId, NULL)); in android_media_SourceDefaultEffect_native_setup()
76 if (nId == NULL) { in android_media_SourceDefaultEffect_native_setup()
95 nId[0] = static_cast<jint>(id); in android_media_SourceDefaultEffect_native_setup()
100 if (nId != NULL) { in android_media_SourceDefaultEffect_native_setup()
101 env->ReleasePrimitiveArrayCritical(jId, nId, 0); in android_media_SourceDefaultEffect_native_setup()
102 nId = NULL; in android_media_SourceDefaultEffect_native_setup()
Dandroid_media_Visualizer.cpp399 jint* nId = NULL; in android_media_visualizer_native_setup() local
446 nId = (jint *) env->GetPrimitiveArrayCritical(jId, NULL); in android_media_visualizer_native_setup()
447 if (nId == NULL) { in android_media_visualizer_native_setup()
452 nId[0] = lpVisualizer->id(); in android_media_visualizer_native_setup()
453 env->ReleasePrimitiveArrayCritical(jId, nId, 0); in android_media_visualizer_native_setup()
454 nId = NULL; in android_media_visualizer_native_setup()
469 if (nId != NULL) { in android_media_visualizer_native_setup()
470 env->ReleasePrimitiveArrayCritical(jId, nId, 0); in android_media_visualizer_native_setup()
Dandroid_media_AudioEffect.cpp287 jint* nId = NULL; in android_media_AudioEffect_native_setup() local
371 nId = env->GetIntArrayElements(jId, nullptr /* isCopy */); in android_media_AudioEffect_native_setup()
372 if (nId == NULL) { in android_media_AudioEffect_native_setup()
377 nId[0] = lpAudioEffect->id(); in android_media_AudioEffect_native_setup()
378 env->ReleaseIntArrayElements(jId, nId, 0 /* mode */); in android_media_AudioEffect_native_setup()
379 nId = NULL; in android_media_AudioEffect_native_setup()
420 if (nId != NULL) { in android_media_AudioEffect_native_setup()
421 env->ReleaseIntArrayElements(jId, nId, 0 /* mode */); in android_media_AudioEffect_native_setup()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java3220 NotificationId nId; in getCredentialPermissionNotificationId() local
3226 nId = accounts.credentialsPermissionNotificationIds.get(key); in getCredentialPermissionNotificationId()
3227 if (nId == null) { in getCredentialPermissionNotificationId()
3231 nId = new NotificationId(tag, id); in getCredentialPermissionNotificationId()
3232 accounts.credentialsPermissionNotificationIds.put(key, nId); in getCredentialPermissionNotificationId()
3235 return nId; in getCredentialPermissionNotificationId()
3239 NotificationId nId; in getSigninRequiredNotificationId() local
3241 nId = accounts.signinRequiredNotificationIds.get(account); in getSigninRequiredNotificationId()
3242 if (nId == null) { in getSigninRequiredNotificationId()
3246 nId = new NotificationId(tag, id); in getSigninRequiredNotificationId()
[all …]