/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/ |
D | DomainVerificationCoreApiTest.kt | 65 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/ |
D | CommonAssertions.kt | 338 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/ |
D | OverlayReferenceMapperTests.kt | 180 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/ |
D | StubMethodAdapterTest.java | 57 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/ |
D | DragHandleUtils.java | 20 import static androidx.test.espresso.assertion.ViewAssertions.matches;
|
D | SuggestionsPopupwindowUtils.java | 20 import static androidx.test.espresso.assertion.ViewAssertions.matches;
|
D | ContextMenuUtils.java | 21 import static androidx.test.espresso.assertion.ViewAssertions.matches;
|
/frameworks/base/services/tests/mockingservicestests/src/android/service/games/ |
D | GameSessionTrampolineActivityTest.java | 21 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/ |
D | TestTransition.kt | 230 tsAssertion.assertion(assertionScope) in ComposeContentTestRule() 298 val assertion: TransitionTestAssertionScope.() -> Unit, constant in com.android.compose.animation.scene.TimestampAssertion
|
/frameworks/minikin/libs/minikin/ |
D | Android.bp | 101 // Enable assertion on eng and userdebug build.
|
/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/ |
D | AccessibilityShortcutChooserActivityTest.java | 23 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/ |
D | StagedInstallInternalTest.java | 650 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/ |
D | FontScaleConverterActivityTest.java | 20 import static androidx.test.espresso.assertion.ViewAssertions.matches;
|
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/ |
D | UserLifecycleTests.java | 1526 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/ |
D | TransportConnection.java | 591 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/ |
D | ChooserActivityWorkProfileTest.java | 24 import static androidx.test.espresso.assertion.ViewAssertions.matches;
|
D | ResolverActivityWorkProfileTest.java | 24 import static androidx.test.espresso.assertion.ViewAssertions.matches;
|
D | IntentForwarderActivityTest.java | 21 import static androidx.test.espresso.assertion.ViewAssertions.matches;
|
D | ResolverActivityTest.java | 22 import static androidx.test.espresso.assertion.ViewAssertions.matches;
|
D | ChooserActivityTest.java | 24 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/ |
D | SuggestionsPopupWindowTest.java | 33 import static androidx.test.espresso.assertion.ViewAssertions.matches;
|
D | TextViewActivityMouseTest.java | 40 import static androidx.test.espresso.assertion.ViewAssertions.matches;
|
D | TextViewActivityTest.java | 43 import static androidx.test.espresso.assertion.ViewAssertions.matches;
|