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/audio/
DFocusRequester.java49 private final int mCallingUid; field in FocusRequester
98 mCallingUid = uid; in FocusRequester()
112 mCallingUid = afi.getClientUid(); in FocusRequester()
154 return mCallingUid == uid; in hasSameUid()
158 return mCallingUid; in getClientUid()
236 + " -- uid: " + mCallingUid in dump()
376 if (fr.mCallingUid != this.mCallingUid) { in handleFocusLoss()
382 Log.v(TAG, "not ducking uid " + this.mCallingUid + " - flags"); in handleFocusLoss()
387 Log.v(TAG, "not ducking uid " + this.mCallingUid + " - old SDK"); in handleFocusLoss()
452 return new AudioFocusInfo(mAttributes, mCallingUid, mClientId, mPackageName, in toAudioFocusInfo()
/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()
156 mCallingUid = mRealCallingUid; in interceptSuspendPackageIfNeed()
177 mCallingUid = mRealCallingUid; in interceptWorkProfileChallengeIfNeeded()
DActivityStarter.java156 private int mCallingUid; field in ActivityStarter
211 mCallingUid = -1; in reset()
458 callingUid = mInterceptor.mCallingUid; in startActivity()
1093 top.deliverNewIntentLocked(mCallingUid, mStartActivity.intent, in startActivityUnchecked()
1168 mCallingUid, mStartActivity.intent, mStartActivity.launchedFromPackage); in startActivityUnchecked()
1202 mService.grantUriPermissionFromIntentLocked(mCallingUid, mStartActivity.packageName, in startActivityUnchecked()
1205 mStartActivity.appInfo.uid, UserHandle.getAppId(mCallingUid)); in startActivityUnchecked()
1269 mCallingUid = r.launchedFromUid; in setInitialState()
1747 intentActivity.deliverNewIntentLocked(mCallingUid, mStartActivity.intent, in setTaskFromIntentActivity()
1872 …top.deliverNewIntentLocked(mCallingUid, mStartActivity.intent, mStartActivity.launchedFromPackage); in setTaskFromSourceRecord()
[all …]
DTaskRecord.java297 int mCallingUid; field in TaskRecord
343 mCallingUid = info.applicationInfo.uid; in TaskRecord()
366 mCallingUid = info.applicationInfo.uid; in TaskRecord()
430 mCallingUid = callingUid; in TaskRecord()
793 mCallingUid = r.launchedFromUid; in setIntent()
1237 mCallingUid = r.launchedFromUid; in addActivityAtIndex()
1745 out.attribute(null, ATTR_CALLING_UID, String.valueOf(mCallingUid)); in saveToXml()
2242 pw.print(" mCallingUid="); UserHandle.formatUid(pw, mCallingUid); in dump()
DAppErrors.java410 mService.startActivityInPackage(task.mCallingUid, in crashApplicationInner()
DActivityStackSupervisor.java5189 callingUid = task.mCallingUid; in startActivityFromRecentsInner()
DActivityManagerService.java24211 private int mCallingUid;
24215 mCallingUid = callingUid;
24219 if (mCallingUid != Binder.getCallingUid()) {
24220 throw new SecurityException("Caller " + mCallingUid
/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/core/java/android/accounts/
DChooseTypeAndAccountActivity.java134 private int mCallingUid; field in ChooseTypeAndAccountActivity
150 mCallingUid = ActivityManager.getService().getLaunchedFromUid(activityToken); in onCreate()
153 if (mCallingUid != 0 && mCallingPackage != null) { in onCreate()
155 .getUserRestrictions(new UserHandle(UserHandle.getUserId(mCallingUid))); in onCreate()
353 mCallingPackage, mCallingUid); in onActivityResult()
406 mCallingUid); in run()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionSessionConnection.java78 final int mCallingUid; field in VoiceInteractionSessionConnection
182 mCallingUid = callingUid; in VoiceInteractionSessionConnection()
253 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.cpp365 return mCallingUid; in getCallingUid()
370 int64_t token = ((int64_t)mCallingUid<<32) | mCallingPid; in clearCallingIdentity()
397 mCallingUid = (int)(token>>32); in restoreCallingIdentity()
404 mCallingUid = getuid(); in clearCaller()
1052 const uid_t origUid = mCallingUid; in executeCommand()
1057 mCallingUid = tr.sender_euid; in executeCommand()
1103 mCallingUid = origUid; in executeCommand()
/frameworks/native/libs/binder/include/binder/
DIPCThreadState.h126 uid_t mCallingUid; variable
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionSession.java322 final int mCallingUid; field in VoiceInteractionSession.Request
330 mCallingUid = uid; in Request()
340 return mCallingUid; in getCallingUid()
409 UserHandle.formatUid(sb, mCallingUid); in toString()
418 writer.print(" mCallingUid="); UserHandle.formatUid(writer, mCallingUid); in dump()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionRecord.java120 private int mCallingUid = UID_NOT_SET; field in MediaSessionRecord
708 if (mCallingUid == UID_NOT_SET || mCallingUid != uid) { in updateCallingPackage()
709 mCallingUid = uid; in updateCallingPackage()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java616 private Integer mCallingUid = null; field in TvInputHardwareManager.Connection
639 mCallingUid = callingUid; in resetLocked()
681 return mCallingUid; in getCallingUidLocked()
709 + ", mCallingUid: " + mCallingUid in toString()
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java3660 private final int mCallingUid; field in StorageManagerService.MountObbAction
3665 mCallingUid = callingUid; in MountObbAction()
3675 if (!isUidOwnerOfPackageOrSystem(obbInfo.packageName, mCallingUid)) { in handleExecute()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java4044 private final int mCallingUid;
4059 mCallingUid = callingUid;
4068 mCallingUid, mPackageName, mIncludeManagedNotVisible);