Home
last modified time | relevance | path

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

/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DWallpaperTest.java78 .toMeet((bitmap) -> in setBitmap_viaDpc_disallowed_canSet()
96 .toMeet((bitmap) -> in setBitmap_viaDpc_disallowed_cannotSet()
114 .toMeet((bitmap) -> in setBitmap_allowed_canSet()
132 .toMeet((bitmap) -> in setBitmap_disallowed_cannotSet()
147 .toMeet((bitmap) -> in setStream_allowed_canSet()
161 .toMeet((bitmap) -> in setStream_disallowed_cannotSet()
DProfileOwnerTest.kt134 .toMeet { !it.contains(TEST_ONLY_DPC_COMPONENT) } in <lambda>()
169 .toMeet { !it.contains(TEST_ONLY_DPC_COMPONENT) } in <lambda>()
204 .toMeet { !it.contains(TEST_ONLY_DPC_COMPONENT) } in <lambda>()
259 .toMeet { !it.contains(NOT_TEST_ONLY_DPC_COMPONENT) } in <lambda>()
DDeviceOwnerTest.kt202 .toMeet { !it.contains(TEST_ONLY_DPC_COMPONENT) } in <lambda>()
235 .toMeet { !it.contains(TEST_ONLY_DPC_COMPONENT) } in <lambda>()
271 .toMeet { !it.contains(TEST_ONLY_DPC_COMPONENT) } in <lambda>()
326 .toMeet { i: Set<ComponentReference> -> in <lambda>()
DDevicePolicyManagementRoleHolderTest.java102 .toMeet(packages -> packages.contains( in createAndProvisionManagedProfile_roleHolderIsInWorkProfile()
125 .toMeet(packages -> packages.contains(Package.of( in createAndManageUser_roleHolderIsInManagedUser()
DMaximumTimeOffTest.java170 .toMeet( in assertBlockedByAdminDialogAppears()
DCaCertManagementTest.java429 .toMeet((acceptedIssuers) -> newStatus == acceptedIssuers.contains(caCert)) in assertCaCertTrustStatusChange()
DUserControlDisabledPackagesTest.java247 .toMeet(bucket -> bucket == STANDBY_BUCKET_EXEMPTED) in setUserControlDisabledPackages_exemptFromStandbyBuckets()
DLockTaskTest.kt1094 .toMeet { it?.packageName() == dialerPackage } in <lambda>()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DPoll.java105 toMeet(Objects::isNull); in toBeNull()
114 toMeet(Objects::nonNull); in toNotBeNull()
123 toMeet(v -> Objects.equals(v, other)); in toBeEqualTo()
132 toMeet(v -> !Objects.equals(v, other)); in toNotBeEqualTo()
146 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/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/logcat/
DBlockingLogcatListener.java35 .toMeet(s -> !s.isBlank()) in awaitMatch()
/cts/common/device-side/interactive/src/main/java/com/android/interactive/
DStep.java156 .toMeet(Optional::isPresent) in execute()
200 .toMeet(Optional::isPresent) in execute()
217 .toMeet(Optional::isPresent) in execute()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/
DPackage.java258 }).toMeet(output -> output.toUpperCase().startsWith("SUCCESS") in uninstall()
752 }).toMeet(packageStopped -> !shouldCheckPreviousProcess || packageStopped in forceStop()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/
DUsers.java493 .toMeet((user) -> {