This CL does the following 5 things:
1) REMOVE setPrevNextListener API
2) REMOVE show/hideSubtitle API
3) EXPOSE Command related strings as public
4) CHANGE time parameter in show(timeout) from integer to long
5) CHANGE setButtonVisibility(visible) parameter from boolean to int
All changes are based on API review.
Test: build
Change-Id: Ia6ffb454100be6a2f75a145e9d6a87bd88faac0c
For devices that use the config_handleVolumeKeysInWindowManager
configuration, add API to receive volume key-related events
directly, without them being processed by the framework
(already not received by apps).
Bug: b/63906162
Test: set config_handleVolumeKeysInWindowManager, use
"adb shell dumpsys audio" to verify adjustVolume methods aren't
logged
Change-Id: I432b14fa9980764d69077b9f1b23b8c95f30814d
This CL does the following:
- Removes PlaylistParams argument from all playlist related methods.
(i.e. setPlaylist(List, PlaylistParams) becomes setPlaylist(List))
- Adds methods (to/fromBundle, to/fromBundleList) into MediaItem2.
Bug: 72537268
Test: Passed MediaSession2Test
Change-Id: I48ef69ad2728fb7de7efab10f4e077aec552dd0b
This is part of device enumeration. With the new add API, developer
could get the active microphones information for each channel.
Bug: 64038649
Test: Run cts and check the print log.
Change-Id: I6de3339add858cb1f6b7f948995bd013570d4260
This is part of device enumeration. With the new add API, developer
could get the active microphones information for each channel.
Bug: 64038649
Test: Run cts and check the print log.
Change-Id: I8dd77d0bf3024d5ecb552e099c313fb62f1fda54
Add MicrophoneInfo to represent the microphone characteristics which
including location, orientation, frequency response, sensitivity,
channel mapping and other useful information.
Add a new API in AudioManager to query all current available
microphones.
Bug: 64038649
Test: Run test and check the print log.
Change-Id: Ie0dbfeeb84b88db426518b93c7bb83c8913bca85
In order to enable applications to query audio sub-selection
information of one audio programme delivered by Next Generation Audio
streams, implement presentation API in MediaExtractor.
Bug: 63901775
Test: make
Change-Id: I2b0bfc5d1089614aa93d58fec99324d7a0ed464b
Signed-off-by: Previr Rangroo <prang@dolby.com>
Methods are needed to release a secure stop by ID and
return a list of secure stops.
Test: gts media tests
bug:67361434
bug:64001680
Change-Id: Id35fb082175a0b152e7a6032b147f1d3b221719b
Session/Controller needs mProvider. However, if the createProvider()
interacts with other components, than other components may use session
/controller object before mProvider is set.
This CL prevents such issues by calling initialize() to communicate
with other components after the provider is set.
Test: Run all MediaComponents test once
Change-Id: I7f4c52136038a0522471015344881552b678a2ab
This also simplifies future work for adding more functions
Test: Run all MediaComponents test once
Change-Id: I37f1e205f95bcf506df5550c1e65a864e8a9028c