/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/utils/ |
D | PollTest.java | 51 assertThat(Poll.forValue("tester value", valueTester::get) in await_toBeEqualTo_alreadyEqual_returns() 60 assertThat(Poll.forValue("tester value", valueTester::get) in await_toBeEqualTo_becomesEqual_returns() 69 assertThat(Poll.forValue("tester value", valueTester::get) in await_toBeEqualTo_doesNotBecomeEqual_returnIncorrectValue() 80 Poll.forValue("tester value", valueTester::get) in await_toBeEqualTo_errorOnFailure_doesNotBecomeEqual_throwsException() 94 Poll.forValue("tester value", valueTester::get) in await_toBeEqualTo_errorOnFailure_doesNotBecomeEqual_customError_throwsException() 107 assertThat(Poll.forValue("tester value", valueTester::get) in await_toNotBeEqualTo_alreadyNotEqual_returns() 116 assertThat(Poll.forValue("tester value", valueTester::get) in await_toNotBeEqualTo_becomesNotEqual_returns() 125 assertThat(Poll.forValue("tester value", valueTester::get) in await_toNotBeEqualTo_doesNotBecomeNotEqual_returnIncorrectValue() 136 Poll.forValue("tester value", valueTester::get) in await_toNotBeEqualTo_errorOnFailure_doesNotBecomeNotEqual_throwsException() 150 Poll.forValue("tester value", valueTester::get) in await_toNotBeEqualTo_errorOnFailure_doesNotBecomeNotEqual_customError_throwsException() [all …]
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/activities/ |
D | Activity.java | 65 Poll.forValue("Lock task mode state", () -> TestApis.activities().getLockTaskModeState()) in startLockTask() 82 Poll.forValue("Lock task mode state", () -> TestApis.activities().getLockTaskModeState()) in stopLockTask() 101 Poll.forValue("Foreground activity", () -> TestApis.activities().foregroundActivity()) in startActivity() 108 Poll.forValue("Foreground activity", () -> TestApis.activities().foregroundActivity()) in startActivity()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/appops/ |
D | AppOps.java | 50 static AppOpsMode forValue(int value) { in forValue() method in AppOps.AppOpsMode 87 return AppOpsMode.forValue( in get()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/ |
D | Poll.java | 87 public static <E> Poll<E> forValue(ValueSupplier<E> supplier) { in forValue() method in Poll 88 return forValue("value", supplier); in forValue() 96 public static <E> Poll<E> forValue(String valueName, ValueSupplier<E> supplier) { in forValue() method in Poll
|
D | Retry.java | 55 mPoll = Poll.forValue(supplier) in Retry()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | DeviceOwnerPrerequisitesTest.java | 108 Poll.forValue("Active admins", dpm::getActiveAdmins) in setDeviceOwnerViaAdb_deviceHasAccount_fails() 119 Poll.forValue("account created success", this::addAccountOnce) in addAccount()
|
D | ScreenCaptureDisabledTest.java | 192 return Poll.forValue(mUiAutomation::takeScreenshot) in takeScreenshotExpectingFailure() 202 return Poll.forValue(mUiAutomation::takeScreenshot) in takeScreenshotExpectingSuccess()
|
D | LockTaskTest.java | 682 Poll.forValue("Foreground activity", in startActivity_withinSameTask_blockStartInTask_doesNotStart() 724 Poll.forValue("Foreground activity", in startActivity_inNewTask_blockStartInTask_doesNotStart() 994 Poll.forValue("Foreground package", in launchDefaultDialerInLockTaskMode_launches() 1000 Poll.forValue("Lock task mode state", in launchDefaultDialerInLockTaskMode_launches()
|
D | CaCertManagementTest.java | 257 Poll.forValue("Accepted issuers", () -> Arrays.asList(tm.getAcceptedIssuers())) in assertCaCertTrustStatusChange()
|
D | AccountManagementTest.java | 298 return Poll.forValue("created account bundle", () -> addAccountWithTypeOnce(type)) in addAccountWithType()
|
/cts/common/device-side/bedstead/testapp/src/testapps/main/java/com/android/bedstead/testapp/ |
D | BaseTestAppActivity.java | 45 return Poll.forValue("activity for className", () -> { in findActivity()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/ |
D | UserReference.java | 105 Poll.forValue("User exists", this::exists) in remove() 134 Poll.forValue("User running unlocked", () -> isRunning() && isUnlocked()) in start() 161 Poll.forValue("User running", this::isRunning) in stop()
|
D | Users.java | 411 return Poll.forValue("user", () -> userReference) in waitForUserToMatch()
|
/cts/common/device-side/bedstead/testapp/src/test/java/com/android/bedstead/testapp/ |
D | TestAppInstanceTest.java | 131 Poll.forValue("running process", () -> sTestApp.pkg().runningProcess(sUser)) in killProcess_keepAlive_processIsRunningAgain() 178 Poll.forValue("TestApp process", testAppInstance::process) in process_isRunning_isNotNull() 294 Poll.forValue("running process", () -> sTestApp.pkg().runningProcess(sUser)) in registerReceiver_appIsKilled_stillReceivesBroadcast()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/ |
D | Package.java | 207 String commandOutput = Poll.forValue(() -> { in uninstall() 692 Poll.forValue("Application flag", () -> { in forceStop()
|
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/users/ |
D | UsersTest.java | 498 Poll.forValue("Secondary user running", in switch_hasSetStopBgUsersOnSwitch_stopsUser()
|