Searched refs:audioStreamType (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationRecord.java300 } else if (n.audioStreamType >= 0
301 && n.audioStreamType < AudioSystem.getNumStreamTypes()) {
304 .setInternalLegacyStreamType(n.audioStreamType)
306 } else if (n.audioStreamType != AudioSystem.STREAM_DEFAULT) {
307 Log.w(TAG, String.format("Invalid stream type: %d", n.audioStreamType));
533 pw.println(prefix + "n.audioStreamType=" + notification.audioStreamType);
/frameworks/support/compat/src/androidTest/java/androidx/core/app/
H A DNotificationCompatTest.java473 assertEquals(-1, n.audioStreamType);
482 assertEquals(-1, n.audioStreamType);
492 assertEquals(34, n.audioStreamType);
/frameworks/support/compat/src/main/java/androidx/core/app/
H A DNotificationCompatBuilder.java91 mBuilder.setSound(n.sound, n.audioStreamType);
H A DNotificationCompat.java116 * Use this constant as the value for audioStreamType to request that
733 mNotification.audioStreamType = Notification.STREAM_DEFAULT;
1012 mNotification.audioStreamType = Notification.STREAM_DEFAULT;
1035 mNotification.audioStreamType = streamType;
/frameworks/base/core/java/android/app/
H A DNotification.java406 * Use this constant as the value for audioStreamType to request that
423 public int audioStreamType = STREAM_DEFAULT; field in class:Notification
2153 audioStreamType = parcel.readInt();
2252 that.audioStreamType = this.audioStreamType;
2560 parcel.writeInt(audioStreamType);
3806 mN.audioStreamType = streamType;

Completed in 77 milliseconds