Home
last modified time | relevance | path

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

/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
DPhoneNumberHelper.java174 int delimiterIndex = number.indexOf('@'); in getUsernameFromUriNumber() local
175 if (delimiterIndex < 0) { in getUsernameFromUriNumber()
176 delimiterIndex = number.indexOf("%40"); in getUsernameFromUriNumber()
178 if (delimiterIndex < 0) { in getUsernameFromUriNumber()
183 return number.substring(0, delimiterIndex); in getUsernameFromUriNumber()
/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()