Home
last modified time | relevance | path

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

/frameworks/base/media/jni/audioeffect/
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_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_Visualizer.cpp358 jint* nId = NULL; in android_media_visualizer_native_setup() local
403 nId = (jint *) env->GetPrimitiveArrayCritical(jId, NULL); in android_media_visualizer_native_setup()
404 if (nId == NULL) { in android_media_visualizer_native_setup()
409 nId[0] = lpVisualizer->id(); in android_media_visualizer_native_setup()
410 env->ReleasePrimitiveArrayCritical(jId, nId, 0); in android_media_visualizer_native_setup()
411 nId = NULL; in android_media_visualizer_native_setup()
422 if (nId != NULL) { in android_media_visualizer_native_setup()
423 env->ReleasePrimitiveArrayCritical(jId, nId, 0); in android_media_visualizer_native_setup()
Dandroid_media_AudioEffect.cpp278 jint* nId = NULL; in android_media_AudioEffect_native_setup() local
351 nId = (jint *) env->GetPrimitiveArrayCritical(jId, NULL); in android_media_AudioEffect_native_setup()
352 if (nId == NULL) { in android_media_AudioEffect_native_setup()
357 nId[0] = lpAudioEffect->id(); in android_media_AudioEffect_native_setup()
358 env->ReleasePrimitiveArrayCritical(jId, nId, 0); in android_media_AudioEffect_native_setup()
359 nId = NULL; in android_media_AudioEffect_native_setup()
390 if (nId != NULL) { in android_media_AudioEffect_native_setup()
391 env->ReleasePrimitiveArrayCritical(jId, nId, 0); in android_media_AudioEffect_native_setup()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java3081 NotificationId nId; in getCredentialPermissionNotificationId() local
3087 nId = accounts.credentialsPermissionNotificationIds.get(key); in getCredentialPermissionNotificationId()
3088 if (nId == null) { in getCredentialPermissionNotificationId()
3092 nId = new NotificationId(tag, id); in getCredentialPermissionNotificationId()
3093 accounts.credentialsPermissionNotificationIds.put(key, nId); in getCredentialPermissionNotificationId()
3096 return nId; in getCredentialPermissionNotificationId()
3100 NotificationId nId; in getSigninRequiredNotificationId() local
3102 nId = accounts.signinRequiredNotificationIds.get(account); in getSigninRequiredNotificationId()
3103 if (nId == null) { in getSigninRequiredNotificationId()
3107 nId = new NotificationId(tag, id); in getSigninRequiredNotificationId()
[all …]