/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/ |
D | LogcatCollectorTest.java | 123 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testLogcatCollectionOnEveryTestEnd() 170 ArgumentCaptor<String> captureFinalTime = ArgumentCaptor.forClass(String.class); in testLogcatCollectionWithBeforeDuration() 195 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testLogcatCollectionWithBeforeDuration() 244 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testLogcatCollectionWithDirectoryOption() 279 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testLogcatOnlyOnTestFailureOption() 325 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testRetrievingLogcat() 395 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testLogcatTimespan() 481 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testMultipleIterations()
|
D | BaseMetricListenerInstrumentedTest.java | 134 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testReportMetrics() 180 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testReportMetrics_withIncludeFilters() 228 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testReportMetrics_withIncludeFilters_multiGroup() 272 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testReportMetrics_withExcludeFilters() 316 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testReportMetrics_withBothFilters() 562 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testReportMetricsSameMethodName() 615 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testSameMethodNameWithValidIntervalOption() 670 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testSameMethodNameWithSkipIterationOption() 724 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testSameMethodNameWithInvalidIntervalNumber() 764 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testReportAsInstrumentationResultsIfEnabled()
|
D | ScreenshotOnFailureCollectorTest.java | 132 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testSavePngAsFile() 168 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testSaveUixAsFile() 205 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testNoUixWithoutOption()
|
D | GcaEventLogCollectorTest.java | 103 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testGcaEventLogCollectionOnTestEnd_includeFailure() 159 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testGcaEventLogCollectOnTestEnd_skipFailure()
|
D | BatteryStatsListenerTest.java | 170 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testTestRunToBytesCollector() 216 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testTestCaseCollector()
|
D | ScreenRecordCollectorTest.java | 151 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testScreenRecord() 326 ArgumentCaptor<Bundle> capture = ArgumentCaptor.forClass(Bundle.class); in testNullMethodNameDoesNotAppearInVideoName()
|
/platform_testing/host_runners/utils/tests/src/com/android/runner/utils/ |
D | InstrumentationResultProtoParserTest.java | 268 ArgumentCaptor<Map<String, String>> captureTestMetrics = ArgumentCaptor.forClass(Map.class); in testOneTestSuccessWithMetrics() 324 ArgumentCaptor.forClass(Map.class); in testOneTestSuccessWithMultipleListeners() 331 ArgumentCaptor.forClass(Map.class); in testOneTestSuccessWithMultipleListeners() 354 ArgumentCaptor<Map<String, String>> captureRunMetrics = ArgumentCaptor.forClass(Map.class); in testOneRunSuccessWithMetrics() 383 ArgumentCaptor<Map<String, String>> captureTestMetrics = ArgumentCaptor.forClass(Map.class); in testOneTestAndRunSuccessWithMetrics() 384 ArgumentCaptor<Map<String, String>> captureRunMetrics = ArgumentCaptor.forClass(Map.class); in testOneTestAndRunSuccessWithMetrics() 420 ArgumentCaptor.forClass(Map.class); in testMultipleTestSuccessWithMetrics() 422 ArgumentCaptor.forClass(Map.class); in testMultipleTestSuccessWithMetrics() 423 ArgumentCaptor<Map<String, String>> captureRunMetrics = ArgumentCaptor.forClass(Map.class); in testMultipleTestSuccessWithMetrics() 462 ArgumentCaptor<Map<String, String>> captureTestMetrics = ArgumentCaptor.forClass(Map.class); in testOneTestFailure() [all …]
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/junit/ |
D | TestUtils.kt | 40 val SCENARIO = ScenarioBuilder().forClass(DummyTestClassValid::class.java.name).build()
|
D | LegacyFlickerDecoratorTest.kt | 48 ScenarioBuilder().forClass(TestUtils.DummyTestClassValid::class.java.name).build() in <lambda>() 67 ScenarioBuilder().forClass(TestUtils.DummyTestClassValid::class.java.name).build() in <lambda>() 103 ScenarioBuilder().forClass(TestUtils.DummyTestClassValid::class.java.name).build() in <lambda>()
|
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/ |
D | LongevityClassRunnerTest.java | 366 ArgumentCaptor<List> methodsCaptor = ArgumentCaptor.forClass(List.class); in testAfterClass_runAsAfterForPassingTest() 392 ArgumentCaptor<List> methodsCaptor = ArgumentCaptor.forClass(List.class); in testAfterClass_runAsAfterClassForFailingTest() 435 ArgumentCaptor<Description> captor = ArgumentCaptor.forClass(Description.class); in testReportIteration_noIterationSet() 454 ArgumentCaptor<Description> captor = ArgumentCaptor.forClass(Description.class); in testReportIteration_withIteration_withDefaultSeparator() 476 ArgumentCaptor<Description> captor = ArgumentCaptor.forClass(Description.class); in testReportIteration_withIteration_withCustomSeparator() 568 ArgumentCaptor<Failure> failureCaptor = ArgumentCaptor.forClass(Failure.class); in verifyForAssertionFailures()
|
D | ProfileSuiteTest.java | 272 ArgumentCaptor<Failure> failureCaptor = ArgumentCaptor.forClass(Failure.class); in testTimestampScheduling_respectsSuiteTimeout() 489 ArgumentCaptor<Failure> failureCaptor = ArgumentCaptor.forClass(Failure.class); in verifyForAssertionFailures()
|
/platform_testing/libraries/flicker/utils/src/android/tools/rules/ |
D | StopAllTracesRule.kt | 56 ScenarioBuilder().forClass(kotlin.io.path.createTempFile().name).build() in TraceMonitor()
|
/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/ |
D | Dex2oatPressureRuleTest.java | 116 ArgumentCaptor<String> compiledPackages = ArgumentCaptor.forClass(String.class); in testInvokesCompilationCyclically() 163 ArgumentCaptor.forClass(String.class); in testNoAdditionalCompilationIsTriggeredAfterTestFinishes() 178 ArgumentCaptor.forClass(String.class); in testNoAdditionalCompilationIsTriggeredAfterTestFinishes() 307 ArgumentCaptor<String> compiledInTest1 = ArgumentCaptor.forClass(String.class); in testMultipleTestsParsePackageNamesIndependently() 314 ArgumentCaptor<String> compiledInBothTests = ArgumentCaptor.forClass(String.class); in testMultipleTestsParsePackageNamesIndependently()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/legacy/ |
D | LegacyFlickerTest.kt | 49 scenario = scenarioBuilder.forClass(testClass).build() as ScenarioImpl in toString()
|
/platform_testing/libraries/flicker/utils/src/android/tools/ |
D | ScenarioBuilder.kt | 28 fun forClass(cls: String) = apply { testClass = cls } in <lambda>() method
|
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/javasound/ |
D | JavaAudioCapturerTests.java | 138 ArgumentCaptor<Runnable> runnableArgCaptor = ArgumentCaptor.forClass(Runnable.class); in attachOutput_attachesOutputSuccessfully_outputStream() 179 ArgumentCaptor<Runnable> runnableArgCaptor = ArgumentCaptor.forClass(Runnable.class); in attachOutput_attachesOutputSuccessfully_file() 203 ArgumentCaptor<Runnable> runnableArgCaptor = ArgumentCaptor.forClass(Runnable.class); in close_stopsPublisherAsExpected()
|
D | JavaAudioSystemServiceTests.java | 170 ArgumentCaptor.forClass(javax.sound.sampled.AudioFormat.class); in createCapturerFor_opensTargetDataLineCorrectly()
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/config/ |
D | QuickswitchTest.kt | 56 val scenario = ScenarioBuilder().forClass("QuickSwitch").build() in canExtractQuickswitch()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/ |
D | TraceMonitor.kt | 118 val scenario = ScenarioBuilder().forClass(className).build() in <lambda>()
|
D | MonitorUtils.kt | 114 .forScenario(ScenarioBuilder().forClass(tmpFile.name).build()) in withTracing()
|
/platform_testing/libraries/audio-test-harness/client-lib/src/test/java/com/android/media/audiotestharness/client/grpc/ |
D | GrpcAudioTestHarnessClientTests.java | 101 ArgumentCaptor.forClass(AudioTestHarnessGrpc.AudioTestHarnessStub.class); in startCapture_createsNewStubWithProperChannel()
|
D | GrpcAudioCaptureStreamTests.java | 104 ArgumentCaptor<Long> timeValueCaptor = ArgumentCaptor.forClass(Long.class); in create_schedulesCancellationTaskWithProperDeadline() 105 ArgumentCaptor<TimeUnit> timeUnitCaptor = ArgumentCaptor.forClass(TimeUnit.class); in create_schedulesCancellationTaskWithProperDeadline()
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/ |
D | Utils.kt | 58 val TEST_SCENARIO = ScenarioBuilder().forClass("test").build() as ScenarioImpl in <lambda>() 197 scenario: Scenario = ScenarioBuilder().forClass(kotlin.io.path.createTempFile().name).build() in newTestResultWriter()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/ |
D | FlickerServiceResultsCollector.kt | 82 .forClass(description.testClass.canonicalName) in <lambda>() 98 .forClass( in <lambda>()
|
/platform_testing/libraries/audio-test-harness/tradefed/src/test/java/com/android/media/audiotestharness/tradefed/ |
D | AudioTestHarnessHermeticServerManagingMetricCollectorTests.java | 132 ArgumentCaptor.forClass(SharedHostConfiguration.class); in onTestRunStart_usesCustomSharedHostConfigurationWhenCaptureDevicesSet()
|