Searched defs:callerUid (Results 1 - 17 of 17) 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;
/frameworks/base/services/java/com/android/server/firewall/
H A DAndFilter.java29 int callerUid, int callerPid, String resolvedType, int receivingUid) {
31 if (!children.get(i).matches(ifw, resolvedComponent, intent, callerUid, callerPid,
28 matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent, int callerUid, int callerPid, String resolvedType, int receivingUid) argument
H A DFilter.java29 * @param callerUid The uid of the caller
35 int callerUid, int callerPid, String resolvedType, int receivingUid);
34 matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent, int callerUid, int callerPid, String resolvedType, int receivingUid) argument
H A DNotFilter.java36 int callerUid, int callerPid, String resolvedType, int receivingUid) {
37 return !mChild.matches(ifw, resolvedComponent, intent, callerUid, callerPid, resolvedType,
35 matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent, int callerUid, int callerPid, String resolvedType, int receivingUid) argument
H A DOrFilter.java29 int callerUid, int callerPid, String resolvedType, int receivingUid) {
31 if (children.get(i).matches(ifw, resolvedComponent, intent, callerUid, callerPid,
28 matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent, int callerUid, int callerPid, String resolvedType, int receivingUid) argument
H A DCategoryFilter.java38 int callerUid, int callerPid, String resolvedType, int receivingUid) {
37 matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent, int callerUid, int callerPid, String resolvedType, int receivingUid) argument
H A DSenderFilter.java40 static boolean isPrivilegedApp(int callerUid, int callerPid) { argument
41 if (callerUid == Process.SYSTEM_UID || callerUid == 0 ||
48 return (pm.getFlagsForUid(callerUid) & ApplicationInfo.FLAG_PRIVILEGED) != 0;
82 int callerUid, int callerPid, String resolvedType, int receivingUid) {
83 return ifw.signaturesMatch(callerUid, receivingUid);
90 int callerUid, int callerPid, String resolvedType, int receivingUid) {
91 return isPrivilegedApp(callerUid, callerPid);
98 int callerUid, int callerPid, String resolvedType, int receivingUid) {
99 return isPrivilegedApp(callerUid, callerPi
[all...]
H A DSenderPermissionFilter.java37 int callerUid, int callerPid, String resolvedType, int receivingUid) {
41 return ifw.checkComponentPermission(mPermission, callerPid, callerUid, receivingUid,
36 matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent, int callerUid, int callerPid, String resolvedType, int receivingUid) argument
H A DPortFilter.java45 int callerUid, int callerPid, String resolvedType, int receivingUid) {
44 matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent, int callerUid, int callerPid, String resolvedType, int receivingUid) argument
H A DStringFilter.java122 int callerUid, int callerPid, String resolvedType, int receivingUid) {
121 matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent, int callerUid, int callerPid, String resolvedType, int receivingUid) argument
H A DIntentFirewall.java124 public boolean checkStartActivity(Intent intent, int callerUid, int callerPid, argument
127 callerUid, callerPid, resolvedType, resolvedApp.uid);
130 public boolean checkService(ComponentName resolvedService, Intent intent, int callerUid, argument
132 return checkIntent(mServiceResolver, resolvedService, TYPE_SERVICE, intent, callerUid,
136 public boolean checkBroadcast(Intent intent, int callerUid, int callerPid, argument
139 callerUid, callerPid, resolvedType, receivingUid);
143 int intentType, Intent intent, int callerUid, int callerPid, String resolvedType,
161 if (rule.matches(this, resolvedComponent, intent, callerUid, callerPid, resolvedType,
175 logIntent(intentType, intent, callerUid, resolvedType);
181 private static void logIntent(int intentType, Intent intent, int callerUid, argument
142 checkIntent(FirewallIntentResolver resolver, ComponentName resolvedComponent, int intentType, Intent intent, int callerUid, int callerPid, String resolvedType, int receivingUid) argument
[all...]
/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);
562 public SynthesisSpeechItem(Object callerIdentity, int callerUid, int callerPid, argument
564 super(callerIdentity, callerUid, callerPid, params);
566 mCallerUid = callerUid;
570 mEventLogger = new EventLogger(mSynthesisRequest, callerUid, callerPid,
665 public SynthesisToFileOutputStreamSpeechItem(Object callerIdentity, int callerUid, argument
667 super(callerIdentity, callerUid, callerPi
696 AudioSpeechItem(Object callerIdentity, int callerUid, int callerPid, Bundle params, Uri uri) argument
723 SilenceSpeechItem(Object callerIdentity, int callerUid, int callerPid, Bundle params, long duration) argument
752 LoadLanguageItem(Object callerIdentity, int callerUid, int callerPid, Bundle params, String language, String country, String variant) 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/
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.java1918 private boolean isUidOwnerOfPackageOrSystem(String packageName, int callerUid) { argument
1919 if (callerUid == android.os.Process.SYSTEM_UID) {
1927 final int packageUid = mPms.getPackageUid(packageName, UserHandle.getUserId(callerUid));
1931 packageUid + ", callerUid = " + callerUid);
1934 return callerUid == packageUid;
/frameworks/base/services/java/com/android/server/accounts/
H A DAccountManagerService.java1324 final int callerUid = Binder.getCallingUid();
1326 permissionIsGranted(account, authTokenType, callerUid);
1331 loginOptions.putInt(AccountManager.KEY_CALLER_UID, callerUid);
1380 Intent intent = newGrantCredentialsPermissionIntent(account, callerUid,
2678 private boolean permissionIsGranted(Account account, String authTokenType, int callerUid) { argument
2679 final boolean isPrivileged = isPrivileged(callerUid);
2681 && hasAuthenticatorUid(account.type, callerUid);
2683 && hasExplicitlyGrantedPermission(account, authTokenType, callerUid);
2686 + callerUid + ", " + account
2707 int callerUid) {
2706 hasExplicitlyGrantedPermission(Account account, String authTokenType, int callerUid) argument
[all...]

Completed in 469 milliseconds