Home
last modified time | relevance | path

Searched refs:callerPid (Results 1 – 25 of 25) 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/core/java/android/app/
DActivityManagerInternal.java251 public abstract void tempWhitelistForPendingIntent(int callerPid, int callerUid, int targetUid, in tempWhitelistForPendingIntent() argument
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java143 int callerPid; field in TelephonyRegistry.Record
166 context, subId, callerPid, callerUid, callingPackage, callingFeatureId); in canReadCallLog()
653 r.callerPid = Binder.getCallingPid(); in addOnSubscriptionsChangedListener()
707 r.callerPid = Binder.getCallingPid(); in addOnOpportunisticSubscriptionsChangedListener()
841 r.callerPid = Binder.getCallingPid(); in listen()
1138 if (r.callerPid == callingPid) { in add()
2741 .setCallingPid(r.callerPid) in checkFineLocationAccess()
2759 .setCallingPid(r.callerPid) in checkCoarseLocationAccess()
DConnectivityService.java1675 NetworkCapabilities nc, int callerPid, int callerUid) { in networkCapabilitiesRestrictedForCallerPermissions() argument
1677 if (!checkSettingsPermission(callerPid, callerUid)) { in networkCapabilitiesRestrictedForCallerPermissions()
1723 LinkProperties lp, int callerPid, int callerUid) { in linkPropertiesRestrictedForCallerPermissions() argument
1733 if (checkSettingsPermission(callerPid, callerUid)) { in linkPropertiesRestrictedForCallerPermissions()
5413 int callerPid, int callerUid, String callerPackageName) { in ensureSufficientPermissionsForRequest() argument
5414 if (null != nc.getSsid() && !checkSettingsPermission(callerPid, callerUid)) { in ensureSufficientPermissionsForRequest()
5419 && !checkNetworkSignalStrengthWakeupPermission(callerPid, callerUid)) { in ensureSufficientPermissionsForRequest()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java554 private MediaSessionRecord createSessionInternal(int callerPid, int callerUid, int userId, in createSessionInternal() argument
558 return createSessionLocked(callerPid, callerUid, userId, callerPackageName, cb, in createSessionInternal()
570 private MediaSessionRecord createSessionLocked(int callerPid, int callerUid, int userId, in createSessionLocked() argument
578 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.java17267 void tempWhitelistForPendingIntentLocked(int callerPid, int callerUid, int targetUid, in tempWhitelistForPendingIntentLocked() argument
17270 Slog.d(TAG, "tempWhitelistForPendingIntentLocked(" + callerPid + ", " + callerUid + ", " in tempWhitelistForPendingIntentLocked()
17275 final ProcessRecord pr = mPidsSelfLocked.get(callerPid); in tempWhitelistForPendingIntentLocked()
17278 + callerPid); in tempWhitelistForPendingIntentLocked()
17282 if (checkPermission(CHANGE_DEVICE_IDLE_TEMP_WHITELIST, callerPid, callerUid) in tempWhitelistForPendingIntentLocked()
17286 + ": pid " + callerPid + " is not allowed"); in tempWhitelistForPendingIntentLocked()
18322 public void tempWhitelistForPendingIntent(int callerPid, int callerUid, int targetUid, in tempWhitelistForPendingIntent() argument
18326 callerPid, callerUid, targetUid, duration, tag); in tempWhitelistForPendingIntent()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt2747 field public static final java.lang.String KEY_CALLER_PID = "callerPid";
/frameworks/base/non-updatable-api/
Dcurrent.txt3112 field public static final String KEY_CALLER_PID = "callerPid";
/frameworks/base/api/
Dcurrent.txt3112 field public static final String KEY_CALLER_PID = "callerPid";