Home
last modified time | relevance | path

Searched refs:substring (Results 1 – 25 of 36) 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/src/android/tools/common/traces/component/
DComponentNameMatcher.kt153 val pkg = str.substring(0, sep) in unflattenFromString()
154 var cls = str.substring(sep + 1) in unflattenFromString()
176 var pkg = str.substring(0, sep) in unflattenFromStringWithJunk()
187 pkg = pkg.substring(pkgSep, pkg.length) in unflattenFromStringWithJunk()
190 var cls = str.substring(sep + 1) in unflattenFromStringWithJunk()
201 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.java211 Integer.parseInt(outputStdout.substring(outputStdout.lastIndexOf(" ")).trim()); in withUser()
DOverlayFsUtils.java92 String id = OVERLAYFS_PREFIX + dirHash.substring(0, dirHashLength); in makeWritable()
/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/
DTracingUtils.kt31 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/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.java182 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/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/flicker/src/android/tools/device/traces/parsers/wm/
DWindowManagerStateBuilder.kt397 identifierName.substring( in <lambda>()
403 identifierName.substring( in <lambda>()
594 title.substring(PlatformConsts.STARTING_WINDOW_PREFIX.length) in <lambda>()
596 title.substring(PlatformConsts.DEBUGGER_WINDOW_PREFIX.length) in <lambda>()
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DProcessShowmapHelper.java189 Scanner sc = new Scanner(showmapOutput.substring(pos)); in sampleMemory()
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/
DCpuUsageHelper.java139 String finalKey = key.substring(0, key.lastIndexOf('_')); in getMetrics()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DScreenRecordCollector.java116 .substring("Physical size: ".length()) in setupAdditionalArgs()
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/intensive/util/
DImageUtils.java226 return relativePath.substring(relativePath.lastIndexOf(separatorChar) + 1); in getName()

12