Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/src/com/android/providers/contacts/enterprise/
DEnterprisePolicyGuard.java60 final int uriCode = sUriMatcher.match(uri); in isCrossProfileAllowed() local
62 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() argument
105 switch (uriCode) { in isUriWhitelisted()
123 final int uriCode = sUriMatcher.match(uri); in isCrossProfileDirectorySupported() local
124 return isDirectorySupported(uriCode); in isCrossProfileDirectorySupported()
[all …]
DEnterpriseContactsCursorWrapper.java176 final int uriCode = sUriMatcher.match(Uri.parse(thumbnailUri)); in getCorpThumbnailUri() local
177 if (uriCode == ContactsProvider2.CONTACTS_ID_PHOTO) { in getCorpThumbnailUri()
201 final int uriCode = sUriMatcher.match(Uri.parse(photoUri)); in getCorpDisplayPhotoUri() local
202 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()