Home
last modified time | relevance | path

Searched refs:mTargetUserId (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/services/usage/java/com/android/server/usage/
DBroadcastEvent.java32 private int mTargetUserId; field in BroadcastEvent
40 mTargetUserId = targetUserId; in BroadcastEvent()
54 return mTargetUserId; in getTargetUserId()
80 && this.mTargetUserId == other.mTargetUserId in equals()
86 return Objects.hash(mSourceUid, mTargetPackage, mTargetUserId, in hashCode()
95 + ",tgtUser=" + mTargetUserId in toString()
/frameworks/base/services/core/java/com/android/server/pm/
DCrossProfileDomainInfo.java28 final int mTargetUserId; field in CrossProfileDomainInfo
34 this.mTargetUserId = targetUserId; in CrossProfileDomainInfo()
40 this.mTargetUserId = UserHandle.USER_CURRENT; // default as current user in CrossProfileDomainInfo()
48 + ", targetUserId= " + mTargetUserId in toString()
DCrossProfileIntentFilter.java101 final int mTargetUserId; field in CrossProfileIntentFilter
128 mTargetUserId = targetUserId;
148 mTargetUserId = f.mTargetUserId;
156 return mTargetUserId;
172 mTargetUserId = parser.getAttributeInt(null, ATTR_TARGET_USER_ID, UserHandle.USER_NULL);
222 serializer.attributeInt(null, ATTR_TARGET_USER_ID, mTargetUserId);
234 + " " + Integer.toString(mTargetUserId) + "}";
238 return mTargetUserId == other.mTargetUserId
DCrossProfileIntentResolverEngine.java165 .contains(crossProfileIntentFilter.mTargetUserId)) { in resolveIntentInternal()
166 crossProfileIntentFiltersByUser.put(crossProfileIntentFilter.mTargetUserId, in resolveIntentInternal()
169 crossProfileIntentFiltersByUser.get(crossProfileIntentFilter.mTargetUserId) in resolveIntentInternal()
315 if (crossProfileIntentFilter.mTargetUserId == targetUserId) { in canReachToInternal()
318 if (visitedUserIds.contains(crossProfileIntentFilter.mTargetUserId)) { in canReachToInternal()
330 visitedUserIds.add(crossProfileIntentFilter.mTargetUserId); in canReachToInternal()
332 crossProfileIntentFilter.mTargetUserId, targetUserId, visitedUserIds)) { in canReachToInternal()
538 .contains(crossProfileDomainInfo.mTargetUserId)) { in filterCandidatesWithDomainPreferredActivitiesLPrBody()
539 categorizeResolveInfoByTargetUser.put(crossProfileDomainInfo.mTargetUserId, in filterCandidatesWithDomainPreferredActivitiesLPrBody()
542 categorizeResolveInfoByTargetUser.get(crossProfileDomainInfo.mTargetUserId) in filterCandidatesWithDomainPreferredActivitiesLPrBody()
DCrossProfileIntentFilterHelper.java93 && (targetUserId == null || filter.mTargetUserId == targetUserId) in clearCrossProfileIntentFilters()
95 filter.mTargetUserId, /* addCrossProfileIntentFilter */ false)) { in clearCrossProfileIntentFilters()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DNetworkLogger.java53 private final int mTargetUserId; field in NetworkLogger
101 return mTargetUserId == UserHandle.USER_ALL
102 || mTargetUserId == UserHandle.getUserId(uid);
109 mTargetUserId = targetUserId; in NetworkLogger()
138 mDpm, mTargetUserId); in startNetworkLogging()
DNetworkLoggingHandler.java77 private int mTargetUserId; field in NetworkLoggingHandler
130 this.mTargetUserId = targetUserId; in NetworkLoggingHandler()
285 extras, mTargetUserId); in notifyDeviceOwnerOrProfileOwner()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputContentUriTokenHandler.java43 private final int mTargetUserId; field in InputContentUriTokenHandler
57 mTargetUserId = targetUserId; in InputContentUriTokenHandler()
81 Intent.FLAG_GRANT_READ_URI_PERMISSION, mSourceUserId, mTargetUserId); in doTakeLocked()
DStartInputHistory.java92 int mTargetUserId; field in StartInputHistory.Entry
118 mTargetUserId = original.mTargetUserId; in set()
172 + " targetUserId=" + entry.mTargetUserId in dump()
DStartInputInfo.java66 final int mTargetUserId; field in StartInputInfo
91 mTargetUserId = targetUserId; in StartInputInfo()
/frameworks/base/services/core/java/com/android/server/wm/
DDragAndDropPermissionsHandler.java45 private final int mTargetUserId; field in DragAndDropPermissionsHandler
59 mTargetUserId = targetUserId; in DragAndDropPermissionsHandler()
87 mSourceUserId, mTargetUserId); in doTake()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DBaseClientMonitor.java51 private final int mTargetUserId; field in BaseClientMonitor
101 mTargetUserId = userId; in BaseClientMonitor()
244 return mTargetUserId; in getTargetUserId()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserJourneyLoggerTest.java624 ArgumentCaptor<Integer> mTargetUserId = ArgumentCaptor.forClass(Integer.class); field in UserJourneyLoggerTest.UserLifecycleJourneyReportedCaptor
637 mTargetUserId.capture(), in captureAndAssert()
646 assertThat(mTargetUserId.getValue()).isEqualTo(targetUserId); in captureAndAssert()
667 ArgumentCaptor<Integer> mTargetUserId = ArgumentCaptor.forClass(Integer.class); field in UserJourneyLoggerTest.UserLifecycleEventOccurredCaptor
677 mTargetUserId.capture(), in captureAndAssert()
683 assertThat(mTargetUserId.getValue()).isEqualTo(targetUserId); in captureAndAssert()
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java283 private volatile int mTargetUserId = UserHandle.USER_NULL; field in UserController
2158 if (targetUserId == currentUserId && mTargetUserId == UserHandle.USER_NULL) {
2181 if (mTargetUserId != UserHandle.USER_NULL) {
2182 Slogf.w(TAG, "There is already an ongoing user switch to User #" + mTargetUserId
2187 mTargetUserId = targetUserId;
2264 mTargetUserId = UserHandle.USER_NULL;
3065 if (mTargetUserId == UserHandle.USER_NULL) {
3081 if (mTargetUserId == UserHandle.USER_NULL) {
3101 return mTargetUserId != UserHandle.USER_NULL ? mTargetUserId : mCurrentUserId;
3106 return new Pair<>(mCurrentUserId, mTargetUserId);
[all …]