/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/ |
D | AssertionsTest.java | 38 assertThat(assertNumEquals42.apply(1).success).isFalse(); in traceEntryAssertionCanNegateResult() 39 assertThat(assertNumEquals42.negate().apply(1).success).isTrue(); in traceEntryAssertionCanNegateResult() 41 assertThat(assertNumEquals42.apply(42).success).isTrue(); in traceEntryAssertionCanNegateResult() 42 assertThat(assertNumEquals42.negate().apply(42).success).isFalse(); in traceEntryAssertionCanNegateResult()
|
/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/ |
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 | TracePointRuleTest.java | 40 rule.apply(rule.getTestStatement(), Description.createTestDescription("clzz", "mthd")) in testNoNameGiven() 51 rule.apply(rule.getTestStatement(), Description.createTestDescription("clzz", "mthd")) in testEmptyStringGiven() 62 rule.apply(rule.getTestStatement(), Description.createTestDescription("clzz", "mthd")) in testTagGiven() 73 rule.apply(rule.getTestStatement(), Description.createTestDescription("clzz", "mthd")) in testTraceCallOrder()
|
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(), TEST_DESC).evaluate(); in testOneAppToCompile() 114 rule.apply(rule.getTestStatement(), TEST_DESC).evaluate(); in testMultipleAppsToCompile()
|
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 | QuickstepPressureRuleTest.java | 49 rule.apply(rule.getTestStatement(), Description.createTestDescription("clzz", "mthd")) in testOneAppToOpen() 62 rule.apply(rule.getTestStatement(), Description.createTestDescription("clzz", "mthd")) in testMultipleAppsToOpen()
|
D | DropCachesRuleTest.java | 42 rule.apply(rule.getTestStatement(), Description.createTestDescription("clzz", "mthd")) in testDropCachesCommand() 58 rule.apply(rule.getTestStatement(), Description.createTestDescription("clzz", "mthd")) in testNoDropCacheFlag()
|
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()
|
D | PressHomeRuleTest.java | 56 rule.apply(testStatement, Description.createTestDescription("clzz", "mthd")).evaluate(); in testPressHomeEnabled() 78 rule.apply(testStatement, Description.createTestDescription("clzz", "mthd")).evaluate(); in testPressHomeDisabled()
|
D | GarbageCollectRuleTest.java | 66 rule.apply(testStatement, in testCallsGcBeforeTest()
|
/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()
|
D | ShuffleBase.java | 41 public List<U> apply(T args, List<U> input) { in apply() method in ShuffleBase
|
/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()
|
D | StringOptionTest.java | 61 Statement withOption = option.apply(testStatement, Description.EMPTY); in testRetrieval()
|
/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()
|
D | ShuffleTestBase.java | 43 List<Integer> output = getShuffle().apply(getArguments(true, seedValue), input); in testShuffleSeedRespected()
|
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/ |
D | Assertions.java | 45 return (T t) -> apply(t).negate(); in negate() 71 public Result apply(T t) { in apply() method in Assertions.NamedAssertion 72 return this.assertion.apply(t); in apply() 100 public Result apply(T t) { in apply() method in Assertions.CompoundAssertion 102 this.assertions.stream().map(p -> p.apply(t)).collect(Collectors.toList()); in apply()
|
/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/health/runners/microbenchmark/src/android/platform/test/microbenchmark/ |
D | Microbenchmark.java | 94 methodIterator.apply( in methodInvoker() 107 start = getTracePointRule().apply(start, describeChild(method)); in methodInvoker() 112 start = tightMethodRule.apply(start, describeChild(method)); in methodInvoker() 127 return new Iterate<FrameworkMethod>().apply(mArguments, super.getChildren()); in getChildren()
|