/frameworks/base/services/core/java/com/android/server/firewall/ |
D | SenderFilter.java | 40 static boolean isPrivilegedApp(int callerUid, int callerPid) { in isPrivilegedApp() argument 41 if (callerUid == Process.SYSTEM_UID || callerUid == 0 || in isPrivilegedApp() 48 return (pm.getPrivateFlagsForUid(callerUid) & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) in isPrivilegedApp() 83 int callerUid, int callerPid, String resolvedType, int receivingUid) { 84 return ifw.signaturesMatch(callerUid, receivingUid); 91 int callerUid, int callerPid, String resolvedType, int receivingUid) { 92 return isPrivilegedApp(callerUid, callerPid); 99 int callerUid, int callerPid, String resolvedType, int receivingUid) { 100 return isPrivilegedApp(callerUid, callerPid) || 101 ifw.signaturesMatch(callerUid, receivingUid); [all …]
|
D | IntentFirewall.java | 127 public boolean checkStartActivity(Intent intent, int callerUid, int callerPid, in checkStartActivity() argument 130 callerUid, callerPid, resolvedType, resolvedApp.uid); in checkStartActivity() 133 public boolean checkService(ComponentName resolvedService, Intent intent, int callerUid, in checkService() argument 135 return checkIntent(mServiceResolver, resolvedService, TYPE_SERVICE, intent, callerUid, in checkService() 139 public boolean checkBroadcast(Intent intent, int callerUid, int callerPid, in checkBroadcast() argument 142 callerUid, callerPid, resolvedType, receivingUid); in checkBroadcast() 146 int intentType, Intent intent, int callerUid, int callerPid, String resolvedType, in checkIntent() argument 164 if (rule.matches(this, resolvedComponent, intent, callerUid, callerPid, resolvedType, in checkIntent() 178 logIntent(intentType, intent, callerUid, resolvedType); in checkIntent() 184 private static void logIntent(int intentType, Intent intent, int callerUid, in logIntent() argument [all …]
|
D | AndFilter.java | 29 int callerUid, int callerPid, String resolvedType, int receivingUid) { in matches() argument 31 if (!children.get(i).matches(ifw, resolvedComponent, intent, callerUid, callerPid, in matches()
|
D | OrFilter.java | 29 int callerUid, int callerPid, String resolvedType, int receivingUid) { in matches() argument 31 if (children.get(i).matches(ifw, resolvedComponent, intent, callerUid, callerPid, in matches()
|
D | SenderPermissionFilter.java | 37 int callerUid, int callerPid, String resolvedType, int receivingUid) { in matches() argument 41 return ifw.checkComponentPermission(mPermission, callerPid, callerUid, receivingUid, in matches()
|
D | NotFilter.java | 36 int callerUid, int callerPid, String resolvedType, int receivingUid) { in matches() argument 37 return !mChild.matches(ifw, resolvedComponent, intent, callerUid, callerPid, resolvedType, in matches()
|
D | SenderPackageFilter.java | 43 int callerUid, int callerPid, String resolvedType, int receivingUid) { in matches() argument 60 return UserHandle.isSameApp(packageUid, callerUid); in matches()
|
D | Filter.java | 35 int callerUid, int callerPid, String resolvedType, int receivingUid); in matches() argument
|
D | CategoryFilter.java | 38 int callerUid, int callerPid, String resolvedType, int receivingUid) { in matches() argument
|
D | PortFilter.java | 45 int callerUid, int callerPid, String resolvedType, int receivingUid) { in matches() argument
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageVerificationResponse.java | 22 public final int callerUid; field in PackageVerificationResponse 24 public PackageVerificationResponse(int code, int callerUid) { in PackageVerificationResponse() argument 26 this.callerUid = callerUid; in PackageVerificationResponse()
|
D | IntentFilterVerificationResponse.java | 23 public final int callerUid; field in IntentFilterVerificationResponse 27 public IntentFilterVerificationResponse(int callerUid, int code, List<String> failedDomains) { in IntentFilterVerificationResponse() argument 28 this.callerUid = callerUid; in IntentFilterVerificationResponse()
|
D | IntentFilterVerificationState.java | 109 public boolean setVerifierResponse(int callerUid, int code) { in setVerifierResponse() argument 110 if (mRequiredVerifierUid == callerUid) { in setVerifierResponse() 121 Slog.d(TAG, "Cannot set verifier response with callerUid:" + callerUid + " and code:" + in setVerifierResponse()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsAccess.java | 145 public static boolean isAccessibleToUser(int uid, int callerUid, in isAccessibleToUser() argument 157 || UserHandle.getUserId(uid) == UserHandle.getUserId(callerUid); in isAccessibleToUser() 163 || UserHandle.getUserId(uid) == UserHandle.getUserId(callerUid); in isAccessibleToUser() 167 return uid == callerUid; in isAccessibleToUser()
|
D | NetworkStatsCollection.java | 222 final int callerUid) { in getRelevantUids() argument 226 if (NetworkStatsAccess.isAccessibleToUser(key.uid, callerUid, accessLevel)) { in getRelevantUids() 244 @NetworkStatsAccess.Level int accessLevel, int callerUid) { in getHistory() argument 245 if (!NetworkStatsAccess.isAccessibleToUser(uid, callerUid, accessLevel)) { in getHistory() 247 + " is forbidden for caller " + callerUid); in getHistory() 356 @NetworkStatsAccess.Level int accessLevel, int callerUid) { in getSummary() argument 370 && NetworkStatsAccess.isAccessibleToUser(key.uid, callerUid, accessLevel) in getSummary()
|
/frameworks/base/core/java/android/speech/tts/ |
D | TextToSpeechService.java | 782 public SpeechItem(Object caller, int callerUid, int callerPid) { in SpeechItem() argument 784 mCallerUid = callerUid; in SpeechItem() 858 public UtteranceSpeechItem(Object caller, int callerUid, int callerPid) { in UtteranceSpeechItem() argument 859 super(caller, callerUid, callerPid); in UtteranceSpeechItem() 944 int callerUid, in UtteranceSpeechItemWithParams() argument 948 super(callerIdentity, callerUid, callerPid); in UtteranceSpeechItemWithParams() 988 int callerUid, in SynthesisSpeechItem() argument 993 super(callerIdentity, callerUid, callerPid, params, utteranceId); in SynthesisSpeechItem() 995 mCallerUid = callerUid; in SynthesisSpeechItem() 999 mEventLogger = new EventLogger(mSynthesisRequest, callerUid, callerPid, mPackageName); in SynthesisSpeechItem() [all …]
|
D | AbstractEventLogger.java | 40 AbstractEventLogger(int callerUid, int callerPid, String serviceApp) { in AbstractEventLogger() argument 41 mCallerUid = callerUid; in AbstractEventLogger()
|
D | EventLogger.java | 28 EventLogger(SynthesisRequest request, int callerUid, int callerPid, String serviceApp) { in EventLogger() argument 29 super(callerUid, callerPid, serviceApp); in EventLogger()
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManagerInternal.java | 124 public abstract boolean canSilentlyInstallPackage(String callerPackage, int callerUid); in canSilentlyInstallPackage() argument
|
/frameworks/base/services/core/java/com/android/server/ |
D | TelephonyRegistry.java | 118 int callerUid; field in TelephonyRegistry.Record 142 context, subId, callerPid, callerUid, callingPackage); in canReadCallLog() 156 + " callerUid=" + callerUid + " subId=" + subId + " phoneId=" + phoneId in toString() 481 r.callerUid = Binder.getCallingUid(); in addOnSubscriptionsChangedListener() 534 r.callerUid = Binder.getCallingUid(); in addOnOpportunisticSubscriptionsChangedListener() 655 r.callerUid = Binder.getCallingUid(); in listen() 854 r.context, r.callerPid, r.callerUid, r.callingPackage, in listen() 1839 mContext, r.callerPid, r.callerUid, r.callingPackage, in notifyActiveDataSubIdChanged() 2316 valid = UserHandle.getUserId(r.callerUid) == foregroundUser in validateEventsAndUserLocked() 2320 + " r.callerUid=" + r.callerUid + " foregroundUser=" + foregroundUser in validateEventsAndUserLocked() [all …]
|
D | IpSecService.java | 1289 int callerUid = Binder.getCallingUid(); in createTunnelInterface() local 1290 UserRecord userRecord = mUserResourceTracker.getUserRecord(callerUid); in createTunnelInterface() 1311 callerUid, in createTunnelInterface() 1321 callerUid, in createTunnelInterface()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DragDropController.java | 90 IBinder performDrag(SurfaceSession session, int callerPid, int callerUid, IWindow window, in performDrag() argument 146 mDragState.mUid = callerUid; in performDrag()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | RegisteredServicesCacheTest.java | 285 protected boolean inSystemImage(int callerUid) { in inSystemImage() argument 286 return callerUid == SYSTEM_IMAGE_UID; in inSystemImage()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 2371 int callerUid = Binder.getCallingUid(); in invalidateAuthToken() local 2376 + ", caller's uid " + callerUid in invalidateAuthToken() 2824 final int callerUid = Binder.getCallingUid(); in getAuthToken() local 2826 customTokens || permissionIsGranted(account, authTokenType, callerUid, userId); in getAuthToken() 2833 callerOwnedPackageNames = Arrays.asList(mPackageManager.getPackagesForUid(callerUid)); in getAuthToken() 2840 callerUid, in getAuthToken() 2846 loginOptions.putInt(AccountManager.KEY_CALLER_UID, callerUid); in getAuthToken() 2934 callerUid, in getAuthToken() 5405 Account account, String authTokenType, int callerUid, int userId) { 5406 if (UserHandle.getAppId(callerUid) == Process.SYSTEM_UID) { [all …]
|
/frameworks/base/core/java/android/app/ |
D | ActivityManagerInternal.java | 263 public abstract void tempWhitelistForPendingIntent(int callerPid, int callerUid, int targetUid, in tempWhitelistForPendingIntent() argument
|