Skip to content
Snippets Groups Projects
  1. Jan 23, 2024
    • LuK1337's avatar
      Squashed import of adb root patches · 646b6306
      LuK1337 authored and Dhina17's avatar Dhina17 committed
      Author: Luca Stefani <luca.stefani.ge1@gmail.com>
      Date:   Sat Nov 2 22:46:51 2019 +0100
      
          Expose the ADBRoot interface to priv-apps
      
          Change-Id: I493f3322b19b6474bf8899a103156794ef412ae2
      
      Author: Luca Stefani <luca.stefani.ge1@gmail.com>
      Date:   Sun Nov 3 12:17:17 2019 +0100
      
          Whitelist settings to use adb root permission
      
          Change-Id: I93122777c82fad33be04fcce002ba1a8468cacbe
      
      Author: Michael Bestas <mkbestas@lineageos.org>
      Date:   Sun Nov 17 14:31:04 2019 +0200
      
          Fix ADB root system API extension
      
          * Fixes checkapi:
            out/soong/.intermediates/frameworks/base/system-api-stubs-docs/android_common/current-apicheck/srcjars/android/Manifest.java:3435:
            error: Added field android.Manifest.permission.ADBROOT to the system API [AddedField]
      
            error: Added package android.adb to the system API [AddedPackage]
      
          Change-Id: Idd509c31d961a0b20fac8cccd2c83c6bf23c5a38
      
      Author: dianlujitao <dianlujitao@lineageos.org>
      Date:   Sat Nov 23 21:52:19 2019 +0800
      
          ADBRootService: Deal with binder death
      
          Change-Id: Id5e4a455ea16a4158086816abf093d8f603d4e49
      
      Author: dianlujitao <dianlujitao@lineageos.org>
      Date:   Fri Nov 22 20:12:33 2019 +0800
      
          ADBRootService: Remove redundant permission check
      
           * First of all, the check is performed in a helper class, one can
             easily bypass it by directly issuing the binder API.
           * On the other hand, enforceCallingOrSelfPermission allows root and
             system UID to do everything, i.e., any process running in system UID
             is allowed to pass the check, including Settings app, thus it's
             simply a no-op.
      
          Change-Id: I82f58d6165c2ef35c61047d5899de3e8ca6f7f39
      
      Author: LuK1337 <priv.luk@gmail.com>
      Date:   Thu Mar 24 09:33:36 2022 +0100
      
          ADBRootService: Add isSupported() method to check if we are debuggable
      
          This allows us to show the preference in Settings even if
          Build.IS_DEBUGGABLE is false.
      
          Change-Id: I8302f1de25ecebd7fabff5d529136dc48819ee3a
      
      Change-Id: I1c90ad99960a2055339dfda9a03cd4f111ea40a0
      646b6306
  2. Dec 08, 2023
  3. Dec 01, 2023
  4. Nov 21, 2023
    • Harshit Mahajan's avatar
      [CrashRecovery] Separating out required files · d9c1ddf5
      Harshit Mahajan authored
      We would be moving these files to a new module.
      Separating them to a new filegroup, which would be later moved to the
      new module behind guarded by build flag when ready.
      
      Bug: b/289203818
      Test: m
      Change-Id: I5275cf6d416fb74384eb2f0a66d3bcba50dd3fc4
      d9c1ddf5
  5. Nov 17, 2023
  6. Nov 16, 2023
  7. Nov 10, 2023
    • TYM Tsai's avatar
      Move interfaces of component of service to internal · 583c4505
      TYM Tsai authored
      Move interfaces of component to internal.
      To make codebase build pass,
      1. Remove makeAppDetailsActivity of ParsedActivity, make
      ParsedActivityImpl.makeAppDetailsActivity to be public and use it instead.
      2. Change all imports that used those interfaces.
      To fix tests failed with ClassNotFoundException
      1. PackageImpl: get class loader from ParsedProcessImpl instead of
      ParsedProcess.
      2. ParsedPermissionImpl: get class loader from ParsedPermissionGroupImpl
      instead of ParsedPermissionGroup.
      
      Bug: 309596860
      Test: build pass
      Test: atest PackageManagerServiceTests
      Test: atest PackageManagerComponentOverrideTests
      Test: atest PermissionServiceMockingTests
      Test: atest PackageManagerServiceUnitTests
      Change-Id: Ic0ca6a07904bbc91f066c4a15f25546c301ab530
      583c4505
  8. Nov 08, 2023
  9. Nov 07, 2023
  10. Nov 01, 2023
    • Anton Hansson's avatar
      Move some API rules out of top-level Android.bp · 6f2dea9c
      Anton Hansson authored
      These defaults are used by api / stub modules, so move them into
      the api subdir.
      
      Test: m
      Merged-In: I97661daa1c4c3cba6c31ccf1212334a41adaa271
      Change-Id: I97661daa1c4c3cba6c31ccf1212334a41adaa271
      6f2dea9c
    • Anton Hansson's avatar
      Move some API rules out of top-level Android.bp · 33f7f26e
      Anton Hansson authored
      These defaults are used by api / stub modules, so move them into
      the api subdir.
      
      Test: m
      Change-Id: I97661daa1c4c3cba6c31ccf1212334a41adaa271
      33f7f26e
    • Anton Hansson's avatar
      Dedupe build rules for non-updatable sdk libs · 14e7f959
      Anton Hansson authored
      Reuse the defaults in packages/modules/common that are for
      non-updatable (to be updatable), but extend them to be suitable for
      modules that have no intention of becoming updatable.
      
      Baseline issues that were not enabled previously.
      
      Bug: 306806877
      Test: presubmit
      Merged-In: I5b596821ce9c20d2504728bf01f4fdd69da9a94e
      Change-Id: I5b596821ce9c20d2504728bf01f4fdd69da9a94e
      14e7f959
  11. Oct 30, 2023
  12. Oct 27, 2023
    • Anton Hansson's avatar
      Dedupe build rules for non-updatable sdk libs · 4d48117c
      Anton Hansson authored
      Reuse the defaults in packages/modules/common that are for
      non-updatable (to be updatable), but extend them to be suitable for
      modules that have no intention of becoming updatable.
      
      Baseline issues that were not enabled previously.
      
      Bug: 306806877
      Test: presubmit
      Change-Id: I5b596821ce9c20d2504728bf01f4fdd69da9a94e
      4d48117c
  13. Oct 26, 2023
  14. Oct 23, 2023
  15. Oct 16, 2023
  16. Oct 14, 2023
    • Thomas Nguyen's avatar
      Revert "Add RIL requests and unsol for Satellite HAL" · a8b9ae27
      Thomas Nguyen authored
      Revert submission 20583557-Satellite APIs
      
      Reason for revert: Radio HAL for satellite APIs are not needed.
      
      Reverted changes: /q/submissionid:20583557-Satellite+APIs
      
      Bug: 304622222
      Test: SMS, MMS, call with live network.
      SatelliteManagerTestOnMockService SatelliteManagerTest SatelliteControllerTest
      DatagramDispatcherTest DatagramReceiverTest SatelliteSOSMessageRecommenderTest
      NtnCapabilityResolverTest ServiceStateTrackerTest VtsHalRadioTargetTest
      
      Change-Id: Ibe2652e930fbb4b7575bd2ef52ad9ba6a406e88c
      a8b9ae27
  17. Oct 09, 2023
    • Makoto Onuki's avatar
      Start adding build rules for ravenwood · 3aefe338
      Makoto Onuki authored
      - Add "framework-minus-apex.ravenwood".
      - Update the behavior of: --default-throw:
        - Now this will "keep" the subject classes and fields.
      - When a 'throw' directive is specified on a static initializer,
        it's now handled as 'keep', because otherwise the class
        wouldn't be usable.
      
      Test: ./scripts/run-all-tests.sh
      Test: m framework-minus-apex.ravenwood
      Bug: 292141694
      Change-Id: If4d650dc175a5a78cf8844dfed2217c19f2d5790
      3aefe338
  18. Sep 29, 2023
  19. Sep 27, 2023
    • dshivangi's avatar
      Disable Fold lock behavior setting by default · 59279cd2
      dshivangi authored
      Flag protect Fold lock behavior setting behind a sysprop flag.
      The setting will be disabled by default and can be
      teamfooded by enabling sysprop flag with prop name
      persist.fold_lock_setting_enabled.
      Enable sysprop flag by running following command
      * adb root && adb shell setprop persist.fold_lock_setting_enabled true
      
      Flag: persist.fold_lock_setting_enabled
      Bug: 298200843
      Test: atest FoldSettingProviderTest FoldLockBehaviorPreferenceControllerTest
      * Manually check if the setting accessible with sysprop flag true and
      false.
      
      Change-Id: Iaca4333b3e50383a621b5ae5f704410648ed205f
      59279cd2
  20. Sep 20, 2023
  21. Sep 08, 2023
  22. Sep 05, 2023
    • Mark White's avatar
      Split location code from framework-minus-apex to framework-location · 5b3c64d5
      Mark White authored
      Bug: 289776578
      Test: CtsLocationCoarseTestCases CtsLocationFineTestCases CtsLocationGnssTestCases CtsLocationNoneTestCases CtsLocationPrivilegedTestCases
      API-Coverage-Bug: 299124945
      
      Change-Id: I6179e5338bf6d2cd9fe3297e841dc9610bc21160
      5b3c64d5
    • Makoto Onuki's avatar
      Initial commit of "HostStubGen" (Ravenwood) · 8558e9a9
      Makoto Onuki authored
      See tools/hoststubgen/README.md for the directory structure...
      
      This CL contains:
      - The HostGenTool.
      
      - Libraries to build / run host side tets. (helper-*/ directories)
      
      - Currently we expose ArrayMap and Log to the host side, but we also need to
      expose a lot more classes that the tests usee.
      
      - Some sample tests. (test-framework/ and test-tiny-framework/)
      
      Sample tests contain very small tests for ArrayMap and Log.
      
      - This version doen't loa JNI code yet. It still uses the Java substitution
      for Log's native methods.
      
      This is because `libandroid_runtime` seems to have a lot of obscure dependencies,
      and using `libandroid_runtime` could cause obscure build errors when someone
      make chages to any of direct/indirect dependencies.
      
      - Current version doesn't use any Java annotations to control what are exposed
      on the host side. Instead, we use `framework-policy-override.txt`, which is
      easier to change. (because changing the file wouln't require rebuilding
      framework-minus-apex.jar.)
      
      - Currently we expose ArrayMap and Log to the host side, but we also need to
      expose a lot more classes that the tests usee. See the `framework-policy-override.txt`
      file.
      
      Test: ./scripts/run-all-tests.sh
      Bug: 292141694
      Change-Id: If149e26aa919d17a0b82dacc78f31bd79fbb110b
      8558e9a9
  23. Aug 23, 2023
  24. Aug 20, 2023
    • Joe Onorato's avatar
      Add first aconfig library inside the framework. · cd77947b
      Joe Onorato authored
      The difficult part here is that the aconfig libraries can't be compiled
      separately from the framework, so the framework adds a srcjar and we add
      a fake DeviceConfig so that the generated libraries will compile.
      
      Bug: 293195086
      Test: m
      Change-Id: Ia54cb5d1196f9579f418586a0c53b8846d46dc5a
      cd77947b
  25. Aug 05, 2023
  26. Jul 11, 2023
  27. Jun 29, 2023
Loading