Home
last modified time | relevance | path

Searched refs:assertion (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
DDomainVerificationCoreApiTest.kt65 assertion = { first, second -> in <lambda>()
84 assertion = { first, second -> in <lambda>()
109 assertion = { first, second -> in <lambda>()
133 assertion = { first, second -> in <lambda>()
136 { it.domains }, assertion = IS_EQUAL_TO in <lambda>()
146 private val assertion: (first: T, second: T) -> Unit in <lambda>() constant in com.android.server.pm.test.verify.domain.DomainVerificationCoreApiTest.Companion.Parameter
149 fun assert(first: Any, second: Any) = assertion(first as T, second as T) in <lambda>()
165 assertion: (value: V, other: V) -> Unit in <lambda>()
177 assertion(values[0] as V, values[it] as V) in <lambda>()
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/
DCommonAssertions.kt338 val assertion = this.isVisible(originalLayer) in replacesLayer() constant
341 assertion.then().isVisible(ComponentNameMatcher.ROTATION, isOptional = true) in replacesLayer()
344 assertion.then().isVisible(ComponentNameMatcher.SNAPSHOT, isOptional = true) in replacesLayer()
347 assertion.then().isSplashScreenVisibleFor(newLayer, isOptional = true) in replacesLayer()
350 assertion.then().isVisible(newLayer) in replacesLayer()
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayReferenceMapperTests.kt180 assertion: (changedPackages: Set<String>) -> Unit in <lambda>()
187 assertion(changedPackages) in <lambda>()
193 assertion: (changedPackages: Set<String>) -> Unit in <lambda>()
194 ) = assertion(removePkg(pkg.packageName)) in <lambda>()
/frameworks/layoutlib/create/tests/src/com/android/tools/layoutlib/create/
DStubMethodAdapterTest.java57 private void testBoolean(BiPredicate<String, Type> methodPredicate, Consumer<Boolean> assertion, in testBoolean() argument
70 assertion.accept((Boolean) method.invoke(o)); in testBoolean()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DDragHandleUtils.java20 import static androidx.test.espresso.assertion.ViewAssertions.matches;
DSuggestionsPopupwindowUtils.java20 import static androidx.test.espresso.assertion.ViewAssertions.matches;
DContextMenuUtils.java21 import static androidx.test.espresso.assertion.ViewAssertions.matches;
/frameworks/base/services/tests/mockingservicestests/src/android/service/games/
DGameSessionTrampolineActivityTest.java21 import static androidx.test.espresso.assertion.ViewAssertions.doesNotExist;
22 import static androidx.test.espresso.assertion.ViewAssertions.matches;
/frameworks/base/packages/SystemUI/compose/scene/tests/utils/src/com/android/compose/animation/scene/
DTestTransition.kt230 tsAssertion.assertion(assertionScope) in ComposeContentTestRule()
298 val assertion: TransitionTestAssertionScope.() -> Unit, constant in com.android.compose.animation.scene.TimestampAssertion
/frameworks/minikin/libs/minikin/
DAndroid.bp101 // Enable assertion on eng and userdebug build.
/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/
DAccessibilityShortcutChooserActivityTest.java23 import static androidx.test.espresso.assertion.ViewAssertions.doesNotExist;
24 import static androidx.test.espresso.assertion.ViewAssertions.matches;
/frameworks/base/tests/StagedInstallTest/app/src/com/android/tests/stagedinstallinternal/
DStagedInstallInternalTest.java650 int sessionId, Consumer<PackageInstaller.SessionInfo> assertion) { in assertSessionState() argument
657 assertion.accept(session); in assertSessionState()
666 assertion.accept(sessionInfo); in assertSessionState()
/frameworks/base/core/tests/coretests/src/android/content/res/
DFontScaleConverterActivityTest.java20 import static androidx.test.espresso.assertion.ViewAssertions.matches;
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DUserLifecycleTests.java1526 private void attestTrue(@NonNull String message, boolean assertion) { in attestTrue() argument
1527 if (!assertion) { in attestTrue()
1532 private void attestFalse(@NonNull String message, boolean assertion) { in attestFalse() argument
1533 attestTrue(message, !assertion); in attestFalse()
/frameworks/base/services/backup/java/com/android/server/backup/transport/
DTransportConnection.java591 private void checkState(boolean assertion, String message) { in checkState() argument
592 if (!assertion) { in checkState()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserActivityWorkProfileTest.java24 import static androidx.test.espresso.assertion.ViewAssertions.matches;
DResolverActivityWorkProfileTest.java24 import static androidx.test.espresso.assertion.ViewAssertions.matches;
DIntentForwarderActivityTest.java21 import static androidx.test.espresso.assertion.ViewAssertions.matches;
DResolverActivityTest.java22 import static androidx.test.espresso.assertion.ViewAssertions.matches;
DChooserActivityTest.java24 import static androidx.test.espresso.assertion.ViewAssertions.doesNotExist;
25 import static androidx.test.espresso.assertion.ViewAssertions.matches;
/frameworks/base/core/tests/coretests/src/android/widget/
DSuggestionsPopupWindowTest.java33 import static androidx.test.espresso.assertion.ViewAssertions.matches;
DTextViewActivityMouseTest.java40 import static androidx.test.espresso.assertion.ViewAssertions.matches;
DTextViewActivityTest.java43 import static androidx.test.espresso.assertion.ViewAssertions.matches;