Searched refs:fromUserId (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/core/java/com/android/server/location/injector/ |
D | UserInfoHelper.java | 101 protected final void dispatchOnCurrentUserChanged(@UserIdInt int fromUserId, in dispatchOnCurrentUserChanged() argument 103 int[] fromUserIds = getProfileIds(fromUserId); in dispatchOnCurrentUserChanged() 109 EVENT_LOG.logUserSwitched(fromUserId, toUserId); in dispatchOnCurrentUserChanged()
|
/frameworks/opt/car/services/tests/src/com/android/internal/car/ |
D | UserMetricsTest.java | 170 private long sendSwitchingEvent(@UserIdInt int fromUserId, @UserIdInt int userId) { in sendSwitchingEvent() argument 172 mUserMetrics.onEvent(USER_LIFECYCLE_EVENT_TYPE_SWITCHING, timestampMs, fromUserId, userId); in sendSwitchingEvent() 210 private void assertSwitchTime(long timestamp, @UserIdInt int fromUserId, in assertSwitchTime() argument 214 assertThat(metric.switchFromUserId).isEqualTo(fromUserId); in assertSwitchTime()
|
/frameworks/opt/car/services/src/com/android/internal/car/ |
D | UserMetrics.java | 86 @UserIdInt int fromUserId, @UserIdInt int toUserId) { in onEvent() argument 93 onUserSwitchingEventLocked(timestampMs, fromUserId, toUserId); in onEvent() 141 private void onUserSwitchingEventLocked(long timestampMs, @UserIdInt int fromUserId, in onUserSwitchingEventLocked() argument 146 metrics.switchFromUserId = fromUserId; in onUserSwitchingEventLocked()
|
/frameworks/base/services/core/java/com/android/server/app/ |
D | GameManagerService.java | 673 final int fromUserId = from.getUserIdentifier(); in onUserSwitching() local 674 if (mSettings.containsKey(fromUserId)) { in onUserSwitching() 676 msg.obj = fromUserId; in onUserSwitching()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | LocationManagerService.java | 227 void onCurrentUserChanged(int fromUserId, int toUserId) { in onCurrentUserChanged() argument 228 dispatchOnCurrentUserChanged(fromUserId, toUserId); in onCurrentUserChanged()
|