/frameworks/base/services/java/com/android/server/pm/ |
H A D | PackageVerificationResponse.java | 22 public final int callerUid; field in class:PackageVerificationResponse 24 public PackageVerificationResponse(int code, int callerUid) { argument 26 this.callerUid = callerUid;
|
H A D | PackageManagerService.java | 966 state.setVerifierResponse(response.callerUid, response.code);
|
/frameworks/base/services/java/com/android/server/firewall/ |
H A D | SenderFilter.java | 35 static boolean isSystemApp(ApplicationInfo callerApp, int callerUid, int callerPid) { argument 36 if (callerUid == Process.SYSTEM_UID || 71 int callerUid, int callerPid, String resolvedType, ApplicationInfo resolvedApp) { 75 return ifw.signaturesMatch(callerUid, resolvedApp.uid); 82 int callerUid, int callerPid, String resolvedType, ApplicationInfo resolvedApp) { 87 return isSystemApp(callerApp, callerUid, callerPid); 94 int callerUid, int callerPid, String resolvedType, ApplicationInfo resolvedApp) { 95 return isSystemApp(callerApp, callerUid, callerPid) || 96 ifw.signaturesMatch(callerUid, resolvedApp.uid); 103 int callerUid, in [all...] |
H A D | Filter.java | 32 * @param callerUid 38 int callerUid, int callerPid, String resolvedType, ApplicationInfo resolvedApp); 37 matches(IntentFirewall ifw, Intent intent, ApplicationInfo callerApp, int callerUid, int callerPid, String resolvedType, ApplicationInfo resolvedApp) argument
|
H A D | AndFilter.java | 29 int callerUid, int callerPid, String resolvedType, ApplicationInfo resolvedApp) { 31 if (!children.get(i).matches(ifw, intent, callerApp, callerUid, callerPid, resolvedType, 28 matches(IntentFirewall ifw, Intent intent, ApplicationInfo callerApp, int callerUid, int callerPid, String resolvedType, ApplicationInfo resolvedApp) argument
|
H A D | OrFilter.java | 29 int callerUid, int callerPid, String resolvedType, ApplicationInfo resolvedApp) { 31 if (children.get(i).matches(ifw, intent, callerApp, callerUid, callerPid, resolvedType, 28 matches(IntentFirewall ifw, Intent intent, ApplicationInfo callerApp, int callerUid, int callerPid, String resolvedType, ApplicationInfo resolvedApp) argument
|
H A D | SenderPermissionFilter.java | 37 int callerUid, int callerPid, String resolvedType, ApplicationInfo resolvedApp) { 41 return ifw.checkComponentPermission(mPermission, callerPid, callerUid, resolvedApp.uid, 36 matches(IntentFirewall ifw, Intent intent, ApplicationInfo callerApp, int callerUid, int callerPid, String resolvedType, ApplicationInfo resolvedApp) argument
|
H A D | NotFilter.java | 36 int callerUid, int callerPid, String resolvedType, ApplicationInfo resolvedApp) { 37 return !mChild.matches(ifw, intent, callerApp, callerUid, callerPid, resolvedType, 35 matches(IntentFirewall ifw, Intent intent, ApplicationInfo callerApp, int callerUid, int callerPid, String resolvedType, ApplicationInfo resolvedApp) argument
|
H A D | CategoryFilter.java | 38 int callerUid, int callerPid, String resolvedType, ApplicationInfo resolvedApp) { 37 matches(IntentFirewall ifw, Intent intent, ApplicationInfo callerApp, int callerUid, int callerPid, String resolvedType, ApplicationInfo resolvedApp) argument
|
H A D | IntentFirewall.java | 122 public boolean checkStartActivity(Intent intent, ApplicationInfo callerApp, int callerUid, argument 130 if (rule.matches(this, intent, callerApp, callerUid, callerPid, resolvedType, 144 logIntent(TYPE_ACTIVITY, intent, callerUid, resolvedType); 150 private static void logIntent(int intentType, Intent intent, int callerUid, argument 164 String[] callerPackagesArray = pm.getPackagesForUid(callerUid); 174 EventLogTags.writeIfwIntentMatched(intentType, shortComponent, callerUid,
|
H A D | PortFilter.java | 45 int callerUid, int callerPid, String resolvedType, ApplicationInfo resolvedApp) { 44 matches(IntentFirewall ifw, Intent intent, ApplicationInfo callerApp, int callerUid, int callerPid, String resolvedType, ApplicationInfo resolvedApp) argument
|
H A D | StringFilter.java | 123 int callerUid, int callerPid, String resolvedType, ApplicationInfo resolvedApp) { 122 matches(IntentFirewall ifw, Intent intent, ApplicationInfo callerApp, int callerUid, int callerPid, String resolvedType, ApplicationInfo resolvedApp) argument
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | EventLogger.java | 47 EventLogger(SynthesisRequest request, int callerUid, int callerPid, String serviceApp) { argument 49 mCallerUid = callerUid;
|
H A D | TextToSpeechService.java | 418 public SpeechItem(Object caller, int callerUid, int callerPid, Bundle params) { argument 421 mCallerUid = callerUid; 493 public UtteranceSpeechItem(Object caller, int callerUid, int callerPid, Bundle params) { argument 494 super(caller, callerUid, callerPid, params); 561 public SynthesisSpeechItem(Object callerIdentity, int callerUid, int callerPid, argument 563 super(callerIdentity, callerUid, callerPid, params); 568 mEventLogger = new EventLogger(mSynthesisRequest, callerUid, callerPid, 663 public SynthesisToFileOutputStreamSpeechItem(Object callerIdentity, int callerUid, argument 665 super(callerIdentity, callerUid, callerPid, params, text); 694 public AudioSpeechItem(Object callerIdentity, int callerUid, in argument 721 SilenceSpeechItem(Object callerIdentity, int callerUid, int callerPid, Bundle params, long duration) argument 750 LoadLanguageItem(Object callerIdentity, int callerUid, int callerPid, Bundle params, String language, String country, String variant) argument [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | TelephonyRegistry.java | 73 int callerUid; field in class:TelephonyRegistry.Record 79 return "{pkgForDebug=" + pkgForDebug + " callerUid=" + callerUid + 192 int callerUid = UserHandle.getCallingUserId(); 197 + " callerUid=" + callerUid); 219 r.callerUid = callerUid; 786 valid = r.callerUid == foregroundUser && (r.events & events) != 0; 789 + " r.callerUid [all...] |
H A D | MountService.java | 1887 private boolean isUidOwnerOfPackageOrSystem(String packageName, int callerUid) { argument 1888 if (callerUid == android.os.Process.SYSTEM_UID) { 1896 final int packageUid = mPms.getPackageUid(packageName, UserHandle.getUserId(callerUid)); 1900 packageUid + ", callerUid = " + callerUid); 1903 return callerUid == packageUid;
|
/frameworks/base/services/java/com/android/server/accounts/ |
H A D | AccountManagerService.java | 1274 final int callerUid = Binder.getCallingUid(); 1276 permissionIsGranted(account, authTokenType, callerUid); 1281 loginOptions.putInt(AccountManager.KEY_CALLER_UID, callerUid); 1327 Intent intent = newGrantCredentialsPermissionIntent(account, callerUid, 2566 private boolean permissionIsGranted(Account account, String authTokenType, int callerUid) { argument 2567 final boolean inSystemImage = inSystemImage(callerUid); 2569 && hasAuthenticatorUid(account.type, callerUid); 2571 && hasExplicitlyGrantedPermission(account, authTokenType, callerUid); 2574 + callerUid + ", " + account 2595 int callerUid) { 2594 hasExplicitlyGrantedPermission(Account account, String authTokenType, int callerUid) argument [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | RegisteredServicesCache.java | 274 private boolean inSystemImage(int callerUid) { argument 275 String[] packages = mContext.getPackageManager().getPackagesForUid(callerUid);
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | ActivityManagerService.java | 3694 int callerUid = Binder.getCallingUid(); 3696 if (callerUid == Process.SYSTEM_UID) { 3704 throw new SecurityException(callerUid + " cannot kill pkg: " + 3784 int callerUid = Binder.getCallingUid(); 3786 if (callerUid == Process.SYSTEM_UID) { 3801 throw new SecurityException(callerUid + " cannot kill app process: " +
|