Home
last modified time | relevance | path

Searched refs:prefix (Results 1 – 14 of 14) sorted by relevance

/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DDevicePropertyInfo.java163 public Map<String, String> getPropertytMapWithPrefix(String prefix) { in getPropertytMapWithPrefix() argument
166 propertyMap.put(prefix + "abi", mAbi); in getPropertytMapWithPrefix()
167 propertyMap.put(prefix + "abi2", mAbi2); in getPropertytMapWithPrefix()
168 propertyMap.put(prefix + "abis", mAbis); in getPropertytMapWithPrefix()
169 propertyMap.put(prefix + "abis_32", mAbis32); in getPropertytMapWithPrefix()
170 propertyMap.put(prefix + "abis_64", mAbis64); in getPropertytMapWithPrefix()
171 propertyMap.put(prefix + "board", mBoard); in getPropertytMapWithPrefix()
172 propertyMap.put(prefix + "brand", mBrand); in getPropertytMapWithPrefix()
173 propertyMap.put(prefix + "device", mDevice); in getPropertytMapWithPrefix()
174 propertyMap.put(prefix + "fingerprint", mFingerprint); in getPropertytMapWithPrefix()
[all …]
/platform_testing/libraries/flicker/utils/src/android/tools/io/
DRunStatus.kt22 enum class RunStatus(val prefix: String, val isFailure: Boolean) { constant in android.tools.io.RunStatus
31 append(prefix) in <lambda>()
48 RUN_EXECUTED.prefix -> RUN_EXECUTED in fromFileName()
49 ASSERTION_SUCCESS.prefix -> ASSERTION_SUCCESS in fromFileName()
50 RUN_FAILED.prefix -> RUN_FAILED in fromFileName()
51 PARSING_FAILURE.prefix -> PARSING_FAILURE in fromFileName()
52 ASSERTION_FAILED.prefix -> ASSERTION_FAILED in fromFileName()
53 UNDEFINED.prefix -> UNDEFINED in fromFileName()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DArtifactSaver.java55 public static File artifactFile(Description description, String prefix, String ext) { in artifactFile() argument
57 "TestScreenshot-" + prefix + "-" + getClassAndMethodName(description) + "." + ext); in artifactFile()
139 String prefix) { in takeDebugScreenshot() argument
140 final File screenshot = artifactFile(description, prefix, "png"); in takeDebugScreenshot()
145 public static void takeDebugScreenshot(Description description, String prefix) { in takeDebugScreenshot() argument
146 File screenshotFile = takeDebugScreenshot(description, getUiDevice(), prefix); in takeDebugScreenshot()
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/
DHelperAccessor.java40 public HelperAccessor<T> withPrefix(String prefix) { in withPrefix() argument
41 mPrefix = prefix; in withPrefix()
/platform_testing/tests/bettertogether/betocq/
Dsetup_utils.py474 prefix = 'Frequency:'
476 return get_int_between_prefix_postfix(wifi_sta_status, prefix, postfix)
484 prefix = 'channelFrequency='
486 return get_int_between_prefix_postfix(wifi_p2p_status, prefix, postfix)
494 prefix = 'Max Supported Tx Link speed:'
496 return get_int_between_prefix_postfix(wifi_sta_status, prefix, postfix)
500 string: str, prefix: str, postfix: str
502 left_index = string.rfind(prefix)
506 return int(string[left_index + len(prefix): right_index].strip())
Diperf_utils.py193 string: str, prefix: str, postfix: str
199 left_index = string[:right_index].rfind(prefix)
202 return string[left_index + len(prefix): right_index].strip()
/platform_testing/libraries/flicker/src/android/tools/flicker/junit/
DLegacyFlickerDecorator.kt77 val prefix = if (methods.isEmpty()) "One" else "Only one" in doValidateInstanceMethods() constant
80 "$prefix object should be annotated with @FlickerBuilderProvider" in doValidateInstanceMethods()
/platform_testing/libraries/collectors-helper/generic/src/com/android/helpers/
DGenericExecutableCollectorHelper.java134 String prefix = mExecutableDir.relativize(executable).toString(); in execAndGetResults() local
145 result.put(String.join(METRIC_KEY_SEPARATOR, prefix, l[0], headers[col]), l[col]); in execAndGetResults()
/platform_testing/libraries/flicker/utils/test/src/android/tools/io/
DResultReaderTest.kt64 Truth.assertThat(reader.artifactPath).contains(RunStatus.ASSERTION_SUCCESS.prefix) in slicedResultKeepsStatusInSync()
DResultWriterTest.kt221 .contains(status.prefix) in validateFileName()
/platform_testing/libraries/flag-helpers/junit/src_base/android/platform/test/flag/junit/
DSetFlagsRule.java295 for (String prefix : REPACKAGE_PREFIX_LIST) {
296 String repackagedName = String.format("%s%s", prefix, packageName);
807 for (String prefix : REPACKAGE_PREFIX_LIST) {
808 if (prefix.isEmpty()) continue;
809 if (classPackageName.startsWith(prefix)) {
810 String unprefixedPackage = classPackageName.substring(prefix.length());
/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/
DWaitUtils.kt197 val prefix = in waitForNullableValueToSettle() constant
204 prefix + in waitForNullableValueToSettle()
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/
DBatteryUsageStatsHelper.java342 private void printEntries(String prefix, Map<String, Long> data) { in printEntries() argument
346 String.format("%s\t|\t%s = %s", prefix, datum.getKey(), datum.getValue())); in printEntries()
/platform_testing/libraries/flicker/test/src/android/tools/integration/
DFullLegacyTestRun.kt150 .contains(RunStatus.ASSERTION_FAILED.prefix) in exceptionMessageCheck()