Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DContactsPermissions.java33 public static boolean ALLOW_SELF_CALL = true; field in ContactsPermissions
41 if (ALLOW_SELF_CALL && Binder.getCallingPid() == Process.myPid()) { in hasCallerOrSelfPermission()
67 if (ALLOW_SELF_CALL && context.getPackageName().equals(pkg)) { in hasPackagePermission()
85 if (ALLOW_SELF_CALL && Binder.getCallingPid() == Process.myPid()) { in hasCallerUriPermission()
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
DBlockedNumberProvider.java82 static boolean ALLOW_SELF_CALL = true; field in BlockedNumberProvider
697 return ALLOW_SELF_CALL && Binder.getCallingPid() == Process.myPid();
/packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/
DBlockedNumberProviderTest.java67 BlockedNumberProvider.ALLOW_SELF_CALL = false; in setUp()
496 BlockedNumberProvider.ALLOW_SELF_CALL = true; in testSelfCanAccessApis()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java313 ContactsPermissions.ALLOW_SELF_CALL = false; in ContactsActor()