Skip to content
Snippets Groups Projects
  1. Mar 18, 2024
    • Jiyong Park's avatar
      Move the dependency on protolog.conf.json.gz to services · 5863d8a8
      Jiyong Park authored
      The dependency is a "required" dependency, so it's not used for building
      framework-minus-apex. We just want that protolog.conf.json.gz is
      installed along with framework-minus-apex.
      
      This CL moves the source of the dependency from framework-minus-apex to
      services for two reasons:
      
      1. There's a dependency cycle:
        checked-protolog.json
        -> generate-protolog.json
        -> protolog-groups
        -> framework
        -> framework-minus-apex
        -> protolog.conf.json.gz
        -> services.core.json.gz
        -> checked-protolog.json
      
      Currently, this cycle is harmless because the installation of required
      modules is done by Make and Make is not checking cycles there. However,
      this is preventing Soong from implementing the installation of required
      modules by itself.
      
      2. services don't have such a dependency cycle, while
         framework-minus-apex and services are installed together.
      
      Bug: 321626681
      Test: check the existence of /system/etc/protolog.conf.json.gz in
      installed-files.txt
      
      Merged-In: Iefdd457e99fc61c1ce2f5a05ae59f5e12256a764
      Change-Id: Iefdd457e99fc61c1ce2f5a05ae59f5e12256a764
      5863d8a8
  2. Feb 29, 2024
    • Pablo Gamito's avatar
      Add missing require in build rule · 6843dcaa
      Pablo Gamito authored
      Causing the file to be missing on the system and so decoding of the proto messages is failing because we need to read this file to decode the messages to write the message to logcat when requested
      
      Test: adb shell wm logging enable-text WM_DEBUG_WINDOW_TRANSITIONS
      Bug: 327491675
      Change-Id: Ic98187a0b5fe785eec8cec275c394fb2c68d4242
      6843dcaa
  3. Feb 26, 2024
  4. Feb 22, 2024
  5. Feb 20, 2024
  6. Feb 17, 2024
  7. Feb 14, 2024
  8. Jan 26, 2024
    • Brian Julian's avatar
      Adds to AltitudeConverter a method that returns a geoid height at the location... · 4987500b
      Brian Julian authored
      Adds to AltitudeConverter a method that returns a geoid height at the location (go/msat:geoid-heights-altitude-hal-design).
      
      Note that the implementation uses *fake* assets for calculating expiration distances, specifically, a copy of the geoid height assets. Real assets will be added in followup CLs.
      
      Test: FrameworksMockingServicesTests:AltitudeConverterTest
      Bug: 304375846
      Change-Id: I78bc3c9f9d814f750c38c627ee9af8dc27183e2a
      4987500b
  9. Jan 18, 2024
  10. Jan 12, 2024
    • Roshan Pius's avatar
      framework-nfc: Switch to "framework-module-defaults" · 96dac95f
      Roshan Pius authored
      Now that all the @hide usage of NFC API's from rest of platform is
      cleaned out, we can now switch to the module defaults and continue the
      separation of NFC API classes.
      
      Bug: 303286040
      Test: Compiles
      Merged-In: I8bd5e38b1482600594c41660d14537cf15b48318
      
      Change-Id: I8bd5e38b1482600594c41660d14537cf15b48318
      96dac95f
    • Pablo Gamito's avatar
      Expose Perfetto DataSource to java · 6ecbbc74
      Pablo Gamito authored
      Bug: 309630341
      Test: atest CoreTracingTests
      Change-Id: I9e9486ba406aa67fbc73922910ea97429ee4683c
      6ecbbc74
  11. Jan 11, 2024
    • Cole Faust's avatar
      Baseline NewApi issues · 22cb5128
      Cole Faust authored
      NewApi is a lint check that you don't call framework methods that were
      introduced in versions later than your min_sdk_version. We want to
      make this an error, so we're baselineing all existing issues.
      
      This cl was generated automatically, by taking all the NewApi issues
      from the reference baselines, and all the non-NewApi issues from the
      existing checked in baselines.
      
      Flag: None
      Bug: 268261262
      Test: Presubmits
      Change-Id: I26ca494d6089ac145eb5e3d267a9546eceea7c77
      22cb5128
  12. Jan 10, 2024
    • Roshan Pius's avatar
      framework-nfc: Switch to "framework-module-defaults" · 05836fad
      Roshan Pius authored
      Now that all the @hide usage of NFC API's from rest of platform is
      cleaned out, we can now switch to the module defaults and continue the
      separation of NFC API classes.
      
      Bug: 303286040
      Test: Compiles
      Change-Id: I8bd5e38b1482600594c41660d14537cf15b48318
      05836fad
  13. Jan 06, 2024
  14. Jan 04, 2024
    • 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
  15. Jan 02, 2024
  16. Dec 21, 2023
    • Devin Moore's avatar
      Update HwNoService to implement IServiceManager.Stub · c141aaef
      Devin Moore authored
      Test: launch_cvd
      Bug: 218588089
      
      Change-Id: Ifeb615dccbac68eb050c340bc8809cd07a89dc6f
      c141aaef
    • Cole Faust's avatar
      List baseline_filename on modules that are implititly using it · 5479e810
      Cole Faust authored
      lintable modules currently pick up files named "lint-baseline.xml" to use as the
      lint baseline implicitly. This is confusing because you could end up using the
      baseline files in more modules than intended. Lint also has a feature where it
      requests you remove unnecessary findings from the baseline file, so something
      could be necessary for one module, but unnecessary for another that accidentally
      picked up the baseline.
      
      We're removing the implicit detection of the baseline file, which requires
      all modules using it to list the baseline file explicitly.
      
      Bug: 272769514
      Test: Presubmits
      Change-Id: I4e74094eed3f5a0b7395bcb5e16cbee9f0f28b7e
      Merged-In: I4e74094eed3f5a0b7395bcb5e16cbee9f0f28b7e
      5479e810
    • Cole Faust's avatar
      List baseline_filename on modules that are implititly using it · 749a6885
      Cole Faust authored
      lintable modules currently pick up files named "lint-baseline.xml" to use as the
      lint baseline implicitly. This is confusing because you could end up using the
      baseline files in more modules than intended. Lint also has a feature where it
      requests you remove unnecessary findings from the baseline file, so something
      could be necessary for one module, but unnecessary for another that accidentally
      picked up the baseline.
      
      We're removing the implicit detection of the baseline file, which requires
      all modules using it to list the baseline file explicitly.
      
      Flag: None
      Bug: 272769514
      Test: Presubmits
      Change-Id: I4e74094eed3f5a0b7395bcb5e16cbee9f0f28b7e
      749a6885
  17. Dec 19, 2023
    • Paul Duffin's avatar
      Remove unnecessary --api-lint-ignore-prefix options · d180e04c
      Paul Duffin authored
      The `--api-lint-ignore-prefix` option adds a package prefix within
      which API lint checks will be ignored. However, the options are
      not actually necessary. That is because they are only used in the
      `android-non-updatable-stubs-defaults` and the non updatable code does
      not include any source classes from those packages.
      
      While modules that do use `android-non-updatable-stubs-defaults` do
      include classes from those packages on the classpath they are already
      excluded from having API lint checks performed on them as they do not
      contribute to the API surface being generated by those modules.
      
      Bug: 311690008
      Test: m checkapi
      (cherry picked from https://android-review.git.corp.google.com/c/platform/frameworks/base/+/2880166)
      Merged-In: Ife750c586edc2b5af92c0b5e9211b23345083f69
      Change-Id: I202e4da20f6d77fd99d4f17f917327bea759e409
      d180e04c
  18. Dec 16, 2023
    • Matt Buckley's avatar
      Fix dependency issues for PowerHAL FMQ imports · c0ef4b1e
      Matt Buckley authored
      Bug: b/316620445
      Test: atest CtsStrictJavaPackagesTestCases android.compat.sjp.cts.StrictJavaPackagesTest#testBootClasspathAndSystemServerClasspath_nonDuplicateClasses
      Change-Id: Ia7aa29637799c380b4a8d6185b25ba107f016d97
      c0ef4b1e
  19. Dec 15, 2023
  20. Dec 14, 2023
    • Diya Bera's avatar
      de-HIDL: Sensor configs & Provider merge · fd68fa12
      Diya Bera authored
      1. Map HIDL to AIDL fingerprint sensor configuration
      2. Propagate that through FingerprintService and FingerprintProvider
      3. Similar implementation for face sensors
      4. Use only one provider
      
      Test: atest FingerprintSensorConfigurationsTest
      FaceSensorConfigurationsTest AuthServiceTest FaceServiceTest
      FingerprintServiceTest FaceProviderTest FingerprintProviderTest
      HidlToAidlSensorAdapterTest HidlToAidlSessionAdapterTest SensorTest
      Bug: 303480396
      bug: 303480830
      
      Change-Id: I7a945e596c6331077e90cbe1500de0bcb212895c
      fd68fa12
    • Siim Sammul's avatar
      Change the way tombstones are added to dropbox. · a7e73e3c
      Siim Sammul authored
      Use the proto tombstone as source of truth and ignore the text
      tombstone. Instead create the text tombstone by omitting the memory data
      from the proto tombstone to save space on data that would get removed
      anyway. This allows us to save bandwidth and avoid truncating useful
      data from the tombstones.
      
      Test: atest BootReceiverTest
      Bug: 296207744
      
      Change-Id: I809122d3206ce326cbbbceadb45c3b98b9762a3e
      a7e73e3c
  21. Dec 08, 2023
  22. Dec 01, 2023
  23. 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
  24. Nov 17, 2023
  25. Nov 16, 2023
  26. 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
  27. Nov 08, 2023
  28. Nov 07, 2023
  29. 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
Loading