Skip to content
Snippets Groups Projects
  1. Apr 05, 2024
    • Ronald Braunstein's avatar
      Migrating test options From TEST_MAPPING -> Android.bp · d9b0dc59
      Ronald Braunstein authored
      See parent cl: aosp/3028633
      
      Test: atest -p cmds/locksettings:postsubmit
      Test: atest -p services/core/java/com/android/server/locksettings:postsubmit
      Test: atest -p services/devicepolicy:postsubmit
      Change-Id: I6d0d0320e0bf8927f9b8b27b471ae58ace56124a
      d9b0dc59
  2. Apr 04, 2024
  3. Apr 03, 2024
    • Dan Albert's avatar
      Adapt to changing function signature. · 21c4dd4d
      Dan Albert authored
      Bug: None
      Test: treehugger
      Change-Id: I33991523e53e6e3e70da2e7fb3c1bb56470b5b2b
      21c4dd4d
    • Neill Kapron's avatar
      ShadeCarrierGroupController: remove excessive log · d1867469
      Neill Kapron authored
      
      Remove a greenpath log statement which prints 3x every 10s, filling logs
      
      04-03 19:35:15.980  2065  2065 D ShadeCarrierGroup: ignoring old pipeline callback because new mobile icon is enabled
      04-03 19:35:15.980  2065  2065 D ShadeCarrierGroup: ignoring old pipeline callback because new mobile icon is enabled
      04-03 19:35:15.980  2065  2065 D ShadeCarrierGroup: ignoring old pipeline callback because new mobile icon is enabled
      04-03 19:35:25.985  2065  2065 D ShadeCarrierGroup: ignoring old pipeline callback because new mobile icon is enabled
      04-03 19:35:25.985  2065  2065 D ShadeCarrierGroup: ignoring old pipeline callback because new mobile icon is enabled
      04-03 19:35:25.986  2065  2065 D ShadeCarrierGroup: ignoring old pipeline callback because new mobile icon is enabled
      04-03 19:35:35.978  2065  2065 D ShadeCarrierGroup: ignoring old pipeline callback because new mobile icon is enabled
      04-03 19:35:35.978  2065  2065 D ShadeCarrierGroup: ignoring old pipeline callback because new mobile icon is enabled
      04-03 19:35:35.978  2065  2065 D ShadeCarrierGroup: ignoring old pipeline callback because new mobile icon is enabled
      
      Flag: None
      Bug: 36785118
      Test: manual
      Change-Id: I465bde520d4e79e6e4e18ffb7dc109d36eacaa10
      Signed-off-by: default avatarNeill Kapron <nkapron@google.com>
      d1867469
    • Treehugger Robot's avatar
      95d99a39
    • Carlos Galo's avatar
      AMS: Adding boot complete cmd code for LMKD · 710c27c8
      Carlos Galo authored
      
      Keeping in sync with `lmk_cmd` definition in lmkd.h
      
      Test: N/A
      Change-Id: Idee045c34132edc3d6d9e2da5a2f4474311b18d9
      Signed-off-by: default avatarCarlos Galo <carlosgalo@google.com>
      710c27c8
    • Jihoon Kang's avatar
    • Shrinidhi Hegde's avatar
      update package watchdog to perform mitigations after every reboot once threshold is reached. · 3c56021d
      Shrinidhi Hegde authored
      Since the bootloop is not for complete boot rather for  system-server
      restarts, we dont have to be as conscious about performing higher
      impact mitigations and we can perform them earlier. (Reboots
      initiated by user doesnt trigger a bootloop scenario.)
      
      Removed the increment boot count threshold needed between 2 mitigations.
      Also removed BOOT_LOOP_THRESHOLD(default value: 15) which was needed to
      perform any high impact mitigations.
      
      PackageWatchdog would wait for DEFAULT_BOOT_LOOP_TRIGGER_COUNT (default
      value: 5) after a reboot (ex: WARM_REBOOT step in rescue party, mainline
      rollback). Changed the behaviour to wait for DEFAULT_BOOT_LOOP_TRIGGER_COUNT
      only for first mitigation.
      
      MitigationCount was not getting reset properly after de-escalation
      window. Updated the logic to save mitigationCount to the file after reset.
      
      Did manual tests by killing system_server process using the following
      command:
      `adb shell kill -9 $(adb shell pidof system_server)`
      Verified that the first mitigation was performed at 5 restarts.
      Every restart after that resulted in next mitigation being executed.
      
      Ran `atest PackageEatcdogTest` to verify PackageWatchdogTest and
      CrashRecoveryTest changes.
      
      Test: Unit test, manual test
      Bug: 291137901
      Change-Id: Ia0174e0e5dca09c5d4e9d3a12909c5e5087b4dbf
      3c56021d
Loading