/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/ |
D | WaitCondition.kt | 97 apply { conditions.add(condition) } in withCondition() 100 apply { withCondition(Condition(message, condition)) } in withCondition() 116 apply { this.onFailure = onFailure } in onFailure() 119 apply { this.onLog = onLog } in onLog() 122 apply { this.onRetry = onRetry } in onRetry() 125 apply { this.onSuccess = onRetry } in onSuccess()
|
/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/ |
D | DynamicRuleChainTest.java | 65 Statement applied = chain.apply(mStatement, DESCRIPTION); in testAppliesRuleBySimpleClassNameForRulesInKnownPackage() 74 Statement applied = chain.apply(mStatement, DESCRIPTION); in testAppliesRuleByFullyQualifiedClassName() 86 chain.apply(mStatement, DESCRIPTION); in testThrowsOnNonexistentSimpleClassName() 96 chain.apply(mStatement, DESCRIPTION); in testThrowsOnNonexistentFullyQualifiedClassName() 105 Statement applied = chain.apply(mStatement, DESCRIPTION); in testMultipleRulesAreAppliedInCorrectOrder() 126 chain.apply(mStatement, DESCRIPTION); in testInvalidRuleNameInMultipleRulesAlsoThrows() 136 Statement applied = chain.apply(mStatement, DESCRIPTION); in testSupportsDuplicateSimpleRuleNames() 157 Statement applied = chain.apply(mStatement, DESCRIPTION); in testSupportsDuplicateFullyQualifiedRuleNames()
|
D | TracePointRuleTest.java | 38 rule.apply(rule.getTestStatement(), Description.createTestDescription("clzz", "mthd")) in testNoNameGiven() 47 rule.apply(rule.getTestStatement(), Description.createTestDescription("clzz", "mthd")) in testEmptyStringGiven() 56 rule.apply(rule.getTestStatement(), Description.createTestDescription("clzz", "mthd")) in testTagGiven() 65 rule.apply(rule.getTestStatement(), Description.createTestDescription("clzz", "mthd")) in testTraceCallOrder() 75 rule.apply(rule.getTestStatement(), Description.createTestDescription("clzz", "mthd")) in testSectionNameMaxLength_withTag() 84 rule.apply(rule.getTestStatement(), Description.createTestDescription("clzz", "mthd")) in testSectionNameMaxLength_withTestName()
|
D | IorapCompilationRuleTest.java | 59 rule.apply(rule.getTestStatement(), Description.createTestDescription("clzz", "mthd")) in testDoingNothingWhenParamsUnset() 75 rule.apply(rule.getTestStatement(), Description.createTestDescription("clzz", "mthd")) in testDisablingIorapdWhenParamsAreSet() 95 rule.apply(rule.getTestStatement(), Description.createTestDescription("clzz", "mthd")) in testEnablingIorapdWhenParamsAreSet() 116 rule.apply(rule.getTestStatement(), Description.createTestDescription("clzz", "mthd")) in testCompilingIorapdWhenParamsAreSet() 131 rule2.apply(rule2.getTestStatement(), Description.createTestDescription("clzz", "mthd2")) in testCompilingIorapdWhenParamsAreSet() 140 rule3.apply(rule3.getTestStatement(), Description.createTestDescription("clzz", "mthd3")) in testCompilingIorapdWhenParamsAreSet() 151 rule4.apply(rule4.getTestStatement(), Description.createTestDescription("clzz", "mthd4")) in testCompilingIorapdWhenParamsAreSet()
|
D | TestWatcherTest.java | 40 rule.apply(rule.getTestStatement(), Description.createTestDescription("clzz", "mthd")) in testAllCallsSuccessful() 53 rule.apply(rule.getTestStatement(), Description.createTestDescription("clzz", "mthd")) in testCallsFail_starting() 69 rule.apply(rule.getTestStatement(), Description.createTestDescription("clzz", "mthd")) in testCallsFail_statement() 85 rule.apply(rule.getTestStatement(), Description.createTestDescription("clzz", "mthd")) in testCallsFail_succeeded() 101 rule.apply(rule.getTestStatement(), Description.createTestDescription("clzz", "mthd")) in testStatementIsSkipped() 117 rule.apply(rule.getTestStatement(), Description.createTestDescription("clzz", "mthd")) in testCallFails_skipped() 134 rule.apply(rule.getTestStatement(), Description.createTestDescription("clzz", "mthd")) in testCallsFail_failed() 150 rule.apply(rule.getTestStatement(), Description.createTestDescription("clzz", "mthd")) in testCallsFail_finished()
|
D | Dex2oatPressureRuleTest.java | 103 rule.apply(createTestStatement(10L), TEST_DESCRIPTION).evaluate(); in testInvokesCompilation() 115 rule.apply(createTestStatement(150L), TEST_DESCRIPTION).evaluate(); in testInvokesCompilationCyclically() 148 rule.apply(createTestStatement(800L), TEST_DESCRIPTION).evaluate(); in testSchedulesCompilationUntilTestEnds() 176 rule.apply(createTestStatement(600L), TEST_DESCRIPTION).evaluate(); in testNoAdditionalCompilationIsTriggeredAfterTestFinishes() 192 rule.apply(createTestStatement(50L), TEST_DESCRIPTION).evaluate(); in testFailedCompilationDoesNotBlockOtherCompilations() 215 rule.apply(testStatement, TEST_DESCRIPTION).evaluate(); in testWaitsUntilDex2oatIsRunningBeforeTest() 228 rule.apply(createTestStatement(10L), TEST_DESCRIPTION).evaluate(); in testCancelsAndThrowsIfDex2oatIsNotRunningAfterTimeout() 246 rule.apply(createTestStatement(10L), TEST_DESCRIPTION).evaluate(); in testValidCompilationFilters() 265 rule.apply(createTestStatement(10L), TEST_DESCRIPTION).evaluate(); in testInvalidCompilationFilterThrows() 277 rule.apply(createTestStatement(10L), TEST_DESCRIPTION).evaluate(); in testInvalidPackageThrows() [all …]
|
D | CompilationFilterRuleTest.java | 55 rule.apply(rule.getTestStatement(), TEST_DESC).evaluate(); in testAppToCompile_badFilterThrows() 75 rule.apply(rule.getTestStatement(), TEST_DESC).evaluate(); in testAppToCompile_failCompilationThrows() 94 rule.apply(rule.getTestStatement(), Description.createTestDescription("clzz", "mthd1")) in testOneAppToCompile() 115 rule.apply(rule.getTestStatement(), Description.createTestDescription("clzz", "mthd2")) in testMultipleAppsToCompile() 144 rule.apply(rule.getTestStatement(), Description.createTestDescription("clzz", "mthd3")) in testMultipleAppsToCompileInSpeedProfile()
|
D | UnlockScreenRuleTest.java | 50 rule.apply(testStatement, Description.createTestDescription("clzz", "mthd")).evaluate(); in testScreenOff() 66 rule.apply(testStatement, Description.createTestDescription("clzz", "mthd")).evaluate(); in testScreenLocked() 82 rule.apply(testStatement, Description.createTestDescription("clzz", "mthd")).evaluate(); in testScreenOn()
|
D | KillAppsRuleTest.java | 57 rule.apply(rule.getTestStatement(), Description.createTestDescription("clzz", "mthd")) in testOneAppToKill() 73 rule.apply(rule.getTestStatement(), Description.createTestDescription("clzz", "mthd")) in testMultipleAppsToKill() 93 rule.apply(rule.getTestStatement(), Description.createTestDescription("clzz", "mthd")) in testDisableKillsAppsRuleOption()
|
D | StopwatchRuleTest.java | 41 rule.apply( in testMeasurementIsCorrect() 64 rule.apply( in testMetricSendToInstr()
|
D | NotificationPressureRuleTest.java | 54 rule.apply(testStatement, Description.createTestDescription("clzz", "mthd")) in testPostNotifications_withoutPackage() 79 rule.apply(testStatement, Description.createTestDescription("clzz", "mthd")).evaluate(); in testPostNotifications_withPackage()
|
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/assertions/ |
D | FlickerSubject.kt | 53 open fun fail(reason: List<Fact>): FlickerSubject = apply { in <lambda>() 59 fun fail(reason: Fact, vararg rest: Fact): FlickerSubject = apply { in <lambda>() 70 fun fail(reason: Fact): FlickerSubject = apply { in <lambda>() 79 fun fail(reason: String): FlickerSubject = apply { in <lambda>() 89 fun fail(reason: String, value: Any): FlickerSubject = apply { in <lambda>()
|
D | FlickerAssertionErrorBuilder.kt | 31 fun fromError(error: Throwable): FlickerAssertionErrorBuilder = apply { in <lambda>() 35 fun withTrace(traceFiles: List<Path>): FlickerAssertionErrorBuilder = apply { in <lambda>() 39 fun atTag(tag: String): FlickerAssertionErrorBuilder = apply { in <lambda>()
|
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/traces/layers/ |
D | LayerSubject.kt | 84 operator fun invoke(assertion: Assertion<Layer>): LayerSubject = apply { in <lambda>() 97 fun doesNotExist(): LayerSubject = apply { in <lambda>() 104 fun exists(): LayerSubject = apply { in <lambda>() 109 fun hasBufferSize(size: Point): LayerSubject = apply { in <lambda>() 120 fun hasBufferSize(size: Size): LayerSubject = apply { in <lambda>() 132 fun hasLayerSize(size: Point): LayerSubject = apply { in <lambda>() 142 fun hasScalingMode(expectedScalingMode: Int): LayerSubject = apply { in <lambda>() 152 fun hasBufferOrientation(expectedOrientation: Int): LayerSubject = apply { in <lambda>()
|
/platform_testing/libraries/health/composers/host/src/android/host/test/composer/ |
D | Compose.java | 29 return (args, list) -> next.apply(args, this.apply(args, list)); in andThen()
|
/platform_testing/libraries/health/options/tests/src/android/platform/test/options/ |
D | TestOptionTest.java | 81 Statement withOption = option.apply(testStatement, Description.EMPTY); in testSuppliedValue_valid() 99 Statement withOption = option.apply(testStatement, Description.EMPTY); in testSuppliedValue_invalid() 116 Statement withOption = option.apply(testStatement, Description.EMPTY); in testRequiredValueAbsent_explicit() 133 Statement withOption = option.apply(testStatement, Description.EMPTY); in testRequiredValueAbsent_implicit() 149 Statement withOption = option.apply(testStatement, Description.EMPTY); in testRequiredValueAbsent_withDefault() 164 Statement withOption = option.apply(testStatement, Description.EMPTY); in testNonRequiredValueAbsent() 182 Statement withOption = option.apply(testStatement, Description.EMPTY); in testOptionErrorSkipsTest_invalidValue() 205 Statement withOption = option.apply(testStatement, Description.EMPTY); in testOptionErrorSkipsTest_requiredMissing()
|
D | BooleanOptionTest.java | 60 Statement withOption = option.apply(testStatement, Description.EMPTY); in testParsing_true() 76 Statement withOption = option.apply(testStatement, Description.EMPTY); in testParsing_false()
|
D | IntegerOptionTest.java | 66 Statement withOption = option.apply(testStatement, Description.EMPTY); in testParsing_valid() 84 Statement withOption = option.apply(testStatement, Description.EMPTY); in testParsing_invalid()
|
D | DoubleOptionTest.java | 66 Statement withOption = option.apply(testStatement, Description.EMPTY); in testParsing_valid() 84 Statement withOption = option.apply(testStatement, Description.EMPTY); in testParsing_invalid()
|
D | LongOptionTest.java | 66 Statement withOption = option.apply(testStatement, Description.EMPTY); in testParsing_valid() 84 Statement withOption = option.apply(testStatement, Description.EMPTY); in testParsing_invalid()
|
/platform_testing/tests/automotive/health/rules/src/android/platform/scenario/ |
D | AppStartupRunRule.java | 67 public Statement apply(final Statement base, final Description description) { in apply() method in AppStartupRunRule 68 return mRuleChain.apply(base, description); in apply()
|
/platform_testing/libraries/health/composers/host/tests/src/android/host/test/composer/ |
D | IterateTestBase.java | 57 List<Integer> output = getIterate().apply( in testIterationsRespected() 76 List<Integer> output = getIterate().apply( in testCyclicOrderRespected() 93 List<Integer> output = getIterate().apply( in testSequentialOrderRespected() 116 iterator.apply( in testOverrideOptionName() 147 List<Integer> output = getIterate().apply( in testInvalidOrderThrows()
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/loggers/ |
D | TestLogData.java | 56 public Statement apply(Statement base, Description description) { in apply() method in TestLogData 58 return super.apply(base, description); in apply()
|
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/ |
D | TransitionRunnerTest.kt | 40 .apply { in canRunTransition() 57 .apply { in canRunTransitionCached()
|
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/traces/windowmanager/ |
D | WindowStateSubject.kt | 67 operator fun invoke(assertion: Assertion<WindowState>): WindowStateSubject = apply { in <lambda>() 80 fun doesNotExist(): WindowStateSubject = apply { in <lambda>() 87 fun exists(): WindowStateSubject = apply { in <lambda>()
|