Skip to content
Snippets Groups Projects
  1. Mar 08, 2024
  2. Feb 29, 2024
  3. Feb 28, 2024
    • Marvin Ramin's avatar
      Improve ownership model of AudioMixes in AudioPolicies · 70850403
      Marvin Ramin authored
      1) Only allow unregistration of mixes that belong to the policy
         attempting to unregister the mixes.
      2) Add a Binder token to AudioMix to uniquely identify mixes. This
         ensures AudioMixes can only be unregistered by the caller that
      registered them.
      3) Only add AudioMixes to the Java-side policy representation if the
         native registration succeeded.
      4) Clear Java-side policy mixes after the policy is unregistered
         completely.
      
      Bug: 309080867
      Test: atest AudioHostTest
      Change-Id: I96f384a998a05d00317013da2d953f48a1c8144a
      70850403
  4. Feb 27, 2024
  5. Feb 26, 2024
  6. Feb 21, 2024
    • Robert Wu's avatar
      MIDI: Change meta-data to property in UMP docs · 739ec756
      Robert Wu authored
      This CL fixes a typo
      
      Bug: 227690391
      Test: presubmit
      Change-Id: I5bd18d2292bf1f65a51ff369b123968f8b13454d
      739ec756
    • Santiago Seifert's avatar
      Support clearing BrowserService session token · 5a044611
      Santiago Seifert authored
      Applications may now call setSessionToken(null), which:
      - Causes all connected browsers to disconnect.
      - Allows the service to be terminated along with the
        hosting process.
      - Allows the app to replace the browser's associated token
        once the session is released.
      
      More details in go/invalid-mediabrowserservice-session.
      
      Test: atest MediaBrowserTest MediaBrowserServiceTest
      Bug: b/185136506
      Change-Id: Idbbc23d735e905e948e5932ba8333ac79fd61b8e
      5a044611
    • David Zhao's avatar
      Improve selectedTrackInfo javadoc · 7c71538f
      David Zhao authored
      Test: mmm
      Bug: 323560018
      Change-Id: I9c8bc497ea3d1fc5a3041756c4da6d8ef251d57c
      7c71538f
    • David Zhao's avatar
      Clarify javadoc for SignalingDataResponse · 5a746efc
      David Zhao authored
      Bug: 326134315
      Test: mmm
      Change-Id: I3be9a1075cdaa740fb2ad40da01d5f10de28f16d
      5a746efc
  7. Feb 17, 2024
  8. Feb 16, 2024
    • Santiago Seifert's avatar
      Move mCurConnection to the service and rename · b9143854
      Santiago Seifert authored
      In later changes, when we allow swapping the ServiceState, we
      should not swap the current connection, since a callback
      execution might be ongoing.
      
      Bug: b/185136506
      Test: m (non-functional refactor)
      Change-Id: Ie097398656936445684fd7905b7d953e24c0a6db
      b9143854
  9. Feb 15, 2024
    • Shunkai Yao's avatar
      Visualizer: validate capture size · d3fdc6ec
      Shunkai Yao authored
      throw IllegalArgumentException if the size is invalid
      add check to the default size return from audio hal
      
      Bug: 317742497
      Test: atest android.media.audio.cts.VisualizerTest
      Test: manual test with Sound Amplifier
      Change-Id: I34986011bcd9866f37b8eea083775efd923ab550
      d3fdc6ec
    • Santiago Seifert's avatar
      Make ConnectionRecord reference ServiceState · 685cc6f9
      Santiago Seifert authored
      Bug: b/185136506
      Test: m
      Change-Id: I52d81fadff603770e35a02dcd39e7627cbdcd8fb
      685cc6f9
    • Iván Budnik's avatar
      Promote setRouteVolume from SystemAPI to public API · 5f4ded9a
      Iván Budnik authored
      The promotion is needed for companion apps implementing their Output
      Switcher dialogs. The change is part of a wide line of work tracked in
      b/192657812, which implements the necessary public APIs in MediaRouter2
      for watch devices to be able to provide Output Switcher dialogs that
      control media routing of the phone via their companion apps. The main
      objective for the API is to provide feature parity with the phone's
      Output Switcher implementation.
      
      The child tickets of b/192657812 hold information about the other API
      changes that have been made across the last few quarters towards the
      same effort.
      
      b/325323765 more context about the criticality of this API.
      
      Bug: 325323765
      Test: atest SystemMediaRouter2
      API-Coverage-Bug: 325451153
      Change-Id: I43b0a963d52a74e9df1779fe64baf768963ce49e
      5f4ded9a
    • Santiago Seifert's avatar
      Move all onHandler methods into ServiceState · 244b8561
      Santiago Seifert authored
      This changes allows following changes to swap the
      ServiceState instance when the session token changes
      by coupling binder operations to a ServiceState instead
      of the service itself.
      
      Bug: b/185136506
      Test: atest MediaBrowserTest MediaBrowserServiceTest
      Change-Id: I9459cfcd76155f8306c2e95c3f03968ee6963076
      244b8561
    • Andrew Lewis's avatar
      Improve editing metrics APIs and documentation · 862c82a0
      Andrew Lewis authored
      - Clarify cue points are for setting speed in the constant name.
      - Give examples of metadata types.
      - Give examples of library names.
      - Fix typo.
      
      Test: n/a - docs/constant name changes only
      Fixes: 325126278
      Change-Id: I67b73da0288da065ce654426f7c7d1cc76883ec0
      862c82a0
  10. Feb 14, 2024
  11. Feb 13, 2024
  12. Feb 12, 2024
  13. Feb 10, 2024
  14. Feb 09, 2024
Loading