Skip to content
Snippets Groups Projects
  1. May 03, 2024
    • Oriol Prieto Gasco's avatar
      RESTRICT AUTOMERGE · 7b816129
      Oriol Prieto Gasco authored
      Set the container field of aconfig flags
      
      Test: printflags --format='{package}:{container}:' | grep "::"
      Bug: 312769710
      Flag: NONE
      Change-Id: I84fda0d5e9813940609436d825738ff786908ff0
      7b816129
  2. Apr 17, 2024
  3. Apr 02, 2024
  4. Mar 27, 2024
  5. Mar 18, 2024
  6. Mar 15, 2024
    • Venkatarama Avadhani's avatar
      MediaCas: Reinit the HIDL CAS service if killed · c0a8f05d
      Venkatarama Avadhani authored
      When the HIDL MediaCasService is killed or dies, allow for it to be
      re-initialized with the new instance of the service.
      
      Test: atest android.media.misc.cts.MediaCasTestMediaCas:
      Bug: 314885711
      Change-Id: I0ebeca9f433f3d8ee2b140ee0d2de9dc06ace021
      c0a8f05d
    • Venkatarama Avadhani's avatar
      MediaCas: Reinit the CAS service if killed · ee38ec4e
      Venkatarama Avadhani authored
      When the MediaCasService is killed or dies, allow for it to be
      re-initialized with the new instance of the service. The service is
      restarted by the system, this code just re-initializes a pointer to this
      new service.
      
      Test: atest android.media.misc.cts.MediaCasTest
      Bug: 327332440
      Change-Id: I9d98c4e200adc4ee987dc8d1e472dfe5ac8f8da2
      ee38ec4e
  7. Mar 14, 2024
  8. Mar 13, 2024
    • Harish Mahendrakar's avatar
      MediaCodecInfo: Change default alignment and block size to 1x1 · 1c144d88
      Harish Mahendrakar authored
      Default alignment and block size were set to 2x2 earlier.
      And even when the codec advertised alignment of 1x1, MediaCodecInfo
      was returning 2x2 because it was picking max of default values and
      what was advertised by codecs.
      
      Bug: 325679394
      Bug: 329378524
      Test: atest CtsMediaMiscTestCases:MediaCodecListTest
      Test: atest CtsMediaV2TestCases:CodecInfoTest passes for codecs
       that advertise 1x1 alignment
      
      Change-Id: I25af7fb09ab9edf8e1d1dea7bac633b1353b4e48
      1c144d88
  9. Mar 08, 2024
    • Eric Laurent's avatar
      media: add BluetoothProfileConnectionInfo::createHfpInfo() · b292afb7
      Eric Laurent authored
      Add BluetoothProfileConnectionInfo::createHfpInfo() factory method
      in preparation of HFP device management refactoring.
      
      Also generalize BluetoothProfileConnectionInfo.isLeOutput() to
      isOutput() for use by multiple profiles.
      
      Bug: 265057196
      Test: make
      Change-Id: I444f401fb836f524f6d0b905744842869e466ea1
      Merged-In: I444f401fb836f524f6d0b905744842869e466ea1
      b292afb7
  10. Mar 07, 2024
    • Arun Johnson's avatar
      Reset mBufferInfos for setBufferInfo(s) · cce59b2c
      Arun Johnson authored
      Since any of the setBufferInfo(s) can be converted
      to BufferInfos in getBufferInfos, a reset is required
      for mBufferInfos for every setBufferInfo(s)
      
      Bug: 325512893
      Test: atest android.mediav2.cts.CodecDecoderBlockModelMultiAccessUnitTest
      
      Change-Id: Ibf28ad0983985bfb93f3bffe426677729430d06a
      cce59b2c
  11. Mar 04, 2024
    • Shunkai Yao's avatar
      Visualizer: validate capture size · 13cb2a29
      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
      Merged-In: I34986011bcd9866f37b8eea083775efd923ab550
      13cb2a29
  12. Feb 29, 2024
  13. 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
  14. Feb 27, 2024
  15. Feb 26, 2024
  16. Feb 23, 2024
  17. 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
  18. Feb 17, 2024
    • Raj Goparaju's avatar
      Add @IntRange annotation to clarify expected duration value · 20142b16
      Raj Goparaju authored
      The setter and getter APIs for duration accept values
      ranging from non-negative to positive-only. Add necessary
      annotation to clarify the expected duration value.
      
      Bug: 318430127
      API-Coverage-Bug: 308666800
      Test: atest FadeManagerConfigurationUnitTest
      Change-Id: I201f96ac74169dc3f43d3a6c349bec99c9410d5f
      20142b16
  19. 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
  20. 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
  21. Feb 14, 2024
  22. Feb 13, 2024
Loading