Skip to content
Snippets Groups Projects
  1. Jun 11, 2024
  2. Jun 10, 2024
  3. Jun 07, 2024
    • Antonio Kantek's avatar
      Skip test until concurrent multi-user IME is enabled · 7480497b
      Antonio Kantek authored
      Bug: 345557347
      Test: tested on cf_x86_64_only_auto_md emulator
      Test: atest ConcurrentMultiUserTest
      Change-Id: I7288e775ae085bb3bbdacf1b7b37766b340b02d6
      7480497b
    • Michael Wright's avatar
      Remove execute bit from non-executable files. · 6a5fcafd
      Michael Wright authored
      This is almost certainly a mistake in all cases, and any files that are
      text-based have been spot checked to make sure they don't contain a
      shebang or have any other indications of intentionally being executable.
      
      Commands run:
          fdfind -t x -e java -x chmod -x
          fdfind -t x -e kt -x chmod -x
          fdfind -t x -e ogg -x chmod -x
          fdfind -t x -e xml -x chmod -x
          fdfind -t x -e aidl -x chmod -x
          fdfind -t x -e html -x chmod -x
          fdfind -t x -e png -x chmod -x
      
      Bug: 345485143
      Test: N/A
      Flag: Exempt, mechanical change
      Change-Id: I2902380611eb51d0c0e18f2f31e41f37163bd922
      6a5fcafd
    • Nataniel Borges's avatar
      Ignore default layers that may show for a single entry during rotation · 3e5d0eb7
      Nataniel Borges authored
      Test: atest FlickerTestsRotation
      Fixes: 345401017
      Change-Id: I73ad4e09253acde70d3109e368354fec75dbd7bc
      3e5d0eb7
  4. Jun 06, 2024
    • Siarhei Vishniakou's avatar
      Add DebugInputRule to AnrTest · 61e9d77e
      Siarhei Vishniakou authored
      There are still flakes reported in this test. Add DebugInputRule
      annotations so that we can use the logs to figure out what went wrong.
      The failures are not reproducible locally.
      
      Bug: 339924248
      Test: atest AnrTest
      Change-Id: I0140b30b7754a66098b580f877a5d17bdd6e4d48
      61e9d77e
    • Pat Manning's avatar
      Add framework test for vector-specific fill color A11Y settings. · ba6858d9
      Pat Manning authored
      Bug: 305193969
      Test: PointerIconTest
      Flag: com.android.systemui.enable_vector_cursor_a11y_settings
      Change-Id: Ia34f925a4452ad8c410d57b29d431d8afa6b8aa8
      ba6858d9
  5. Jun 05, 2024
    • Siarhei Vishniakou's avatar
      Wait for stable window geometry in AnrTest · 1d173672
      Siarhei Vishniakou authored
      When AnrTest was switched to uinput, we lost the behaviour of waiting
      for animations to complete prior to injection.
      
      Likely, this caused the test to become flaky, because the activity
      sometimes is not launched when we try to send input.
      
      In this CL, we are adding a speculative fix for this by waiting for the
      window geometry to stabilize before the injection starts.
      
      Bug: 339924248
      Test: atest AnrTest
      Change-Id: I60ce69ce4ce8afe8b8fa3c9f48ff82c1a1ec9936
      1d173672
    • Pablo Gamito's avatar
      Add getId method to IProtoLogGroup · 7e337582
      Pablo Gamito authored
      So that at runtime we can dump the id of the group when using protolog without pre-processing the source code.
      
      Test: n/a
      Change-Id: If7441fb408203b79193d6e3d9080290edae5dcda
      7e337582
  6. Jun 04, 2024
  7. May 31, 2024
    • Siarhei Vishniakou's avatar
      Use uinput-based injection in AnrTest · 834025aa
      Siarhei Vishniakou authored
      Prior to this CL, we were injecting events into the unresponsive
      activity using "injectInputEvent". The up event was missing, which would
      cause the pointer to linger in the gesture monitors. Later in
      the test, we were clicking the "close" button. This click would start to
      interact with the previous unreleased pointer, causing the notification
      shade to get pulled down.
      
      In this CL, we switch to uinput-based injection to make it hermetic.
      
      Bug: 343912075
      Test: atest com.android.test.input.AnrTest
      Change-Id: I295963080203ee64f50ed9890086b945665c204e
      834025aa
    • Android Culprit Assistant's avatar
      Revert^3 "Add throtling to crashloop mitigations" · c996b909
      Android Culprit Assistant authored
      3bebb903
      
      Change-Id: I605177fabae80ea68399aa42a66419119cf02cd3
      Bug: 343583446
      Bug: 343690533
      c996b909
  8. May 30, 2024
    • Billy Huang's avatar
      Add unit test coverage for unlock attempts in TrustTests · 45ca5feb
      Billy Huang authored
      The downstream effects of an unlock attempt using a pin/password were
      not previously tested within the TrustTests. Add these tests in
      preparation for further changes to pin/password unlock reporting to
      TrustManagerService.
      
      Add options within ScreenLockRule and TrustAgentRule to allow for test
      cases to start with strong auth being required, and the device locked.
      
      BUG: b/323086607
      Test: `atest TrustTests`
      Flag: TEST_ONLY
      Change-Id: I1c8eaacc9c20284ef2783bcd65c14f68b0b444e8
      45ca5feb
    • Taran Singh's avatar
      Mark flicker test imeAppLayerIsAlwaysVisible flaky · 7a467e6c
      Taran Singh authored
      Mark the test as flaky since its blocking presubmit
      until we've a fix.
      
      Bug: 330486656
      Test: atest FlickerTestsIme1
      Change-Id: I67cc3ec514c32e85f5e842d8fb9acc628882ab89
      7a467e6c
    • Jeff DeCew's avatar
      Disable "Notification Cooldown" for flicker tests · 5ad3b128
      Jeff DeCew authored
      Change-Id: I26bf9f4df26576ac769ee5da6a74e605fb358a4b
      Fixes: 342551612
      Test: FlickerTestsNotification com.android.server.wm.flicker.notification.OpenAppFromLockscreenNotificationColdTest
      Flag: TEST_ONLY
      5ad3b128
  9. May 29, 2024
  10. May 27, 2024
    • Kevin Liu's avatar
      Add strict_mode: false · eef626ab
      Kevin Liu authored
      As strict mode is in place, the default strict_mode is now set to true. We are encourage teams to write tests in strict_mode to make tests Bivalent (able to run on device and devicelessly)
      For more info on strict mode: go/roboStrictMode
      
      Flag: NONE
      Test: atest SystemUiRoboTests, SpaRoboRNGTests, SettingsLibRoboTests, FrameworksServicesRoboTests, BackupFrameworksServicesRoboTests, InputRoboRNGTests
      Bug: 334089788
      Change-Id: I9827910496af67eab33efddb7c32d8e40b497c13
      eef626ab
    • Chris Li's avatar
      Disable flaky EnterSystemSplitTest · 9a59463f
      Chris Li authored
      To unblock
      
      Bug: 342596801
      Test: atest FlickerTestsOther:EnterSystemSplitTest
      Change-Id: I117355cfa826ad2f3586a5fcd92ad4a69701cdd1
      9a59463f
  11. May 25, 2024
  12. May 23, 2024
    • Riddle Hsu's avatar
      Add test for seamless rotation when launching app over keyguard · 383fed6d
      Riddle Hsu authored
      The test verifies that there won't be a rotation animation layer for
      the rotation change with a show-when-locked seamless rotation activity.
      
      Bug: 333557024
      Test: atest OpenShowWhenLockedSeamlessAppRotationTest
      Change-Id: If525192159c8c2964a014ef19923bd1b55001c51
      383fed6d
    • Nataniel Borges's avatar
      Rebalance flicker tests among shards · c536b839
      Nataniel Borges authored
      To bring test back to runtime SLO
      
      Test: atest FlickerTestsAppLaunch1 FlickerTestsAppLaunch2
      Fixes: 335802463
      Change-Id: Ie01948f5077a7048890d905029b5e8fad94a2145
      c536b839
  13. May 21, 2024
  14. May 20, 2024
    • Linnan Li's avatar
      Add enabled state to InputDevice and remove isInputDeviceEnabled(1/n) · db69719a
      Linnan Li authored
      
      Since we have added a field for the enabled state to InputDeviceInfo, we
      have also added the same status field to InputDevice.java. This way, we
      won't need to call the isInputDeviceEnabled method in InputManager again
      to send a request to InputManagerService to check if the device is
      enabled. At this point, we can directly remove the isInputDeviceEnabled
      method in InputManager, which is used as a hidden API, since it is no
      longer in use.
      
      Bug: 336420877
      Test: build & atest InputTests
      
      Change-Id: I9274f0bc66b64b81f9375049cc7bf9535c27d06f
      Signed-off-by: default avatarLinnan Li <lilinnan@xiaomi.corp-partner.google.com>
      db69719a
  15. May 17, 2024
  16. May 16, 2024
  17. May 15, 2024
    • Chris Li's avatar
      Update flicker app targetSDK · 4946c636
      Chris Li authored
      Update the following:
      1. PendingIntent requires FLAG_MUTABLE
      2. Bubble/Notification requires POST_NOTIFICATIONS
      3. registerReceiver requires RECEIVER_EXPORTED
      4. Opt-out force edge-to-edge
      
      Bug: 306666082
      Test: pass presubmit
      Test: atest PlatformScenarioTests:BackAndHomeOnGMail
      Change-Id: I90de055be9c9c270b6815b719209ca8407431d39
      4946c636
    • Chris Li's avatar
      Update a few flicker test atest comment · 75107f5c
      Chris Li authored
      Bug: 307359855
      Test: JavaDoc update only
      Change-Id: Icbc259722581bb3ca8ec40f221b6e03551a5052a
      75107f5c
  18. May 14, 2024
    • Nataniel Borges's avatar
      Uses new argument to force stop perfetto sessions · 6f6f8bad
      Nataniel Borges authored
      Test: atest FlickerLibTests
      Bug: 288396763
      Change-Id: Ie55d391d712fbcb62bc34f76b5d74dce962bd4e6
      6f6f8bad
    • Chris Li's avatar
      Revert "Update flicker app targetSDK" · b6d8312e
      Chris Li authored
      This reverts commit 40c1df0f.
      
      Reason for revert: b/340471057
      
      Change-Id: I7409cc8acb14a7104ce79698d9f14e553f98baf4
      b6d8312e
    • Kiran S's avatar
      Update the USB device filter to support interface name · 32e94e57
      Kiran S authored
      The interface name will be used as an additional parameter while
      filtering devices based on interface class, subclass and protocol. This
      will be used to correctly filter MTP devices based on interface. The
      current logic of only using class, subclass and protocol will
      incorrectly identify some devices interfaces as supporting MTP
      
      Test: atest UsbManagerTests, Manually verified that interface name is
      used for filtering MTP devices correctly
      Bug: 312828160
      Flag: android.hardware.usb.flags.enable_interface_name_device_filter
      
      Change-Id: I7f6538864a0464cf0fedf677ef075ee98ef02b15
      32e94e57
    • Chris Li's avatar
      Update flicker app targetSDK · 40c1df0f
      Chris Li authored
      So that AE is enabled on phone target as well
      
      Update the following:
      1. PendingIntent requires FLAG_MUTABLE
      2. Bubble/Notification requires POST_NOTIFICATIONS
      3. registerReceiver requires RECEIVER_EXPORTED
      4. Opt-out force edge-to-edge
      
      Bug: 306666082
      Test: atest FlickerTestsOther
      Change-Id: Ib1c310795ee3723656c9ebd0557831d189eddb6c
      40c1df0f
  19. May 13, 2024
  20. May 10, 2024
    • Dave McCloskey's avatar
      Add a dumpsys implementation for attestation_verification service. · b2c0c227
      Dave McCloskey authored
      Example output:
      $ adb shell dumpsys attestation_verification
      AttestationVerificationManagerService
          Event Log:
              Verification #2 [2024-04-25 22:09:52]
                  Result: FAILURE(2)
                  Certificate Chain Valid (inc. Trust Anchor): FAILURE
              Verification #1 [2024-04-25 22:08:37]
                  Result: FAILURE(2)
                  Certificate Chain Valid (inc. Trust Anchor): FAILURE
      
      Seeing a result from dumpsys that doesn't fail will need to wait until
      there is a user-signed build to test on a locked device. However, here's
      an example output from a unit test:
      
      04-25 15:23:23.954   408   467 D AVFTest : Verification #1 [2024-04-25 22:23:23]
      04-25 15:23:23.954   408   467 D AVFTest :  Result: FAILURE(2)
      04-25 15:23:23.954   408   467 D AVFTest :  Certificate Chain Valid (inc. Trust Anchor): OK
      04-25 15:23:23.954   408   467 D AVFTest :  Local Binding: OK
      04-25 15:23:23.954   408   467 D AVFTest :   Binding Type: 3
      04-25 15:23:23.954   408   467 D AVFTest :  System Ownership: FAILURE
      04-25 15:23:23.954   408   467 D AVFTest :  KeyStore Attestation Parameters
      04-25 15:23:23.954   408   467 D AVFTest :   OS Version >= 10: OK
      04-25 15:23:23.954   408   467 D AVFTest :   OS Patch Level in Range: OK
      04-25 15:23:23.954   408   467 D AVFTest :   Attestation Version >= 3: OK
      04-25 15:23:23.954   408   467 D AVFTest :   Keymaster Version >= 4: OK
      04-25 15:23:23.954   408   467 D AVFTest :   Keymaster HW-Backed: OK
      04-25 15:23:23.954   408   467 D AVFTest :   Key is HW Backed: OK
      04-25 15:23:23.954   408   467 D AVFTest :   Boot State is VERIFIED: OK
      04-25 15:23:23.954   408   467 D AVFTest :   Verified Boot is LOCKED: OK
      04-25 15:23:23.954   408   467 D AVFTest :   Key Boot Level in Range: OK
      04-25 15:23:23.954   408   467 D AVFTest :   Key Vendor Patch Level in Range: OK
      
      Bug: 335498868
      Test: atest AttestationVerificationTest
      Change-Id: Iea0b19b3c3a25c5800ebd6fad85c0829a2cfa2b1
      Flag: android.security.dump_attestation_verifications
      b2c0c227
Loading