Skip to content
Snippets Groups Projects
  1. May 13, 2024
  2. May 11, 2024
  3. May 10, 2024
  4. May 09, 2024
  5. May 08, 2024
  6. May 07, 2024
    • Ryan Prichard's avatar
      681514f3
    • Yan Yan's avatar
      Make VCN HSUM compatible · 43ee23b0
      Yan Yan authored
      Require VCN to be used by a "main user" instead of a "system user"
      since "system user" will no longer be a full user on HSUM devices
      
      Bug: 310310661
      Test: FrameworksVcnTests, CtsVcnTestCases on non-hsum and hsum devices
      Flag: android.net.vcn.enforce_main_user
      Change-Id: I5abfa7ba82055cd953083b1ab3f83e61bafd8a55
      43ee23b0
    • Yan Yan's avatar
    • Zach Lee's avatar
      2c11b9ff
    • Aurélien Pomini's avatar
    • Deeraj's avatar
      AudioService: Register MASTER_BALANCE/MONO observer for all users · 1eb5088a
      Deeraj authored
      Audioservice register content observer for MASTER_BALANCE/MONO at the time of initialization/boot up. Registration by default is only applicable for current user which in this case is primary user.
      So even when audio balance/mono changes for secondary user, the callback
      won't be received in audioservice and hence the settings update won't
      have any effect on the audio output.
      
      Bug: 339131898
      Test: manual
      - Validated that audio output balance and mono varies based on the settings in the secondary user
      - atest AudioManagerTest
      - atest AudioServiceTest
      
      Change-Id: Ifce17d23e0dd0af61d6e27de7c7da629e9480e77
      1eb5088a
    • Inseob Kim's avatar
      Use no_full_install: true instead of installable: false · 8541b878
      Inseob Kim authored
      So far, we have used `instalable: false` to avoid collision with the
      other modules that are installed to the same path. A typical example was
      <foo> and <foo>.microdroid. The latter is a modified version of the
      former for the inclusion of the microdroid image. They however both have
      the same instalation path (ex: system/bin) and stem (ex: foo) so that we
      can reference them using the same path regardless of whether we are in
      Android or microdroid.
      
      However, the use of `installable: false` for the purpose is actually
      incorrect, because `installable: false` also means, obviously, "this
      module shouldn't be installed". The only reason this incorrect way has
      worked is simply because packaging modules (ex: android_filesystem)
      didn't respect the property when gathering the modules.
      
      As packaging modules are now fixed to respect `installable: false`, we
      need a correct way of avoiding the collision. `no_full_install: true` is
      it.
      
      If a module has this property set to true, it is never installed to the
      full instal path like out/target/product/<partition>/... It can be
      installed only via packaging modules.
      
      Bug: 335369205
      Bug: 337993945
      Test: m droid aosp_cf_system_x86_64
      Change-Id: If9c053968bde39c3eb3b852f1df1d475161bd846
      8541b878
    • Ryan Prichard's avatar
      aapt2: fix dangling reference to diag · cbcff740
      Ryan Prichard authored
      The lambdas that ManifestFixer::BuildRules attach to XmlActionExecutor
      outlive ManifestFixer::BuildRules, so they need to capture diag
      by-value instead of by-reference.
      
      Bug: 339119172
      Test: aapt2_tests
      Change-Id: I6b9b6a8733875247a5be12111413b45b99727e1f
      cbcff740
  7. May 06, 2024
    • Treehugger Robot's avatar
    • Juan Yescas's avatar
      Consume consecutive delimiters at beginning of refilled buffer · dc0a5b1f
      Juan Yescas authored
      This change makes sure that the consecutive delimiters at the
      beginning of the just refilled buffer are consumed.
      
      Previously, if there were consecutive delimiters at the beginning
      of the just refilled buffer, they were not being consumed and were
      causing parsing errors. This was also causing fatal exceptions.
      
      ```
      04-22 12:37:53.077   607   707 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: CachedAppOptimizerThread
      04-22 12:37:53.077   607   707 E AndroidRuntime: java.lang.NumberFormatException: invalid long: READ
      04-22 12:37:53.077   607   707 E AndroidRuntime: 	at com.android.internal.util.ProcFileReader.invalidLong(ProcFileReader.java:238)
      04-22 12:37:53.077   607   707 E AndroidRuntime: 	at com.android.internal.util.ProcFileReader.parseAndConsumeLong(ProcFileReader.java:220)
      04-22 12:37:53.077   607   707 E AndroidRuntime: 	at com.android.internal.util.ProcFileReader.nextLong(ProcFileReader.java:183)
      04-22 12:37:53.077   607   707 E AndroidRuntime: 	at com.android.internal.util.ProcFileReader.nextLong(ProcFileReader.java:172)
      04-22 12:37:53.077   607   707 E AndroidRuntime: 	at com.android.internal.util.ProcFileReader.nextInt(ProcFileReader.java:246)
      04-22 12:37:53.077   607   707 E AndroidRuntime: 	at com.android.internal.os.ProcLocksReader.handleBlockingFileLocks(ProcLocksReader.java:111)
      04-22 12:37:53.077   607   707 E AndroidRuntime: 	at com.android.server.am.CachedAppOptimizer$FreezeHandler.handleMessage(CachedAppOptimizer.java:2267)
      04-22 12:37:53.077   607   707 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:107)
      04-22 12
      ```
      
      Bug: 336208153
      Bug: 338416108
      Bug: 331988929
      Test: atest --host-unit-test-only -c  ProcFileReaderTest
      Change-Id: I12813fa204d53d53687ffe6e8e3c0a85595b7e25
      dc0a5b1f
    • Yan Yan's avatar
      Support disabling IPsec packet loss detector · ec173dea
      Yan Yan authored
      Allow disabling detector for better configurability
      
      Bug: 336638836
      Test: atest FrameworksVcnTests(new tests) && atest CtsVcnTestCases
      Flag: android.net.vcn.allow_disable_ipsec_loss_detector
      Change-Id: Icd7183d12fb287399a500ea9c0ee4125c749275c
      ec173dea
    • Yuyang Huang's avatar
    • Eric Biggers's avatar
    • Treehugger Robot's avatar
Loading