Home
last modified time | relevance | path

Searched refs:separatorIndex (Results 1 – 4 of 4) sorted by relevance

/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/consent/
DAppConsentManager.java233 int separatorIndex = datastoreKey.lastIndexOf(DATASTORE_KEY_SEPARATOR); in datastoreKeyToPackageName() local
234 Preconditions.checkArgument(separatorIndex > 0, "Invalid datastore key"); in datastoreKeyToPackageName()
235 return datastoreKey.substring(0, separatorIndex); in datastoreKeyToPackageName()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/consent/
DAppConsentDao.java310 int separatorIndex = datastoreKey.lastIndexOf(DATASTORE_KEY_SEPARATOR); in datastoreKeyToPackageName() local
311 Preconditions.checkArgument(separatorIndex > 0, "Invalid datastore key"); in datastoreKeyToPackageName()
312 return datastoreKey.substring(0, separatorIndex); in datastoreKeyToPackageName()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DRenameDocumentFragment.java167 int separatorIndex = text.lastIndexOf("."); in selectFileName() local
169 (separatorIndex == -1 || mDocument.isDirectory()) ? text.length() : separatorIndex); in selectFileName()
/packages/apps/LegacyCamera/src/com/android/camera/
DCameraSettings.java393 int separatorIndex = effectSelection.indexOf('/'); in readEffectParameter() local
395 effectSelection.substring(separatorIndex + 1); in readEffectParameter()