Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/util/
DPhoneNumberHelper.java87 int delimiterIndex = number.indexOf('@'); in getUsernameFromUriNumber() local
88 if (delimiterIndex < 0) { in getUsernameFromUriNumber()
89 delimiterIndex = number.indexOf("%40"); in getUsernameFromUriNumber()
91 if (delimiterIndex < 0) { in getUsernameFromUriNumber()
96 return number.substring(0, delimiterIndex); in getUsernameFromUriNumber()
/packages/apps/Dialer/java/com/android/dialer/phonenumberutil/
DPhoneNumberHelper.java328 int delimiterIndex = number.indexOf('@'); in getUsernameFromUriNumber() local
329 if (delimiterIndex < 0) { in getUsernameFromUriNumber()
330 delimiterIndex = number.indexOf("%40"); in getUsernameFromUriNumber()
332 if (delimiterIndex < 0) { in getUsernameFromUriNumber()
339 return number.substring(0, delimiterIndex); in getUsernameFromUriNumber()
/packages/services/Car/service/src/com/android/car/trust/
DCarTrustAgentEnrollmentService.java1000 int delimiterIndex = deviceInfoWithId.indexOf(DEVICE_INFO_DELIMITER); in extractDeviceInfo() local
1001 if (delimiterIndex < 0) { in extractDeviceInfo()
1004 return TrustedDeviceInfo.deserialize(deviceInfoWithId.substring(delimiterIndex + 1)); in extractDeviceInfo()
1015 int delimiterIndex = deviceInfoWithId.indexOf(DEVICE_INFO_DELIMITER); in extractDeviceId() local
1016 if (delimiterIndex < 0) { in extractDeviceId()
1019 return deviceInfoWithId.substring(0, delimiterIndex); in extractDeviceId()
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DReadableArchive.java120 int delimiterIndex; in ReadableArchive() local
130 delimiterIndex = entryPath.lastIndexOf('/', entry.isDirectory() in ReadableArchive()
132 parentPath = entryPath.substring(0, delimiterIndex) + "/"; in ReadableArchive()
/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTestUtils.java124 int delimiterIndex = name.lastIndexOf(delimiter); in setupMailbox() local
126 if (delimiterIndex > 0) { in setupMailbox()
127 displayName = name.substring(delimiterIndex + 1); in setupMailbox()