/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/ |
D | CaseResult.java | 44 public String getName() { in getName() method in CaseResult 112 return getName().compareTo(another.getName()); in compareTo() 120 if (!otherCaseResult.getName().equals(getName())) { in mergeFrom() 123 otherCaseResult.getName(), getName())); in mergeFrom() 127 mResults.put(otherTestResult.getName(), otherTestResult); in mergeFrom()
|
D | TestResult.java | 52 public String getName() { in getName() method in TestResult 61 return String.format("%s#%s", mParent.getName(), getName()); in getFullName() 274 return getName().compareTo(another.getName()); in compareTo()
|
D | ScreenshotsMetadataHandler.java | 63 serializer.attribute(NS, NAME_ATTR, module.getName()); in writeResults() 66 serializer.attribute(NS, NAME_ATTR, cr.getName()); in writeResults() 73 serializer.attribute(NS, NAME_ATTR, r.getName()); in writeResults()
|
D | ICaseResult.java | 25 String getName(); in getName() method
|
D | ResultHandler.java | 142 if (LATEST_RESULT_DIR.equals(resultDir.getName())) { in getLightResults() 258 if (parser.getName().equals(MODULES_NOT_DONE_REASON)) { in getResultFromDir() 282 if (parser.getName().equals(FAILURE_TAG)) { in getResultFromDir() 291 } else if (parser.getName().equals(BUGREPORT_TAG)) { in getResultFromDir() 294 } else if (parser.getName().equals(LOGCAT_TAG)) { in getResultFromDir() 297 } else if (parser.getName().equals(SCREENSHOT_TAG)) { in getResultFromDir() 300 } else if (SUMMARY_TAG.equals(parser.getName())) { in getResultFromDir() 302 } else if (METRIC_TAG.equals(parser.getName())) { in getResultFromDir() 306 } else if (RUN_HISTORY_TAG.equals(parser.getName())) { in getResultFromDir() 506 serializer.attribute(NS, NAME_ATTR, module.getName()); in writeResults() [all …]
|
D | IModuleResult.java | 27 String getName(); in getName() method
|
/platform_testing/libraries/runner/src/main/java/platform/test/runner/parameterized/ |
D | AndroidParameterizedRunner.java | 38 protected String getName() { in getName() method in AndroidParameterizedRunner 39 return mDelegate.getName(); in getName() 44 return method.getName() + getName(); in testName() 57 return "AndroidParameterizedRunner " + mDelegate.getName(); in toString()
|
D | RobolectricParameterizedRunner.java | 47 protected String getName() { in getName() method in RobolectricParameterizedRunner 53 return method.getName() + getName(); in testName() 66 return "RobolectricParameterizedRunner " + getName(); in toString() 91 RobolectricParameterizedRunner.class.getName(), in getHelperTestRunner()
|
D | ParameterizedRunnerDelegate.java | 54 public String getName() { in getName() method in ParameterizedRunnerDelegate 91 testClass.getName(), mName), in computeParams() 121 testClass.getName(), in injectParametersIntoFields() 122 field.getName(), in injectParametersIntoFields() 220 "No public static parameters method on class %s", testClass.getName())); in getParametersMethod()
|
/platform_testing/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/ |
D | LauncherJankTests.java | 97 getClass().getSimpleName(), getName()), TIMESTAMP_FILE); in prepareOpenAllAppsContainer() 103 getClass().getSimpleName(), getName()), TIMESTAMP_FILE); in afterTestOpenAllAppsContainer() 105 getClass().getSimpleName(), getName()), RESULTS_FILE, metrics); in afterTestOpenAllAppsContainer() 112 getClass().getSimpleName(), getName()), TIMESTAMP_FILE); in openAllApps() 117 getClass().getSimpleName(), getName()), TIMESTAMP_FILE); in afterTestAllAppsContainerSwipe() 119 getClass().getSimpleName(), getName()), RESULTS_FILE, metrics); in afterTestAllAppsContainerSwipe() 138 getClass().getSimpleName(), getName()), TIMESTAMP_FILE); in makeHomeScrollable() 143 getClass().getSimpleName(), getName()), TIMESTAMP_FILE); in afterTestHomeScreenSwipe() 145 getClass().getSimpleName(), getName()), RESULTS_FILE, metrics); in afterTestHomeScreenSwipe() 164 getClass().getSimpleName(), getName()), TIMESTAMP_FILE); in openAllWidgets() [all …]
|
D | SystemUiJankTests.java | 172 getClass().getSimpleName(), getName()), TIMESTAMP_FILE); in populateRecentApps() 177 getClass().getSimpleName(), getName()), TIMESTAMP_FILE); in forceStopPackages() 181 getClass().getSimpleName(), getName()), RESULTS_FILE, metrics); in forceStopPackages() 402 getClass().getSimpleName(), getName()), TIMESTAMP_FILE); in beforeNotificationListPull() 407 getClass().getSimpleName(), getName()), TIMESTAMP_FILE); in afterNotificationListPull() 410 getClass().getSimpleName(), getName()), RESULTS_FILE, metrics); in afterNotificationListPull() 432 getClass().getSimpleName(), getName()), TIMESTAMP_FILE); in beforeNotificationListScroll() 439 getClass().getSimpleName(), getName()), TIMESTAMP_FILE); in afterNotificationListScroll() 445 getClass().getSimpleName(), getName()), RESULTS_FILE, metrics); in afterNotificationListScroll() 466 getClass().getSimpleName(), getName()), TIMESTAMP_FILE); in beforeNotificationListPull_manyNotifications() [all …]
|
D | SettingsJankTests.java | 98 getClass().getSimpleName(), getName()), TIMESTAMP_FILE); in flingSettingsToStart() 103 getClass().getSimpleName(), getName()), TIMESTAMP_FILE); in afterTestSettingsFling() 105 getClass().getSimpleName(), getName()), RESULTS_FILE, metrics); in afterTestSettingsFling()
|
/platform_testing/tests/functional/devicehealthchecks/src/com/android/devicehealthchecks/ |
D | MediaBootCheck.java | 47 codec = MediaCodec.createByCodecName(info.getName()); in checkCodecList() 49 Assert.assertEquals(codec.getName(), info.getName()); in checkCodecList()
|
/platform_testing/libraries/audio-test-harness/server/src/main/java/com/android/media/audiotestharness/server/javasound/ |
D | JavaAudioSystemService.java | 41 private static final Logger LOGGER = Logger.getLogger(JavaAudioSystemService.class.getName()); 149 audioDeviceBuilder.setName(mixer.getMixerInfo().getName()); in rebuildMixerCache() 182 if (audioDevice.getName() != null in findClosestMatchingMixer() 183 && !audioDevice.getName().isEmpty()) { in findClosestMatchingMixer() 185 return info.getName().equals(audioDevice.getName()); in findClosestMatchingMixer() 187 return info.getName().contains(audioDevice.getName()); in findClosestMatchingMixer()
|
/platform_testing/libraries/audio-test-harness/utilities/src/com/android/media/audiotestharness/utilities/ |
D | AudioSystemDiagnostic.java | 31 public static final Logger LOGGER = Logger.getLogger(AudioSystemDiagnostic.class.getName()); 62 diagnosticStringBuilder.append("Mixer Name = " + currentMixer.getName() + "\n"); in buildAudioSystemDiagnosticString()
|
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/ |
D | LongevityClassRunnerTest.java | 205 methodList.get(0).getName(), in testBeforeClassMethodsAddedAsBeforeMethods() 210 methodList.get(1).getName(), in testBeforeClassMethodsAddedAsBeforeMethods() 265 afterMethodList.get(0).getName(), in testAfterClassMethodsAddedAsAfterMethods() 274 afterClassMethodList.get(0).getName(), in testAfterClassMethodsAddedAsAfterMethods() 371 .getName() in testAfterClass_runAsAfterForPassingTest() 397 .getName() in testAfterClass_runAsAfterClassForFailingTest() 492 InjectedRule1.class.getName()); in testDynamicClassRules() 495 InjectedRule2.class.getName()); in testDynamicClassRules() 522 InjectedRule1.class.getName()); in testDynamicTestRules() 525 InjectedRule2.class.getName()); in testDynamicTestRules() [all …]
|
D | ScheduledScenarioRunnerTest.java | 96 .setJourney(SampleTimedProfileSuite.LongIdleTest.class.getName()) in testOverTimeTest_throwsTestTimedOutException() 138 .setJourney(SampleTimedProfileSuite.LongIdleTest.class.getName()) in testOverTimeTest_doesNotIdleBeforeTeardown() 162 .setJourney(SampleTimedProfileSuite.LongIdleTest.class.getName()) in testOverTimeTest_idlesAfterTeardownUntilNextScenario() 189 .setJourney(SampleTimedProfileSuite.PassingTest.class.getName()) in testRespectsAfterTestPolicy_stayInApp() 220 .setJourney(SampleTimedProfileSuite.PassingTest.class.getName()) in testRespectsAfterTestPolicy_exit() 247 .setJourney(SampleTimedProfileSuite.PassingTest.class.getName()) in testIgnoredScenario_doesIdle() 283 .setJourney(SampleTimedProfileSuite.PassingTest.class.getName()) in testLastScenarioDoesNotIdle()
|
/platform_testing/libraries/health/utils/tests/src/android/platform/test/util/ |
D | HealthRunnerBuilderTest.java | 63 args.putString(HealthRunnerBuilder.RUNNER_OPTION, SampleRunner.class.getName()); in testUsingSpecifiedRunner_valid() 82 args.putString(HealthRunnerBuilder.RUNNER_OPTION, HealthRunnerBuilderTest.class.getName()); in testUsingSpecifiedRunner_invalid_notRunner()
|
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/util/ |
D | TombstoneUtils.java | 114 .map(IFileEntry::getName) in withAssertNoSecurityCrashes() 147 excludeFiles.stream().collect(Collectors.toMap(IFileEntry::getName, f -> f)); 154 IFileEntry excludeFile = excludeMap.get(f.getName()); 163 .filter(f -> f.getName().endsWith(".pb")) 173 File localFile = File.createTempFile("tradefed-tombstone-", tombstoneFile.getName()); 186 if (tombstoneFile.getName().endsWith(".pb")) { 265 if (List.of("SEGV_MTEAERR", "SEGV_MTESERR").contains(signalInfo.getName())) { 277 if (!config.signals.contains(signalInfo.getName())) { 364 return Optional.of(new File(commands.get(0)).getName());
|
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/ide/common/resources/deprecated/ |
D | MultiResourceFile.java | 126 ResourceItem item = repository.getResourceItem(type, res.getName()); in updateResourceItems() 167 ResourceValue oldValue = list.get(value.getName()); in addResourceValue() 176 list.put(value.getName(), value); in addResourceValue()
|
D | SingleResourceFile.java | 119 String name = getFile().getName(); in getResourceName() 136 if (!isFramework() && SdkUtils.endsWith(getFile().getName(), DOT_XML)) { in validateAttributes()
|
/platform_testing/libraries/compatibility-common-util/tests/src/com/android/compatibility/common/util/ |
D | TestResultTest.java | 44 assertEquals("Incorrect test name", METHOD_1, mResult.getName()); in testAccessors()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/junit/ |
D | InjectedTestCase.kt | 32 override fun getName(): String = _name in getName() method
|
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/intensive/ |
D | RenderTestBase.java | 249 if (currentDir.getName().equalsIgnoreCase("bridge")) { in getPlatformDir() 254 while (currentDir != null && !"layoutlib".equals(currentDir.getName())) { in getPlatformDir() 260 !"frameworks".equals(currentDir.getParentFile().getName())) { in getPlatformDir() 287 (path.getName().startsWith("linux-") || in getPlatformDirFromRoot() 288 path.getName().startsWith("darwin-"))); in getPlatformDirFromRoot() 310 return path.isDirectory() && path.getName().startsWith("sdk"); in getPlatformDirFromHostOut() 324 path -> path.isDirectory() && path.getName().contains("android-sdk")); in getPlatformDirFromHostOutSdkSdk() 329 path -> path.isDirectory() && path.getName().startsWith("android-")); in getPlatformDirFromHostOutSdkSdk() 335 String suffix1 = o1.getName().substring("android-".length()); in getPlatformDirFromHostOutSdkSdk() 336 String suffix2 = o2.getName().substring("android-".length()); in getPlatformDirFromHostOutSdkSdk()
|
/platform_testing/libraries/audio-test-harness/server/src/main/java/com/android/media/audiotestharness/server/utility/ |
D | PortUtility.java | 26 private static final Logger LOGGER = Logger.getLogger(PortUtility.class.getName());
|