/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | TestUtils.java | 41 boolean getAsBoolean() throws Exception; in getAsBoolean() method 69 if (predicate.getAsBoolean()) { in waitUntil() 110 if (condition.getAsBoolean()) return; in waitOn() 115 while (!condition.getAsBoolean() && timeSlept < timeoutMs) { in waitOn() 120 if (!condition.getAsBoolean()) { in waitOn()
|
D | PollingCheck.java | 168 return condition.getAsBoolean(); in waitFor()
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | SafeWaitObject.java | 42 while (!stopWaiting.getAsBoolean()) { in waitFor() 68 while (!stopWaiting.getAsBoolean() && (System.currentTimeMillis() < deadline)) { in checkConditionFor()
|
/cts/tests/tests/shortcutmanager/throttling/src/android/content/pm/cts/shortcutmanager/throttling/ |
D | ThrottledTests.java | 41 assertTrue("First call should succeed", apiCall.getAsBoolean()); in assertThrottled() 47 if (!apiCall.getAsBoolean()) { in assertThrottled()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2024-31332/src/android/security/cts/CVE_2024_31332/ |
D | DeviceTest.java | 109 if (userRestriction.getAsBoolean()) { in withDisallowAddWifiConfigRestriction() 116 .that(userRestriction.getAsBoolean()) in withDisallowAddWifiConfigRestriction()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2024-23704/src/android/security/cts/CVE_2024_23704/ |
D | DeviceTest.java | 118 if (userRestriction.getAsBoolean()) { in withDisallowAddWifiConfigRestriction() 125 .that(userRestriction.getAsBoolean()) in withDisallowAddWifiConfigRestriction()
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/testcore/ |
D | AssumptionCheckerRule.java | 53 assumeTrue(mAssumptionDescription, mShouldRunTestSupplier.getAsBoolean()); in apply()
|
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/ |
D | Condition.java | 172 if (condition.mSatisfier.getAsBoolean()) { in waitFor() 183 if (condition.mSatisfier.getAsBoolean()) { in waitFor()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | Condition.java | 172 if (condition.mSatisfier.getAsBoolean()) { in waitFor() 183 if (condition.mSatisfier.getAsBoolean()) { in waitFor()
|
D | UiDeviceUtils.java | 147 if (waitFor.getAsBoolean()) { in retryPressKeyCode() 153 if (!waitFor.getAsBoolean()) { in retryPressKeyCode()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | Utils.java | 54 if (successCondition.getAsBoolean()) { in tryWaitForSuccess()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContentValuesTest.java | 209 assertTrue(mContentValues.getAsBoolean("Boolean")); in testGetAsBoolean() 212 assertFalse(mContentValues.getAsBoolean("Boolean")); in testGetAsBoolean() 215 assertNull(mContentValues.getAsBoolean(null)); in testGetAsBoolean() 385 assertTrue(mContentValues.getAsBoolean("Boolean")); in testPutBoolean() 388 assertFalse(mContentValues.getAsBoolean("Boolean")); in testPutBoolean()
|
/cts/hostsidetests/appcloning/hostside/src/com/android/cts/appcloning/ |
D | BaseHostTestCase.java | 120 if (booleanSupplier.getAsBoolean()) { in eventually() 167 boolean getAsBoolean() throws Exception; in getAsBoolean() method
|
/cts/tests/credentials/src/android/credentials/cts/ |
D | CtsSettingsIntentTest.java | 209 } while (condition.getAsBoolean() != expectResult && SystemClock.uptimeMillis() < deadline); 210 return condition.getAsBoolean();
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/activity/lifecycle/ |
D | EventTracker.java | 126 while (!waitCondition.getAsBoolean()) { in waitForConditionWithTimeout()
|
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/ |
D | MockModemManager.java | 101 if (condition.getAsBoolean()) { in waitForSubscriptionCondition() 112 if (condition.getAsBoolean()) lock.notifyAll(); in waitForSubscriptionCondition() 115 if (!condition.getAsBoolean()) Looper.loop(); in waitForSubscriptionCondition() 123 if (condition.getAsBoolean()) return; in waitForSubscriptionCondition()
|
/cts/tests/AlarmManager/src/android/alarmmanager/cts/ |
D | AppStandbyTests.java | 318 while (!condition.getAsBoolean() && SystemClock.uptimeMillis() < deadLine) { in waitUntil() 321 return condition.getAsBoolean(); in waitUntil()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21254/test-app/src/android/security/cts/CVE_2023_21254_test/ |
D | DeviceTest.java | 72 public boolean getAsBoolean() { in testPocCVE_2023_21254()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21249/test-app/src/android/security/cts/CVE_2023_21249_test/ |
D | DeviceTest.java | 74 public boolean getAsBoolean() { in testPocCVE_2023_21249()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/display/ |
D | WindowContextTests.java | 379 return TestWindowServiceSession.sVerifyAttachingInvalidDisplay.getAsBoolean() in getInitialDisplayId() 392 if (TestWindowServiceSession.sVerifyWmInOnCreate.getAsBoolean()) { in onCreate()
|
/cts/tests/app/AppExitTest/src/android/app/cts/ |
D | MemoryConsumerService.java | 79 reply.writeBoolean(mTestFunc.getAsBoolean()); in onTransact()
|
/cts/tests/app/src/android/app/cts/ |
D | TaskDescriptionTest.java | 164 if (waitCondition.getAsBoolean()) { in waitFor()
|
/cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/ |
D | EncryptionAppTest.java | 239 if (waitFor.getAsBoolean()) { in waitFor() 245 if (!waitFor.getAsBoolean()) { in waitFor()
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | MockIme.java | 1506 recordEventInternal("onVerify", supplier::getAsBoolean, arguments); 1525 return recordEventInternal("onEvaluateFullscreenMode", supplier::getAsBoolean); 1529 return recordEventInternal("onEvaluateInputViewShown", supplier::getAsBoolean); 1603 return recordEventInternal("onKeyDown", supplier::getAsBoolean, arguments); 1635 return recordEventInternal("onShowInputRequested", supplier::getAsBoolean, arguments); 1711 return recordEventInternal("onInlineSuggestionsResponse", supplier::getAsBoolean,
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | TestAppInterface.java | 481 } while (!condition.getAsBoolean() && SystemClock.uptimeMillis() < deadline); 482 return condition.getAsBoolean();
|