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.cpp356 jint* nId = NULL; in android_media_visualizer_native_setup() local
401 nId = (jint *) env->GetPrimitiveArrayCritical(jId, NULL); in android_media_visualizer_native_setup()
402 if (nId == NULL) { in android_media_visualizer_native_setup()
407 nId[0] = lpVisualizer->id(); in android_media_visualizer_native_setup()
408 env->ReleasePrimitiveArrayCritical(jId, nId, 0); in android_media_visualizer_native_setup()
409 nId = NULL; in android_media_visualizer_native_setup()
420 if (nId != NULL) { in android_media_visualizer_native_setup()
421 env->ReleasePrimitiveArrayCritical(jId, nId, 0); in android_media_visualizer_native_setup()
Dandroid_media_AudioEffect.cpp279 jint* nId = NULL; in android_media_AudioEffect_native_setup() local
360 nId = (jint *) env->GetPrimitiveArrayCritical(jId, NULL); in android_media_AudioEffect_native_setup()
361 if (nId == NULL) { in android_media_AudioEffect_native_setup()
366 nId[0] = lpAudioEffect->id(); in android_media_AudioEffect_native_setup()
367 env->ReleasePrimitiveArrayCritical(jId, nId, 0); in android_media_AudioEffect_native_setup()
368 nId = NULL; in android_media_AudioEffect_native_setup()
399 if (nId != NULL) { in android_media_AudioEffect_native_setup()
400 env->ReleasePrimitiveArrayCritical(jId, nId, 0); in android_media_AudioEffect_native_setup()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java3108 NotificationId nId; in getCredentialPermissionNotificationId() local
3114 nId = accounts.credentialsPermissionNotificationIds.get(key); in getCredentialPermissionNotificationId()
3115 if (nId == null) { in getCredentialPermissionNotificationId()
3119 nId = new NotificationId(tag, id); in getCredentialPermissionNotificationId()
3120 accounts.credentialsPermissionNotificationIds.put(key, nId); in getCredentialPermissionNotificationId()
3123 return nId; in getCredentialPermissionNotificationId()
3127 NotificationId nId; in getSigninRequiredNotificationId() local
3129 nId = accounts.signinRequiredNotificationIds.get(account); in getSigninRequiredNotificationId()
3130 if (nId == null) { in getSigninRequiredNotificationId()
3134 nId = new NotificationId(tag, id); in getSigninRequiredNotificationId()
[all …]