Home
last modified time | relevance | path

Searched refs:mCallingUid (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DActivityStartInterceptor.java76 int mCallingUid; field in ActivityStartInterceptor
102 mCallingUid = callingUid; in intercept()
127 INTENT_SENDER_ACTIVITY, mCallingPackage, mCallingUid, mUserId, null, null, 0, in interceptQuietProfileIfNeeded()
134 mCallingUid = mRealCallingUid; in interceptQuietProfileIfNeeded()
157 mCallingUid = mRealCallingUid; in interceptSuspendPackageIfNeed()
178 mCallingUid = mRealCallingUid; in interceptWorkProfileChallengeIfNeeded()
DActivityStarter.java150 private int mCallingUid; field in ActivityStarter
189 mCallingUid = -1; in reset()
403 callingUid = mInterceptor.mCallingUid; in startActivityLocked()
1085 top.deliverNewIntentLocked(mCallingUid, mStartActivity.intent, in startActivityUnchecked()
1145 mCallingUid, mStartActivity.intent, mStartActivity.launchedFromPackage); in startActivityUnchecked()
1204 mService.grantUriPermissionFromIntentLocked(mCallingUid, mStartActivity.packageName, in startActivityUnchecked()
1265 mCallingUid = r.launchedFromUid; in setInitialState()
1668 intentActivity.deliverNewIntentLocked(mCallingUid, mStartActivity.intent, in setTaskFromIntentActivity()
1767 …top.deliverNewIntentLocked(mCallingUid, mStartActivity.intent, mStartActivity.launchedFromPackage); in setTaskFromSourceRecord()
1786 …top.deliverNewIntentLocked(mCallingUid, mStartActivity.intent, mStartActivity.launchedFromPackage); in setTaskFromSourceRecord()
[all …]
DTaskRecord.java243 int mCallingUid; field in TaskRecord
287 mCallingUid = info.applicationInfo.uid; in TaskRecord()
308 mCallingUid = info.applicationInfo.uid; in TaskRecord()
371 mCallingUid = callingUid; in TaskRecord()
392 mCallingUid = r.launchedFromUid; in setIntent()
770 mCallingUid = r.launchedFromUid; in addActivityAtIndex()
1176 out.attribute(null, ATTR_CALLING_UID, String.valueOf(mCallingUid)); in saveToXml()
1689 pw.print(" mCallingUid="); UserHandle.formatUid(pw, mCallingUid); in dump()
DAppErrors.java387 mService.startActivityInPackage(task.mCallingUid, in crashApplicationInner()
DActivityStackSupervisor.java4546 callingUid = task.mCallingUid; in startActivityFromRecentsInner()
DActivityManagerService.java22150 private int mCallingUid; field in AppTaskImpl
22154 mCallingUid = callingUid; in AppTaskImpl()
22158 if (mCallingUid != Binder.getCallingUid()) { in checkCaller()
22159 throw new SecurityException("Caller " + mCallingUid in checkCaller()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsObservers.java180 if (Process.SYSTEM_UID != callingUid && requestInfo.mCallingUid != callingUid) { in handleUnregister()
236 protected final int mCallingUid; field in NetworkStatsObservers.RequestInfo
248 mCallingUid = callingUid; in RequestInfo()
268 return "RequestInfo from uid:" + mCallingUid in toString()
372 mAccessLevel, mCallingUid); in getTotalBytesForNetwork()
386 int[] uidsToMonitor = mCollection.getRelevantUids(mAccessLevel, mCallingUid); in checkStats()
417 mAccessLevel, mCallingUid); in getTotalBytesForNetworkUid()
421 Slog.w(TAG, "CallerUid " + mCallingUid + " may have lost access to uid " in getTotalBytesForNetworkUid()
/frameworks/base/core/java/android/speech/
DRecognitionService.java82 dispatchStartListening(args.mIntent, args.mListener, args.mCallingUid);
160 public final int mCallingUid; field in RecognitionService.StartListeningArgs
165 this.mCallingUid = callingUid; in StartListeningArgs()
234 private final int mCallingUid; field in RecognitionService.Callback
238 mCallingUid = callingUid; in Callback()
329 return mCallingUid; in getCallingUid()
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipProfile.java63 private transient int mCallingUid = 0; field in SipProfile
320 mCallingUid = in.readInt(); in SipProfile()
335 out.writeInt(mCallingUid); in writeToParcel()
486 mCallingUid = uid; in setCallingUid()
494 return mCallingUid; in getCallingUid()
/frameworks/base/services/core/java/com/android/server/audio/
DFocusRequester.java48 private final int mCallingUid; field in FocusRequester
91 mCallingUid = uid; in FocusRequester()
124 return mCallingUid == uid; in hasSameUid()
198 + " -- uid: " + mCallingUid in dump()
/frameworks/base/core/java/android/accounts/
DChooseTypeAndAccountActivity.java128 private int mCallingUid; field in ChooseTypeAndAccountActivity
144 mCallingUid = ActivityManagerNative.getDefault().getLaunchedFromUid(activityToken); in onCreate()
147 if (mCallingUid != 0 && mCallingPackage != null) { in onCreate()
149 .getUserRestrictions(new UserHandle(UserHandle.getUserId(mCallingUid))); in onCreate()
325 mCallingPackage, mCallingUid); in onActivityResult()
377 mCallingUid); in run()
483 mCallingUid); in getAcceptableAccountChoices()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionSessionConnection.java76 final int mCallingUid; field in VoiceInteractionSessionConnection
180 mCallingUid = callingUid; in VoiceInteractionSessionConnection()
252 if (mAppOps.noteOpNoThrow(AppOpsManager.OP_ASSIST_STRUCTURE, mCallingUid, in showLocked()
289 if (mAppOps.noteOpNoThrow(AppOpsManager.OP_ASSIST_SCREENSHOT, mCallingUid, in showLocked()
431 mCallingUid, mSessionComponentName.getPackageName()); in deliverSessionDataLocked()
438 uid, mCallingUid, mSessionComponentName.getPackageName()); in deliverSessionDataLocked()
/frameworks/native/libs/binder/
DIPCThreadState.cpp361 return mCallingUid; in getCallingUid()
366 int64_t token = ((int64_t)mCallingUid<<32) | mCallingPid; in clearCallingIdentity()
393 mCallingUid = (int)(token>>32); in restoreCallingIdentity()
400 mCallingUid = getuid(); in clearCaller()
1063 const uid_t origUid = mCallingUid; in executeCommand()
1068 mCallingUid = tr.sender_euid; in executeCommand()
1134 mCallingUid = origUid; in executeCommand()
/frameworks/native/include/binder/
DIPCThreadState.h126 uid_t mCallingUid; variable
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionSession.java319 final int mCallingUid; field in VoiceInteractionSession.Request
327 mCallingUid = uid; in Request()
337 return mCallingUid; in getCallingUid()
406 UserHandle.formatUid(sb, mCallingUid); in toString()
415 writer.print(" mCallingUid="); UserHandle.formatUid(writer, mCallingUid); in dump()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionRecord.java127 private int mCallingUid = UID_NOT_SET; field in MediaSessionRecord
699 if (mCallingUid == UID_NOT_SET || mCallingUid != uid) { in updateCallingPackage()
700 mCallingUid = uid; in updateCallingPackage()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java622 private Integer mCallingUid = null; field in TvInputHardwareManager.Connection
645 mCallingUid = callingUid; in resetLocked()
687 return mCallingUid; in getCallingUidLocked()
715 + ", mCallingUid: " + mCallingUid in toString()
/frameworks/base/services/core/java/com/android/server/
DMountService.java3420 private final int mCallingUid;
3425 mCallingUid = callingUid;
3435 if (!isUidOwnerOfPackageOrSystem(obbInfo.packageName, mCallingUid)) {
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java3601 private final int mCallingUid;
3608 mCallingUid = callingUid;
3615 mAccountsOfType = getAccountsFromCacheLocked(mAccounts, mAccountType, mCallingUid,