Home
last modified time | relevance | path

Searched refs:builder (Results 1 – 8 of 8) sorted by relevance

/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/
DTransitionRunner.java115 private TransitionRunner(TransitionBuilder builder) { in TransitionRunner() argument
116 mScreenRecorder = builder.mScreenRecorder; in TransitionRunner()
117 mWmTraceMonitor = builder.mWmTraceMonitor; in TransitionRunner()
118 mLayersTraceMonitor = builder.mLayersTraceMonitor; in TransitionRunner()
119 mFrameStatsMonitor = builder.mFrameStatsMonitor; in TransitionRunner()
121 mAllRunsMonitors = builder.mAllRunsMonitors; in TransitionRunner()
122 mPerRunMonitors = builder.mPerRunMonitors; in TransitionRunner()
123 mBeforeAlls = builder.mBeforeAlls; in TransitionRunner()
124 mBefores = builder.mBefores; in TransitionRunner()
125 mTransitions = builder.mTransitions; in TransitionRunner()
[all …]
/platform_testing/utils/esimutility/src/com/android/test/util/esimutility/
DESimUtilityInstrumentation.java62 StringBuilder builder = new StringBuilder(); in updateWithException() local
64 builder.append(System.lineSeparator()); in updateWithException()
65 builder.append(" ").append(element.toString()); in updateWithException()
67 result.putString("sim_utility_exception_stack_trace", builder.toString()); in updateWithException()
/platform_testing/libraries/health/runners/longevity/host/src/android/host/test/longevity/
DLongevitySuite.java54 public LongevitySuite(Class<?> klass, RunnerBuilder builder) in LongevitySuite() argument
58 builder, in LongevitySuite()
71 public LongevitySuite(Class<?> klass, RunnerBuilder builder, Map<String, String> args) in LongevitySuite() argument
73 this(klass, constructClassRunners(klass, builder, args), args); in LongevitySuite()
89 Class<?> suite, RunnerBuilder builder, Map<String, String> args) in constructClassRunners() argument
101 return modifier.apply(args, builder.runners(suite, annotation.value())); in constructClassRunners()
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/
DProfileSuite.java53 public ProfileSuite(Class<?> klass, RunnerBuilder builder) throws InitializationError { in ProfileSuite() argument
54 this(klass, builder, InstrumentationRegistry.getInstrumentation(), in ProfileSuite()
63 public ProfileSuite(Class<?> klass, RunnerBuilder builder, in ProfileSuite() argument
66 super(klass, constructClassRunners(klass, builder, arguments), arguments); in ProfileSuite()
74 Class<?> suite, RunnerBuilder builder, Bundle args) in constructClassRunners() argument
88 runner = builder.runnerForClass(scenario); in constructClassRunners()
109 return new Profile(args).getRunnerSequence(builder.runners(suite, annotation.value())); in constructClassRunners()
DLongevitySuite.java88 public LongevitySuite(Class<?> klass, RunnerBuilder builder) in LongevitySuite() argument
90 this(klass, builder, InstrumentationRegistry.getInstrumentation(), in LongevitySuite()
112 public LongevitySuite(Class<?> klass, RunnerBuilder builder, in LongevitySuite() argument
115 this(klass, constructClassRunners(klass, builder, arguments), arguments); in LongevitySuite()
125 Class<?> suite, RunnerBuilder builder, Bundle args) in constructClassRunners() argument
139 runner = builder.runnerForClass(scenario); in constructClassRunners()
159 return modifier.apply(args, builder.runners(suite, annotation.value())); in constructClassRunners()
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/
DLongevitySuiteTest.java182 RunnerBuilder builder = mock(RunnerBuilder.class); in testThrowingErrorReportingRunnerCauses() local
187 when(builder.runnerForClass(IterationSuite.TestOne.class)) in testThrowingErrorReportingRunnerCauses()
189 when(builder.runnerForClass(IterationSuite.TestTwo.class)) in testThrowingErrorReportingRunnerCauses()
195 builder, in testThrowingErrorReportingRunnerCauses()
DProfileSuiteTest.java100 RunnerBuilder builder = spy(new AllDefaultPossibilitiesBuilder(true)); in testRejectInvalidTests_badRunnerBuilder() local
101 when(builder.runnerForClass(BasicScenario.class)).thenThrow(new Throwable("empty")); in testRejectInvalidTests_badRunnerBuilder()
102 new ProfileSuite(BasicSuite.class, builder, mInstrumentation, mContext, new Bundle()); in testRejectInvalidTests_badRunnerBuilder()
/platform_testing/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/
DSystemUiJankTests.java212 Builder builder = new Builder(getInstrumentation().getContext()) in postNotifications() local
214 postNotifications(builder, groupMode, sleepBetweenDuration, maxCount); in postNotifications()
217 private void postNotifications(Builder builder, int groupMode, int sleepBetweenDuration, in postNotifications() argument
221 builder.setGroup("key"); in postNotifications()
230 builder.setGroupSummary(true); in postNotifications()
232 builder.setGroupSummary(false); in postNotifications()
235 builder.setGroup(Integer.toString(icon)); in postNotifications()
237 builder.setContentText(Integer.toHexString(icon)) in postNotifications()
239 builder.setContentIntent(PendingIntent.getActivity( in postNotifications()
241 mNotificationManager.notify(icon, builder.build()); in postNotifications()
[all …]