Searched refs:getSound (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/core/java/android/app/ |
D | NotificationChannel.java | 503 public Uri getSound() { in getSound() method in NotificationChannel 682 Uri sound = getSound(); in getSoundForBackup() 721 Uri sound = forBackup ? getSoundForBackup(context) : getSound(); in writeXml() 784 if (getSound() != null) { in toJson() 785 record.put(ATT_SOUND, getSound().toString()); in toJson() 911 if (getSound() != null ? !getSound().equals(that.getSound()) : that.getSound() != null) { in equals() 931 result = 31 * result + (getSound() != null ? getSound().hashCode() : 0); in hashCode()
|
/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 | 215 Uri sound = mChannel.getSound(); in calculateSound() 405 if (getSound() != null) { in dump() 406 proto.write(NotificationRecordProto.SOUND, getSound().toString()); in dump() 925 public Uri getSound() { in getSound() method in NotificationRecord 1050 visitGrantableUri(channel.getSound(), (channel.getUserLockedFields() in calculateGrantableUris()
|
D | RankingHelper.java | 1068 if (!Objects.equals(original.getSound(), update.getSound())) { in lockFieldsForUpdate()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ |
D | ChannelsTest.java | 97 assertEquals(Settings.System.DEFAULT_NOTIFICATION_URI, newChannel.getSound()); in testInheritFromLegacy_keepsUserLockedLegacySettings() 106 assertEquals(Uri.EMPTY, newChannel.getSound()); in testInheritFromLegacy_dropsUnlockedLegacySettings() 116 assertEquals(Uri.EMPTY, newChannel.getSound()); in testInheritFromLegacy_noLegacyExists()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationRecordTest.java | 192 assertEquals(Settings.System.DEFAULT_NOTIFICATION_URI, record.getSound()); in testSound_default_preUpgradeUsesNotification() 205 assertEquals(CUSTOM_SOUND, record.getSound()); in testSound_custom_preUpgradeUsesNotification() 219 assertEquals(CUSTOM_SOUND, record.getSound()); in testSound_default_userLocked_preUpgrade() 231 assertEquals(null, record.getSound()); in testSound_noSound_preUpgrade() 244 assertEquals(CUSTOM_SOUND, record.getSound()); in testSound_default_upgradeUsesChannel()
|
D | BuzzBeepBlinkTest.java | 595 assertTrue(r.getSound() != null); in testNoDemoteSoundToVibrateIfVibrateGiven() 613 assertTrue(r.getSound() != null); in testNoDemoteSoundToVibrateIfNonNotificationStream() 630 assertTrue(r.getSound() != null); in testDemoteSoundToVibrate() 649 assertTrue(r.getSound() != null); in testDemoteInsistentSoundToVibrate()
|
D | RankingHelperTest.java | 278 assertEquals(expected.getSound(), actual.getSound()); in compareChannels() 532 assertEquals(localUri, actualChannel.getSound()); in testRestoreXml_withExistentCanonicalizedSoundUri() 553 assertEquals(Settings.System.DEFAULT_NOTIFICATION_URI, actualChannel.getSound()); in testRestoreXml_withNonExistentCanonicalizedSoundUri() 579 assertEquals(Settings.System.DEFAULT_NOTIFICATION_URI, actualChannel.getSound()); in testRestoreXml_withUncanonicalizedNonLocalSoundUri() 594 assertEquals(null, actualChannel.getSound()); in testBackupRestoreXml_withNullSoundUri() 1299 PKG, UID, channel.getId(), false).getSound()); in testCreateChannel_noOverrideSound()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | NotificationChannels.java | 127 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()
|
/frameworks/base/config/ |
D | hiddenapi-public-dex.txt | 3862 Landroid/app/NotificationChannel;->getSound()Landroid/net/Uri;
|
D | boot-image-profile.txt | 14958 HSPLandroid/app/NotificationChannel;->getSound()Landroid/net/Uri;
|
/frameworks/base/api/ |
D | current.txt | 5637 method public android.net.Uri getSound();
|