Home
last modified time | relevance | path

Searched refs:getAsBoolean (Results 1 – 25 of 36) sorted by relevance

12

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DTestUtils.java41 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()
DPollingCheck.java168 return condition.getAsBoolean(); in waitFor()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DSafeWaitObject.java42 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/
DThrottledTests.java41 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/
DDeviceTest.java109 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/
DDeviceTest.java118 if (userRestriction.getAsBoolean()) { in withDisallowAddWifiConfigRestriction()
125 .that(userRestriction.getAsBoolean()) in withDisallowAddWifiConfigRestriction()
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/testcore/
DAssumptionCheckerRule.java53 assumeTrue(mAssumptionDescription, mShouldRunTestSupplier.getAsBoolean()); in apply()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/
DCondition.java172 if (condition.mSatisfier.getAsBoolean()) { in waitFor()
183 if (condition.mSatisfier.getAsBoolean()) { in waitFor()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DCondition.java172 if (condition.mSatisfier.getAsBoolean()) { in waitFor()
183 if (condition.mSatisfier.getAsBoolean()) { in waitFor()
DUiDeviceUtils.java147 if (waitFor.getAsBoolean()) { in retryPressKeyCode()
153 if (!waitFor.getAsBoolean()) { in retryPressKeyCode()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DUtils.java54 if (successCondition.getAsBoolean()) { in tryWaitForSuccess()
/cts/tests/tests/content/src/android/content/cts/
DContentValuesTest.java209 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/
DBaseHostTestCase.java120 if (booleanSupplier.getAsBoolean()) { in eventually()
167 boolean getAsBoolean() throws Exception; in getAsBoolean() method
/cts/tests/credentials/src/android/credentials/cts/
DCtsSettingsIntentTest.java209 } while (condition.getAsBoolean() != expectResult && SystemClock.uptimeMillis() < deadline);
210 return condition.getAsBoolean();
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/activity/lifecycle/
DEventTracker.java126 while (!waitCondition.getAsBoolean()) { in waitForConditionWithTimeout()
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/
DMockModemManager.java101 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/
DAppStandbyTests.java318 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/
DDeviceTest.java72 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/
DDeviceTest.java74 public boolean getAsBoolean() { in testPocCVE_2023_21249()
/cts/tests/framework/base/windowmanager/src/android/server/wm/display/
DWindowContextTests.java379 return TestWindowServiceSession.sVerifyAttachingInvalidDisplay.getAsBoolean() in getInitialDisplayId()
392 if (TestWindowServiceSession.sVerifyWmInOnCreate.getAsBoolean()) { in onCreate()
/cts/tests/app/AppExitTest/src/android/app/cts/
DMemoryConsumerService.java79 reply.writeBoolean(mTestFunc.getAsBoolean()); in onTransact()
/cts/tests/app/src/android/app/cts/
DTaskDescriptionTest.java164 if (waitCondition.getAsBoolean()) { in waitFor()
/cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/
DEncryptionAppTest.java239 if (waitFor.getAsBoolean()) { in waitFor()
245 if (!waitFor.getAsBoolean()) { in waitFor()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DMockIme.java1506 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/
DTestAppInterface.java481 } while (!condition.getAsBoolean() && SystemClock.uptimeMillis() < deadline);
482 return condition.getAsBoolean();

12