Home
last modified time | relevance | path

Searched refs:substring (Results 1 – 25 of 38) sorted by relevance

12

/platform_testing/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/
DIQuickSettingsHelper.java58 Setting(String substring, String tileName, long wait) { in Setting() argument
59 mContentDescSubstring = substring; in Setting()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/component/
DComponentNameMatcher.kt165 val pkg = str.substring(0, sep) in unflattenFromString()
166 var cls = str.substring(sep + 1) in unflattenFromString()
188 var pkg = str.substring(0, sep) in unflattenFromStringWithJunk()
199 pkg = pkg.substring(pkgSep, pkg.length) in unflattenFromStringWithJunk()
202 var cls = str.substring(sep + 1) in unflattenFromStringWithJunk()
213 cls = cls.substring(0, clsSep) in unflattenFromStringWithJunk()
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/
DRegexUtils.java75 String substring = input.substring(matcher.start(), matcher.end()); in assertFind() local
87 + substring in assertFind()
108 return input.substring(start, end); in getInputContext()
DUserUtils.java218 Integer.parseInt(outputStdout.substring(outputStdout.lastIndexOf(" ")).trim()); in withUser()
/platform_testing/libraries/flag-helpers/junit/src_util/android/platform/test/flag/util/
DFlag.java72 packageName = fullFlagName.substring(0, index); in createFlag()
73 simpleFlagName = fullFlagName.substring(index + 1); in createFlag()
/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/
DTracingUtils.kt36 substring(0, MAX_TRACE_NAME_LEN) in shortenedIfNeeded()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DTracePointRule.java75 return name.substring(Math.max(0, name.length() - getMaxSectionLength())); in getSectionName()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/perfetto/
DArgs.kt141 val key = token.substring(0, indexOpeningBracket) in tryParseKeyAndIndex()
142 val index = token.substring(indexOpeningBracket + 1, token.length - 1).toInt() in tryParseKeyAndIndex()
/platform_testing/libraries/compatibility-common-util/tests/src/com/android/compatibility/common/util/
DReadElfTest.java163 trimLine.substring( in getDynamicDependencies()
211 trimLine = trimLine.substring(0, idx); in chkDynSymbol()
260 trimLine.substring(trimLine.indexOf("]") + 1, trimLine.length()) in getRoStrings()
DReportLogTest.java120 assertEquals("Expected source to be trimmed", source.substring(source.length() - 200), in testLimits_source()
135 assertEquals("Expected message to be trimmed", message.substring(0, 200), in testLimits_message()
/platform_testing/libraries/collectors-helper/jank/src/com/android/helpers/
DBinderCollectionHelper.java149 line.substring(line.indexOf(COUNT_PREFIX) + COUNT_PREFIX.length())); in getNextCounter()
162 line.substring( in parseMetrics()
DSfStatsCollectionHelper.java215 bucket.substring(0, bucket.indexOf("ms"))), in getHistogramPairs()
217 bucket.substring(bucket.indexOf("=") + 1)))); in getHistogramPairs()
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DBusinessLogicExecutor.java145 String className = method.substring(0, index); in invokeMethod()
156 ResolvedMethod rm = getResolvedMethod(cls, method.substring(index + 1), args); in invokeMethod()
DInfoStore.java188 return value.substring(0, MAX_STRING_LENGTH); in checkString()
DReportLog.java83 mSource = source.substring(sourceLength - MAX_SOURCE_LENGTH); in Metric()
90 mMessage = message.substring(0, MAX_MESSAGE_LENGTH); in Metric()
DTestResult.java188 setMessage(trace.substring(0, index)); in failed()
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/report/
DDevicelessDevMachineExportStrategy.kt80 imagePath.substring(0, imagePath.length - imageExtension.length) + ".html" in <lambda>()
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/ide/common/resources/deprecated/
DIdResourceParser.java104 String id = value.substring(value.indexOf('/') + 1); in parse()
DSingleResourceFile.java123 name = name.substring(0, pos); in getResourceName()
DIdGeneratingResourceFile.java203 name = name.substring(0, pos); in getFileName()
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/intensive/setup/
DLayoutPullParser.java60 layoutPath = layoutPath.substring(1); in createFromPath()
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/tradefed/testtype/
DSecurityTestCase.java277 BigInteger address = new BigInteger(ptr.substring(0, length), RADIX_HEX); in isKptr()
284 BigInteger address = new BigInteger(ptr.substring(0, length), RADIX_HEX); in isKptr()
372 return Long.parseLong(uptime.substring(0, uptime.indexOf('.'))); in getDeviceUptime()
/platform_testing/libraries/flag-helpers/junit/src_base/android/platform/test/flag/junit/
DSetFlagsRule.java810 String unprefixedPackage = classPackageName.substring(prefix.length());
963 return fullFlagName.substring(0, index);
968 String packageName = fullFlagName.substring(0, index);
982 String flagPackageName = fullFlagName.substring(0, index);
983 String simpleFlagName = fullFlagName.substring(index + 1);
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/wm/
DWindowManagerStateBuilder.kt391 identifierName.substring( in <lambda>()
397 identifierName.substring( in <lambda>()
588 title.substring(PlatformConsts.STARTING_WINDOW_PREFIX.length) in <lambda>()
590 title.substring(PlatformConsts.DEBUGGER_WINDOW_PREFIX.length) in <lambda>()
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/
DCpuUsageHelper.java139 String finalKey = key.substring(0, key.lastIndexOf('_')); in getMetrics()

12