/aosp14/frameworks/base/services/core/java/com/android/server/firewall/ |
H A D | SenderFilter.java | 37 static boolean isPrivilegedApp(PackageManagerInternal pmi, int callerUid, int callerPid) { in isPrivilegedApp() argument 39 callerPid == Process.myPid() || callerPid == 0) { in isPrivilegedApp() 70 int callerUid, int callerPid, String resolvedType, int receivingUid) { 78 int callerUid, int callerPid, String resolvedType, int receivingUid) { 79 return isPrivilegedApp(ifw.getPackageManager(), callerUid, callerPid); 86 int callerUid, int callerPid, String resolvedType, int receivingUid) { 87 return isPrivilegedApp(ifw.getPackageManager(), callerUid, callerPid) 95 int callerUid, int callerPid, String resolvedType, int receivingUid) { 100 return ifw.checkComponentPermission(null, callerPid, callerUid, receivingUid, false);
|
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A D | IntentFirewall.java | 144 public boolean checkStartActivity(Intent intent, int callerUid, int callerPid, in checkStartActivity() argument 147 callerUid, callerPid, resolvedType, resolvedApp.uid); in checkStartActivity() 151 int callerPid, String resolvedType, ApplicationInfo resolvedApp) { in checkService() argument 153 callerPid, resolvedType, resolvedApp.uid); in checkService() 156 public boolean checkBroadcast(Intent intent, int callerUid, int callerPid, in checkBroadcast() argument 159 callerUid, callerPid, resolvedType, receivingUid); in checkBroadcast() 163 int intentType, Intent intent, int callerUid, int callerPid, String resolvedType, in checkIntent() argument 182 if (rule.matches(this, resolvedComponent, intent, callerUid, callerPid, resolvedType, in checkIntent()
|
H A D | Filter.java | 35 int callerUid, int callerPid, String resolvedType, int receivingUid); in matches() argument
|
H A D | CategoryFilter.java | 38 int callerUid, int callerPid, String resolvedType, int receivingUid) { in matches() argument
|
H A D | SenderPackageFilter.java | 43 int callerUid, int callerPid, String resolvedType, int receivingUid) { in matches() argument
|
H A D | PortFilter.java | 45 int callerUid, int callerPid, String resolvedType, int receivingUid) { in matches() argument
|
H A D | StringFilter.java | 122 int callerUid, int callerPid, String resolvedType, int receivingUid) { in matches() argument
|
/aosp14/frameworks/base/core/java/android/app/ |
H A D | ForegroundServiceTypePolicy.java | 1045 final int result = perm.checkPermission(context, callerUid, callerPid, in checkPermissions() 1055 final int result = perm.checkPermission(context, callerUid, callerPid, in checkPermissions() 1138 public int checkPermission(@NonNull Context context, int callerUid, int callerPid, in checkPermission() argument 1140 return checkPermission(context, mName, callerUid, callerPid, packageName, in checkPermission() 1147 int callerPid, String packageName, boolean allowWhileInUse) { in checkPermission() argument 1150 callerPid, callerUid, packageName); in checkPermission() 1278 if (usbManager.hasPermission(accessory, callerPid, callerUid)) { in checkPermission() 1364 int callerUid, int callerPid, boolean allowWhileInUse, in checkForegroundServiceTypePolicy() argument 1374 callerUid, callerPid, packageName, allowWhileInUse); in checkForegroundServiceTypePolicy() 1382 callerUid, callerPid, packageName, allowWhileInUse); in checkForegroundServiceTypePolicy() [all …]
|
H A D | ActivityManagerInternal.java | 609 public abstract void tempAllowlistForPendingIntent(int callerPid, int callerUid, int targetUid, in tempAllowlistForPendingIntent() argument
|
/aosp14/frameworks/base/core/java/android/speech/tts/ |
H A D | TextToSpeechService.java | 782 public SpeechItem(Object caller, int callerUid, int callerPid) { in SpeechItem() argument 785 mCallerPid = callerPid; in SpeechItem() 859 super(caller, callerUid, callerPid); in UtteranceSpeechItem() 945 int callerPid, in UtteranceSpeechItemWithParams() argument 948 super(callerIdentity, callerUid, callerPid); in UtteranceSpeechItemWithParams() 989 int callerPid, in SynthesisSpeechItem() argument 1099 int callerPid, in SynthesisToFileOutputStreamSpeechItem() argument 1130 int callerPid, in AudioSpeechItem() argument 1171 super(callerIdentity, callerUid, callerPid); in SilenceSpeechItem() 1208 super(callerIdentity, callerUid, callerPid); in LoadLanguageItem() [all …]
|
H A D | AbstractEventLogger.java | 40 AbstractEventLogger(int callerUid, int callerPid, String serviceApp) { in AbstractEventLogger() argument 42 mCallerPid = callerPid; in AbstractEventLogger()
|
H A D | EventLogger.java | 28 EventLogger(SynthesisRequest request, int callerUid, int callerPid, String serviceApp) { in EventLogger() argument 29 super(callerUid, callerPid, serviceApp); in EventLogger()
|
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | DragDropController.java | 99 IBinder performDrag(int callerPid, int callerUid, IWindow window, int flags, in performDrag() argument 157 mDragState.mPid = callerPid; in performDrag()
|
H A D | WindowOrganizerController.java | 1789 final int callerPid = Binder.getCallingPid(); in registerTransitionPlayer() local 1795 mService.getProcessController(callerPid, callerUid); in registerTransitionPlayer()
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | LauncherAppsService.java | 186 public abstract boolean startShortcut(int callerUid, int callerPid, String callingPackage, in startShortcut() argument 880 private void ensureShortcutPermission(int callerUid, int callerPid, in ensureShortcutPermission() argument 884 callingPackage, callerPid, callerUid)) { in ensureShortcutPermission() 1175 private boolean startShortcutInner(int callerUid, int callerPid, int callingUserId, in startShortcutInner() argument 1186 ensureShortcutPermission(callerUid, callerPid, callingPackage); in startShortcutInner() 2187 public boolean startShortcut(int callerUid, int callerPid, String callingPackage, in startShortcut() argument 2190 return LauncherAppsImpl.this.startShortcutInner(callerUid, callerPid, in startShortcut()
|
/aosp14/frameworks/base/services/core/java/com/android/server/ |
H A D | TelephonyRegistry.java | 165 int callerPid; field in TelephonyRegistry.Record 198 context, subId, callerPid, callerUid, callingPackage, callingFeatureId); in canReadCallLog() 945 r.callerPid = Binder.getCallingPid(); in addOnSubscriptionsChangedListener() 1001 r.callerPid = Binder.getCallingPid(); in addOnOpportunisticSubscriptionsChangedListener() 1142 r.callerPid = Binder.getCallingPid(); in listen() 1513 if (r.callerPid == callingPid) { in add() 3087 r.callerPid = Binder.getCallingPid(); in addCarrierPrivilegesCallback() 3227 r.callerPid = Binder.getCallingPid(); in addCarrierConfigChangeListener() 3964 .setCallingPid(r.callerPid) in checkFineLocationAccess() 3993 .setCallingPid(r.callerPid) in checkCoarseLocationAccess()
|
/aosp14/frameworks/base/services/core/java/com/android/server/media/ |
H A D | MediaSessionService.java | 654 private MediaSessionRecord createSessionInternal(int callerPid, int callerUid, int userId, in createSessionInternal() argument 671 && !hasMediaControlPermission(callerPid, callerUid)) { in createSessionInternal() 678 session = new MediaSessionRecord(callerPid, callerUid, userId, in createSessionInternal()
|
/aosp14/frameworks/base/services/core/java/com/android/server/am/ |
H A D | AppProfiler.java | 879 void dumpHeapFinished(String path, int callerPid) { in dumpHeapFinished() argument 881 if (callerPid != mMemWatchDumpPid) { in dumpHeapFinished()
|
H A D | ActivityManagerService.java | 16763 void tempAllowlistForPendingIntentLocked(int callerPid, int callerUid, int targetUid, in tempAllowlistForPendingIntentLocked() argument 16766 Slog.d(TAG, "tempAllowlistForPendingIntentLocked(" + callerPid + ", " + callerUid + ", " in tempAllowlistForPendingIntentLocked() 16771 final ProcessRecord pr = mPidsSelfLocked.get(callerPid); in tempAllowlistForPendingIntentLocked() 16774 + callerPid); in tempAllowlistForPendingIntentLocked() 16778 if (checkPermission(CHANGE_DEVICE_IDLE_TEMP_WHITELIST, callerPid, callerUid) in tempAllowlistForPendingIntentLocked() 16780 && checkPermission(START_ACTIVITIES_FROM_BACKGROUND, callerPid, callerUid) in tempAllowlistForPendingIntentLocked() 16782 && checkPermission(START_FOREGROUND_SERVICES_FROM_BACKGROUND, callerPid, in tempAllowlistForPendingIntentLocked() 16786 + ": pid " + callerPid + " is not allowed"); in tempAllowlistForPendingIntentLocked() 18197 public void tempAllowlistForPendingIntent(int callerPid, int callerUid, int targetUid, in tempAllowlistForPendingIntent() argument 18201 callerPid, callerUid, targetUid, duration, type, reasonCode, reason); in tempAllowlistForPendingIntent()
|
/aosp14/frameworks/base/services/core/java/com/android/server/inputmethod/ |
H A D | InputMethodManagerService.java | 2269 final int callerPid = Binder.getCallingPid(); in addClient() local 2275 if (state.mUid == callerUid && state.mPid == callerPid in addClient() 2277 throw new SecurityException("uid=" + callerUid + "/pid=" + callerPid in addClient() 2300 callerUid, callerPid, selfReportedDisplayId, deathRecipient)); in addClient()
|
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
H A D | JobSchedulerService.java | 4539 final int callerPid = Binder.getCallingPid(); 4556 enforceValidJobRequest(callerUid, callerPid, job); 4558 int result = validateJob(job, callerUid, callerPid, userId, packageName, null);
|