/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ |
D | ChannelsTest.java | 94 assertEquals(Settings.System.DEFAULT_NOTIFICATION_URI, newChannel.getSound()); in testInheritFromLegacy_keepsUserLockedLegacySettings() 103 assertEquals(null, newChannel.getSound()); in testInheritFromLegacy_dropsUnlockedLegacySettings() 113 assertEquals(null, newChannel.getSound()); in testInheritFromLegacy_noLegacyExists()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationIntrusivenessExtractor.java | 52 if (record.getSound() != null && record.getSound() != Uri.EMPTY) { in process()
|
D | NotificationRecord.java | 236 Uri sound = mChannel.getSound(); in calculateSound() 433 if (getSound() != null) { in dump() 434 proto.write(NotificationRecordProto.SOUND, getSound().toString()); in dump() 995 public Uri getSound() { in getSound() method in NotificationRecord 1199 visitGrantableUri(channel.getSound(), (channel.getUserLockedFields() in calculateGrantableUris()
|
D | PreferencesHelper.java | 1422 if (!Objects.equals(original.getSound(), update.getSound())) { in lockFieldsForUpdateLocked()
|
D | NotificationManagerService.java | 5936 Uri soundUri = record.getSound(); 7516 record.getSound() != null || record.getVibration() != null,
|
/frameworks/base/core/java/android/app/ |
D | NotificationChannel.java | 545 public Uri getSound() { in getSound() method in NotificationChannel 775 Uri sound = getSound(); in getSoundForBackup() 814 Uri sound = forBackup ? getSoundForBackup(context) : getSound(); in writeXml() 883 if (getSound() != null) { in toJson() 884 record.put(ATT_SOUND, getSound().toString()); in toJson() 1007 && Objects.equals(getSound(), that.getSound()) in equals() 1018 getLockscreenVisibility(), getSound(), mLights, getLightColor(), in hashCode()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationChannelTest.java | 95 assertNull(restored.getSound()); in testBackupEmptySound()
|
D | NotificationRecordTest.java | 210 assertEquals(Settings.System.DEFAULT_NOTIFICATION_URI, record.getSound()); in testSound_default_preUpgradeUsesNotification() 223 assertEquals(CUSTOM_SOUND, record.getSound()); in testSound_custom_preUpgradeUsesNotification() 237 assertEquals(CUSTOM_SOUND, record.getSound()); in testSound_default_userLocked_preUpgrade() 249 assertNull(record.getSound()); in testSound_noSound_preUpgrade() 262 assertEquals(CUSTOM_SOUND, record.getSound()); in testSound_default_upgradeUsesChannel()
|
D | BuzzBeepBlinkTest.java | 696 assertTrue(r.getSound() != null); in testNoDemoteSoundToVibrateIfVibrateGiven() 716 assertTrue(r.getSound() != null); in testNoDemoteSoundToVibrateIfNonNotificationStream() 734 assertTrue(r.getSound() != null); in testDemoteSoundToVibrate() 754 assertTrue(r.getSound() != null); in testDemoteInsistentSoundToVibrate()
|
D | PreferencesHelperTest.java | 222 assertEquals(expected.getSound(), actual.getSound()); in compareChannels() 496 assertEquals(localUri, actualChannel.getSound()); in testRestoreXml_withExistentCanonicalizedSoundUri() 518 assertEquals(Settings.System.DEFAULT_NOTIFICATION_URI, actualChannel.getSound()); in testRestoreXml_withNonExistentCanonicalizedSoundUri() 545 assertEquals(Settings.System.DEFAULT_NOTIFICATION_URI, actualChannel.getSound()); in testRestoreXml_withUncanonicalizedNonLocalSoundUri() 561 assertEquals(null, actualChannel.getSound()); in testBackupRestoreXml_withNullSoundUri() 1502 PKG_N_MR1, UID_N_MR1, channel.getId(), false).getSound()); in testCreateChannel_noOverrideSound()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | NotificationChannels.java | 126 screenshotChannel.setSound(legacySS.getSound(), legacySS.getAudioAttributes()); in createScreenshotChannel()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
D | VoicemailNotificationSettingsUtil.java | 78 return (channel != null) ? channel.getSound() : getRingTonePreference(context); in getRingtoneUri()
|
D | NotificationChannelController.java | 171 callforwardChannel.setSound(deprecatedChannel.getSound(), in migrateCallFowardNotificationChannel()
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 5771 method public android.net.Uri getSound();
|
/frameworks/base/api/ |
D | current.txt | 5771 method public android.net.Uri getSound();
|