Home
last modified time | relevance | path

Searched refs:toMeet (Results 1 – 7 of 7) sorted by relevance

/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DPoll.java102 toMeet(Objects::isNull); in toBeNull()
110 toMeet(Objects::nonNull); in toNotBeNull()
118 toMeet(v -> Objects.equals(v, other)); in toBeEqualTo()
126 toMeet(v -> !Objects.equals(v, other)); in toNotBeEqualTo()
139 public Poll<E> toMeet(ValueChecker<E> checker) { in toMeet() method in Poll
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/utils/
DPollTest.java276 .toMeet(Objects::nonNull) in await_toMeet_alreadyMeets_returns()
285 .toMeet(Objects::nonNull) in await_toMeet_becomesMeets_returns()
294 .toMeet(Objects::nonNull) in await_toMeet_doesNotMeet_returnIncorrectValue()
305 .toMeet(Objects::nonNull) in await_toMeet_errorOnFailure_doesNotMeet_throwsException()
319 .toMeet(Objects::nonNull) in await_toMeet_errorOnFailure_doesNotMeet_customError_throwsException()
332 .toMeet(Objects::nonNull) in await_supplierThrowsExceptionSometimes_stillWorks()
341 .toMeet(Objects::nonNull) in await_supplierThrowsExceptionAlways_returnsNull()
353 .toMeet(Objects::nonNull) in await_supplierThrowsExceptionAlways_errorOnFail_throwsExceptionWithSameCause()
367 .toMeet(c -> checker.get()) in await_checkerThrowsExceptionSometimes_stillWorks()
377 .toMeet(c -> checker.get()) in await_checkerThrowsExceptionAlways_returnsNonMatchingValue()
[all …]
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DDeviceOwnerPrerequisitesTest.java109 .toMeet(i -> i == null || !i.contains(RemoteDpc.DPC_COMPONENT_NAME)) in setDeviceOwnerViaAdb_deviceHasAccount_fails()
DCaCertManagementTest.java258 .toMeet((acceptedIssuers) -> newStatus == acceptedIssuers.contains(caCert)) in assertCaCertTrustStatusChange()
DLockTaskTest.java996 .toMeet(pkg -> pkg != null && pkg.packageName().equals(dialerPackage)) in launchDefaultDialerInLockTaskMode_launches()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/
DPackage.java212 }).toMeet(output -> output.toUpperCase().startsWith("SUCCESS") in uninstall()
698 .toMeet(flag -> (flag & FLAG_STOPPED) == FLAG_STOPPED) in forceStop()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/
DUsers.java412 .toMeet((user) -> { in waitForUserToMatch()