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.java396 public void setSound(Uri sound, AudioAttributes audioAttributes) { in setSound() argument
397 this.mSound = sound; in setSound()
718 Uri sound = safeUri(parser, ATT_SOUND); in populateFromXml() local
719 setSound(forRestore ? restoreSoundUri(context, sound) : sound, safeAudioAttributes(parser)); in populateFromXml()
771 Uri sound = getSound(); in getSoundForBackup() local
772 if (sound == null || Uri.EMPTY.equals(sound)) { in getSoundForBackup()
775 Uri canonicalSound = context.getContentResolver().canonicalize(sound); in getSoundForBackup()
810 Uri sound = forBackup ? getSoundForBackup(context) : getSound(); in writeXml() local
811 if (sound != null) { in writeXml()
812 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
2243 sound = Uri.CREATOR.createFromParcel(parcel); in readFromParcelImpl()
2353 that.sound = this.sound; // android.net.Uri is immutable in cloneInto()
2445 visitor.accept(sound); in visitUris()
2661 if (sound != null) { in writeToParcelImpl()
2663 sound.writeToParcel(parcel, 0); in writeToParcelImpl()
3026 } else if (this.sound != null) { in toString()
3027 sb.append(this.sound.toString()); in toString()
4055 public Builder setSound(Uri sound) { in setSound() argument
4056 mN.sound = sound; in setSound()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
DNotificationChannelController.java146 Uri sound = VoicemailNotificationSettingsUtil.getRingTonePreference(context); in migrateVoicemailNotificationSettings() local
148 (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.java239 Uri sound = mChannel.getSound(); in calculateSound() local
245 sound = Settings.System.DEFAULT_NOTIFICATION_URI; in calculateSound()
247 sound = n.sound; in calculateSound()
250 return sound; in calculateSound()
571 pw.println(prefix + "n.sound=" + notification.sound); in dump()
DNotificationUsageStats.java446 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.proto1488 // 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/opt/gamesdk/third_party/protobuf-3.0.0/cmake/
DREADME.md170 Yes, it may sound strange, but it works.
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java1493 Uri sound = new Uri.Builder().scheme("test").build(); in testCreateChannel_noOverrideSound() local
1496 channel.setSound(sound, mAudioAttributes); in testCreateChannel_noOverrideSound()
1498 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/api/
Dcurrent.txt5400 field @Deprecated public android.net.Uri sound;