Skip to content
Snippets Groups Projects
  1. May 10, 2024
    • Ellen Arteca's avatar
      Add a C++ library wrapper for the android.security flags · 5d925ecb
      Ellen Arteca authored
      Adds a C++ library for the android.security flags, so the feature flags
      can be accessed from native code.
      
      This CL is paired with flagging of storage area setup code in
      installd and vold, which use the `unlocked_storage_api` feature flag.
      
      Bug: 325129836
      Test: atest StorageAreaTest
      Change-Id: Ib702b9f0725ac0d960d393e3ff9b2d6d18fc934c
      5d925ecb
  2. 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
  3. Feb 20, 2024
    • Kangping Dong's avatar
      [Thread] rename package name for Thread platform flags · 3c355586
      Kangping Dong authored
      There are two Thread flag files in frameworks/base and
      packages/modules/Connectivity/thread. Both are currently using the same
      "com.android.net.thread.flags" package name for their flags. While all
      flags needs to be built in a aconfig_declarations target, two aconfig_declarations
      can't have the same package name:
      
      ```
      FAILED: out/soong/build.aosp_arm.ninja
      cd "$(dirname "out/host/linux-x86/bin/soong_build")" && BUILDER="$PWD/$(basename "out/host/linux-x86/bin/soong_build")" && cd / && env -i  "$BUILDER"     --top "$TOP"     --soong_out "out/soong"     --out "out"     --soong_variables out/soong/soong.aosp_arm.variables -o out/soong/b
      uild.aosp_arm.ninja --globListDir aosp_arm --globFile out/soong/globs-aosp_arm.ninja -l out/.module_paths/Android.bp.list --available_env out/soong/soong.environment.available --used_env out/soong/soong.environment.used.aosp_arm.build Android.bp
      2 aconfig_declarations found for package com.android.net.thread.flags
      ```
      
      To resolve this issue, this commit renames the platform flags to package
      name "android.net.thread.platform.flags".
      
      This commit is required by ag/26286387
      
      Bug: 325886480
      Merged-In: Icacf88f7c0aa499b4b29f4072ae58840f0b1761f
      Change-Id: Icacf88f7c0aa499b4b29f4072ae58840f0b1761f
      3c355586
    • Kangping Dong's avatar
      [Thread] rename package name for Thread platform flags · 9cb44920
      Kangping Dong authored
      (This is a cherry-pick of aosp/2968526 for resolving merge conflicts)
      
      There are two Thread flag files in frameworks/base and
      packages/modules/Connectivity/thread. Both are currently using the same
      "com.android.net.thread.flags" package name for their flags. While all
      flags needs to be built in a aconfig_declarations target, two aconfig_declarations
      can't have the same package name:
      
      ```
      FAILED: out/soong/build.aosp_arm.ninja
      cd "$(dirname "out/host/linux-x86/bin/soong_build")" && BUILDER="$PWD/$(basename "out/host/linux-x86/bin/soong_build")" && cd / && env -i  "$BUILDER"     --top "$TOP"     --soong_out "out/soong"     --out "out"     --soong_variables out/soong/soong.aosp_arm.variables -o out/soong/b
      uild.aosp_arm.ninja --globListDir aosp_arm --globFile out/soong/globs-aosp_arm.ninja -l out/.module_paths/Android.bp.list --available_env out/soong/soong.environment.available --used_env out/soong/soong.environment.used.aosp_arm.build Android.bp
      2 aconfig_declarations found for package com.android.net.thread.flags
      ```
      
      To resolve this issue, this commit renames the platform flags to package
      name "android.net.thread.platform.flags".
      
      This commit is required by ag/26286387
      
      Bug: 325886480
      Merged-In: Icacf88f7c0aa499b4b29f4072ae58840f0b1761f
      Change-Id: Icacf88f7c0aa499b4b29f4072ae58840f0b1761f
      9cb44920
  4. Feb 15, 2024
    • Jihoon Kang's avatar
      Replace lists of aconfig modules with aconfig_declarations_group · 8ad50832
      Jihoon Kang authored
      Currently in AconfigFlags.bp, two list of aconfig modules are being
      maintained: the list of java_aconfig_library modules and the list of
      aconfig_declarations modules. When a new aconfig module is being added,
      a developer must modify the two lists, and there is no guarantee that
      the two lists are kept in sync. In order to resolve such issue, this
      change replaces the two lists with the newly introduced
      aconfig_declarations_group module.
      
      Test: m
      Bug: 320492079
      Merged-In: Ib32c06de4f0279a17e5c65314e984265592d004c
      Change-Id: Ib32c06de4f0279a17e5c65314e984265592d004c
      8ad50832
    • Jihoon Kang's avatar
      Replace lists of aconfig modules with aconfig_declarations_group · 59a129fd
      Jihoon Kang authored
      Currently in AconfigFlags.bp, two list of aconfig modules are being
      maintained: the list of java_aconfig_library modules and the list of
      aconfig_declarations modules. When a new aconfig module is being added,
      a developer must modify the two lists, and there is no guarantee that
      the two lists are kept in sync. In order to resolve such issue, this
      change replaces the two lists with the newly introduced
      aconfig_declarations_group module.
      
      Test: m
      Bug: 320492079
      Merged-In: Ib32c06de4f0279a17e5c65314e984265592d004c
      Change-Id: Ib32c06de4f0279a17e5c65314e984265592d004c
      59a129fd
  5. Feb 08, 2024
    • Motomu Utsumi's avatar
      Remove aconfig flags for Connectivity FlaggedAPI annotations · 1cd6cadb
      Motomu Utsumi authored
      Split flags.aconfig to platform flags and module flags.
      Platform flags are used from platform code.
      Module flags are used for FlaggedAPI annotations in modules.
      
      This CL cherry-pick ag/25977118 to aosp-main-future.
      After this CL, aosp/2919289 can be merged.
      
      Bug: 321624552
      Test: TH
      Change-Id: Ie8e0f911d0f7d7e81d108b8e8ab539b29a255ad0
      Merged-In: Ie8e0f911d0f7d7e81d108b8e8ab539b29a255ad0
      1cd6cadb
  6. Feb 07, 2024
    • Lajos Molnar's avatar
      media: add media.codec flags · d02308ed
      Lajos Molnar authored
      Bug: 297914560
      Change-Id: I8cd09b0c34d8e395a15eb6813a36aded4cc76ff3
      Merged-in: I8cd09b0c34d8e395a15eb6813a36aded4cc76ff3
      d02308ed
  7. Feb 06, 2024
    • Lajos Molnar's avatar
      media: add media.codec flags · a8b4e47e
      Lajos Molnar authored
      Bug: 297914560
      Change-Id: I8cd09b0c34d8e395a15eb6813a36aded4cc76ff3
      Merged-in: I8cd09b0c34d8e395a15eb6813a36aded4cc76ff3
      a8b4e47e
  8. Jan 26, 2024
  9. Jan 25, 2024
  10. Jan 17, 2024
    • Lajos Molnar's avatar
      order dependendencies in AconfigFlags.bp · 4fbcf2f9
      Lajos Molnar authored
      This will help minimize merge conflicts down the line
      
      Bug: 289097671
      Change-Id: I005714dcf7be28d64e9d131b46d86c857ee4231d
      Merged-in: I005714dcf7be28d64e9d131b46d86c857ee4231d
      4fbcf2f9
    • 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
  11. Jan 16, 2024
    • Jihoon Kang's avatar
      Add aconfig declarations to f/b droidstubs · c537cba7
      Jihoon Kang authored
      This change pass the aconfig_declaration modules defined in
      AconfigFlags.bp to the *-api-stubs-docs-non-updatable droidstubs module,
      so that the "exportable" stubs (i.e. the stubs only containing the
      flagged apis that are enabled by the release configuration) can be
      generated.
      
      Test: m api-stubs-docs-non-updatable && m checkapi
      Bug: 317290555
      Merged-In: I944d336e474b9ed61f4554fc9325a8df3a9cf40b
      Change-Id: I944d336e474b9ed61f4554fc9325a8df3a9cf40b
      c537cba7
  12. Jan 12, 2024
    • Roshan Pius's avatar
      nfc(api): Move nfc classes to framework-nfc · 467a55fa
      Roshan Pius authored
      Splits out the NFC API classes that are going to be part of NFC mainline
      module.
      
      Note: These files will be eventually moved out to packages/modules/Nfc
      at some point.
      
      Bug: 303286040
      Test: Device boots up after flashing
      Test: atest CtsNfcTestCases
      Merged-In: I41c1146401236963b9fd83f214fed0b6cecf325e
      
      Change-Id: I41c1146401236963b9fd83f214fed0b6cecf325e
      467a55fa
  13. Dec 18, 2023
  14. Dec 11, 2023
    • Andy Yu's avatar
      Add Game Default Frame Rate calls · 6e4cd761
      Andy Yu authored
      Update Game mode intervention frame rate override
      and add game default frame rate override JNI calls
      to SurfaceFlinger. Game default frame rate depends on
      two sysprops:
      
      To determine if it's enabled:
      1) persist.graphics.game_default_frame_rate.enabled
      To determine the default frame rate value:
      2) ro.surface_flinger.game_default_frame_rate_override
      
      This change adds setGameDefaultFrameRateOverride to
      call into SurfaceFlinger. Meanwhile it also changes the
      original override call to setGameModeFrameRateOverride
      to differenitate between those two calls.
      
      Bug: 286084594
      Test: atest GameManagerServiceTests
      Change-Id: I68f93e79fda5457303b49d0bd8f0edbb14e01b3f
      6e4cd761
  15. Dec 08, 2023
    • Motomu Utsumi's avatar
      Use flags.aconfig in platform for android networking · 9e80cbb8
      Motomu Utsumi authored
      flags.aconfig for android networking is under
      packages/modules/Connectivity.
      But, currently, mainline code should not read trunk stable flag.
      To avoid confusion, this CL moves flags.aconfig to platform.
      
      Bug: 315302281
      Test: TH
      Change-Id: I49db6f8c02b50a32f851678114694a029c797042
      Merged-In: I7142d937a59a880b68c11fff9254c84b39ce072f
      9e80cbb8
    • Motomu Utsumi's avatar
      Use flags.aconfig in platform for android networking · 65e2f1d9
      Motomu Utsumi authored
      flags.aconfig for android networking is under
      packages/modules/Connectivity.
      But, currently, mainline code should not read trunk stable flag.
      To avoid confusion, this CL moves flags.aconfig to platform.
      
      Bug: 315302281
      Test: TH
      Change-Id: I7142d937a59a880b68c11fff9254c84b39ce072f
      65e2f1d9
  16. Dec 07, 2023
    • Will Leshner's avatar
      Introduce an aconfig flag to enable dream overlay host. · 84eedf56
      Will Leshner authored
      Currently, a dream overlay is attached to the dream's window. This
      flag enables a feature that introduces a "host" that can display the
      overlay without needing the dream's window (useful in those cases where
      the dream is windowless, for example).
      
      Test: m android.service.dreams.flags-aconfig-java
      Bug: 291990564
      Flag: NA
      Change-Id: Idad0a4ce791651a5839d0d2bb3187902b4e75c0b
      84eedf56
    • Zi Wang's avatar
      Remove mode: "test" from android.security.flags-aconfig-java-host · 18cd67df
      Zi Wang authored
      Previously the config was correct in internal main but not updated in
      aosp. Later the incorrect aosp config was applied to internal main and cause CtsAppSecurityHostTestCases fail. This CL fixes this problem.
      
      Test: CI
      Change-Id: Iaca74986ec16d8acb6b15b4d30908642fe0ccc9d
      18cd67df
  17. Dec 04, 2023
  18. Nov 29, 2023
    • Lucas Silva's avatar
      Add a home panel dream flag · 04795509
      Lucas Silva authored
      This will be used to guard new APIs required for the home panel dream
      feature, as well as the feature itself.
      
      Bug: 298025023
      Test: NA
      Change-Id: I25ee202607aaff597455707c9efdde9c05def56c
      04795509
  19. Nov 27, 2023
    • Raj Goparaju's avatar
      Support configurable fade properties · 7771e3b9
      Raj Goparaju authored
      Automotive audio systems support powerfull amplifiers
      that have specific requirement of fade properties.
      Automotive partners also require dynamic fade
      properties in order to meet geography based legal
      requirements.
      
      This feature supports configuring the following
      fade properties:
      - Fadeable usages
      - Unfadeable content types
      - Unfadeable UIDs
      - Unfadeable audio attributes
      - Volume shaper config per usage or audio attributes
      - fade duration per usage or audio attributes
      
      Bug: 186905459
      Bug: 307354764
      API-Coverage-Bug: 308666800
      Test: atest -c FadeManagerConfigurationUnitTest
      
      Change-Id: I0e3d76a85c53e597a0937886b5b4d615f725bd3b
      7771e3b9
  20. Nov 22, 2023
    • Roy Luo's avatar
      Add host side aconfig lib for usb flags · 233abf95
      Roy Luo authored
      This is for hostside cts testing
      
      Bug: 309127822
      Test: atest CtsStatsdAtomHostTestCases:UsbStatsTests
      Change-Id: I18f4a6a57c85f53cca87a36b1737d78262bd5052
      233abf95
  21. Nov 21, 2023
  22. Nov 20, 2023
    • Ziad Youssef's avatar
      Add a flag for WebViewUpdateServiceImpl changes · 7d93b913
      Ziad Youssef authored
      This adds a class similar to WebViewUpdateServiceImpl behind a flag.
      The intended modification will be mainly for the new class.
      
      This doesn't introduce any functional changes.
      
      Test: manually overriding flags using ag/25382508
      
      Bug: 308907090
      
      Change-Id: Ia522be467b435e2e8b8ef76ddeb16b4e7dc821c5
      7d93b913
  23. Nov 17, 2023
    • Kweku Adams's avatar
      Add APIs to let apps attach debug info to jobs. · c7cd8d19
      Kweku Adams authored
      1. Let apps specify a specific trace tag for when their jobs are
         running.
      2. Allow apps to attach some tags to a job for debugging purposes.
      
      Bug: 293491637
      Bug: 297106461
      Test: atest CtsJobSchedulerTestCases:JobInfoTest
      Test: atest FrameworksServicesTests:JobStoreTest
      Change-Id: I7398210fc4730043f618579bad0d2e5140b912a7
      c7cd8d19
    • Jan Sebechlebsky's avatar
      Move virtual_camera_service_discovery to virtual_devices namespace · 3aec7f17
      Jan Sebechlebsky authored
      ... and config owned by Virtual Device Manager team.
      
      This cl creates new flags.aconfig since the previously used
      core/java/android/companion/virtual/flags.aconfig has package
      which contains "virtual" C++ keyword so it's not possible to
      add cc target due to compilation error in autogenerated code.
      
      Bug: 311459626
      Test: atest CameraProviderManagerTest
      Change-Id: Id7c60cf4b1eaed2a9b65bcb34f193cab05639953
      3aec7f17
  24. Nov 15, 2023
  25. Nov 14, 2023
  26. Nov 13, 2023
    • Kweku Adams's avatar
      Avoid duplicate classes in boot path. · 3b4319ea
      Kweku Adams authored
      Switch to using static_libs in one location to avoid loading
      the same class into the boot path multiple times.
      
      Remove redundant links.
      
      Bug: 309674488
      Test: atest android.compat.sjp.cts.StrictJavaPackagesTest
      Test: atest frameworks/base/services/tests/mockingservicestests/src/com/android/server/job
      Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/job
      Test: atest CtsAppTestCases
      Test: atest CtsJobSchedulerTestCases:JobSchedulingTest
      Test: atest CtsNotificationTestCases:NotificationManagerZenTest
      Test: atest CtsNotificationTestCases:AutomaticZenRuleTest
      Test: atest CtsOsTestCases:PowerManagerTest
      Test: atest FrameworksUiServicesTests:ZenModeConfigTest
      Test: atest PowerServiceTests:PowerManagerServiceTest
      Change-Id: I917cc4ae662c55a030fbf266133fba04fec496f2
      3b4319ea
    • Willie Koomson's avatar
      Create flag for generated previews · 953b084a
      Willie Koomson authored
      Adds appwidget flag config to AConfigFlags.bp and create
      FLAG_GENERATED_PREVIEW for generated preview work.
      
      Bug: 308041327
      Test: m android.appwidget.flags-aconfig-java
      Change-Id: Ib6d27728a1cb9a0ad7493b456b24194f54a0a346
      953b084a
  27. Nov 12, 2023
  28. Nov 10, 2023
Loading