e743bda5dec3c81ed6292c06b97b0c9f41464907 |
|
09-Sep-2016 |
Jean-Michel Trivi <jmtrivi@google.com> |
Fix Zen mode for different notification usage types ZenModeHelper was only considering a subset of all notification usage types. The code was also iterating over the usage values, expecting them to be contiguous, which will break with the addition of new usage values. The update consists in: - defining in AudioAttributes an array of expected usage types - defining the suppression behavior for each usage type - have ZenModeHelper query the behavior for each usage in order to apply the corresponding muting behavior. Bug 29009099 Change-Id: If884dda6297f125c60c5775c757df4f782e22e53
/frameworks/base/media/java/android/media/AudioAttributes.java
|
2050f6cb431a6d86734f0e998ca7916619144e3f |
|
26-May-2016 |
Phil Burk <philburk@google.com> |
AudioAttributes docs: warn about small buffer size with FLAG_LOW_LATENCY Explain buffer size optimization. This CL has no code changes, just documentation changes. Bug: 28802853 Change-Id: I91942f00a3e9691e4fc05b24656b8bf4cb538bc2 Signed-off-by: Phil Burk <philburk@google.com>
/frameworks/base/media/java/android/media/AudioAttributes.java
|
f82f746903729314e09ebe0e05b0c97d33a876c7 |
|
06-Feb-2016 |
Jean-Michel Trivi <jmtrivi@google.com> |
Support for Bundle in AudioAttributes Bug 25449464 Change-Id: I99cdfd4589e3161b52620e439ba993ce21d256b4
/frameworks/base/media/java/android/media/AudioAttributes.java
|
dc5f02778314ac9bcd45bbf356c48c04c96597ec |
|
18-Jan-2016 |
Phil Burk <philburk@google.com> |
AudioTrack: make low latency APIs public Allow apps to lower their Java audio latency. Bug: 21019153 Change-Id: I1be9a083c46e9fcf7db2635e813cab13dbad810a Signed-off-by: Phil Burk <philburk@google.com>
/frameworks/base/media/java/android/media/AudioAttributes.java
|
11ca2874d29e75f82fa1bfefc530697b02b801fb |
|
19-Jan-2016 |
Jean-Michel Trivi <jmtrivi@google.com> |
Merge "Fix AudioAttributes.Builder.setFlags() javadoc"
|
ed5865b172fd0b6492963271aff30386ac6d579f |
|
17-Jan-2016 |
Ricardo Garcia <rago@google.com> |
Merge "Adding UNPROCESSED to the available audio_sources and SUPPORT_AUDIO_SOURCE_UNPROCESSED property"
|
dd73142b53e8f693c17335ea4895b84d37ccbae4 |
|
28-Dec-2015 |
Phil Burk <philburk@google.com> |
AudioTrack: Add FLAG_LOW_LATENCY Allow Java to write directly to the FastMixer to reduce latency. Change-Id: I957c82ba430e7ee2780ea00ea96c1f5b23dc47f5 Bug: 21019153 Signed-off-by: Phil Burk <philburk@google.com>
/frameworks/base/media/java/android/media/AudioAttributes.java
|
a7cc59c3187711d390c5a483d26c463a1bcbd331 |
|
02-Dec-2015 |
rago <rago@google.com> |
Adding UNPROCESSED to the available audio_sources and SUPPORT_AUDIO_SOURCE_UNPROCESSED property bug: 25564291 Change-Id: I05d48fcc1859501902aa38604a5b86fa5d468468
/frameworks/base/media/java/android/media/AudioAttributes.java
|
26d2fdbba3dab2b46db3c68514cad6f428b88406 |
|
14-Jan-2016 |
Jean-Michel Trivi <jmtrivi@google.com> |
Fix AudioAttributes.Builder.setFlags() javadoc Change-Id: I6bca54040060e538d1f9e48ed3510c7524e55129
/frameworks/base/media/java/android/media/AudioAttributes.java
|
45228bf3e0c0c99be912dc9c8c663f4e8ce96233 |
|
25-Aug-2015 |
Zach Johnson <zachoverflow@google.com> |
Fix AudioAttributes.usageToString() string return values Change-Id: I75642d043d647c921259dad20df504dd2e551644
/frameworks/base/media/java/android/media/AudioAttributes.java
|
d1d5a0a0801a2d73becb7424f2608f42816a97e8 |
|
18-May-2015 |
Jean-Michel Trivi <jmtrivi@google.com> |
API for converting AudioAttributes to stream type Bug 21267880 Change-Id: I3389dcb3a35a3786ecdb8f56a917a0ae619e8417
/frameworks/base/media/java/android/media/AudioAttributes.java
|
00a009204e51997249d60eab4f147eff566e2b1f |
|
09-Mar-2015 |
Eric Laurent <elaurent@google.com> |
enable FM tuner and hotword capture for system apps. AudioRecord constructor with AudioAttributes and session ID as well as HOTWORD and RADIO_TUNER audio sources are now system APIs. Renamed MediaRecorder.AudioSource.FM_TUNER to MediaRecorder.AudioSource.RADIO_TUNER. Change-Id: I231c20c21e3e8cffe1837482976ebe284c9af541
/frameworks/base/media/java/android/media/AudioAttributes.java
|
08c7116ab9cd04ad6dd3c04aa1017237e7f409ac |
|
28-Feb-2015 |
John Spurlock <jspurlock@google.com> |
Remove unused imports in frameworks/base. Change-Id: I031443de83f93eb57a98863001826671b18f3b17
/frameworks/base/media/java/android/media/AudioAttributes.java
|
bbfd31a5d4f126167e20fa8bd256c810cf8c2c85 |
|
18-Feb-2015 |
John Spurlock <jspurlock@google.com> |
AudioAttributes: introduce new flags to bypass audio restrictions. - New @hidden @SystemApi FLAG_BYPASS_INTERRUPTION_POLICY, request to ignore any current audio restrictions, such as zen mode content-based notification filtering. - Wire up FLAG_BYPASS_INTERRUPTION_POLICY to the existing audio restriction checks in the framework. - New @hidden @SystemApi FLAG_BYPASS_MUTE, request to play audibly, even if the underlying stream is muted. - Wiring up to audio framework TBD. - Use both of these new flags on the inline volume slider controls used in Settings, ensuring playback is heard regardless of the current device filter state. Bug: 19407114 Change-Id: I3d44394931592ccbc1b61ddd9a4d1cc984da17cc
/frameworks/base/media/java/android/media/AudioAttributes.java
|
3d22bf04e399123e07ae9c2075784b63c8678d04 |
|
03-Feb-2015 |
Jean-Michel Trivi <jmtrivi@google.com> |
AudioAttributes javadoc update for conversion to stream types Change-Id: I2b687d8a002897fff90a8c99d180aa0a3511a571
/frameworks/base/media/java/android/media/AudioAttributes.java
|
1b3541d5eedb332ea01066b4a78a2d06d5304044 |
|
25-Nov-2014 |
Jean-Michel Trivi <jmtrivi@google.com> |
AudioMix address and type, rule exclusion API, dynamic source - Simplify API for defining an exclusion-based rule: don't define an exclusion rule, add instead a way to exclude a rule. - API for defining rules for dynamic sources (rule match on capture preset). - Verify mix type when creating AudioRecord or AudioTrack for a mix. - Use hashcode of mix for generating the device address. - AudioService dump prints info about registered policies. - Annotate as SystemApi the audio policy-related APIs. - Express mixing match and exclude rule constants as flags for future-proofness Bug 16006090 Bug 16009464 Change-Id: I0dabe71204501acaffea7ef0ddbbab9700e1bd87
/frameworks/base/media/java/android/media/AudioAttributes.java
|
8fdb0d4defb6ee2ca8057d3442ead36b408b6c17 |
|
17-Jul-2014 |
Jean-Michel Trivi <jmtrivi@google.com> |
More AudioPolicy registration Define new usage in AudioAttributes to describe "virtual" sources. Maintain a registration string in AudioPolicy and AudioMix that is used for the address of the mix in the native policy manager. AudioPolicy registration marks the audio policy configuration and the audio mixes as registered. The AudioPolicy class is used as the factory for the AudioTrack and AudioRecord objects that are respectively used as the source and sink of the mixes created by the policy owner. Bug 16009464 Change-Id: I8e5bd351495257597c513d22597e273fcabdbc55
/frameworks/base/media/java/android/media/AudioAttributes.java
|
ce4483cb83afb3a42a32ef2cb00cf04d6f9018fd |
|
17-Sep-2014 |
Benson Huang <benson.huang@mediatek.com> |
[FM] Add FM_TUNER audio source to support L version FM radio app 1.MediaRecorder.java: Add FM_TUNER audio source type for FM record. 2.AudioRecord.java: For FM output to the other device, (except the headset case), record the FM tuner signal to a track and playback the recorded signal by a track. 3.AudioAttributes.java: Thus we use AudioRecord, need to modify setCapturePreset to support MediaRecorder.AudioSource.FM_TUNER. Review: https://partner-android-review.git.corp.google.com/#/c/182071 Signed-off-by: Benson Huang <benson.huang@mediatek.com> Change-Id: If068d0bbbffb4848887004396a8a8d9bcba1334e
/frameworks/base/media/java/android/media/AudioAttributes.java
|
bdad1afa92a6e7cd688061d5432f25a3dd15b64e |
|
20-Sep-2014 |
Eric Laurent <elaurent@google.com> |
AudioRecord: add HW hotword capture flag Bug: 17575019. Change-Id: Ifa8b8342dffa12e1943b8f9105f6ab1fa4a2b1a6
/frameworks/base/media/java/android/media/AudioAttributes.java
|
04f55a490d0479f73ac5b749eeb7716d9a2d17db |
|
12-Sep-2014 |
Jean-Michel Trivi <jmtrivi@google.com> |
more AudioAttributes javadoc Expand the AudioAttributes and associated Builder javadoc. Bug 17059703 Change-Id: I81b8d48a3b5b3c203f02da3e37228e5ef7b5451d
/frameworks/base/media/java/android/media/AudioAttributes.java
|
56340fc2e87985fb3d396b63b28168bf57ebe7ce |
|
09-Sep-2014 |
Eric Laurent <elaurent@google.com> |
unhide AudioAttributes flag FLAG_HW_AV_SYNC Bug: 17112525. Change-Id: Ia817d8e4b6e517da04f948bcb138fc38faea6caf
/frameworks/base/media/java/android/media/AudioAttributes.java
|
8aacb2e96c62887d5418851396f903b6cc4bb5ab |
|
06-Sep-2014 |
Jean-Michel Trivi <jmtrivi@google.com> |
AudioAttributes: unhide CREATOR android.media.AudioAttributes implements the Parcelable interface, and is part of the SDK, it therefore requires CREATOR, writeToParcel, and describeContents to be "unhidden". CREATOR was still @hide Bug 17390818 Change-Id: I9c1cb1d454fe538cb5be6066ebed290a99352da9
/frameworks/base/media/java/android/media/AudioAttributes.java
|
6894cd38ebb619a0b7e47831b623655c9c0f6e12 |
|
22-Jul-2014 |
Jean-Michel Trivi <jmtrivi@google.com> |
Define FLAG_BEACON in android.media.AudioAttributes Define FLAG_BEACON as @SystemAPI Keep track of which flags are public, and the list of all supported flags for easier code maintenance. Bug 15415971 Change-Id: Ia7675e8fa4bc7c4d7a8f727fd25ff92ecb68483c
/frameworks/base/media/java/android/media/AudioAttributes.java
|
b634e1b6d6bda56128c354b1803b04b537e3799d |
|
01-Aug-2014 |
Eric Laurent <elaurent@google.com> |
AudioSystem: add API to query audio HW sync source Add a method to query from the audio HAL the HW sync source used for a given audio session. Add an AudioAttributes flag to request an output with HW sync source. Bug: 16132368. Change-Id: Ic31b2924b98f242c3aa0d58688879f05ea02d6f7
/frameworks/base/media/java/android/media/AudioAttributes.java
|
e9c19a5a8e020b11935511b37f51f9007994f4b6 |
|
29-Jul-2014 |
Jean-Michel Trivi <jmtrivi@google.com> |
AudioAttributes: implement hashcode and equals methods Change-Id: I3245c38d9413ba7590811a038db54628424a420e
/frameworks/base/media/java/android/media/AudioAttributes.java
|
cc58c76cf038343020331060d19ae39308f2a5cf |
|
31-Jul-2014 |
Jean-Michel Trivi <jmtrivi@google.com> |
AudioAttributes: always build formatted tags from tag array An AudioAttributes instance can either be built through the Builder, or from unmarshalling: the mFormattedTags field should always be in sync with the array of tags. In toString() method, use the more compact mFormattedTags. Change-Id: Ie06cd7758bf4f2d2693fedaa8c3ba4245802d921
/frameworks/base/media/java/android/media/AudioAttributes.java
|
c1601f73b98b004b6210631830d2184255037948 |
|
29-Jul-2014 |
Jean-Michel Trivi <jmtrivi@google.com> |
Restore missing usage assignment in AudioAttributes A bad merge caused the usage field assignment in setLegacyStreamType() to disappear. Restore it. Change-Id: I2c72e09a2c4a394483b8a4521b72d5edcc346e23
/frameworks/base/media/java/android/media/AudioAttributes.java
|
701d6ff12f36bf5e9de0dafdaced06744fd411eb |
|
16-Jul-2014 |
Jean-Michel Trivi <jmtrivi@google.com> |
AudioAttributes and AudioRecord. Add audio recording source in AudioAttributes. New AudioRecord constructor with AudioAttributes and AudioFormat. Legacy AudioRecord constructor is calling into the new constructor. Bug 16009464 Change-Id: I69d81f9e71bdf946c4cfbda6d3d8552ffac6b5c2
/frameworks/base/media/java/android/media/AudioAttributes.java
|
9b9d72fd111270333d773ec1f4cbc7795bbeec87 |
|
21-Jul-2014 |
Jean-Michel Trivi <jmtrivi@google.com> |
Remove obsolete USAGE_NOTIFICATION_TELEPHONY_RINGTONE definition Bug 16401631 Change-Id: I522e7c7030a71b528a484d4d8ae517b4b09460bf
/frameworks/base/media/java/android/media/AudioAttributes.java
|
89c3b29a9bfa0ae9858b913bc1ab6604c4613a15 |
|
20-Jul-2014 |
Jean-Michel Trivi <jmtrivi@google.com> |
Rename USAGE_NOTIFICATION_TELEPHONY_RINGTONE AudioAttributes: rename USAGE_NOTIFICATION_TELEPHONY_RINGTONE to USAGE_NOTIFICATION_RINGTONE in the list of usage values. Temporarily keep the old definition to prevent transient build breakages, will be removed after telephony packages have been updated. Bug 16401631 Change-Id: I9398443fd7ba3c30e9d371c5c5a2934b9ea6f30a
/frameworks/base/media/java/android/media/AudioAttributes.java
|
7b41467704f941b11af6aace3e40993afc7f6c6f |
|
18-Jul-2014 |
John Spurlock <jspurlock@google.com> |
Zen mode filtering should use new usage constants. Refactor stream-based calls to usage-based calls. Bug:15279516 Change-Id: I3f7757d8123c14670e2ad5f8e6aa4e9803efe7ec
/frameworks/base/media/java/android/media/AudioAttributes.java
|
09818c15500a04eac6b9998144c1ca54b8a54109 |
|
19-Jul-2014 |
Jean-Michel Trivi <jmtrivi@google.com> |
Add AudioAttributes to stream type conversion Framework internal conversion for going from an AudioAttributes instance to a legacy stream type. Change-Id: Ic3b7d2cf4aa0ac5255aa5897a25c78c940af9f77
/frameworks/base/media/java/android/media/AudioAttributes.java
|
998ff75484f1eecb6ebef150de4ac8456d22e864 |
|
11-Jul-2014 |
Jean-Michel Trivi <jmtrivi@google.com> |
fix build: hide AudioAttributes.usageToString() method Change-Id: I1041d9bf530df45878dd61e30e32f5a2f4f9d1a1
/frameworks/base/media/java/android/media/AudioAttributes.java
|
a8b6bd88cfb010c9e9aa1339e504fd593919e1e0 |
|
01-Jul-2014 |
Jean-Michel Trivi <jmtrivi@google.com> |
Define audio policy, mixes, and mixing rules An AudioMixingRule is a collection of AudioAttributes and match/exclude rules. An AudioMix is defined by its AudioMixingRule, AudioFormat and routing flag. An AudioPolicyConfig is a collection of AudioMix and is parcellable. An AudioPolicy has an AudioPolicyConfig, and can be registered/unregistered through AudioManager. bug 16009464 Change-Id: I01bf95d014967f48ba823648ea897779da099e5d
/frameworks/base/media/java/android/media/AudioAttributes.java
|
8df982dfa5408afe67cd6a4b45bfbf26c94299d0 |
|
26-Jun-2014 |
Jean-Michel Trivi <jmtrivi@google.com> |
Java MediaPlayer: add support for setting audio attributes Change-Id: Ia638107a5e67c20c46c2f5f1800db9da57d6f698
/frameworks/base/media/java/android/media/AudioAttributes.java
|
a1d80e3b1d210c60c6881a55ed39a4077ff66080 |
|
18-Jun-2014 |
Jean-Michel Trivi <jmtrivi@google.com> |
AudioTrack Java constructor with AudioAttributes and AudioFormat Change-Id: I82758a4231b8dc0b8d8e72acf3c896a289c28f60
/frameworks/base/media/java/android/media/AudioAttributes.java
|
b45c27303339e5baa9fe40e4f8ecd211e382982f |
|
04-Jun-2014 |
Jean-Michel Trivi <jmtrivi@google.com> |
AudioAttributes: parcelable, hide support for tags Make the AudioAttributes class parcelable. Hide support for adding and querying tags, there is no SDK-backed use case for this feature. Bug 15306334 Change-Id: Idb67a735778e687d73020ed0120643f31fc230a6
/frameworks/base/media/java/android/media/AudioAttributes.java
|
d60e875a97867c1a6ed84325bb70f7ffe8ce4521 |
|
18-Apr-2014 |
Jean-Michel Trivi <jmtrivi@google.com> |
Define audio attributes AudioAttributes is a class to associate a collection of attributes describing information about an audio player. Change-Id: I031aca1c79353abdfa0d7272c5dee0c2376c519a
/frameworks/base/media/java/android/media/AudioAttributes.java
|