Skip to content
Snippets Groups Projects
  1. Jan 19, 2024
    • Arun Johnson's avatar
      Adding MediaFormat keys for large frame audio · 40eac6ed
      Arun Johnson authored
      Bug: 298052174
      
      Change-Id: I369affbb103cbf860a2fabfc1b85f0c44750ed82
      40eac6ed
    • Ian Baker's avatar
      Log exception when MediaPlayer.attemptDataSource fails · b01504da
      Ian Baker authored
      This gives more context when a subsequent fallback call to
      setDataSource(String, Map<String, String>, List<HttpCookie>) fails
      (which is often expected, especially for content:// URIs). These logs
      should help to see more detail of the unexpected failure from
      ContentResolver in this case.
      
      Bug: 313263440
      Test: Presubmit
      Change-Id: I77df208d796c92596a5c28d845aaaf71546173b5
      b01504da
  2. Jan 17, 2024
    • Girish's avatar
      media: adding MediaFormat.KEY_IMPORTANCE · 39e5dad7
      Girish authored
      Bug: 289097671
      Test: atest android.media.misc.cts.ResourceManagerTest
            atest android.media.misc.cts.ResourceManagerMultiTest
      Merged-In: I750ef5a7585b7bba94f0dfb7bb8e70ec12bf70f5
      Change-Id: I750ef5a7585b7bba94f0dfb7bb8e70ec12bf70f5
      39e5dad7
  3. Dec 21, 2023
  4. Dec 12, 2023
  5. Dec 09, 2023
  6. Dec 08, 2023
  7. Dec 05, 2023
    • Mikhail Naganov's avatar
      Revert "Enable AIDL HAL support in the framework" · fef58f8c
      Mikhail Naganov authored
      Revert submission 2388404-cuttlefish_aidl_audio
      
      Reason for revert: Breaks CtsVirtualDevicesTestCases.*VirtualAudioTest.*
      
      Can be difference in timing, due to larger HAL buffers. Need to investigate.
      
      Reverted changes: /q/submissionid:2388404-cuttlefish_aidl_audio
      
      Bug: 314844829
      Change-Id: I9e3ebc87aa5923a78805e997e44693958c74d6e8
      fef58f8c
  8. Dec 04, 2023
  9. Nov 29, 2023
    • Sham Rathod's avatar
      MediaCas : replace getService() with waitForDeclaredService() · c8dd41c2
      Sham Rathod authored
      When MediaCas service is configured to be launched as a lazy service,
      getService() fails since it does not launch a service that is not
      already running (which is the case with lazy services). Change the call
      to waitForDeclaredService() which attempts to launch a service if not already
      running.
      
      Test: atest MediaCasTest
      Bug: 301834444
      Change-Id: I2c50bd8485719da4d77e1862e93129a66c102e83
      c8dd41c2
  10. Nov 25, 2023
  11. Nov 08, 2023
  12. Nov 07, 2023
  13. Nov 06, 2023
    • Shunkai Yao's avatar
      Update Spatialization and HeadTracking AIDL usage · 5998bc59
      Shunkai Yao authored
      Bug: 273373363
      Test: m
      Test: lunch panther-trunk_staging-userdebug; m
      Test: Test Bluetooth Audio functionality on Panther
      Change-Id: Id5b2ffba2131aebf0ec6656511f2f10f79db7567
      Merged-In: Id5b2ffba2131aebf0ec6656511f2f10f79db7567
      5998bc59
  14. Nov 02, 2023
    • Venkatarama Avadhani's avatar
      MetadataRetriever: Use RGBA_8888 as default color format based on a flag · c35577ee
      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
      c35577ee
  15. Nov 01, 2023
  16. Oct 18, 2023
    • Ian Baker's avatar
      Cherry-pick MediaFrameworkTest dep changes from internal main · 70b59724
      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
      70b59724
  17. Oct 14, 2023
    • Harish Mahendrakar's avatar
      Migrate MediaMetadataRetrieverTest to JUnit4 · 20dabc8c
      Harish Mahendrakar authored
      Removed MediaMetadataRetrieverTest from MediaFrameworkUnitTestRunner
      
      Bug: 305324235
      Test: atest com.android.mediaframeworktest.unit.MediaMetadataRetrieverTest
      
      Change-Id: I9bbd0a278c7c1b9e6cb14b3a79bde113837bd4c1
      20dabc8c
  18. Oct 13, 2023
  19. Oct 12, 2023
  20. Oct 11, 2023
  21. Oct 10, 2023
  22. Oct 09, 2023
    • Anton Hansson's avatar
      Fix broken docs in media · 08398d92
      Anton Hansson authored
      IntDefs are not present in the generated documentation, so can not
      be referenced via @link/@see tags. Additionally, the "one of ..."
      strings are auto-generated via the presence of IntDef, so shouldn't
      be enumerated manually.
      
      Bug: 303184203
      Test: m docs
      Change-Id: I70173065912abf7df11f480a858f4c50c5a9a74e
      08398d92
  23. Oct 06, 2023
  24. Sep 12, 2023
  25. Aug 31, 2023
    • Shunkai Yao's avatar
      Avoid Object.wait(0) · 6b1f22fe
      Shunkai Yao authored
      From java doc: If timeout is zero, however, then real time is not
      taken into consideration and the thread simply waits until notified.
      
      Bug: 298456150
      Test: m
      Change-Id: Id5cdf6a52a97fddb24d2fcf2dcaa6e7385eb7c46
      6b1f22fe
  26. Aug 30, 2023
    • Songchun Fan's avatar
      [SettingsProvider] update ringtone cache only after setting is update · f1ef6713
      Songchun Fan authored
      Previously RingtoneManager may override the ringtone cache even when the
      ringtone setting is not updated. This CL moves the cache update logic to
      SettingsProvider, and only updates the cache if the setting itself has
      been updated.
      
      BUG: 280219393
      Test: manual with work profile creation
      Merged-In: I63ce56ef0cbfb8862ffbb56d7137a0f0223110a2
      Change-Id: I63ce56ef0cbfb8862ffbb56d7137a0f0223110a2
      (cherry picked from commit cc0de51a)
      f1ef6713
  27. Aug 28, 2023
  28. Aug 22, 2023
  29. Aug 18, 2023
    • Santiago Seifert's avatar
      Remove callback upon MediaSession#release · 3cfa79c5
      Santiago Seifert authored
      This change prevents all callbacks from MediaSession after
      the app calls MediaSession#release. Concretely, this change
      fixes flakiness in MediaControllerTest, where the callback
      implementation tries to access the media session after its
      corresponding field has been set to null.
      
      Bug: 294178159
      Bug: 283873741
      Test: atest CtsMediaBetterTogetherTestCases
      Change-Id: I112fa5df6aafdb2774ed65c2d08ab1eb680e6b47
      (cherry picked from commit 9452bb9f)
      Merged-In: I112fa5df6aafdb2774ed65c2d08ab1eb680e6b47
      3cfa79c5
  30. Aug 17, 2023
    • Iván Budnik's avatar
      Prevent media button receivers targeting activities · d455e217
      Iván Budnik authored
      This enforcement prevents a bypass of background activity launches. For
      Android U, the enforcement just ignores the request and logs a warning.
      
      This change is a backport of ag/23810567.
      
      Test: Manually.
      Bug: 272737196
      Bug: 272024837
      Change-Id: I2412633c0b3afda6776244c72043d0dd78a4c8a1
      Merged-In: I07c2521f3d97f94e245a25bbb6f49f75cf54a808
      d455e217
  31. Aug 16, 2023
    • Vlad Popa's avatar
      CSD: Implement new logic for enabling CSD · 42965041
      Vlad Popa authored
      Removed the feature flag since this introduces unnecessary complexity.
      Using the prop config_safe_media_volume_enabled for checking the MCC
      availability and config_safe_sound_dosage_enabled for vendor specific
      check if CSD is supported. Also introducing AudioManager APIs for
      enabling/disabling CSD in countries where MCC is not enforced.
      
      Test: special build manual test
      Bug: 287011781
      Merged-In: I7b38786c2788e99f5025a9a17ab2ff8d35df722d
      Change-Id: I7b38786c2788e99f5025a9a17ab2ff8d35df722d
      42965041
  32. Aug 11, 2023
    • Ray Essick's avatar
      Better diagnostic for native createCodecByName() · bd5fdaa0
      Ray Essick authored
      when passing null, provide a useful diagnostic as part of
      the nullpointerexception.
      
      Bug: 295199911
      Test: atest android.mediav2.cts.CodecUnitTest
      Change-Id: Ib044f4e0e0cf812ec5d08d914ae59691fea2cbff
      bd5fdaa0
Loading