Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationIntrusivenessExtractor.java52 if (record.getSound() != null && record.getSound() != Uri.EMPTY) { in process()
H A DNotificationRecord.java264 Uri sound = mChannel.getSound(); in calculateSound()
460 if (getSound() != null) { in dump()
461 proto.write(NotificationRecordProto.SOUND, getSound().toString()); in dump()
1165 public Uri getSound() { in getSound() method in NotificationRecord
1402 visitGrantableUri(channel.getSound(), (channel.getUserLockedFields() in calculateGrantableUris()
H A DPreferencesHelper.java1206 && !Objects.equals(oldParent.getSound(), updatedParent.getSound())) { in maybeUpdateChildConversationChannel()
1207 conversation.setSound(updatedParent.getSound(), updatedParent.getAudioAttributes()); in maybeUpdateChildConversationChannel()
1968 if (!Objects.equals(original.getSound(), update.getSound())) { in lockFieldsForUpdateLocked()
2610 Uri uri = channel.getSound(); in onPackagesChanged()
H A DNotificationManagerService.java5880 final Uri soundUri = updateChannel.getSound();
5882 (originalChannel != null) ? originalChannel.getSound() : null;
8352 Uri soundUri = record.getSound();
10286 record.getSound() != null || record.getVibration() != null,
/aosp14/frameworks/base/core/java/android/app/
H A DNotificationChannel.java729 public Uri getSound() { in getSound() method in NotificationChannel
1105 Uri sound = getSound(); in getSoundForBackup()
1141 Uri sound = forBackup ? getSoundForBackup(context) : getSound(); in writeXml()
1227 if (getSound() != null) { in toJson()
1228 record.put(ATT_SOUND, getSound().toString()); in toJson()
1342 && Objects.equals(getSound(), that.getSound()) in equals()
1357 getLockscreenVisibility(), getSound(), mLights, getLightColor(), in hashCode()
/aosp14/frameworks/base/core/tests/coretests/src/android/app/
H A DNotificationChannelTest.java219 fromParcel.getSound().toString().length()); in testLongAlertFields()
354 assertThat(targetChannel.getSound()).isEqualTo(uriAfterRestoredCanonicalized); in testWriteXmlForBackup_customLookup()
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationRecordTest.java261 assertEquals(Settings.System.DEFAULT_NOTIFICATION_URI, record.getSound()); in testSound_default_preUpgradeUsesNotification()
274 assertEquals(CUSTOM_SOUND, record.getSound()); in testSound_custom_preUpgradeUsesNotification()
288 assertEquals(CUSTOM_SOUND, record.getSound()); in testSound_default_userLocked_preUpgrade()
300 assertNull(record.getSound()); in testSound_noSound_preUpgrade()
313 assertEquals(CUSTOM_SOUND, record.getSound()); in testSound_default_upgradeUsesChannel()
889 assertEquals(Settings.System.DEFAULT_NOTIFICATION_URI, record.getSound()); in testCalculateGrantableUris_PappProvided_invalidSound()
H A DPreferencesHelperTest.java391 assertEquals(expected.getSound(), actual.getSound()); in compareChannels()
410 assertEquals(parent.getSound(), actual.getSound()); in compareChannelsParentChild()
1392 assertEquals(canonicalBasedOnLocal, actualChannel.getSound()); in testRestoreXml_withExistentCanonicalizedSoundUri()
1454 assertEquals(CANONICAL_SOUND_URI, actualChannel.getSound()); in testRestoreXml_withNonExistentCanonicalizedSoundUriAndMissingPackage()
1520 assertEquals(null, actualChannel.getSound()); in testBackupRestoreXml_withNullSoundUri()
1556 assertEquals(ANDROID_RES_SOUND_URI, actualChannel.getSound()); in testBackupRestoreXml_withAndroidResourceSoundUri()
1568 assertEquals(ANDROID_RES_SOUND_URI, actualChannel.getSound()); in testBackupRestoreXml_withAndroidResourceSoundUri()
1587 assertEquals(FILE_SOUND_URI, actualChannel.getSound()); in testBackupRestoreXml_withFileResourceSoundUri()
2700 PKG_N_MR1, UID_N_MR1, channel.getId(), false).getSound()); in testCreateChannel_noOverrideSound()
5238 assertThat(updatedChild.getSound()).isEqualTo(SOUND_URI); in testUpdateConversationParent_updatesUnlockedFields()
[all …]
H A DBuzzBeepBlinkTest.java862 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()
H A DNotificationManagerServiceTest.java5832 assertNull(restored.getSound()); in testBackupEmptySound()
/aosp14/frameworks/base/config/
H A Dboot-profile.txt665 Landroid/app/NotificationChannel;->getSound()Landroid/net/Uri;
H A Dboot-image-profile.txt2347 HSPLandroid/app/NotificationChannel;->getSound()Landroid/net/Uri;
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/services/
H A Dart-profile5265 HSPLcom/android/server/notification/NotificationRecord;->getSound()Landroid/net/Uri;
/aosp14/frameworks/base/boot/
H A Dboot-image-profile.txt2347 HSPLandroid/app/NotificationChannel;->getSound()Landroid/net/Uri;
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt6739 method public android.net.Uri getSound();