Home
last modified time | relevance | path

Searched refs:ContactsPermissions (Results 1 – 7 of 7) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DVoicemailPermissions.java25 import com.android.providers.contacts.util.ContactsPermissions;
125 return ContactsPermissions.hasPackagePermission(mContext, permission, packageName); in packageHasPermission()
130 return ContactsPermissions.hasCallerOrSelfPermission(mContext, permission); in callerHasPermission()
DProfileProvider.java18 import com.android.providers.contacts.util.ContactsPermissions;
DVoicemailContentProvider.java45 import com.android.providers.contacts.util.ContactsPermissions;
411 if (ContactsPermissions.hasCallerUriPermission( in checkPermissionsAndCreateUriDataForRead()
DContactsProvider2.java185 import com.android.providers.contacts.util.ContactsPermissions;
2500 ContactsPermissions.enforceCallingOrSelfPermission(getContext(), READ_PERMISSION); in call()
2508 ContactsPermissions.enforceCallingOrSelfPermission(getContext(), WRITE_PERMISSION); in call()
2518 ContactsPermissions.enforceCallingOrSelfPermission(getContext(), in call()
2548 ContactsPermissions.enforceCallingOrSelfPermission(getContext(), in call()
2568 ContactsPermissions.enforceCallingOrSelfPermission(getContext(), READ_PERMISSION); in call()
2576 ContactsPermissions.enforceCallingOrSelfPermission(getContext(), READ_PERMISSION); in call()
2590 ContactsPermissions.enforceCallingOrSelfPermission(getContext(), in setDefaultAccountSetting()
7414 ContactsPermissions.enforceCallingOrSelfPermission(getContext(), in queryLocal()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DContactsPermissions.java26 public class ContactsPermissions { class
35 private ContactsPermissions() { in ContactsPermissions() method in ContactsPermissions
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DCallLogProviderTest.java51 import com.android.providers.contacts.util.ContactsPermissions;
449 ContactsPermissions.ALLOW_SELF_CALL = true; in testAddCall()
453 ContactsPermissions.ALLOW_SELF_CALL = false; in testAddCall()
DContactsActor.java75 import com.android.providers.contacts.util.ContactsPermissions;
337 ContactsPermissions.ALLOW_SELF_CALL = false; in ContactsActor()