Searched refs:uriCode (Results 1 – 2 of 2) sorted by relevance
60 final int uriCode = sUriMatcher.match(uri); in isCrossProfileAllowed() local62 if (uriCode == -1 || currentHandle == null) { in isCrossProfileAllowed()66 if (isUriWhitelisted(uriCode)) { in isCrossProfileAllowed()99 return (isCallerIdGuarded(uriCode) && isCallerIdEnabled) in isCrossProfileAllowed()100 || (isContactsSearchGuarded(uriCode) && isContactsSearchPolicyEnabled) in isCrossProfileAllowed()101 || (isBluetoothContactSharing(uriCode) && isBluetoothContactSharingEnabled); in isCrossProfileAllowed()104 private boolean isUriWhitelisted(int uriCode) { in isUriWhitelisted() argument105 switch (uriCode) { in isUriWhitelisted()123 final int uriCode = sUriMatcher.match(uri); in isCrossProfileDirectorySupported() local124 return isDirectorySupported(uriCode); in isCrossProfileDirectorySupported()[all …]
176 final int uriCode = sUriMatcher.match(Uri.parse(thumbnailUri)); in getCorpThumbnailUri() local177 if (uriCode == ContactsProvider2.CONTACTS_ID_PHOTO) { in getCorpThumbnailUri()201 final int uriCode = sUriMatcher.match(Uri.parse(photoUri)); in getCorpDisplayPhotoUri() local202 if (uriCode == ContactsProvider2.CONTACTS_ID_PHOTO) { in getCorpDisplayPhotoUri()205 } else if (uriCode == ContactsProvider2.CONTACTS_ID_DISPLAY_PHOTO in getCorpDisplayPhotoUri()206 || uriCode == ContactsProvider2.DISPLAY_PHOTO_ID) { in getCorpDisplayPhotoUri()