Skip to content
Snippets Groups Projects
  1. Jun 06, 2024
  2. Jun 04, 2024
    • Pawan Wagh's avatar
      Fix usage of ZipFileRO::getEntryInfo · 429a1d59
      Pawan Wagh authored
      Extra field size has been added to getEntryInfo. Adding parameter to call.
      
      Test: mma libandroidfw
      Bug: 334109171
      Change-Id: I63232ab7c9c1db9c4dadc2c457c587900899e305
      429a1d59
    • Ang Li's avatar
      Fix the file names of the RemoteViews resources. · 8df59a39
      Ang Li authored
      Bug: 344870230
      Test: Not required. Add owner only.
      Change-Id: I5ef64a9604f7453a1704e5a7b8f49acce3bf37c3
      8df59a39
    • Ang Li's avatar
      Add per-file owners for remote color resources. · 8bf790ef
      Ang Li authored
      The remote color resources (under `remote_color_resources_res`) were
      authored and checked in three years ago by pbdr@, and these resource
      files are well isolated from other frameworks resources. It will make
      sense to add Pierre as an owner.
      
      Bug: 344870230
      Test: Not required. Add owner only.
      Change-Id: I338a40fe7118dd04f168e83e85bf03912da45842
      8bf790ef
    • Alan Viverette's avatar
      Remove alanv@ from platform OWNERS · 3a66687e
      Alan Viverette authored
      No longer an appropriate reviewer for platform code.
      
      Change-Id: I051251f7baee476dd95c4a85b1a6e2e51e9a00fd
      3a66687e
  3. Jun 03, 2024
    • Mark Fasheh's avatar
      Add owners for MessageQueue related files · d2593d46
      Mark Fasheh authored
      We've been profiling and making improvements to MessageQueue for
      some time now and also have OWNERS for MessageQueueTest.java. Would
      like to be able to review future changes to the core MessageQueue
      class. I also added Message.java for good measure.
      
      Test: presubmit
      Change-Id: I961a2468c7b9a451d3b33d78a67f17cccf22cd60
      d2593d46
    • Parth Sane's avatar
      Add tests for ServiceManager Java Binder API · 0149ca4a
      Parth Sane authored
      Bug: 333854840
      Test: atest android.os.BinderTest
      Change-Id: Iaf1fd1e5daea7103a873bc8f8aa0b78377e57714
      0149ca4a
  4. May 30, 2024
    • Yi Kong's avatar
      Fix -Wformat warning · ae70ebff
      Yi Kong authored
      frameworks/base/core/jni/com_android_internal_content_FileSystemUtils.cpp:198:37: error: format specifies type 'long' but the argument has type 'int' [-Werror,-Wformat]
        196 |         ALOGD("Size after punching holes st_blocks: %" PRIu64 ", st_blksize: %ld, st_size: %" PRIu64
            |                                                                              ~~~
            |                                                                              %d
        197 |               "",
        198 |               afterPunch.st_blocks, afterPunch.st_blksize,
            |                                     ^~~~~~~~~~~~~~~~~~~~~
      
      Test: presubmit
      Bug: 315250603
      Change-Id: I449937f824ef7423d2c909a64b34d4df678ac62b
      ae70ebff
  5. May 24, 2024
    • Song Chun Fan's avatar
      [pm] Catch ParcelableException in PackageManager.isAppArchivable · 9f30d97a
      Song Chun Fan authored
      Catches the ParcelableException exception type and rethrows it as a NameNotFoundException. Also improves a few existing APIs to rethrow the ParcelableException as a RuntimeException if it is not one of the expected exception type.
      
      Change-Id: I76f6cc246fca1fe0624429c500015b0cce5ffd40
      BUG: 341212469
      FIXES: 341212469
      Test: builds
      9f30d97a
  6. May 23, 2024
    • lijilou's avatar
      SystemSensorManager:fix CWE problem by add lock. · a46ffb23
      lijilou authored
      When receive the DYNAMIC_SENSOR_CHANGED broadcast,thread A will
      call the updateDynamicSensorList method to traverse mDynamicSensorCallbacks
      map. Meanwhile,thread B call the register/unregister the dynamicSensorCallback,
      it may cause CWE.So we should add a lock to protect.
      
      Test: OEM monkey test
      Bug: 342282013
      Change-Id: Ic380ae23ecdcb0f501e85b19db4fcabc275f17c5
      a46ffb23
  7. May 22, 2024
    • Jooyung Han's avatar
      Add OWNERS for VintfObjectTest.java · 9a45a4e7
      Jooyung Han authored
      Bug: 317747397
      Change-Id: Iee1fa722c6c773aa3ceb84ac13e05e8935360f45
      Test: OWNERS
      9a45a4e7
    • Jooyung Han's avatar
      Fix VintfObjectTest · 8b616b68
      Jooyung Han authored
      Removed hard-coded "version"s in assertions. Instead, the test now
      parses XML documents and then compare root elements and "type"s.
      
      Plus, the test now checks if report() reports all four
      matrices/manifests.
      
      Bug: 317747397
      Test: atest VintfObjectTest
      Change-Id: I4bb514e9c0bd78214cb3f03e1b12afec8a301915
      8b616b68
  8. May 21, 2024
  9. May 20, 2024
  10. May 18, 2024
    • Jooyung Han's avatar
      Fix VintfObject to use vintf · e22f560d
      Jooyung Han authored
      VintfObject is a TestApi class and used by CTS tests and EDI collectors.
      Previously, it used libvintf to open VINTF data from device which caused
      SEPolicy error because
      - CTS tests and EDI collectors are "apps"
      - VINTF data needs to load files unavailable to apps.
      
      In this change, VintfObject uses "instrumentation" to get VINTF data by
      calling /system/bin/vintf under shell identity.
      
      Bug: 338278029
      Bug: 317747397
      Test: atest SELinuxNeverallowRulesTest
      Test: VintfDeviceInfo/VintfFilesCollector work
      Change-Id: I43a54827a1d82cfaf573753c5c5862425843a099
      e22f560d
    • Jooyung Han's avatar
      libvintf_jni requires vintf · 7571c2f8
      Jooyung Han authored
      Bug: 317747397
      Test: m libvintf_jni (installs vintf as well)
      Change-Id: I9615c923e045eb07387eb75421e724f912856d86
      7571c2f8
  11. May 17, 2024
  12. May 16, 2024
  13. May 15, 2024
    • Suprabh Shukla's avatar
      Use metered firewalls for metered uid policy · 68e9bc59
      Suprabh Shukla authored
      Since the underlying code in connectivity manager is moving to metered
      firewalls to denote the uid policy for metered restrictions, NPMS can
      start using them now.
      Rather than having a single PENALTY_BOX, we have separate firewalls for
      user and admin imposed restrictions. Once NPMS uses the appropriate
      firewalls for these, it does not need to separately convey the blocked
      reasons for metered restrictions on uids to the ConnectivityManager.
      
      Flag: com.android.server.net.use_metered_firewall_chains
      
      Test: atest FrameworksServicesTests:NetworkManagementServiceTest
      Test: atest FrameworksServicesTests:NetworkPolicyManagerTest
      Test: atest CtsHostsideNetworkPolicyTests
      
      Bug: 336693007
      Change-Id: I8da11ff663257d3dafcb5e22ae3313a9255ef0a6
      Merged-In: I8da11ff663257d3dafcb5e22ae3313a9255ef0a6
      68e9bc59
    • Nate Myren's avatar
      Remove kvakil, augale from permission OWNERS, add kiranmr · f7c0cae6
      Nate Myren authored
      Bug: None
      Test: None
      Flag: NONE
      (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:4654a6ede634c044f5b6d1aab7b269540379bbf9)
      Merged-In: I4b84653ba29c294afdcc137460d31dcec1abcfde
      Change-Id: I4b84653ba29c294afdcc137460d31dcec1abcfde
      f7c0cae6
    • Makoto Onuki's avatar
      Add a hidden API to detect ravenwood environment · 2850813e
      Makoto Onuki authored
      We should minimize uses of it, but once in a while,
      it's useful as a last resort.
      
      Bug: 340556010
      Test: atest FrameworksCoreTestsRavenwood:com.android.internal.ravenwood.RavenwoodEnvironmentTest
      Test: tree hugger for device side tests
      Merged-In: Ice651a55cad092514466dd56940a2cf7b2285e4e
      Change-Id: Ice651a55cad092514466dd56940a2cf7b2285e4e
      2850813e
  14. May 14, 2024
  15. May 13, 2024
  16. May 10, 2024
  17. May 09, 2024
  18. May 08, 2024
  19. May 07, 2024
    • 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
  20. May 06, 2024
    • 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
    • Kangping Dong's avatar
      [Thread] add Thread icon · a1df9d2a
      Kangping Dong authored
      This is imported from material icon at https://fonts.corp.google.com/icons?selected=Google%20Symbols%3Athread_logo%3AFILL%400%3Bwght%40400%3BGRAD%400%3Bopsz%4024
      
      But system notifications and settings also need to use this icon. For
      example, it will be used in Settings > Connected devices > Connection preferences.
      
      Bug: 327583301
      Change-Id: I08ef9c90b7d4085f9b901b3d9c41b57258aa9680
      a1df9d2a
    • Fredrik Ryden's avatar
      Fixed graphical glitch in lockpattern view · 52098a13
      Fredrik Ryden authored
      Fixed end point correctional animation for cell to cell animations
      during lock pattern drawing.
      
      In the lock pattern view, cells have an area of slop around them to
      allow for drawing the pattern without hitting the exact center of cells.
      
      When a cell is hit, the end point of the line drawn between that cell
      and the previous is adjusted with an animation from the hit coordinate
      and the exact center of the cell.
      
      With LockPatternView_keepDotActivated set to true, cell animations for
      the previous cell are recreated when a new cell is hit to allow changing
      how a cells color is updated as the pattern is drawn.
      
      This caused a glitch where the starting position of the end point
      correcting animation for said previous cell would be recreated with the
      current finger position coordinate, making it jump ahead to be closer to
      the current latest cell, and animating back towards the target.
      
      This fix makes the animation instead continue from where it was last, in
      the case where the animation is recreated.
      
      Test: manual, set a short, tight lock pattern, and try it in rapid
      motion.
      Bug: 328088937
      
      Change-Id: Id445266cbc834fec7a514dbb227557f2ceae9dba
      52098a13
  21. May 03, 2024
  22. May 02, 2024
  23. Apr 30, 2024
Loading