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 = env->GetIntArrayElements(jId, nullptr /* isCopy */); 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->ReleaseIntArrayElements(jId, nId, 0 /* mode */); 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 = env->GetIntArrayElements(jId, nullptr /* isCopy */); 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->ReleaseIntArrayElements(jId, nId, 0 /* mode */); 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 = env->GetIntArrayElements(jId, nullptr /* isCopy */); 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->ReleaseIntArrayElements(jId, nId, 0 /* mode */); 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->ReleaseIntArrayElements(jId, nId, 0 /* mode */); 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.java3341 NotificationId nId; in getCredentialPermissionNotificationId() local
3346 nId = accounts.credentialsPermissionNotificationIds.get(key); in getCredentialPermissionNotificationId()
3347 if (nId == null) { in getCredentialPermissionNotificationId()
3351 nId = new NotificationId(tag, id); in getCredentialPermissionNotificationId()
3352 accounts.credentialsPermissionNotificationIds.put(key, nId); in getCredentialPermissionNotificationId()
3355 return nId; in getCredentialPermissionNotificationId()
3359 NotificationId nId; in getSigninRequiredNotificationId() local
3361 nId = accounts.signinRequiredNotificationIds.get(account); in getSigninRequiredNotificationId()
3362 if (nId == null) { in getSigninRequiredNotificationId()
3366 nId = new NotificationId(tag, id); in getSigninRequiredNotificationId()
[all …]