/platform_testing/libraries/flicker/utils/test/src/android/tools/io/ |
D | ArtifactBuilderTest.kt | 34 val artifact = createDefaultArtifactBuilder(status).build() in buildArtifactAndFileExists() 43 val artifact = createDefaultArtifactBuilder(status).build() in buildArtifactWithStatus() 52 val artifact = createDefaultArtifactBuilder(RunStatus.RUN_FAILED).build() in buildArtifactWithScenario() 63 createDefaultArtifactBuilder(RunStatus.RUN_FAILED, outputDir = expectedDir).build() in buildArtifactWithOutputDir() 73 createDefaultArtifactBuilder(RunStatus.RUN_FAILED, files = expectedFiles).build() in buildArtifactWithFiles() 82 val artifact1 = builder.build() in buildArtifactAvoidDuplicate() 83 val artifact2 = builder.build() in buildArtifactAvoidDuplicate() 96 val artifact1 = builder.build() in buildTwoArtifactsThatAreDifferentWithSameStatus() 97 val artifact2 = builder.build() in buildTwoArtifactsThatAreDifferentWithSameStatus() 104 val artifact1 = createDefaultArtifactBuilder(RunStatus.RUN_FAILED).build() in buildTwoArtifactsThatAreDifferent() [all …]
|
D | ArtifactTest.kt | 29 val artifact1 = createDefaultArtifactBuilder(RunStatus.RUN_FAILED, outputDir).build() in equalityTestSameFile() 31 val artifact2 = createDefaultArtifactBuilder(RunStatus.RUN_FAILED, outputDir).build() in equalityTestSameFile() 38 val artifact1 = createDefaultArtifactBuilder(RunStatus.RUN_FAILED, outputDir).build() in equalityTestDifferentFile() 39 val artifact2 = createDefaultArtifactBuilder(RunStatus.RUN_FAILED, outputDir).build() in equalityTestDifferentFile()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/ |
D | ComponentTemplate.kt | 24 val build: (scenarioInstance: ScenarioInstance) -> IComponentMatcher constant in android.tools.flicker.assertors.ComponentTemplate 27 return other is ComponentTemplate && name == other.name && build == other.build in equals() 31 return name.hashCode() * 39 + build.hashCode() in hashCode()
|
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/res/testApp/MyApplication/ |
D | .gitignore | 10 /build/* 11 !/build/intermediates/ 13 /build/intermediates/* 14 !/build/intermediates/javac/
|
/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/assertions/ |
D | PipWindowBecomesInvisible.kt | 33 it.isPinned(component.build(scenarioInstance)) in doEvaluate() 34 .isAppWindowVisible(component.build(scenarioInstance)) in doEvaluate() 38 it.isNotPinned(component.build(scenarioInstance)) in doEvaluate() 39 .isAppWindowInvisible(component.build(scenarioInstance)) in doEvaluate()
|
D | AppLayerBecomesVisible.kt | 35 isInvisible(component.build(scenarioInstance)) in doEvaluate() 41 .isVisible(component.build(scenarioInstance), isOptional = true) in doEvaluate() 47 .or(component.build(scenarioInstance)) in doEvaluate()
|
D | AppWindowBecomesVisible.kt | 35 isAppWindowInvisible(component.build(scenarioInstance)) in doEvaluate() 41 .isAppWindowVisible(component.build(scenarioInstance), isOptional = true) in doEvaluate() 47 .or(component.build(scenarioInstance)) in doEvaluate()
|
D | LayerBecomesVisible.kt | 31 isInvisible(component.build(scenarioInstance)) in doEvaluate() 33 .isVisible(component.build(scenarioInstance)) in doEvaluate()
|
D | LayerBecomesInvisible.kt | 31 isVisible(component.build(scenarioInstance)) in doEvaluate() 33 .isInvisible(component.build(scenarioInstance)) in doEvaluate()
|
D | WindowMovesToTop.kt | 29 isAppWindowNotOnTop(component.build(scenarioInstance)) in doEvaluate() 31 .isAppWindowOnTop(component.build(scenarioInstance)) in doEvaluate()
|
D | AppLayerBecomesInvisible.kt | 32 isVisible(component.build(scenarioInstance)) in doEvaluate() 34 .isInvisible(component.build(scenarioInstance)) in doEvaluate()
|
D | NonAppWindowBecomesVisible.kt | 32 isNonAppWindowInvisible(component.build(scenarioInstance)) in doEvaluate() 34 .isAppWindowVisible(component.build(scenarioInstance)) in doEvaluate()
|
D | WindowMovesOutOfTop.kt | 29 isAppWindowOnTop(component.build(scenarioInstance)) in doEvaluate() 31 .isAppWindowNotOnTop(component.build(scenarioInstance)) in doEvaluate()
|
D | AppWindowBecomesInvisible.kt | 32 isAppWindowVisible(component.build(scenarioInstance)) in doEvaluate() 34 .isAppWindowInvisible(component.build(scenarioInstance)) in doEvaluate()
|
D | NonAppWindowBecomesInvisible.kt | 32 isNonAppWindowVisible(component.build(scenarioInstance)) in doEvaluate() 34 .isNonAppWindowInvisible(component.build(scenarioInstance)) in doEvaluate()
|
D | AppWindowBecomesPinned.kt | 29 invoke("appWindowIsNotPinned") { it.isNotPinned(component.build(scenarioInstance)) } in doEvaluate() 31 .invoke("appWindowIsPinned") { it.isPinned(component.build(scenarioInstance)) } in doEvaluate()
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/parsers/view/ |
D | ViewFrameBuilderTest.kt | 28 val frame = ViewFrameBuilder().forSystemUptime(1).fromRootNode(TEST_NODE).build() in canCreateViewFrame() 39 ViewFrameBuilder().fromRootNode(TEST_NODE).build() in failCreateFieldFrameWithoutTimestamp() 44 ViewFrameBuilder().forSystemUptime(1).build() in failCreateFieldFrameWithoutNode() 48 private val TEST_NODE = ViewNode.newBuilder().setId("TEST").build()
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/ |
D | MockLayerTraceBuilderTest.kt | 35 .build() in containerLayerIsInvisible() 47 .build() in childrenLayerInheritsParentBounds() 59 .build() in canAddChildLayer() 70 .build() in canSetLayerVisibility() 81 .build() in invisibleLayerHasNoVisibleBounds()
|
D | MockWindowManagerTraceBuilder.kt | 32 fun build(): WindowManagerTrace { in <lambda>() method 37 val entries = entries.map { it.build() } in <lambda>()
|
D | MockLayersTraceBuilder.kt | 32 fun build(): LayersTrace { in <lambda>() method in android.tools.utils.MockLayersTraceBuilder 37 val entries = entries.map { it.build() } in <lambda>()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/ |
D | PerfettoTraceMonitor.kt | 134 val config = DataSourceConfig.newBuilder().setName(VIEWCAPTURE_DATA_SOURCE).build() in enableViewCaptureTrace() 144 fun build(): PerfettoTraceMonitor { in build() method in android.tools.traces.monitors.PerfettoTraceMonitor.Builder 151 .build() in build() 166 return PerfettoTraceMonitor(config = configBuilder.build()) in build() 170 return DataSourceConfig.newBuilder().setName(IME_DATA_SOURCE).build() in createImeDataSourceConfig() 182 .build() in createLayersTraceDataSourceConfig() 184 .build() in createLayersTraceDataSourceConfig() 196 .build() in createLayersDumpDataSourceConfig() 198 .build() in createLayersDumpDataSourceConfig() 207 .build() in createTransactionsDataSourceConfig() [all …]
|
D | MonitorUtils.kt | 70 .build() in withSFTracing() 89 .build() in withTransactionsTracing() 107 PerfettoTraceMonitor.newBuilder().enableLayersTrace().enableTransactionsTrace().build(), in withTracing() 114 .forScenario(ScenarioBuilder().forClass(tmpFile.name).build()) in withTracing() 137 PerfettoTraceMonitor.newBuilder().enableLayersTrace().build().withTracing { in recordTraces()
|
/platform_testing/host_runners/utils/tests/src/com/android/runner/utils/ |
D | InstrumentationResultProtoParserTest.java | 759 Session.newBuilder().setSessionStatus(getSessionStatusProto(false, false)).build(); in buildNoTestResultsProtoFile() 777 .build(); in buildSingleTestMetricSuccessProtoFile() 796 .build(); in buildRunMetricSuccessProtoFile() 815 .build(); in buildTestAndRunMetricSuccessProtoFile() 840 .build(); in buildMultipleTestAndRunMetricSuccessProtoFile() 859 .build(); in buildSingleTestFailureProtoFile() 883 .build(); in buildOneTestPassOneTestFailProtoFile() 895 Session sessionProto = Session.newBuilder().addAllTestStatus(testStatusList).build(); in buildTestsIncompleteProtoFile() 914 Session sessionProto = Session.newBuilder().addAllTestStatus(testStatusList).build(); in buildPartialTestsIncompleteProtoFile() 931 Session sessionProto = Session.newBuilder().addAllTestStatus(testStatusList).build(); in buildOneTestNotStarted() [all …]
|
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/javasound/ |
D | JavaAudioCapturerFactoryTests.java | 58 mJavaAudioCapturerFactory.build( in build_returnsNonNullForValidParameters() 66 mJavaAudioCapturerFactory.build( in build_throwsNullPointerException_nullAudioDevice() 74 mJavaAudioCapturerFactory.build( in build_throwsNullPointerException_nullAudioFormat() 82 mJavaAudioCapturerFactory.build( in build_throwsNullPointerException_nullTargetDataLine() 91 mJavaAudioCapturerFactory.build( in build_throwsIllegalArgumentException_closedTargetDataLine()
|
D | JavaAudioSystemServiceTests.java | 90 .build(), in getDevices_returnsProperDevices_twoConfiguredDevices() 91 AudioDevice.newBuilder().setName("Mixer Two").build()); in getDevices_returnsProperDevices_twoConfiguredDevices() 108 .build( in createCapturerFor_buildsAudioCapturerWithFactoryCorrectly() 129 AudioDevice audioDevice = AudioDevice.newBuilder().setName("Right").build(); in createCapturerFor_selectsProperMixerFromMultiple_forName() 134 .build(audioDevice, AudioFormat.getDefaultInstance(), mTargetDataLine); in createCapturerFor_selectsProperMixerFromMultiple_forName() 153 AudioDevice.newBuilder().addCapabilities(AudioDevice.Capability.CAPTURE).build(); in createCapturerFor_selectsProperMixerFromMultiple_Capability() 158 .build(audioDevice, AudioFormat.getDefaultInstance(), mTargetDataLine); in createCapturerFor_selectsProperMixerFromMultiple_Capability() 173 AudioDevice.newBuilder().setName("Mixer").build(), Defaults.AUDIO_FORMAT); in createCapturerFor_opensTargetDataLineCorrectly()
|