Searched refs:callingUid (Results 1 – 1 of 1) sorted by relevance
151 public static void checkCallerAllowed(Context context, String callingPackage, int callingUid) { in checkCallerAllowed() argument152 if (!isCallerAllowed(context, callingPackage, callingUid)) { in checkCallerAllowed()160 public static boolean isCallerAllowed(Context context, String callingPackage, int callingUid) { in isCallerAllowed() argument162 if (Process.SYSTEM_UID == callingUid || Process.myUid() == callingUid) { in isCallerAllowed()