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.java95 IBinder performDrag(SurfaceSession session, int callerPid, int callerUid, IWindow window, in performDrag() argument
150 mDragState.mPid = callerPid; in performDrag()
DSession.java318 final int callerPid = Binder.getCallingPid(); in performDrag() local
322 return mDragDropController.performDrag(mSurfaceSession, callerPid, callerUid, window, in performDrag()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java666 private MediaSessionRecord createSessionInternal(int callerPid, int callerUid, int userId, in createSessionInternal() argument
669 return createSessionLocked(callerPid, callerUid, userId, callerPackageName, cb, tag); in createSessionInternal()
680 private MediaSessionRecord createSessionLocked(int callerPid, int callerUid, int userId, in createSessionLocked() argument
688 final MediaSessionRecord session = new MediaSessionRecord(callerPid, callerUid, userId, in createSessionLocked()
1753 int callerPid, int callerUid) throws RemoteException { in verifySessionsRequest2() argument
1755 int resolvedUserId = ActivityManager.handleIncomingUser(callerPid, callerUid, in verifySessionsRequest2()
1761 resolvedUserId, callerPackageName, callerPid, callerUid)) { in verifySessionsRequest2()
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java104 int callerPid; field in TelephonyRegistry.Record
123 context, subId, callerPid, callerUid, callingPackage); in canReadCallLog()
402 r.callerPid = Binder.getCallingPid(); in addOnSubscriptionsChangedListener()
501 r.callerPid = Binder.getCallingPid(); in listen()
1792 r.callingPackage, r.callerUid, r.callerPid, in checkLocationAccess()
DConnectivityService.java1421 NetworkCapabilities nc, int callerPid, int callerUid) { in networkCapabilitiesRestrictedForCallerPermissions() argument
1423 if (!checkSettingsPermission(callerPid, callerUid)) { in networkCapabilitiesRestrictedForCallerPermissions()
4291 int callerPid, int callerUid) { in ensureSufficientPermissionsForRequest() argument
4292 if (null != nc.getSSID() && !checkSettingsPermission(callerPid, callerUid)) { in ensureSufficientPermissionsForRequest()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java25681 void tempWhitelistForPendingIntentLocked(int callerPid, int callerUid, int targetUid, in tempWhitelistForPendingIntentLocked() argument
25684 Slog.d(TAG, "tempWhitelistForPendingIntentLocked(" + callerPid + ", " + callerUid + ", " in tempWhitelistForPendingIntentLocked()
25689 final ProcessRecord pr = mPidsSelfLocked.get(callerPid); in tempWhitelistForPendingIntentLocked()
25692 + callerPid); in tempWhitelistForPendingIntentLocked()
25696 if (checkPermission(CHANGE_DEVICE_IDLE_TEMP_WHITELIST, callerPid, callerUid) in tempWhitelistForPendingIntentLocked()
25700 + ": pid " + callerPid + " is not allowed"); in tempWhitelistForPendingIntentLocked()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt2747 field public static final java.lang.String KEY_CALLER_PID = "callerPid";
/frameworks/base/api/
Dcurrent.txt3060 field public static final java.lang.String KEY_CALLER_PID = "callerPid";