Lines Matching refs:uid
146 * Checks whether the given uid has been granted the given permission.
148 * @param uid The uid to check
152 public int checkUidPermission(String permName, int uid) throws RemoteException {
153 return AppGlobals.getPackageManager().checkUidPermission(permName, uid);
175 * Check if the provided uid is the app in the foreground.
176 * @param uid the uid to check
180 public boolean isAppForeground(int uid) throws RemoteException {
181 return ActivityManager.getService().isAppForeground(uid);