/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/ |
D | BusinessLogicExecutor.java | 52 public boolean executeCondition(String method, String... args) { in executeCondition() argument 53 logDebug("Executing condition: %s", formatExecutionString(method, args)); in executeCondition() 55 return (Boolean) invokeMethod(method, args); in executeCondition() 59 "BusinessLogic: Failed to invoke condition method %s with args: %s", method, in executeCondition() 71 public void executeAction(String method, String... args) { in executeAction() argument 72 logDebug("Executing action: %s", formatExecutionString(method, args)); in executeAction() 74 invokeMethod(method, args); in executeAction() 78 "BusinessLogic: Failed to invoke action method %s with args: %s", method, in executeAction() 99 protected abstract String formatExecutionString(String method, String... args); in formatExecutionString() argument 129 protected Object invokeMethod(String method, String... args) throws ClassNotFoundException, in invokeMethod() argument [all …]
|
D | CrashUtils.java | 334 private final String method; field in CrashUtils.BacktraceFrameInfo 336 public BacktraceFrameInfo(String filename, String method) { in BacktraceFrameInfo() argument 338 this.method = method; in BacktraceFrameInfo() 346 return this.method; in getMethod() 525 String method = frame.optString(METHOD); in match() local 532 || (method != null && methodPattern.matcher(method).find())); in match()
|
/platform_testing/libraries/health/runners/microbenchmark/src/android/platform/test/microbenchmark/ |
D | Microbenchmark.java | 176 protected Statement methodInvoker(FrameworkMethod method, Object test) { in methodInvoker() argument 183 Arrays.asList(new Statement[] {super.methodInvoker(method, test)})); in methodInvoker() 188 for (Statement method : testMethodStatement) { in methodInvoker() 189 method.evaluate(); in methodInvoker() 194 start = getTracePointRule().apply(start, describeChild(method)); in methodInvoker() 199 start = tightMethodRule.apply(start, describeChild(method)); in methodInvoker() 273 protected Description describeChild(FrameworkMethod method) { in describeChild() argument 274 Description original = super.describeChild(method); in describeChild() 284 private Statement withRules(FrameworkMethod method, Object target, Statement statement) { in withRules() argument 294 result = each.apply(result, method, target); in withRules() [all …]
|
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/ |
D | FlickerBlockJUnit4ClassRunner.kt | 87 val method = methods.first() in validateFlickerObject() constant 89 if (Modifier.isStatic(method.method.modifiers)) { in validateFlickerObject() 92 if (!Modifier.isPublic(method.method.modifiers)) { in validateFlickerObject() 95 if (method.returnType != FlickerBuilder::class.java) { in validateFlickerObject() 99 if (method.method.parameterTypes.isNotEmpty()) { in validateFlickerObject()
|
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/ |
D | LongevityClassRunner.java | 119 protected Statement withBefores(FrameworkMethod method, Object target, Statement statement) { in withBefores() argument 133 protected Statement withAfters(FrameworkMethod method, Object target, Statement statement) { in withAfters() argument 255 for (FrameworkMethod method : methods) { in invokeAndCollectErrors() 257 method.invokeExplosively(target); in invokeAndCollectErrors() 276 protected Description describeChild(FrameworkMethod method) { in describeChild() argument 277 return addIterationIfEnabled(super.describeChild(method)); in describeChild()
|
D | ScheduledScenarioRunner.java | 109 protected Statement withAfters(FrameworkMethod method, Object target, Statement statement) { in withAfters() argument 140 return super.withAfters(method, target, withIdle); in withAfters() 144 protected void runChild(final FrameworkMethod method, RunNotifier notifier) { in runChild() argument 146 super.runChild(method, notifier); in runChild()
|
/platform_testing/libraries/junitxml/src/com/android/junitxml/ |
D | JUnitXmlRunner.java | 112 for (Method method : declaredMethods) { in calcTestCount() 113 if (method.isAnnotationPresent(Test.class)) { in calcTestCount()
|
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/ |
D | UiBenchLeanbackJankTests.java | 99 Method method = getClass().getMethod(getName()); in beforeTest() local 100 Option option = method.getAnnotation(Option.class); in beforeTest()
|
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/service/ |
D | CaptureChunkStreamObserverOutputStreamTests.java | 79 @Parameters(method = "getSingleByteParams") 115 @Parameters(method = "getByteArrayParams") 154 @Parameters(method = "getByteArrayParamsWithOffsetsAndLengths")
|
/platform_testing/libraries/audio-test-harness/client-lib/src/test/java/com/android/media/audiotestharness/client/grpc/ |
D | GrpcAudioTestHarnessClientTests.java | 72 @Parameters(method = "getBuildParameters")
|
/platform_testing/libraries/compatibility-common-util/tests/src/com/android/compatibility/common/util/ |
D | CrashUtilsTest.java | 500 private JSONObject stackFrame(String filename, String method) throws JSONException { in stackFrame() argument 501 return new JSONObject().put(CrashUtils.FILENAME, filename).put(CrashUtils.METHOD, method); in stackFrame()
|