Home
last modified time | relevance | path

Searched refs:subStr (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaConnection.java616 String subStr = mPostDialString.substring(mNextPostDialChar); in getRemainingPostDialString() local
617 if (subStr != null) { in getRemainingPostDialString()
618 int wIndex = subStr.indexOf(PhoneNumberUtils.WAIT); in getRemainingPostDialString()
619 int pIndex = subStr.indexOf(PhoneNumberUtils.PAUSE); in getRemainingPostDialString()
622 subStr = subStr.substring(0, wIndex); in getRemainingPostDialString()
624 subStr = subStr.substring(0, pIndex); in getRemainingPostDialString()
627 return subStr; in getRemainingPostDialString()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java10012 String subStr = oldCodePath; in getNextCodePath() local
10014 if (suffix != null && subStr.endsWith(suffix)) { in getNextCodePath()
10015 subStr = subStr.substring(0, subStr.length() - suffix.length()); in getNextCodePath()
10019 int sidx = subStr.lastIndexOf(prefix); in getNextCodePath()
10021 subStr = subStr.substring(sidx + prefix.length()); in getNextCodePath()
10022 if (subStr != null) { in getNextCodePath()
10023 if (subStr.startsWith(INSTALL_PACKAGE_SUFFIX)) { in getNextCodePath()
10024 subStr = subStr.substring(INSTALL_PACKAGE_SUFFIX.length()); in getNextCodePath()
10027 idx = Integer.parseInt(subStr); in getNextCodePath()