- Apr 16, 2024
-
-
Santiago Seifert authored
Bug: b/333180588 Change-Id: Ie0eb633236c1684d17a7b8b6ca796a7b5dc514e4 Test: N/A. Disabling flaky test.
-
- Apr 15, 2024
-
-
Santiago Seifert authored
Bug: b/333181541 Test: N/A. Disabling tests. Change-Id: Ida8a441596dd17a37c8e850c11f455084f795183
-
- Apr 09, 2024
-
-
wujianxing1 authored
Change-Id: Ie1dbc1c3e20a972b895e1e77cacb158859bb4da2 Signed-off-by:
wujianxing1 <wujianxing1@xiaomi.corp-partner.google.com>
-
- Mar 08, 2024
-
-
Shuzhen Wang authored
Bug: None Test: None Change-Id: Ia50c9f2ea57d8a0bec9ec85e783a11068b81c214
-
- Feb 09, 2024
-
-
Fabián Cañas authored
Change-Id: I17f441fc4d39ad337c20016bf92568bf1ae1e73e
-
- Feb 01, 2024
-
-
Jason Chang authored
Change-Id: Id7cb5da38d767a280091fdc8ed212e23f6a98d86
-
- Dec 05, 2023
-
-
Vlad Popa authored
The new API throws an exception instead of returning false when a codec is added twice or removed without being registered first. Adjusted the tests Test: adb shell device_config put media_audio android.media.audio.loudness_configurator_api true Test: atest LoudnessCodecConfiguratorTest Bug: 314864585 Change-Id: Idb2bb4feebc84bd18be96074a441e808628aba78
-
- Nov 29, 2023
-
-
Yeabkal Wubshit authored
<vibration> could later be used as a generic tag for different representations of vibrations, other than VibrationEffects. Thus, this change changes the tag used to serialize VibrationEffects from <vibration> to <vibration-effect>. Contents of change is under the `enable_vibration_serialization_apis` flag, so no new flag is created as this CL is only a simple rename. Bug: 297296718 Test: unit tests, presubmit Change-Id: I8c7fb12ad3602ccc213b59b36db1e733c4e2b396
-
- Nov 28, 2023
-
-
Vlad Popa authored
Aggregate bundles that are similar to multiple MediaCodecs and use the LoudnessCodecInfo as aggregation key. Removed mediaCodecHash attribute from LoudnessCodecInfo to allow aggregation of multiple audio codecs which can use the same loudness parameters Test: adb shell device_config put media_audio android.media.audio.loudness_configurator_api true Test: atest LoudnessCodecConfiguratorTest Bug: 298463873 Change-Id: I1cb1439a8d9b5bf483e20d10abcd03a01e5b23f2
-
- Nov 27, 2023
-
-
Raj Goparaju authored
Automotive audio systems support powerfull amplifiers that have specific requirement of fade properties. Automotive partners also require dynamic fade properties in order to meet geography based legal requirements. This feature supports configuring the following fade properties: - Fadeable usages - Unfadeable content types - Unfadeable UIDs - Unfadeable audio attributes - Volume shaper config per usage or audio attributes - fade duration per usage or audio attributes Bug: 186905459 Bug: 307354764 API-Coverage-Bug: 308666800 Test: atest -c FadeManagerConfigurationUnitTest Change-Id: I0e3d76a85c53e597a0937886b5b4d615f725bd3b
-
- Nov 22, 2023
-
-
Vlad Popa authored
Changed the LoudnessCodecFormat name into LoudnessCodecInfo and removed the setAudioTrack method. The new API will provide the corresponding AudioTrack in the startLoudness updates methods. Test: adb shell device_config put media_audio android.media.audio.loudness_configurator_api true Test: atest LoundessCodecHelperTest Test: atest LoudnessCodecConfiguratorTest Bug: 298463873 Change-Id: Ia9d1b0c5ed523389d949154bf465a87f71f2f463
-
- Nov 02, 2023
-
-
Venkatarama Avadhani authored
When the flag mediametadataretriever_default_rgba8888 is set, use RGBA_8888 as the color format in getFrameAtTime call. Add the unit test to check the intended behaviour. Test: adb shell setprop persist.device_config.aconfig_flags.\ media_solutions.com.android.media.playback.flags.\ mediametadataretriever_default_rgba8888 true Test: adb shell device_config put media_solutions \ com.android.media.playback.flags.mediametadataretriever_default_rgba8888 \ true Test: atest com.android.mediaframeworktest.unit.MediaMetadataRetrieverTest Bug: 298965955 Change-Id: I8452e75e07bcfcd2483ad2da971806147f5a9067
-
- Nov 01, 2023
-
-
Ian Baker authored
This resolves automerge conflicts in aosp/2745223 This is a manual cherry-pick of aosp/2796172 with different automerger tags (see comment: https://android-review.git.corp.google.com/c/platform/frameworks/base/+/2796172/comments/f84931d5_488e9082). Test: atest com.android.mediaframeworktest.unit.MediaMetadataRetrieverTest Bug: 298965955 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:54342761f0739a209d46938a0e956ab71c15d980) Merged-In: I8cb92fd35b3633cf458f8692173124fd1666d6b5 Change-Id: I8cb92fd35b3633cf458f8692173124fd1666d6b5
-
- Oct 31, 2023
-
-
Ian Baker authored
This resolves automerge conflicts in aosp/2745223 This is a manual cherry-pick of aosp/2796172 with different automerger tags (see comment: https://android-review.git.corp.google.com/c/platform/frameworks/base/+/2796172/comments/f84931d5_488e9082). Test: atest com.android.mediaframeworktest.unit.MediaMetadataRetrieverTest Bug: 298965955 Merged-In: I81d512e9b21b64a2cca0450cb85c52d8a2125865 Change-Id: I8cb92fd35b3633cf458f8692173124fd1666d6b5
-
- Oct 30, 2023
-
-
Thiébaud Weksteen authored
All the service implementations require the annotations, even for tests. Add the annotations and use a fake to grant the permission by default. Bug: 285807496 Test: atest MediaProjectionTests Change-Id: Icb90d506b1e424a85df14c0474ad6d139a8da45d
-
- Oct 18, 2023
-
-
Ian Baker authored
This resolves automerge conflicts in aosp/2745223 Test: atest com.android.mediaframeworktest.unit.MediaMetadataRetrieverTest Bug: 298965955 Merged-In: I7e29732e1e77e37cfb491521d14d2f3eb07deb36 Merged-In: I81d512e9b21b64a2cca0450cb85c52d8a2125865 Change-Id: I8cb92fd35b3633cf458f8692173124fd1666d6b5
-
- Oct 17, 2023
-
- Oct 14, 2023
-
-
Harish Mahendrakar authored
Removed MediaMetadataRetrieverTest from MediaFrameworkUnitTestRunner Bug: 305324235 Test: atest com.android.mediaframeworktest.unit.MediaMetadataRetrieverTest Change-Id: I9bbd0a278c7c1b9e6cb14b3a79bde113837bd4c1
-
- Oct 13, 2023
-
-
Harish Mahendrakar authored
Bug: 304812355 Test: atest com.android.mediaframeworktest.unit.MediaMetadataRetrieverTest Change-Id: I043fb987d02a45735bf799055f50cfa9d8bac328
-
Lais Andrade authored
Move ringtone tests to media/tests/ringtone module that maps to run on presubmit on any code changes on *Ringtone*.java files. Split the tests into Ringtone general ones, relying on RingtoneManager.getRingtone for instantiation, and new API tests in RingtoneBuilderTest, covering the new sound+vibration features. Fix: 304497672 Test: atest com.android.media.RingtoneTest atest com.android.media.RingtoneBuilderTest Change-Id: Idcaf8851252d1dba1bc89fa8639b7d9cde27d281
-
- Oct 06, 2023
-
-
Krzysztof Kosiński authored
Bug: 255714762 Test: presubmit Change-Id: I7e29732e1e77e37cfb491521d14d2f3eb07deb36 Merged-In: I7e29732e1e77e37cfb491521d14d2f3eb07deb36
-
Krzysztof Kosiński authored
Bug: 255714762 Test: presubmit Change-Id: I7e29732e1e77e37cfb491521d14d2f3eb07deb36 Merged-In: I7e29732e1e77e37cfb491521d14d2f3eb07deb36
-
Krzysztof Kosiński authored
Bug: 255714762 Test: presubmit Change-Id: I7e29732e1e77e37cfb491521d14d2f3eb07deb36
-
- Sep 08, 2023
-
-
Jan Sebechlebsky authored
Factory .create methods shouldn't implicitly generate new audio session id, but pass AUDIO_SESSION_ALLOCATE instead. This will case the MediaPlayer constructor to generate audio session id when needed, but won't prevent it from using a device-specific audio session id if there's one asociated with the context. Bug: 298002296 Test: atest MediaPlayerUnitTest Change-Id: I4947c09c9ab3ba905c6016466b45fc107ee7e2e0
-
- Aug 31, 2023
-
-
Jan Sebechlebsky authored
Bug: 293874525 Test: atest AudioMixTest AudioMixingRuleTest Change-Id: I26a43f630208f76b9ea75fe01db4fa725a34221d
-
Jan Sebechlebsky authored
Bug: 293874525 Test: atest AudioHostTest AudioService Change-Id: I6593dfcca34f399f3e0013c17f62c76aa7492693
-
- Aug 30, 2023
-
-
Jan Sebechlebsky authored
Bug: 293874525 Test: atest AudioMixUnitTests AudioMixingRuleUnitTests Test: atest AudioHostTest AudioServiceHostTest Change-Id: Id84c587f1edf5754496ed7f803c217017b43e605
-
- Aug 23, 2023
-
-
Atneya Nair authored
- Add exported receiver for inter-app communication - Add overload not taking predicate Bug: 268724205 Test: atest getFutureForIntentTest Change-Id: I48ab98a68702f52af22df5f0c0ce9dddba91dbc0
-
- Aug 22, 2023
-
-
Ahmad Khalil authored
Add an api to set RingtoneManager media type, and then use this type to determine whether the cursor will return Sound or Vibration items. Bug: 273903859 Test: atest RingtoneManagerTest Change-Id: I5a1cc0355fc52d738b6ae266846410556f1f2f1e
-
Chan Kim authored
See https://source.android.com/setup/contribute/respectful-code for reference For this round, the fixes are only applied to the following to minimize breaking dependencies: * comments (excluding javaDoc annotations) * private constants * private functions * parameters within functions BYPASS_INCLUSIVE_LANGUAGE_REASON=Just updating a few select inclusive language violations. No-Typo-Check: Changes focused on inclusive language violations. BUG: 295342157 Change-Id: If7774f1617bf62c0ae8841b30934281a4b87e0e3
-
- Aug 08, 2023
-
-
Atneya Nair authored
Abstract out listener registration logic from getFutureForIntent to apply to other listener registration callbacks. Add tests which ensure that the listener is unregistered when the future completes or is cancelled. Bug: 288333346 Bug: 294636572 Test: atest mediatestutilstests Change-Id: I91f34ee2e215cafe0d0cd0b33f831b244850ab06
-
Atneya Nair authored
Add helper function which gets a future associated with an intent broadcast matching a certain action and predicate. Automatically unregister the listener when the future is completed or cancelled. Add unit tests. Bug: 288333346 Bug: 294636572 Test: atest GetFutureForIntentTest Change-Id: Ie26487d3f727691d001b3d0392dc0fcdf5b5a2db
-
- Aug 05, 2023
-
-
Atneya Nair authored
Add new utils library for media tests. Add a CancelAllFuturesRule which cancels all registered futures on test completion (regardless of success). Add unit tests. Bug: 294636572 Bug: 288333346 Test: atest CancelAllFuturesRuleTest Change-Id: If270a6b7683515157ef356c41ea53ed872bd85d8
-
- Jul 31, 2023
-
-
Santiago Seifert authored
Bug: 292295557 Change-Id: I5ea4b4b2f6d7c732bbfaad2542538287fa41c9ff Test: atest mediaroutertest
-
- Jun 29, 2023
-
-
Jan Sebechlebsky authored
LOOPBACK mode flag implies: * only remote submix devices can be specified * if no device is specified the device type will be inferred from mix RENDER mode flag implies * device must be explicitly specified * only output device can be specified * only MIX_ROLE_PLAYERS mix can be configured in render mode For LOOPBACK & RENDER mixes, both sets of requirements must be fullfilled. Bug: 287908341 Test: atest AudioHostTest AudioServiceHostTest AudioMixUnitTests Change-Id: I43184f3ac2ecd748da5ea8f0e5dc1be70270e254
-
- Jun 16, 2023
-
-
Jan Sebechlebsky authored
Bug: 285091923 Test: atest AudioMixUnitTests AudioHostTest Change-Id: I8b3126073288746d73bd29523b3bb2cd04ab072f
-
kumarashishg authored
Add active owners Bug: 284073105 Test: tests are not required to add owners Change-Id: I7304cf62707fb18a81dbd5cc1b04792b1207dcfc
-
- May 09, 2023
-
-
Simon Bowden authored
Bug: 261571543 Test: unit Change-Id: Ia0f327f9d3a3a61fa3b42465f8b622c8c7473257
-
- May 05, 2023
-
-
Jan Sebechlebsky authored
... and add missing .hashCode overrides. Bug: 281036492 Test: atest AudioProductStrategyTest Change-Id: I09d23368b13052592fc8d27dd1ff985d3e508c6a
-
- Apr 23, 2023
-
-
Simon Bowden authored
Rename playWithVolumeShaping to playRemoteRingtone, to make the application clearer. Bug: 272280617, 279157059 Test: presubmit Change-Id: Ic1b753cde9afc6536d137618df54c21eec38487a
-