/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 | 261 Uri sound = mChannel.getSound(); in calculateSound() 457 if (getSound() != null) { in dump() 458 proto.write(NotificationRecordProto.SOUND, getSound().toString()); in dump() 1146 public Uri getSound() { in getSound() method in NotificationRecord 1377 visitGrantableUri(channel.getSound(), (channel.getUserLockedFields() in calculateGrantableUris()
|
D | PreferencesHelper.java | 1875 if (!Objects.equals(original.getSound(), update.getSound())) { in lockFieldsForUpdateLocked()
|
D | NotificationManagerService.java | 7963 Uri soundUri = record.getSound(); 9919 record.getSound() != null || record.getVibration() != null,
|
/frameworks/base/core/java/android/app/ |
D | NotificationChannel.java | 719 public Uri getSound() { in getSound() method in NotificationChannel 1013 Uri sound = getSound(); in getSoundForBackup() 1049 Uri sound = forBackup ? getSoundForBackup(context) : getSound(); in writeXml() 1135 if (getSound() != null) { in toJson() 1136 record.put(ATT_SOUND, getSound().toString()); in toJson() 1250 && Objects.equals(getSound(), that.getSound()) in equals() 1265 getLockscreenVisibility(), getSound(), mLights, getLightColor(), in hashCode()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | NotificationChannelTest.java | 104 fromParcel.getSound().toString().length()); in testLongAlertFields()
|
/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/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationRecordTest.java | 259 assertEquals(Settings.System.DEFAULT_NOTIFICATION_URI, record.getSound()); in testSound_default_preUpgradeUsesNotification() 272 assertEquals(CUSTOM_SOUND, record.getSound()); in testSound_custom_preUpgradeUsesNotification() 286 assertEquals(CUSTOM_SOUND, record.getSound()); in testSound_default_userLocked_preUpgrade() 298 assertNull(record.getSound()); in testSound_noSound_preUpgrade() 311 assertEquals(CUSTOM_SOUND, record.getSound()); in testSound_default_upgradeUsesChannel() 874 assertEquals(Settings.System.DEFAULT_NOTIFICATION_URI, record.getSound()); in testCalculateGrantableUris_PappProvided_invalidSound()
|
D | BuzzBeepBlinkTest.java | 862 assertTrue(r.getSound() != null); in testNoDemoteSoundToVibrateIfVibrateGiven() 878 assertTrue(r.getSound() != null); in testNoDemoteSoundToVibrateIfNonNotificationStream() 896 assertTrue(r.getSound() != null); in testDemoteSoundToVibrate() 916 assertTrue(r.getSound() != null); in testDemoteInsistentSoundToVibrate()
|
D | PreferencesHelperTest.java | 347 assertEquals(expected.getSound(), actual.getSound()); in compareChannels() 366 assertEquals(parent.getSound(), actual.getSound()); in compareChannelsParentChild() 1317 assertEquals(localUri, actualChannel.getSound()); in testRestoreXml_withExistentCanonicalizedSoundUri() 1339 assertEquals(Settings.System.DEFAULT_NOTIFICATION_URI, actualChannel.getSound()); in testRestoreXml_withNonExistentCanonicalizedSoundUri() 1367 assertEquals(Settings.System.DEFAULT_NOTIFICATION_URI, actualChannel.getSound()); in testRestoreXml_withUncanonicalizedNonLocalSoundUri() 1389 assertEquals(null, actualChannel.getSound()); in testBackupRestoreXml_withNullSoundUri() 2380 PKG_N_MR1, UID_N_MR1, channel.getId(), false).getSound()); in testCreateChannel_noOverrideSound()
|
D | NotificationManagerServiceTest.java | 5258 assertNull(restored.getSound()); in testBackupEmptySound()
|
/frameworks/base/config/ |
D | boot-profile.txt | 665 Landroid/app/NotificationChannel;->getSound()Landroid/net/Uri;
|
D | boot-image-profile.txt | 2301 HSPLandroid/app/NotificationChannel;->getSound()Landroid/net/Uri;
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 2301 HSPLandroid/app/NotificationChannel;->getSound()Landroid/net/Uri;
|
/frameworks/base/core/api/ |
D | current.txt | 6412 method public android.net.Uri getSound();
|
/frameworks/base/services/ |
D | art-profile | 31274 HPLcom/android/server/notification/NotificationRecord;->getSound()Landroid/net/Uri;
|