Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/audio/
DFocusRequester.java50 private final int mCallingUid; field in FocusRequester
100 mCallingUid = uid; in FocusRequester()
114 mCallingUid = afi.getClientUid(); in FocusRequester()
148 return mCallingUid == uid; in hasSameUid()
152 return mCallingUid; in getClientUid()
230 + " -- uid: " + mCallingUid in dump()
371 if (frWinner.mCallingUid != this.mCallingUid) { in handleFocusLoss()
377 Log.v(TAG, "not ducking uid " + this.mCallingUid + " - flags"); in handleFocusLoss()
383 Log.v(TAG, "not ducking uid " + this.mCallingUid + " - old SDK"); in handleFocusLoss()
465 return new AudioFocusInfo(mAttributes, mCallingUid, mClientId, mPackageName, in toAudioFocusInfo()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStartInterceptor.java96 int mCallingUid; field in ActivityStartInterceptor
152 mCallingUid = callingUid; in intercept()
198 IntentSender target = createIntentSenderForOriginalIntent(mCallingUid, in interceptQuietProfileIfNeeded()
203 mCallingUid = mRealCallingUid; in interceptQuietProfileIfNeeded()
222 mCallingUid = mRealCallingUid; in interceptSuspendedByAdminPackage()
256 mCallingUid = mRealCallingUid; in interceptSuspendedPackageIfNeeded()
270 mCallingUid = mRealCallingUid; in interceptWorkProfileChallengeIfNeeded()
299 final IntentSender target = createIntentSenderForOriginalIntent(mCallingUid, in interceptWithConfirmCredentialsIfNeeded()
327 final IntentSender target = createIntentSenderForOriginalIntent(mCallingUid, in interceptHarmfulAppIfNeeded()
334 mCallingUid = mRealCallingUid; in interceptHarmfulAppIfNeeded()
DAppTaskImpl.java42 private int mCallingUid; field in AppTaskImpl
47 mCallingUid = callingUid; in AppTaskImpl()
51 if (mCallingUid != Binder.getCallingUid()) { in checkCaller()
52 throw new SecurityException("Caller " + mCallingUid in checkCaller()
DActivityStarter.java157 private int mCallingUid; field in ActivityStarter
457 mCallingUid = starter.mCallingUid; in set()
812 callingUid = mInterceptor.mCallingUid; in startActivity()
1684 mService.mUgmInternal.grantUriPermissionFromIntent(mCallingUid, mStartActivity.packageName, in startActivityUnchecked()
1688 UserHandle.getAppId(mCallingUid)); in startActivityUnchecked()
1749 mCallingUid = -1; in reset()
1798 mCallingUid = r.launchedFromUid; in setInitialState()
2299 if (mRestrictedBgActivity && (mReuseTask == null || !mReuseTask.containsAppUid(mCallingUid)) in setTaskFromReuseOrCreateNewTask()
2347 activity.deliverNewIntentLocked(mCallingUid, mStartActivity.intent, in deliverNewIntent()
2361 if (mRestrictedBgActivity && !sourceTask.containsAppUid(mCallingUid)) { in setTaskFromSourceRecord()
[all …]
DTaskRecord.java304 int mCallingUid; field in TaskRecord
356 mCallingUid = info.applicationInfo.uid; in TaskRecord()
380 mCallingUid = info.applicationInfo.uid; in TaskRecord()
436 mCallingUid = callingUid; in TaskRecord()
872 mCallingUid = r.launchedFromUid; in setIntent()
1322 mCallingUid = r.launchedFromUid; in addActivityAtIndex()
2424 pw.print(" mCallingUid="); UserHandle.formatUid(pw, mCallingUid); in dump()
2647 out.attribute(null, ATTR_CALLING_UID, String.valueOf(mCallingUid)); in saveToXml()
DActivityStackSupervisor.java2793 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.java583 private final int mCallingUid = callingUid; in openSessionInternal()
618 mCallingUid); in openSessionInternal()
625 mCallingUid); in openSessionInternal()
631 mCallingUid); in openSessionInternal()
639 .getSummary(template, start, end, mAccessLevel, mCallingUid); in openSessionInternal()
642 .getSummary(template, start, end, mAccessLevel, mCallingUid); in openSessionInternal()
659 Long.MIN_VALUE, Long.MAX_VALUE, mAccessLevel, mCallingUid); in openSessionInternal()
662 Long.MIN_VALUE, Long.MAX_VALUE, mAccessLevel, mCallingUid); in openSessionInternal()
673 start, end, mAccessLevel, mCallingUid); in openSessionInternal()
676 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()
244 private final int mCallingUid; field in RecognitionService.Callback
248 mCallingUid = callingUid; in Callback()
339 return mCallingUid; in getCallingUid()
/frameworks/base/core/java/android/accounts/
DChooseAccountActivity.java54 private int mCallingUid; field in ChooseAccountActivity
76 mCallingUid = ActivityTaskManager.getService().getLaunchedFromUid(activityToken); in onCreate()
84 if (UserHandle.isSameApp(mCallingUid, Process.SYSTEM_UID) && in onCreate()
90 if (!UserHandle.isSameApp(mCallingUid, Process.SYSTEM_UID) && in onCreate()
93 "Non-system Uid: " + mCallingUid + " tried to override packageName \n"); in onCreate() local
DChooseTypeAndAccountActivity.java135 private int mCallingUid; field in ChooseTypeAndAccountActivity
151 mCallingUid = ActivityTaskManager.getService().getLaunchedFromUid(activityToken); in onCreate()
154 if (mCallingUid != 0 && mCallingPackage != null) { in onCreate()
156 .getUserRestrictions(new UserHandle(UserHandle.getUserId(mCallingUid))); in onCreate()
354 mCallingPackage, mCallingUid); in onActivityResult()
407 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/telephony/java/android/telephony/
DLocationAccessPolicy.java83 private int mCallingUid; field in LocationAccessPolicy.LocationPermissionQuery.Builder
102 mCallingUid = callingUid; in setCallingUid()
151 return new LocationPermissionQuery(mCallingPackage, mCallingUid, in build()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionSessionConnection.java87 final int mCallingUid; field in VoiceInteractionSessionConnection
147 mCallingUid = callingUid; in VoiceInteractionSessionConnection()
212 mCallingUid, mSessionComponentName.getPackageName()); in showLocked()
276 mCallingUid, mSessionComponentName.getPackageName()); in onAssistDataReceivedLocked()
282 uid, mCallingUid, mSessionComponentName.getPackageName()); in onAssistDataReceivedLocked()
/frameworks/native/libs/binder/
DIPCThreadState.cpp376 return mCallingUid; in getCallingUid()
382 int64_t token = ((int64_t)mCallingUid<<32) | mCallingPid; in clearCallingIdentity()
451 mCallingUid = (int)(token>>32); in restoreCallingIdentity()
460 mCallingUid = getuid(); in clearCaller()
1176 const uid_t origUid = mCallingUid; in executeCommand()
1189 mCallingUid = tr.sender_euid; in executeCommand()
1238 mCallingUid = origUid; in executeCommand()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DCrossProfileAppsServiceImplTest.java517 private int mCallingUid; field in CrossProfileAppsServiceImplTest.TestInjector
521 mCallingUid = uid; in setCallingUid()
530 return mCallingUid; in getCallingUid()
/frameworks/native/libs/binder/include/binder/
DIPCThreadState.h184 uid_t mCallingUid; variable
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionSession.java374 final int mCallingUid; field in VoiceInteractionSession.Request
382 mCallingUid = uid; in Request()
392 return mCallingUid; in getCallingUid()
461 UserHandle.formatUid(sb, mCallingUid); in toString()
470 writer.print(" mCallingUid="); UserHandle.formatUid(writer, mCallingUid); in dump()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java613 private Integer mCallingUid = null; field in TvInputHardwareManager.Connection
636 mCallingUid = callingUid; in resetLocked()
678 return mCallingUid; in getCallingUidLocked()
706 + ", mCallingUid: " + mCallingUid in toString()
/frameworks/base/services/core/java/com/android/server/biometrics/
DBiometricService.java159 final int mCallingUid; field in BiometricService.AuthSession
191 mCallingUid = callingUid; in AuthSession()
1388 mCurrentAuthSession.mCallingUid, in handleOnTryAgainPressed()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvisioner.java88 private int mCallingUid; field in PasspointProvisioner
152 mCallingUid = callingUid; in startSubscriptionProvisioning()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java551 final int mCallingUid; field in AppOpsService.ModeCallback
559 mCallingUid = callingUid; in ModeCallback()
582 UserHandle.formatUid(sb, mCallingUid); in toString()
602 final int mCallingUid; field in AppOpsService.ActiveCallback
609 mCallingUid = callingUid; in ActiveCallback()
626 UserHandle.formatUid(sb, mCallingUid); in toString()
646 final int mCallingUid; field in AppOpsService.NotedCallback
653 mCallingUid = callingUid; in NotedCallback()
670 UserHandle.formatUid(sb, mCallingUid); in toString()
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java3447 private final int mCallingUid; field in StorageManagerService.MountObbAction
3453 mCallingUid = callingUid; in MountObbAction()
3461 if (!isUidOwnerOfPackageOrSystem(mObbInfo.packageName, mCallingUid)) { in handleExecute()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java4078 private final int mCallingUid;
4093 mCallingUid = callingUid;
4102 mCallingUid, mPackageName, mIncludeManagedNotVisible);
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java5194 private final int mCallingUid;
5213 this.mCallingUid = callingUid;
5232 EventLogTags.writeNotificationCancel(mCallingUid, mCallingPid, mPkg, mId, mTag,
5267 cancelGroupChildrenLocked(r, mCallingUid, mCallingPid, listenerName,

12