Home
last modified time | relevance | path

Searched refs:callerPid (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/services/core/java/com/android/server/firewall/
DSenderFilter.java40 static boolean isPrivilegedApp(int callerUid, int callerPid) { in isPrivilegedApp() argument
42 callerPid == Process.myPid() || callerPid == 0) { in isPrivilegedApp()
83 int callerUid, int callerPid, String resolvedType, int 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) ||
108 int callerUid, int callerPid, String resolvedType, int receivingUid) {
113 return ifw.checkComponentPermission(null, callerPid, callerUid, receivingUid, false);
DOrFilter.java29 int callerUid, int callerPid, String resolvedType, int receivingUid) { in matches() argument
31 if (children.get(i).matches(ifw, resolvedComponent, intent, callerUid, callerPid, in matches()
DAndFilter.java29 int callerUid, int callerPid, String resolvedType, int receivingUid) { in matches() argument
31 if (!children.get(i).matches(ifw, resolvedComponent, intent, callerUid, callerPid, in matches()
DSenderPermissionFilter.java37 int callerUid, int callerPid, String resolvedType, int receivingUid) { in matches() argument
41 return ifw.checkComponentPermission(mPermission, callerPid, callerUid, receivingUid, in matches()
DNotFilter.java36 int callerUid, int callerPid, String resolvedType, int receivingUid) { in matches() argument
37 return !mChild.matches(ifw, resolvedComponent, intent, callerUid, callerPid, resolvedType, in matches()
DIntentFirewall.java127 public boolean checkStartActivity(Intent intent, int callerUid, int callerPid, in checkStartActivity() argument
130 callerUid, callerPid, resolvedType, resolvedApp.uid); in checkStartActivity()
134 int callerPid, String resolvedType, ApplicationInfo resolvedApp) { in checkService() argument
136 callerPid, resolvedType, resolvedApp.uid); 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()
DFilter.java35 int callerUid, int callerPid, String resolvedType, int receivingUid); in matches() argument
DCategoryFilter.java38 int callerUid, int callerPid, String resolvedType, int receivingUid) { in matches() argument
DSenderPackageFilter.java43 int callerUid, int callerPid, String resolvedType, int receivingUid) { in matches() argument
DPortFilter.java45 int callerUid, int callerPid, String resolvedType, int receivingUid) { in matches() argument
DStringFilter.java122 int callerUid, int callerPid, String resolvedType, int receivingUid) { in matches() argument
/frameworks/base/core/java/android/speech/tts/
DTextToSpeechService.java782 public SpeechItem(Object caller, int callerUid, int callerPid) { in SpeechItem() argument
785 mCallerPid = callerPid; in SpeechItem()
858 public UtteranceSpeechItem(Object caller, int callerUid, int callerPid) { in UtteranceSpeechItem() argument
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
993 super(callerIdentity, callerUid, callerPid, params, utteranceId); in SynthesisSpeechItem()
999 mEventLogger = new EventLogger(mSynthesisRequest, callerUid, callerPid, mPackageName); in SynthesisSpeechItem()
1099 int callerPid, in SynthesisToFileOutputStreamSpeechItem() argument
[all …]
DAbstractEventLogger.java40 AbstractEventLogger(int callerUid, int callerPid, String serviceApp) { in AbstractEventLogger() argument
42 mCallerPid = callerPid; in AbstractEventLogger()
DEventLogger.java28 EventLogger(SynthesisRequest request, int callerUid, int callerPid, String serviceApp) { in EventLogger() argument
29 super(callerUid, callerPid, serviceApp); in EventLogger()
/frameworks/base/services/core/java/com/android/server/wm/
DDragDropController.java90 IBinder performDrag(SurfaceSession session, int callerPid, int callerUid, IWindow window, in performDrag() argument
145 mDragState.mPid = callerPid; in performDrag()
DSession.java264 final int callerPid = Binder.getCallingPid(); in performDrag() local
268 return mDragDropController.performDrag(mSurfaceSession, callerPid, callerUid, window, in performDrag()
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java119 int callerPid; field in TelephonyRegistry.Record
142 context, subId, callerPid, callerUid, callingPackage); in canReadCallLog()
482 r.callerPid = Binder.getCallingPid(); in addOnSubscriptionsChangedListener()
535 r.callerPid = Binder.getCallingPid(); in addOnOpportunisticSubscriptionsChangedListener()
656 r.callerPid = Binder.getCallingPid(); in listen()
854 r.context, r.callerPid, r.callerUid, r.callingPackage, in listen()
1839 mContext, r.callerPid, r.callerUid, r.callingPackage, in notifyActiveDataSubIdChanged()
2360 .setCallingPid(r.callerPid) in checkFineLocationAccess()
2378 .setCallingPid(r.callerPid) in checkCoarseLocationAccess()
DConnectivityService.java1572 NetworkCapabilities nc, int callerPid, int callerUid) { in networkCapabilitiesRestrictedForCallerPermissions() argument
1574 if (!checkSettingsPermission(callerPid, callerUid)) { in networkCapabilitiesRestrictedForCallerPermissions()
5048 int callerPid, int callerUid) { in ensureSufficientPermissionsForRequest() argument
5049 if (null != nc.getSSID() && !checkSettingsPermission(callerPid, callerUid)) { in ensureSufficientPermissionsForRequest()
5054 && !checkNetworkSignalStrengthWakeupPermission(callerPid, callerUid)) { in ensureSufficientPermissionsForRequest()
/frameworks/base/core/java/android/app/
DActivityManagerInternal.java263 public abstract void tempWhitelistForPendingIntent(int callerPid, int callerUid, int targetUid, in tempWhitelistForPendingIntent() argument
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java552 private MediaSessionRecord createSessionInternal(int callerPid, int callerUid, int userId, in createSessionInternal() argument
556 return createSessionLocked(callerPid, callerUid, userId, callerPackageName, cb, in createSessionInternal()
568 private MediaSessionRecord createSessionLocked(int callerPid, int callerUid, int userId, in createSessionLocked() argument
576 final MediaSessionRecord session = new MediaSessionRecord(callerPid, callerUid, userId, in createSessionLocked()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodManagerService.java1889 final int callerPid = Binder.getCallingPid(); in addClient() local
1895 if (state.uid == callerUid && state.pid == callerPid in addClient()
1897 throw new SecurityException("uid=" + callerUid + "/pid=" + callerPid in addClient()
1918 callerPid, selfReportedDisplayId, deathRecipient)); in addClient()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java17150 void tempWhitelistForPendingIntentLocked(int callerPid, int callerUid, int targetUid, in tempWhitelistForPendingIntentLocked() argument
17153 Slog.d(TAG, "tempWhitelistForPendingIntentLocked(" + callerPid + ", " + callerUid + ", " in tempWhitelistForPendingIntentLocked()
17158 final ProcessRecord pr = mPidsSelfLocked.get(callerPid); in tempWhitelistForPendingIntentLocked()
17161 + callerPid); in tempWhitelistForPendingIntentLocked()
17165 if (checkPermission(CHANGE_DEVICE_IDLE_TEMP_WHITELIST, callerPid, callerUid) in tempWhitelistForPendingIntentLocked()
17169 + ": pid " + callerPid + " is not allowed"); in tempWhitelistForPendingIntentLocked()
18209 public void tempWhitelistForPendingIntent(int callerPid, int callerUid, int targetUid, in tempWhitelistForPendingIntent() argument
18213 callerPid, callerUid, targetUid, duration, tag); in tempWhitelistForPendingIntent()