Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaConnection.java779 String subStr = super.getRemainingPostDialString(); in getRemainingPostDialString() local
780 if (!isPhoneTypeGsm() && !TextUtils.isEmpty(subStr)) { in getRemainingPostDialString()
781 int wIndex = subStr.indexOf(PhoneNumberUtils.WAIT); in getRemainingPostDialString()
782 int pIndex = subStr.indexOf(PhoneNumberUtils.PAUSE); in getRemainingPostDialString()
785 subStr = subStr.substring(0, wIndex); in getRemainingPostDialString()
787 subStr = subStr.substring(0, pIndex); in getRemainingPostDialString()
790 return subStr; in getRemainingPostDialString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarInflaterView.java298 String subStr = buttonSpec.substring(start + 1, buttonSpec.indexOf(KEY_CODE_END)); in extractImage() local
299 return subStr; in extractImage()
307 String subStr = buttonSpec.substring(start + 1, buttonSpec.indexOf(KEY_IMAGE_DELIM)); in extractKeycode() local
308 return Integer.parseInt(subStr); in extractKeycode()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java14094 String subStr = oldCodePath; in getNextCodePath() local
14096 if (suffix != null && subStr.endsWith(suffix)) { in getNextCodePath()
14097 subStr = subStr.substring(0, subStr.length() - suffix.length()); in getNextCodePath()
14101 int sidx = subStr.lastIndexOf(prefix); in getNextCodePath()
14103 subStr = subStr.substring(sidx + prefix.length()); in getNextCodePath()
14104 if (subStr != null) { in getNextCodePath()
14105 if (subStr.startsWith(INSTALL_PACKAGE_SUFFIX)) { in getNextCodePath()
14106 subStr = subStr.substring(INSTALL_PACKAGE_SUFFIX.length()); in getNextCodePath()
14109 idx = Integer.parseInt(subStr); in getNextCodePath()