Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/audio/
DFocusRequester.java50 private final int mCallingUid; field in FocusRequester
99 mCallingUid = uid; in FocusRequester()
113 mCallingUid = afi.getClientUid(); in FocusRequester()
155 return mCallingUid == uid; in hasSameUid()
159 return mCallingUid; in getClientUid()
237 + " -- uid: " + mCallingUid in dump()
378 if (frWinner.mCallingUid != this.mCallingUid) { in handleFocusLoss()
384 Log.v(TAG, "not ducking uid " + this.mCallingUid + " - flags"); in handleFocusLoss()
390 Log.v(TAG, "not ducking uid " + this.mCallingUid + " - old SDK"); in handleFocusLoss()
472 return new AudioFocusInfo(mAttributes, mCallingUid, mClientId, mPackageName, in toAudioFocusInfo()
/frameworks/base/services/core/java/com/android/server/am/
DActivityStartInterceptor.java95 int mCallingUid; field in ActivityStartInterceptor
150 mCallingUid = callingUid; in intercept()
196 IntentSender target = createIntentSenderForOriginalIntent(mCallingUid, in interceptQuietProfileIfNeeded()
201 mCallingUid = mRealCallingUid; in interceptQuietProfileIfNeeded()
220 mCallingUid = mRealCallingUid; in interceptSuspendedByAdminPackage()
254 mCallingUid = mRealCallingUid; in interceptSuspendedPackageIfNeeded()
268 mCallingUid = mRealCallingUid; in interceptWorkProfileChallengeIfNeeded()
332 final IntentSender target = createIntentSenderForOriginalIntent(mCallingUid, in interceptHarmfulAppIfNeeded()
339 mCallingUid = mRealCallingUid; in interceptHarmfulAppIfNeeded()
DAppTaskImpl.java41 private int mCallingUid; field in AppTaskImpl
46 mCallingUid = callingUid; in AppTaskImpl()
50 if (mCallingUid != Binder.getCallingUid()) { in checkCaller()
51 throw new SecurityException("Caller " + mCallingUid in checkCaller()
DActivityStarter.java143 private int mCallingUid; field in ActivityStarter
430 mCallingUid = starter.mCallingUid; in set()
755 callingUid = mInterceptor.mCallingUid; in startActivity()
1425 mService.grantUriPermissionFromIntentLocked(mCallingUid, mStartActivity.packageName, in startActivityUnchecked()
1428 mStartActivity.appInfo.uid, UserHandle.getAppId(mCallingUid)); in startActivityUnchecked()
1487 mCallingUid = -1; in reset()
1534 mCallingUid = r.launchedFromUid; in setInitialState()
2089 activity.deliverNewIntentLocked(mCallingUid, mStartActivity.intent, in deliverNewIntent()
DTaskRecord.java294 int mCallingUid; field in TaskRecord
336 mCallingUid = info.applicationInfo.uid; in TaskRecord()
359 mCallingUid = info.applicationInfo.uid; in TaskRecord()
415 mCallingUid = callingUid; in TaskRecord()
791 mCallingUid = r.launchedFromUid; in setIntent()
1232 mCallingUid = r.launchedFromUid; in addActivityAtIndex()
1935 pw.print(" mCallingUid="); UserHandle.formatUid(pw, mCallingUid); in dump()
2153 out.attribute(null, ATTR_CALLING_UID, String.valueOf(mCallingUid)); in saveToXml()
DAppErrors.java483 task.mCallingUid, callingPid, callingUid, task.mCallingPackage, in crashApplicationInner()
DActivityStackSupervisor.java4843 task.mCallingUid, callingPid, callingUid, callingPackage, intent, null, null, in startActivityFromRecents()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsObservers.java176 if (Process.SYSTEM_UID != callingUid && requestInfo.mCallingUid != callingUid) { in handleUnregister()
232 protected final int mCallingUid; field in NetworkStatsObservers.RequestInfo
244 mCallingUid = callingUid; in RequestInfo()
264 return "RequestInfo from uid:" + mCallingUid in toString()
368 mAccessLevel, mCallingUid); in getTotalBytesForNetwork()
382 int[] uidsToMonitor = mCollection.getRelevantUids(mAccessLevel, mCallingUid); in checkStats()
413 mAccessLevel, mCallingUid); in getTotalBytesForNetworkUid()
417 Slog.w(TAG, "CallerUid " + mCallingUid + " may have lost access to uid " in getTotalBytesForNetworkUid()
DNetworkStatsService.java564 private final int mCallingUid = callingUid; in openSessionInternal()
599 mCallingUid); in openSessionInternal()
606 mCallingUid); in openSessionInternal()
612 mCallingUid); in openSessionInternal()
620 .getSummary(template, start, end, mAccessLevel, mCallingUid); in openSessionInternal()
623 .getSummary(template, start, end, mAccessLevel, mCallingUid); in openSessionInternal()
640 Long.MIN_VALUE, Long.MAX_VALUE, mAccessLevel, mCallingUid); in openSessionInternal()
643 Long.MIN_VALUE, Long.MAX_VALUE, mAccessLevel, mCallingUid); in openSessionInternal()
654 start, end, mAccessLevel, mCallingUid); in openSessionInternal()
657 start, end, mAccessLevel, mCallingUid); in openSessionInternal()
/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/base/core/java/android/accounts/
DChooseAccountActivity.java53 private int mCallingUid; field in ChooseAccountActivity
75 mCallingUid = ActivityManager.getService().getLaunchedFromUid(activityToken); in onCreate()
83 if (UserHandle.isSameApp(mCallingUid, Process.SYSTEM_UID) && in onCreate()
89 if (!UserHandle.isSameApp(mCallingUid, Process.SYSTEM_UID) && in onCreate()
92 "Non-system Uid: " + mCallingUid + " tried to override packageName \n"); in onCreate() local
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/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/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionSessionConnection.java81 final int mCallingUid; field in VoiceInteractionSessionConnection
140 mCallingUid = callingUid; in VoiceInteractionSessionConnection()
207 mCallingUid, mSessionComponentName.getPackageName()); in showLocked()
266 mCallingUid, mSessionComponentName.getPackageName()); in onAssistDataReceivedLocked()
272 uid, mCallingUid, mSessionComponentName.getPackageName()); in onAssistDataReceivedLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DCrossProfileAppsServiceImplTest.java376 private int mCallingUid; field in CrossProfileAppsServiceImplTest.TestInjector
380 mCallingUid = uid; in setCallingUid()
389 return mCallingUid; in getCallingUid()
/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()
1093 const uid_t origUid = mCallingUid; in executeCommand()
1098 mCallingUid = tr.sender_euid; in executeCommand()
1144 mCallingUid = origUid; in executeCommand()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvisioner.java53 private int mCallingUid; field in PasspointProvisioner
102 mCallingUid = callingUid; in startSubscriptionProvisioning()
/frameworks/native/libs/binder/include/binder/
DIPCThreadState.h128 uid_t mCallingUid; variable
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionSession.java311 final int mCallingUid; field in VoiceInteractionSession.Request
319 mCallingUid = uid; in Request()
329 return mCallingUid; in getCallingUid()
398 UserHandle.formatUid(sb, mCallingUid); in toString()
407 writer.print(" mCallingUid="); UserHandle.formatUid(writer, mCallingUid); in dump()
/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/
DAppOpsService.java447 final int mCallingUid; field in AppOpsService.ModeCallback
455 mCallingUid = callingUid; in ModeCallback()
477 UserHandle.formatUid(sb, mCallingUid); in toString()
497 final int mCallingUid; field in AppOpsService.ActiveCallback
504 mCallingUid = callingUid; in ActiveCallback()
520 UserHandle.formatUid(sb, mCallingUid); in toString()
DStorageManagerService.java3264 private final int mCallingUid; field in StorageManagerService.MountObbAction
3269 mCallingUid = callingUid; in MountObbAction()
3278 if (!isUidOwnerOfPackageOrSystem(obbInfo.packageName, mCallingUid)) { in handleExecute()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java4079 private final int mCallingUid;
4094 mCallingUid = callingUid;
4103 mCallingUid, mPackageName, mIncludeManagedNotVisible);