Home
last modified time | relevance | path

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

/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/util/
DPrefixUtil.java64 int delimiterIndex = prefix.indexOf(PACKAGE_DELIMITER); in getPackageName() local
65 if (delimiterIndex == -1) { in getPackageName()
70 return prefix.substring(0, delimiterIndex); in getPackageName()
109 int delimiterIndex; in removePrefix() local
110 if ((delimiterIndex = prefixedString.indexOf(DATABASE_DELIMITER)) != -1) { in removePrefix()
112 return prefixedString.substring(delimiterIndex + 1); in removePrefix()
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberUtils.java2756 int delimiterIndex = number.indexOf('@'); in getUsernameFromUriNumber() local
2757 if (delimiterIndex < 0) { in getUsernameFromUriNumber()
2758 delimiterIndex = number.indexOf("%40"); in getUsernameFromUriNumber()
2760 if (delimiterIndex < 0) { in getUsernameFromUriNumber()
2763 delimiterIndex = number.length(); in getUsernameFromUriNumber()
2765 return number.substring(0, delimiterIndex); in getUsernameFromUriNumber()