Searched refs:callerUid (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/services/java/com/android/server/pm/
H A DPackageVerificationResponse.java22 public final int callerUid; field in class:PackageVerificationResponse
24 public PackageVerificationResponse(int code, int callerUid) { argument
26 this.callerUid = callerUid;
H A DPackageManagerService.java966 state.setVerifierResponse(response.callerUid, response.code);
/frameworks/base/services/java/com/android/server/firewall/
H A DSenderFilter.java35 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 DFilter.java32 * @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 DAndFilter.java29 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 DOrFilter.java29 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 DSenderPermissionFilter.java37 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 DNotFilter.java36 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 DCategoryFilter.java38 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 DIntentFirewall.java122 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 DPortFilter.java45 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 DStringFilter.java123 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 DEventLogger.java47 EventLogger(SynthesisRequest request, int callerUid, int callerPid, String serviceApp) { argument
49 mCallerUid = callerUid;
H A DTextToSpeechService.java418 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 DTelephonyRegistry.java73 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 DMountService.java1887 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 DAccountManagerService.java1274 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 DRegisteredServicesCache.java274 private boolean inSystemImage(int callerUid) { argument
275 String[] packages = mContext.getPackageManager().getPackagesForUid(callerUid);
/frameworks/base/services/java/com/android/server/am/
H A DActivityManagerService.java3694 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: " +

Completed in 6347 milliseconds