Home
last modified time | relevance | path

Searched refs:getSound (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
DNotificationIntrusivenessExtractor.java52 if (record.getSound() != null && record.getSound() != Uri.EMPTY) { in process()
DNotificationChannelExtractor.java103 clone.setSound(clone.getSound(), new AudioAttributes.Builder(attributes) in process()
DNotificationRecord.java271 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()
DPreferencesHelper.java1266 && !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()
DNotificationAttentionHelper.java408 Uri soundUri = record.getSound(); in buzzBeepBlinkLocked()
DNotificationManagerService.java6456 final Uri soundUri = updateChannel.getSound();
6458 (originalChannel != null) ? originalChannel.getSound() : null;
10647 record.getSound() != null || record.getVibration() != null,
/frameworks/base/core/java/android/app/
DNotificationChannel.java843 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/
DVoicemailNotificationSettingsUtil.java78 return (channel != null) ? channel.getSound() : getRingTonePreference(context); in getRingtoneUri()
DNotificationChannelController.java171 callforwardChannel.setSound(deprecatedChannel.getSound(), in migrateCallFowardNotificationChannel()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationRecordTest.java288 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()
DPreferencesHelperTest.java422 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 …]
DNotificationAttentionHelperTest.java1018 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()
DNotificationManagerServiceTest.java6643 assertNull(restored.getSound()); in testBackupEmptySound()
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationChannelTest.java234 fromParcel.getSound().toString().length()); in testLongAlertFields()
353 assertThat(restoredChannel.getSound()).isEqualTo(uriAfterRestoredCanonicalized); in testWriteXmlForBackup_customLookup()
/frameworks/base/config/
Dboot-profile.txt665 Landroid/app/NotificationChannel;->getSound()Landroid/net/Uri;
Dboot-image-profile.txt2322 HSPLandroid/app/NotificationChannel;->getSound()Landroid/net/Uri;
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/
Dboot-image-profile.txt2322 HSPLandroid/app/NotificationChannel;->getSound()Landroid/net/Uri;
/frameworks/base/services/
Dart-wear-profile16273 PLcom/android/server/notification/NotificationRecord;->getSound()Landroid/net/Uri;
/frameworks/base/core/api/
Dcurrent.txt6947 method public android.net.Uri getSound();