/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationIntrusivenessExtractor.java | 52 if (record.getSound() != null && record.getSound() != Uri.EMPTY) { in process()
|
D | NotificationChannelExtractor.java | 103 clone.setSound(clone.getSound(), new AudioAttributes.Builder(attributes) in process()
|
D | NotificationRecord.java | 271 Uri sound = mChannel.getSound(); in calculateSound() 479 if (getSound() != null) { in dump() 480 proto.write(NotificationRecordProto.SOUND, getSound().toString()); in dump() 1197 public Uri getSound() { in getSound() method in NotificationRecord 1457 visitGrantableUri(channel.getSound(), (channel.getUserLockedFields() in calculateGrantableUris()
|
D | PreferencesHelper.java | 1266 && !Objects.equals(oldParent.getSound(), updatedParent.getSound())) { in maybeUpdateChildConversationChannel() 1267 conversation.setSound(updatedParent.getSound(), updatedParent.getAudioAttributes()); in maybeUpdateChildConversationChannel() 2030 if (!Objects.equals(original.getSound(), update.getSound())) { in lockFieldsForUpdateLocked() 2660 Uri uri = channel.getSound(); in onPackagesChanged()
|
D | NotificationAttentionHelper.java | 408 Uri soundUri = record.getSound(); in buzzBeepBlinkLocked()
|
D | NotificationManagerService.java | 6456 final Uri soundUri = updateChannel.getSound(); 6458 (originalChannel != null) ? originalChannel.getSound() : null; 10647 record.getSound() != null || record.getVibration() != null,
|
/frameworks/base/core/java/android/app/ |
D | NotificationChannel.java | 843 public Uri getSound() { in getSound() method in NotificationChannel 1276 Uri sound = getSound(); in getSoundForBackup() 1312 Uri sound = forBackup ? getSoundForBackup(context) : getSound(); in writeXml() 1401 if (getSound() != null) { in toJson() 1402 record.put(ATT_SOUND, getSound().toString()); in toJson() 1543 && Objects.equals(getSound(), that.getSound()) in equals() 1559 getLockscreenVisibility(), getSound(), mLights, getLightColor(), in hashCode()
|
/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 | 288 assertEquals(Settings.System.DEFAULT_NOTIFICATION_URI, record.getSound()); in testSound_default_preUpgradeUsesNotification() 301 assertEquals(CUSTOM_SOUND, record.getSound()); in testSound_custom_preUpgradeUsesNotification() 315 assertEquals(CUSTOM_SOUND, record.getSound()); in testSound_default_userLocked_preUpgrade() 327 assertNull(record.getSound()); in testSound_noSound_preUpgrade() 340 assertEquals(CUSTOM_SOUND, record.getSound()); in testSound_default_upgradeUsesChannel() 1055 assertEquals(Settings.System.DEFAULT_NOTIFICATION_URI, record.getSound()); in testCalculateGrantableUris_PappProvided_invalidSound()
|
D | PreferencesHelperTest.java | 422 assertEquals(expected.getSound(), actual.getSound()); in compareChannels() 442 assertEquals(parent.getSound(), actual.getSound()); in compareChannelsParentChild() 1436 assertEquals(canonicalBasedOnLocal, actualChannel.getSound()); in testRestoreXml_withExistentCanonicalizedSoundUri() 1459 assertEquals(Settings.System.DEFAULT_NOTIFICATION_URI, actualChannel.getSound()); in testRestoreXml_withNonExistentCanonicalizedSoundUri() 1498 assertEquals(CANONICAL_SOUND_URI, actualChannel.getSound()); in testRestoreXml_withNonExistentCanonicalizedSoundUriAndMissingPackage() 1510 assertEquals(Settings.System.DEFAULT_NOTIFICATION_URI, actualChannel.getSound()); in testRestoreXml_withNonExistentCanonicalizedSoundUriAndMissingPackage() 1684 assertEquals(Settings.System.DEFAULT_NOTIFICATION_URI, actualChannel.getSound()); in testRestoreXml_withUncanonicalizedNonLocalSoundUri() 1708 assertEquals(null, actualChannel.getSound()); in testBackupRestoreXml_withNullSoundUri() 1748 assertEquals(ANDROID_RES_SOUND_URI, actualChannel.getSound()); in testBackupRestoreXml_withAndroidResourceSoundUri() 1760 assertEquals(ANDROID_RES_SOUND_URI, actualChannel.getSound()); in testBackupRestoreXml_withAndroidResourceSoundUri() [all …]
|
D | NotificationAttentionHelperTest.java | 1018 assertTrue(r.getSound() != null); in testNoDemoteSoundToVibrateIfVibrateGiven() 1036 assertTrue(r.getSound() != null); in testNoDemoteSoundToVibrateIfNonNotificationStream() 1056 assertTrue(r.getSound() != null); in testDemoteSoundToVibrate() 1078 assertTrue(r.getSound() != null); in testDemoteInsistentSoundToVibrate()
|
D | NotificationManagerServiceTest.java | 6643 assertNull(restored.getSound()); in testBackupEmptySound()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | NotificationChannelTest.java | 234 fromParcel.getSound().toString().length()); in testLongAlertFields() 353 assertThat(restoredChannel.getSound()).isEqualTo(uriAfterRestoredCanonicalized); in testWriteXmlForBackup_customLookup()
|
/frameworks/base/config/ |
D | boot-profile.txt | 665 Landroid/app/NotificationChannel;->getSound()Landroid/net/Uri;
|
D | boot-image-profile.txt | 2322 HSPLandroid/app/NotificationChannel;->getSound()Landroid/net/Uri;
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/frameworks/base/boot/ |
D | boot-image-profile.txt | 2322 HSPLandroid/app/NotificationChannel;->getSound()Landroid/net/Uri;
|
/frameworks/base/services/ |
D | art-wear-profile | 16273 PLcom/android/server/notification/NotificationRecord;->getSound()Landroid/net/Uri;
|
/frameworks/base/core/api/ |
D | current.txt | 6947 method public android.net.Uri getSound();
|