Home
last modified time | relevance | path

Searched refs:sound (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/media/java/android/media/
DMediaActionSound.java139 private int loadSound(SoundState sound) { in loadSound() argument
140 final String soundFileName = SOUND_FILES[sound.name]; in loadSound()
144 sound.state = STATE_LOADING; in loadSound()
145 sound.id = id; in loadSound()
168 SoundState sound = mSounds[soundName]; in load() local
169 synchronized (sound) { in load()
170 switch (sound.state) { in load()
172 if (loadSound(sound) <= 0) { in load()
177 Log.e(TAG, "load() called in wrong state: " + sound + " for sound: "+ soundName); in load()
218 SoundState sound = mSounds[soundName]; in play() local
[all …]
/frameworks/base/core/java/android/app/
DNotificationChannel.java399 public void setSound(Uri sound, AudioAttributes audioAttributes) { in setSound() argument
400 this.mSound = sound; in setSound()
722 Uri sound = safeUri(parser, ATT_SOUND); in populateFromXml() local
723 setSound(forRestore ? restoreSoundUri(context, sound) : sound, safeAudioAttributes(parser)); in populateFromXml()
775 Uri sound = getSound(); in getSoundForBackup() local
776 if (sound == null || Uri.EMPTY.equals(sound)) { in getSoundForBackup()
779 Uri canonicalSound = context.getContentResolver().canonicalize(sound); in getSoundForBackup()
814 Uri sound = forBackup ? getSoundForBackup(context) : getSound(); in writeXml() local
815 if (sound != null) { in writeXml()
816 out.attribute(null, ATT_SOUND, sound.toString()); in writeXml()
DNotificationManager.java506 if (notification.sound != null) { in fixNotification()
507 notification.sound = notification.sound.getCanonicalUri(); in fixNotification()
509 notification.sound.checkFileUriExposed("Notification.sound"); in fixNotification()
DNotification.java417 public Uri sound; field in Notification
2250 sound = Uri.CREATOR.createFromParcel(parcel); in readFromParcelImpl()
2360 that.sound = this.sound; // android.net.Uri is immutable in cloneInto()
2452 visitor.accept(sound); in visitUris()
2668 if (sound != null) { in writeToParcelImpl()
2670 sound.writeToParcel(parcel, 0); in writeToParcelImpl()
3033 } else if (this.sound != null) { in toString()
3034 sb.append(this.sound.toString()); in toString()
4058 public Builder setSound(Uri sound) { in setSound() argument
4059 mN.sound = sound; in setSound()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
DNotificationChannelController.java154 Uri sound = VoicemailNotificationSettingsUtil.getRingTonePreference(context); in migrateVoicemailNotificationSettings() local
156 (sound == null) ? Settings.System.DEFAULT_NOTIFICATION_URI : sound, in migrateVoicemailNotificationSettings()
/frameworks/base/core/proto/android/media/
Daudioattributes.proto48 // Content type value to use when the content type is a sound used to
49 // accompany a user action, such as a beep or sound effect expressing a key
50 // click, or event, such as the type of a sound for a bonus being received
/frameworks/base/tests/net/java/android/net/nsd/
DNsdServiceInfoTest.java146 String sound = new String(attributedInfo.getAttributes().get("sound"), "UTF-8"); in testParcel() local
147 assertTrue(sound.equals("にゃあ")); in testParcel()
/frameworks/base/data/sounds/
DREADME.txt6 For UI sound effects,
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java236 Uri sound = mChannel.getSound(); in calculateSound() local
242 sound = Settings.System.DEFAULT_NOTIFICATION_URI; in calculateSound()
244 sound = n.sound; in calculateSound()
247 return sound; in calculateSound()
563 pw.println(prefix + "n.sound=" + notification.sound); in dump()
DNotificationUsageStats.java458 n.sound != null || n.vibrate != null) { in countApiUse()
/frameworks/base/core/proto/android/app/
Dnotification_channel.proto41 optional string sound = 7 [ (android.privacy).dest = DEST_EXPLICIT ]; field
Dsettings_enums.proto1498 // OPEN: Settings > Sound > Use personal sound for work profile dialog
/frameworks/native/opengl/tests/angeles/
DREADME.txt20 cleaned up and the sound is removed. Also detail level is lowered,
/frameworks/base/core/proto/android/service/
Dnotification.proto63 optional string sound = 5 [ (.android.privacy).dest = DEST_EXPLICIT ]; field
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java458 Log.d(TAG, "n.sound=" + n.sound);
805 Log.d(TAG, "n.sound=" + n.sound);
/frameworks/base/core/proto/android/providers/settings/
Dsystem.proto113 optional SettingProto sound = 1; field
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java1496 Uri sound = new Uri.Builder().scheme("test").build(); in testCreateChannel_noOverrideSound() local
1499 channel.setSound(sound, mAudioAttributes); in testCreateChannel_noOverrideSound()
1501 assertEquals(sound, mHelper.getNotificationChannel( in testCreateChannel_noOverrideSound()
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto90 // Make sound through the speaker.
1292 // OPEN: Notification caused sound, vibration, and/or LED blink
2678 // OPEN: Settings > Sound > Use personal sound for work profile dialog
6757 // the effect/sound when DND is on. false if set to disallow/show.
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt4646 field public android.net.Uri sound;
/frameworks/base/non-updatable-api/
Dcurrent.txt5402 field @Deprecated public android.net.Uri sound;
/frameworks/base/api/
Dcurrent.txt5402 field @Deprecated public android.net.Uri sound;