Home
last modified time | relevance | path

Searched refs:MAX_ATTEMPTS (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/util/
DTouchModeFlexibleAsserts.java32 private static int MAX_ATTEMPTS = 2; field in TouchModeFlexibleAsserts
38 while (numAttemptsAtTouchMode < MAX_ATTEMPTS && in assertInTouchModeAfterClick()
43 Assert.assertTrue("even after " + MAX_ATTEMPTS + " clicks, did not enter " in assertInTouchModeAfterClick()
50 while (numAttemptsAtTouchMode < MAX_ATTEMPTS && in assertInTouchModeAfterTap()
55 Assert.assertTrue("even after " + MAX_ATTEMPTS + " taps, did not enter " in assertInTouchModeAfterTap()
/frameworks/base/core/tests/coretests/src/android/security/keystore/recovery/
DKeyChainSnapshotTest.java43 private static final int MAX_ATTEMPTS = 10; field in KeyChainSnapshotTest
63 assertEquals(MAX_ATTEMPTS, createKeyChainSnapshot().getMaxAttempts()); in build_setsMaxAttempts()
125 assertEquals(MAX_ATTEMPTS, snapshot.getMaxAttempts()); in writeToParcel_writesMaxAttempts()
179 .setMaxAttempts(MAX_ATTEMPTS) in createKeyChainSnapshot()
/frameworks/base/core/tests/coretests/src/android/os/
DPowerManagerVrTest.java118 final int MAX_ATTEMPTS = 10; in waitForDreamState() local
120 for (int i = 0; i < MAX_ATTEMPTS; i++) { in waitForDreamState()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/serialization/
DKeyChainSnapshotSerializerTest.java45 private static final int MAX_ATTEMPTS = 21; field in KeyChainSnapshotSerializerTest
80 assertThat(roundTrip().getMaxAttempts()).isEqualTo(MAX_ATTEMPTS); in roundTrip_persistsMaxAttempts()
246 .setMaxAttempts(MAX_ATTEMPTS) in createTestKeyChainSnapshot()
264 .setMaxAttempts(MAX_ATTEMPTS) in createTestKeyChainSnapshotWithKeyMetadata()
/frameworks/native/services/vibratorservice/test/
DVibratorManagerHalControllerTest.cpp34 static constexpr int MAX_ATTEMPTS = 2; variable
164 setHalExpectations(MAX_ATTEMPTS, vibrator::HalResult<void>::failed("message"), in TEST_F()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverySnapshotStorageTest.java40 private static final int MAX_ATTEMPTS = 10; field in RecoverySnapshotStorageTest
221 .setMaxAttempts(MAX_ATTEMPTS) in createTestKeyChainSnapshot()