Lines Matching refs:uid
37 * @param uid the caller uid
40 public static boolean isAccessRestricted(Context context, String packageName, int uid) {
41 return (uid != Process.SYSTEM_UID
42 && uid != Process.PHONE_UID
50 * @param uid The caller UID of the insertion
53 public static boolean shouldSetCreator(ContentValues values, int uid) {
54 return (uid != Process.SYSTEM_UID && uid != Process.PHONE_UID) ||
63 * @param uid The caller UID of the update
66 public static boolean shouldRemoveCreator(ContentValues values, int uid) {
67 return (uid != Process.SYSTEM_UID && uid != Process.PHONE_UID) &&