Lines Matching defs:callerUid
1505 String msg = String.format("getUserData( account: %s, key: %s, callerUid: %s, pid: %s",
1656 "accountAuthenticated( account: %s, callerUid: %s)",
2345 int callerUid = Binder.getCallingUid();
2350 + ", caller's uid " + callerUid
2798 final int callerUid = Binder.getCallingUid();
2800 customTokens || permissionIsGranted(account, authTokenType, callerUid, userId);
2807 callerOwnedPackageNames = Arrays.asList(mPackageManager.getPackagesForUid(callerUid));
2814 callerUid,
2820 loginOptions.putInt(AccountManager.KEY_CALLER_UID, callerUid);
2908 callerUid,
5314 Account account, String authTokenType, int callerUid, int userId) {
5315 if (UserHandle.getAppId(callerUid) == Process.SYSTEM_UID) {
5322 if (isPrivileged(callerUid)) {
5325 + callerUid + " privileged");
5329 if (account != null && isAccountManagedByCaller(account.type, callerUid, userId)) {
5332 + callerUid + " manages the account");
5336 if (account != null && hasExplicitlyGrantedPermission(account, authTokenType, callerUid)) {
5339 + callerUid + " user granted access");
5345 Log.v(TAG, "Access to " + account + " not granted for uid " + callerUid);
5499 int callerUid) {
5500 if (UserHandle.getAppId(callerUid) == Process.SYSTEM_UID) {
5503 UserAccounts accounts = getUserAccounts(UserHandle.getUserId(callerUid));
5509 .findMatchingGrantsCount(callerUid, authTokenType, account);
5511 grantsCount = accounts.accountsDb.findMatchingGrantsCountAnyToken(callerUid,
5520 + authTokenType + " by uid " + callerUid