/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/ |
D | NativePoc.java | 73 public static Builder builder() { in builder() 74 return new AutoValue_NativePoc.Builder() in builder() 94 @AutoValue.Builder 95 public abstract static class Builder { class in NativePoc 97 public abstract Builder pocName(String value); in pocName() 102 public abstract Builder args(List<String> value); in args() 104 public abstract Builder args(String... value); in args() 107 public abstract Builder envVars(Map<String, String> value); in envVars() 112 public abstract Builder useDefaultLdLibraryPath(boolean value); in useDefaultLdLibraryPath() 125 public Builder timeoutSeconds(long value, String reason) { in timeoutSeconds() [all …]
|
D | MallocDebug.java | 193 ImmutableList.Builder<String> mallocDebugErrors = new ImmutableList.Builder<String>(); in assertNoMallocDebugErrors()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/ |
D | WaitForValidActivityState.kt | 41 builder: Builder 70 class Builder constructor(internal var activityName: IComponentMatcher? = null) { class 76 fun setWindowIdentifier(windowIdentifier: String): Builder { in setWindowIdentifier() 81 fun setStackId(stackId: Int): Builder { in setStackId() 86 fun setWindowingMode(windowingMode: Int): Builder { in setWindowingMode() 91 fun setActivityType(activityType: Int): Builder { in setActivityType() 104 return Builder().setWindowIdentifier(windowName).build() in forWindow()
|
D | WindowManagerStateHelper.kt | 109 private fun createConditionBuilder(): WaitCondition.Builder<DeviceStateDump> = in getWindowRegion() 110 WaitCondition.Builder(deviceDumpSupplier, numRetries) in getWindowRegion() 452 WaitForValidActivityState.Builder(componentMatcher) in getWindowRegion() 459 WaitForValidActivityState.Builder(componentMatcher) in getWindowRegion()
|
/platform_testing/libraries/audio-test-harness/client-lib/src/main/java/com/android/media/audiotestharness/client/grpc/ |
D | GrpcAudioTestHarnessClient.java | 58 public static GrpcAudioTestHarnessClient.Builder builder() { in builder() 59 return new Builder().setAddress(LOCALHOST, Defaults.DEVICE_PORT); in builder() 97 public static class Builder { class in GrpcAudioTestHarnessClient 105 private Builder() {} in Builder() method in GrpcAudioTestHarnessClient.Builder 107 public Builder setAddress(String hostname, int port) { in setAddress() 123 public Builder setExecutor(ScheduledExecutorService executor) { in setExecutor() 129 Builder setCaptureStreamFactory( in setCaptureStreamFactory() 138 Builder setManagedChannel(ManagedChannel managedChannel) { in setManagedChannel()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/ |
D | WaitCondition.kt | 124 class Builder<T>(private val supplier: () -> T, private var retryLimit: Int) { class in android.tools.traces.WaitCondition 152 fun onFailure(onFailure: (T) -> Any): Builder<T> = apply { this.onFailure = onFailure } in <lambda>() 154 fun onLog(onLog: (String, Boolean) -> Unit): Builder<T> = apply { this.onLog = onLog } in <lambda>() 156 fun onRetry(onRetry: ((T) -> Any)? = null): Builder<T> = apply { this.onRetry = onRetry } in <lambda>() 158 fun onStart(onStart: ((String) -> Any)? = null): Builder<T> = apply { in <lambda>() 162 fun onEnd(onEnd: (() -> Any)? = null): Builder<T> = apply { this.onEnd = onEnd } in <lambda>() 164 fun onSuccess(onRetry: ((T) -> Any)? = null): Builder<T> = apply { in <lambda>()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/ |
D | PerfettoTraceMonitor.kt | 86 class Builder { class in android.tools.traces.monitors.PerfettoTraceMonitor 97 fun enableImeTrace(): Builder = apply { enableCustomTrace(createImeDataSourceConfig()) } in <lambda>() 99 fun enableLayersTrace(flags: List<SurfaceFlingerLayersConfig.TraceFlag>? = null): Builder = in enableLayersTrace() 106 fun enableLayersDump(flags: List<SurfaceFlingerLayersConfig.TraceFlag>? = null): Builder = in enableLayersDump() 111 fun enableTransactionsTrace(): Builder = apply { in <lambda>() 115 fun enableTransitionsTrace(): Builder = apply { in <lambda>() 129 ): Builder = apply { in enableProtoLog() 133 fun enableViewCaptureTrace(): Builder = apply { in enableViewCaptureTrace() 138 fun enableCustomTrace(dataSourceConfig: DataSourceConfig): Builder = apply { in <lambda>() 268 fun newBuilder(): Builder { in newBuilder() [all …]
|
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/res/testApp/MyApplication/src/main/myapplication.widgets/ |
D | DialogView.java | 19 import android.app.AlertDialog.Builder; 44 Builder builder = new Builder(context); in init()
|
/platform_testing/tests/automotive/health/boottime/src/android/boottime/postprocessor/ |
D | BaseBootTimeTestLogPostProcessor.java | 47 public Map<String, MetricMeasurement.Metric.Builder> processTestMetricsAndLogs( in processTestMetricsAndLogs() 56 public Map<String, MetricMeasurement.Metric.Builder> processRunMetricsAndLogs( in processRunMetricsAndLogs() 80 protected Map<String, MetricMeasurement.Metric.Builder> buildTfMetrics( in buildTfMetrics() 82 Map<String, MetricMeasurement.Metric.Builder> tfMetrics = new HashMap<>(); in buildTfMetrics() 90 MetricMeasurement.Measurements.Builder measurement = in buildTfMetrics() 92 MetricMeasurement.Metric.Builder metricBuilder = in buildTfMetrics()
|
D | LogcatPostProcessor.java | 88 public Map<String, Metric.Builder> processTestMetricsAndLogs( in processTestMetricsAndLogs() 110 public Map<String, Metric.Builder> processRunMetricsAndLogs( in processRunMetricsAndLogs() 122 private Map<String, Metric.Builder> processLogcatLogs(List<File> files) { in processLogcatLogs()
|
D | DmesgPostProcessor.java | 70 public Map<String, Metric.Builder> processTestMetricsAndLogs( in processTestMetricsAndLogs() 91 public Map<String, Metric.Builder> processRunMetricsAndLogs( in processRunMetricsAndLogs() 103 private Map<String, Metric.Builder> processDmesgLogs(List<File> dmesgFiles) { in processDmesgLogs()
|
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/util/ |
D | TombstoneParser.java | 175 Tombstone.Builder tombstoneBuilder = Tombstone.newBuilder(); in parseLogcat() 216 public static boolean parseTombstone(String tombstoneBlob, Tombstone.Builder tombstoneBuilder) { in parseTombstone() 341 com.android.server.os.TombstoneProtos.Thread.Builder threadBuilder = in parseTombstone() 359 FD.Builder fdBuilder = in parseTombstone() 382 String headerAndMainThreadBlob, Tombstone.Builder tombstoneBuilder) { in parseMainThread() 383 com.android.server.os.TombstoneProtos.Thread.Builder mainThreadBuilder = in parseMainThread() 408 Signal.Builder signalBuilder = in parseMainThread() 464 Cause.Builder causeBuilder = Cause.newBuilder(); in parseMainThread() 478 MemoryError.Builder memoryErrorBuilder = MemoryError.newBuilder(); in parseMainThread() 479 HeapObject.Builder heapObjectBuilder = HeapObject.newBuilder(); in parseMainThread() [all …]
|
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/ |
D | NotificationHelper.java | 143 Notification childNotification = new Notification.Builder(mContext) in sendBundlingNotifications() 153 childNotification = new Notification.Builder(mContext) in sendBundlingNotifications() 163 Notification notification = new Notification.Builder(mContext) in sendBundlingNotifications() 185 Notification.Action action = new Notification.Action.Builder( in sendNotificationsWithInLineReply() 187 pendingIntent).addRemoteInput(new RemoteInput.Builder(inLineReply) in sendNotificationsWithInLineReply() 190 Notification.Builder n = new Notification.Builder(mContext) in sendNotificationsWithInLineReply()
|
/platform_testing/libraries/automotive-helpers/notifications-app-helper/src/android/platform/helpers/ |
D | AutoNotificationMockingHelperImpl.java | 136 Notification.Builder builder = getBuilder(pkg); in postNotifications() 138 Person person = new Person.Builder().setName("Marvelous user").build(); in postNotifications() 198 private Notification.Builder getBuilder(String pkg) { in getBuilder() 200 Notification.Builder builder = in getBuilder() 201 new Notification.Builder(context, NOTIFICATION_CHANNEL_ID) in getBuilder()
|
/platform_testing/libraries/media-helper/src/android/test/mediahelper/ |
D | MediaStoreHelper.java | 101 ImmutableList.Builder builder = new ImmutableList.Builder(); in getListOfIdsFromMediaStore() 146 ImmutableList.Builder fileListBuilder = new ImmutableList.Builder(); in getMediaFileDescriptors()
|
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/rules/ |
D | TemporaryMediaNotification.kt | 63 MediaMetadata.Builder() in before() 71 PlaybackState.Builder() in before() 86 Notification.Builder(context, id) in before()
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/stressmodes/ |
D | BackgroundTranscodingStressTestMode.java | 79 new ApplicationMediaCapabilities.Builder().build(); in testStarted() 91 VideoTranscodingRequest.Builder builder = in testStarted() 92 new VideoTranscodingRequest.Builder( in testStarted()
|
/platform_testing/libraries/health/rules/src/android/platform/test/rule/ |
D | SuspendUnsuspendAppRule.java | 45 new SuspendDialogInfo.Builder().setMessage("Package Suspended").build(); 49 new SuspendDialogInfo.Builder().setMessage("Package Unsuspended").build();
|
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/media/ |
D | MediaInstrumentation.java | 110 Notification.Builder buildNotification() { in buildNotification() 111 return new Notification.Builder(mContext, mChannelId) in buildNotification() 271 mMediaSession.setPlaybackState(new PlaybackState.Builder() in updatePlaybackState() 310 public static class Builder { class in MediaInstrumentation 318 public Builder(Context context, MediaSession session) { in Builder() method in MediaInstrumentation.Builder 326 public Builder setChannelId(String id) { in setChannelId() 331 public Builder addDataSource(MediaMetadata source) { in addDataSource()
|
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/ |
D | ScreenshotTestRule.kt | 265 return ScreenshotRuleAsserter.Builder(this) in <lambda>() 381 class Builder(private val rule: ScreenshotTestRule) { class 383 fun withMatcher(matcher: BitmapMatcher): Builder = apply { asserter.matcher = matcher } in <lambda>() 389 fun setScreenshotProvider(screenshotProvider: BitmapSupplier): Builder = apply { in <lambda>() 393 fun setOnBeforeScreenshot(run: Runnable): Builder = apply { in setOnBeforeScreenshot() 397 fun setOnAfterScreenshot(run: Runnable): Builder = apply { asserter.afterScreenshot = run } in <lambda>()
|
D | ExternalViewScreenshotTestRule.kt | 66 ScreenshotRuleAsserter.Builder(screenshotRule) in <lambda>()
|
/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/ |
D | ScreenshotTestRuleTest.kt | 242 ScreenshotRuleAsserter.Builder(rule) in goldenIdentifierResolver() 261 ScreenshotRuleAsserter.Builder(rule) in goldenIdentifierResolver() 284 val asserter = ScreenshotRuleAsserter.Builder(rule).setScreenshotProvider { bitmap }.build() in goldenIdentifierResolver() 301 val asserter = ScreenshotRuleAsserter.Builder(rule).setScreenshotProvider { bitmap }.build() in goldenIdentifierResolver() 313 ScreenshotRuleAsserter.Builder(rule) in goldenIdentifierResolver()
|
/platform_testing/tests/microbenchmarks/accessibility/src/android/accessibility/microbenchmark/ |
D | AccessibilityTestActivity.java | 40 new AlertDialog.Builder(this) in onCreate()
|
/platform_testing/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/ |
D | SystemUiJankTests.java | 24 import android.app.Notification.Builder; 213 Builder builder = new Builder(getInstrumentation().getContext()) in postNotifications() 218 private void postNotifications(Builder builder, int groupMode, int sleepBetweenDuration, in postNotifications() 252 private Builder createSmartSuggestionsNotificationBuilder() { in createSmartSuggestionsNotificationBuilder() 254 Builder builder = new Builder(context) in createSmartSuggestionsNotificationBuilder() 259 RemoteInput remoteInput = new RemoteInput.Builder("reply") in createSmartSuggestionsNotificationBuilder() 286 return new Action.Builder(icon, actionTitle, pendingIntent) in createSmartAction() 292 RemoteInput remoteInput = new RemoteInput.Builder("reply") in postInlineReplyNotification() 303 Action action = new Action.Builder(icon, REPLY_TEXT, pendingIntent) in postInlineReplyNotification() 306 Builder builder = new Builder(getInstrumentation().getTargetContext()) in postInlineReplyNotification()
|
/platform_testing/libraries/audio-test-harness/client-lib/src/test/java/com/android/media/audiotestharness/client/grpc/ |
D | GrpcAudioTestHarnessClientTests.java | 69 GrpcAudioTestHarnessClient.Builder builder) throws Exception { in build_returnsNonNullInstance_validParameters()
|