Skip to content
Snippets Groups Projects
  1. Jan 13, 2024
  2. Jan 11, 2024
    • Yan Yan's avatar
      Enable NetworkMetricMonitor and support penalizing networks · ce1468a2
      Yan Yan authored
      This CL integrates the IpSecPacketLossDetector into VCN
      route selection. With this change, when a data stall is
      reported, the network candidate will be penalized and
      then deprioritized during network selection. A network
      candidate will stop being penalized until it hitting a timeout
      or passing the validation.
      
      Bug: 282996138
      Test: atest FrameworksVcnTests(new tests), CtsVcnTestCases
      Change-Id: Ifabd6fdea1d5a4fea40cf929dbab7c26d37274ac
      ce1468a2
    • William Loh's avatar
      Update OWNERS for intent.proto · ec2616b7
      William Loh authored
      Bug: 307556883
      Test: n/a
      Change-Id: I5001247c342f23b07e1355db7e50ad90cce66b07
      ec2616b7
    • Tom Chan's avatar
      Consolidate OWNERS files and add hackz@ and myself · e20a03bf
      Tom Chan authored
      syntax from go/android-codereviews#include-an-owners-file-from-a-sub-directory-within-the-same-git-project
      
      Change-Id: Ia02a5efdda1c2dea65753a63cbd2e78e56bac6eb
      e20a03bf
  3. Jan 10, 2024
    • Yan Yan's avatar
      Support IPsec packet loss detector · 4d8d4462
      Yan Yan authored
      This CL creates an abstract class NetworkMetricMonitor and a
      subclass IpSecPacketLossDetector. IpSecPacketLossDetector
      is responsible for continuously monitoring IPsec packet loss
      and reporting to the caller when the data loss rate surpass
      a threshold. This detector allows the VCN to switch from
      the underlying network that has bad quality.
      
      This CL also defines new carrier configs that specify the
      data loss threshold and detecting frequency
      
      Bug: 282996138
      Test: atest FrameworksVcnTests(new tests), CtsVcnTestCases
      Change-Id: I5f4b8e1821bdbb37f0a6de6e1584f8e3c87273f3
      4d8d4462
    • William Loh's avatar
      Add owners for new UriRelativeFilter* files. · a642dd22
      William Loh authored
      Bug: 307556883
      Test: n/a
      Change-Id: I2836908a00981d54e884a495a662bc293219c0e4
      a642dd22
  4. Jan 09, 2024
  5. Jan 08, 2024
    • Yifan Hong's avatar
      Release VintfObject memory after compat check at boot time. · acb46e4c
      Yifan Hong authored
      After compatibility check at boot time, the VintfObject is
      usually no longer needed. Hence, at boot time, we actively
      release the VintfObject object after compatibility check
      by not using the shared instance in the first place.
      
      Test: TH
      Bug: 270169217
      Change-Id: I9b3383cd52fa67eb18dd5837f96caf2b0eab2ce5
      acb46e4c
    • Yifan Hong's avatar
      vintf: Disable kernel compat check at boot time. · 052b036b
      Yifan Hong authored
      Before this change, if the kernel has a set of CONFIGs
      that is not compatible with the system image, a dialog
      is displayed for user / userdebug builds at boot time.
      
      This check has been doing more harm than good because:
      
      - This check is already enforced at build time and during
        VTS tests (See vts_treble_vintf_framework_test).
      - The dialog blocks UI automation for tests. For these UI
        automation tests, they need to respond to the dialog.
      - GKI has been enforced ecosystem-wide except for a few
        low-end devices of other verticals. For these non-GKI
        devices, the check enforced by VTS should guard this.
        Hence, the check does not give us any signal.
      - During development, a kernel that corresponds to the latest
        release (android15 as of now) might not have valid kernel
        config requirements in userspace. Kernel development schedule
        is usually ahead of the userspace development schedule.
        It does not always carry the string "-mainline-", because
        it is not a mainline kernel. To unblock test automation on
        these latest, bleeding-edge kernels, this kernel check should
        go away.
      - This is a small steps towards dropping the dependency on libvintf
        on libandroid_runtime. libvintf links to libselinux, which is
        huge. libandroid_runtime loads this, and the memory stays there
        forever. Ideally, we should disable the whole VINTF check at
        boot time, but let's do this one step at a time.
      
      Bug: 272479887
      Bug: 270169217
      Test: TH
      Change-Id: If24cdca9fb535b8f443c0d21f9a46c7ea25c1f9f
      052b036b
    • Yifan Hong's avatar
      vintf: delete deprecated VintfObject.verify. · 27022ac8
      Yifan Hong authored
      It is not used anywhere.
      
      Test: TH
      Bug: 270169217
      Change-Id: Ifcc8412ed3629d2447908513faf1d6f5ed3f483c
      27022ac8
  6. Jan 06, 2024
    • Yifan Hong's avatar
      recovery: Delete internal verifyPackageCompatibility. · 16da32b0
      Yifan Hong authored
      Non-A/B has been deprecated for long. During non-A/B updates,
      compatibility.zip is checked with VintfObject.verify(), which
      is another deprecated function that always returns compatible
      if a list of package VINTF XMLs are supplied. (see below.) Hence, the private
      RecoverySystem.verifyPackageCompatibility was just useless code
      that unconditionally returns true except for invalid ZIP file.
      Remove it. Replace the public RecoverySystem.verifyPackageCompatibility
      and make it return true unconditonally.
      
      VintfObject.verify() with OTA XMLs are deprecated per
      http://b/139300422 [VINTF] Delete OTA vintf checking code
      in http://r.android.com/1194233 ("Delete VINTF compatibility checks
      during OTA."), in 2019. We had decided that compatibility checks
      during OTA should be removed, and moved to OTA generation time instead.
      Using an old libvintf on the device to check against new libvintf
      metadata required forward compatibility of libvintf, which cannot be
      achieved. Instead, the device should verify the signature of the OTA to
      verify its source.
      
      Test: TH
      Bug: 270169217
      Bug: 139300422
      Change-Id: I775d29e4cd1d165233e07cfb820d1fe343fa4757
      16da32b0
  7. Jan 05, 2024
    • Eric Biggers's avatar
      Remove serialNumber parameter from prepareUserStorage · 47a9d404
      Eric Biggers authored
      Remove the serialNumber parameter from
      IStorageManager#prepareUserStorage, StorageManager#prepareUserStorage,
      and StorageManagerService#prepareUserStorageInternal, as it is not used.
      
      Bug: 316035110
      Test: atest UserDataPreparerTest
      Flag: N/A, mechanical refactoring
      Change-Id: I4bb716a502fec267fbe0d93e423c7d713c78feaa
      47a9d404
    • Eric Biggers's avatar
      Remove serialNumber parameter from createUserStorageKeys · 383e31cb
      Eric Biggers authored
      Remove the serialNumber parameter from
      IStorageManager#createUserStorageKeys and
      StorageManager#createUserStorageKeys, as it is not used.
      
      Bug: 316035110
      Test: presubmit
      Flag: N/A, mechanical refactoring
      Change-Id: I11f2507fefb374bea7c8de857424c67108fcb97e
      383e31cb
    • Eric Biggers's avatar
      Remove serialNumber parameter from unlockCeStorage · 41749ebb
      Eric Biggers authored
      Remove the serialNumber parameter from IStorageManager#unlockCeStorage,
      as it is not used.
      
      Bug: 316035110
      Test: atest UserControllerTest
      Test: atest com.android.server.locksettings
      Flag: N/A, mechanical refactoring
      Change-Id: Idfb46e625f0ab6915c980e4a39420fe712cb5fb5
      41749ebb
    • Edward Savage-Jones's avatar
      Add/update owners for SystemConfig related files · 84ebe666
      Edward Savage-Jones authored
      Add/update owners for SystemConfig related files
      (See comment in: https://r.android.com/2775452)
      
      c/j/c/a/s/SystemConfig.java has also moved so update the OWNERS
      file for that too.
      
      Change-Id: Ia773c7851d6aad4223ce5845d0993d527a5fd140
      84ebe666
    • Edward Savage-Jones's avatar
      Prevent the disabling of specified apps · 12b06820
      Edward Savage-Jones authored
      Prevent the disabling of specified apps, avoiding cases
      where disabling the app may result in an unusable system.
      
      Bug: 200043113
      Change-Id: I5b0ed8c34a40428e8d18072582e46854737c000a
      12b06820
  8. Jan 04, 2024
    • Pawan Wagh's avatar
      Add 16k option key in settings · 3e5012c5
      Pawan Wagh authored
      Test: m Settings && adb install -r $ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk
      Test: atest SettingsProviderTest
      Bug: 295035851
      Bug: 294614538
      Change-Id: I7bba46c39d609f314e17eb861341bd599b192612
      3e5012c5
    • Pawan Wagh's avatar
      Added java wrapper for update engine stable · a1a72609
      Pawan Wagh authored
      Test: m framework-all
      Test: Compiled and applied OTA using settings app using stable interface
      m Settings && adb install -r $ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk
      Bug: 317914533
      
      Change-Id: I393df5218c60303dbea60386c680b75b553ddac2
      a1a72609
    • Alexei Nicoara's avatar
      Updating OWNERS file · 2b0323eb
      Alexei Nicoara authored
      Change-Id: Icc8a7b899ccb54196ece9cccbfe3658547f0603c
      2b0323eb
  9. Jan 03, 2024
  10. Jan 02, 2024
  11. Dec 23, 2023
  12. Dec 21, 2023
  13. Dec 20, 2023
    • John Johnson's avatar
      Add flag for nfc card detection · 8f0ec40a
      John Johnson authored
      Test: repo still builds
      Bug: 306203494
      Change-Id: I3983801865a6b8cd9aba04c24a52f9bb2b1d7577
      8f0ec40a
    • Nelson Li's avatar
      Convert helper_apps of OverlayHostTests to Android.bp · a3bee88c
      Nelson Li authored
      Bug: 317159909
      Test: atest OverlayHostTests
            m OverlayHostTests
            m OverlayHostTests_PlatformSignatureStaticOverlay
            m OverlayHostTests_PlatformSignatureOverlay
            m OverlayHostTests_UpdateOverlaya
            m OverlayHostTests_FrameworkOverlayV1
            m OverlayHostTests_FrameworkOverlayV2
            m OverlayHostTests_AppOverlayV1
            m OverlayHostTests_AppOverlayV2
      Change-Id: I14491d2cbaa98ec72de1eb149e1a82a7f061d5d0
      a3bee88c
  14. Dec 19, 2023
    • Paul Duffin's avatar
      Remove erroneous duplicate baseline entry · 4a6e5cca
      Paul Duffin authored
      Due to a bug in Metalava the `VisiblySynchronized` check would report
      an erroneous duplicate baseline entry that referenced some internal
      implementation detail, e.g. `PsiThisExpression` instead of an actual
      API element. Another entry with the same message and correct API
      element was also written.
      
      The Metalava bug has been fixed so this change removes the erroneous
      entry.
      
      Bug: 311690008
      Test: m checkapi
      Merged-In: If5550b8cc0a97f02fb7fb1bd949f8e5517007d4c
      Change-Id: I79b3c9802e40e74ba7f0c9b102dc201d01ddeab5
      4a6e5cca
  15. Dec 18, 2023
  16. Dec 14, 2023
    • T.J. Mercier's avatar
      Reapply "Adapt to libprocessgroup API changes for polling on cgro..." · 55d81472
      T.J. Mercier authored
      This reverts commit 4a11b111.
      
      This change was originally reverted due to a bug in the child commit of
      a change in the same topic which caused process group kills not to occur
      when using cgroup.kill. Now that has been fixed, bring back this change
      with the fix.
      
      Bug: 301871933
      Change-Id: I81dde53f21ba2e01c01dfd5f7009ea1ef690b582
      55d81472
    • Jiakai Zhang's avatar
      Make profile inline cache threshold configurable. · 36527a3d
      Jiakai Zhang authored
      After this change, the profile inline cache threshold is configurable
      through a system property "dalvik.vm.ps-inline-cache-threshold".
      
      Bug: 309434431
      Test: Set "dalvik.vm.ps-inline-cache-threshold" to different values, run
        a compose app benchmark, dump the profile, and see the difference in
        the profiles.
      Change-Id: Ie430d8d21e2d4af92385b244bf327900b9c14d93
      36527a3d
    • Steven Moreland's avatar
      doc getCallingPid zero return · 910c4f25
      Steven Moreland authored
      Bug: 297833427
      Test: N/A
      Change-Id: I8bd480d7deb74062f3aaf61f30b1335443f82653
      910c4f25
  17. Dec 13, 2023
    • Roshan Pius's avatar
      nfc(api): Address API council feedback · 2633b202
      Roshan Pius authored
      Rename from `isOtherServiceEnabled` to `isCategoryOtherServiceEnabled`.
      
      Bug: 315130804
      Test: Compiles
      Change-Id: I7b97b6de0bd702e695557a4d55a1f80e612f92c8
      2633b202
    • Roshan Pius's avatar
      nfc(api): Address API council feedback · ead78c5c
      Roshan Pius authored
      Add @IntDef to return values of getAdapterState.
      
      Bug: 315228674
      Test: Compiles
      Change-Id: I8134a68c36950e89cd65c2b4ab9dd9cefb2cb7b4
      ead78c5c
    • T.J. Mercier's avatar
      Throw exception for negative UIDs/GIDs · 30b2cd80
      T.J. Mercier authored
      UIDs and GIDs are unsigned on linux. Badly behaved callers are
      occasionally passing negative integers for UIDs through JNI to uid_t
      which is unsigned. Prevent this by throwing a JNI exception.
      
      12-08 23:15:34.542  1000  3354  3388 I ActivityManager: Force stopping com.android.cts.install.lib.testapp.A appid=10109 user=-1: deletePackageX
      12-08 23:15:34.543  1000  3354  3388 E libprocessgroup: No such cgroup attribute: /sys/fs/cgroup/uid_4294877405/cgroup.freeze
      12-08 23:15:34.543  1000  3354  3388 W libprocessgroup: Failed to apply Frozen process profile: No such file or directory
      
      Test: 12-11 18:43:23.145  3432  3466 I ActivityManager: Force stopping com.android.cts.install.lib.testapp.A appid=10109 user=-1: deletePackageX
      Test: 12-11 18:43:23.146  3432  3466 E ActivityManager: Unable to freeze cgroup uid: -89891: java.lang.IllegalArgumentException: uid is negative: -89891
      Test: 12-11 18:43:23.147  3432  3466 E ActivityManager: Unable to unfreeze cgroup uid: -89891: java.lang.IllegalArgumentException: uid is negative: -89891
      Bug: 316198981
      Change-Id: I24cb1e65e502ef6e09226538efe6ed54c8db7cdd
      30b2cd80
Loading