/aosp14/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationIntrusivenessExtractor.java | 52 if (record.getSound() != null && record.getSound() != Uri.EMPTY) { in process()
|
H A D | NotificationRecord.java | 264 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 D | PreferencesHelper.java | 1206 && !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 D | NotificationManagerService.java | 5880 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 D | NotificationChannel.java | 729 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 D | NotificationChannelTest.java | 219 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 D | NotificationRecordTest.java | 261 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 D | PreferencesHelperTest.java | 391 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 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()
|
H A D | NotificationManagerServiceTest.java | 5832 assertNull(restored.getSound()); in testBackupEmptySound()
|
/aosp14/frameworks/base/config/ |
H A D | boot-profile.txt | 665 Landroid/app/NotificationChannel;->getSound()Landroid/net/Uri;
|
H A D | boot-image-profile.txt | 2347 HSPLandroid/app/NotificationChannel;->getSound()Landroid/net/Uri;
|
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
H A D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/aosp14/frameworks/base/services/ |
H A D | art-profile | 5265 HSPLcom/android/server/notification/NotificationRecord;->getSound()Landroid/net/Uri;
|
/aosp14/frameworks/base/boot/ |
H A D | boot-image-profile.txt | 2347 HSPLandroid/app/NotificationChannel;->getSound()Landroid/net/Uri;
|
/aosp14/frameworks/base/core/api/ |
H A D | current.txt | 6739 method public android.net.Uri getSound();
|