Skip to content
Snippets Groups Projects
  1. Apr 26, 2024
  2. Nov 08, 2023
    • Eric Laurent's avatar
      AudioService: anonymize Bluetooth MAC addresses · 2ad44bc6
      Eric Laurent authored
      Make sure APIs returning AudioDeviceAttributes from AudioService
      anonymize the Bluetooth MAC addresses because those are considered
      privacy sensitive.
      Only expose the full MAC address to system and apps with BLUETOOTH_CONNECT
      permission.
      
      setters, getters and listeners for preferred device for strategy,
      preferred device for capture preset and mute await connection are
      modified:
      - when entering AudioService, full MAC addresses are retrieved based on the
        known Bluetooth devices stored in AudioDeviceInventory.mDeviceInventory
      - when exiting AudioService, MAC addresses are anonymized if the client
        app does not have BLUETOOTH_CONNECT permission or is not a system component
      
      APIs based on AudioDeviceInfo do not need to be modified as the
      AudioDeviceInfo MAC address is for the AudioPort cached in the app
      process and AudioPorts are anonymized by the native audioserver before
      being returned to client apps.
      
      Bug: 285588444
      
      Test: atest AudioManagerTest
      Test: atest RoutingTest
      Test: atest AudioCommunicationDeviceTest
      Change-Id: I67bbba2ba941c97138a068d640079b17650e3d86
      Merged-In: I67bbba2ba941c97138a068d640079b17650e3d86
      2ad44bc6
  3. Oct 26, 2023
    • Vlad Popa's avatar
      Refactor the SADeviceState to AdiDeviceState · 61b2a921
      Vlad Popa authored
      The idea is to have a device state catalog for all the known devices.
      Also refactored the name of the Settings.Secure key entry for
      persistence. The current code will check the legacy key first, erase
      it and update the new key.
      
      Test: atest SpatializerHelperTest & AudioDeviceBrokerTest
      Bug: 278265907
      Bug: 285588444
      
      Merged-In: Idabcc84cb0f5f6f88ba5aebc435511ab95016ef3
      Change-Id: Idabcc84cb0f5f6f88ba5aebc435511ab95016ef3
      61b2a921
  4. Oct 20, 2023
    • Behnam Heydarshahi's avatar
      Ignore VolumeDialogImplTest class · 6bd7e33a
      Behnam Heydarshahi authored
      The tests were leaking and crashing other tests in udc-dev
      
      Bug: b/305980224
      Test: atest VolumeDialogImplTest should find 0 tests.
      Merged-In: I0677b6b6ab958dc9939f55851c00dc67d32b828d
      Change-Id: I201d407844d6c96c4f858ec29e0ca2d056beddb7
      6bd7e33a
  5. Oct 12, 2023
  6. Oct 11, 2023
Loading