Home
last modified time | relevance | path

Searched refs:fromUserId (Results 1 – 9 of 9) sorted by relevance

/aosp12/frameworks/base/services/core/java/com/android/server/location/injector/
H A DUserInfoHelper.java101 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()
/aosp12/frameworks/opt/car/services/tests/src/com/android/internal/car/
H A DUserMetricsTest.java170 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()
/aosp12/frameworks/opt/car/services/src/com/android/internal/car/
H A DUserMetrics.java86 @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()
/aosp12/packages/services/Car/car-internal-lib/src/com/android/car/internal/
H A DICarSystemServerClient.aidl35 void onUserLifecycleEvent(int eventType, int fromUserId, int toUserId); in onUserLifecycleEvent() argument
/aosp12/packages/services/Car/service/src/com/android/car/user/
H A DCarUserService.java2144 @UserIdInt int fromUserId, @UserIdInt int toUserId) { in onUserLifecycleEvent() argument
2149 onUserSwitching(fromUserId, toUserId); in onUserLifecycleEvent()
2155 UserLifecycleEvent event = new UserLifecycleEvent(eventType, fromUserId, userId); in onUserLifecycleEvent()
2194 int fromUserId = event.getPreviousUserId(); in handleNotifyAppUserLifecycleListeners() local
2195 if (fromUserId != UserHandle.USER_NULL) { in handleNotifyAppUserLifecycleListeners()
2196 data.putInt(CarUserManager.BUNDLE_PARAM_PREVIOUS_USER_ID, fromUserId); in handleNotifyAppUserLifecycleListeners()
2200 listener.uid, listener.packageName, eventType, fromUserId, userId); in handleNotifyAppUserLifecycleListeners()
2243 private void onUserSwitching(@UserIdInt int fromUserId, @UserIdInt int toUserId) { in onUserSwitching() argument
2249 notifyHalLegacySwitch(fromUserId, toUserId); in onUserSwitching()
2267 Slog.d(TAG, "notifyHalLegacySwitch(" + fromUserId + ", " + toUserId in notifyHalLegacySwitch()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/app/
H A DGameManagerService.java728 final int fromUserId = from.getUserIdentifier(); in onUserSwitching() local
729 if (mSettings.containsKey(fromUserId)) { in onUserSwitching()
731 msg.obj = fromUserId; in onUserSwitching()
/aosp12/packages/services/Car/service/src/com/android/car/
H A DICarImpl.java929 public void onUserLifecycleEvent(int eventType, int fromUserId, int toUserId) in onUserLifecycleEvent() argument
932 EventLog.writeEvent(EventLogTags.CAR_SERVICE_ON_USER_LIFECYCLE, eventType, fromUserId, in onUserLifecycleEvent()
940 mCarUserService.onUserLifecycleEvent(eventType, fromUserId, toUserId); in onUserLifecycleEvent()
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
H A DCarUserServiceTest.java2950 private void sendUserLifecycleEvent(@UserIdInt int fromUserId, @UserIdInt int toUserId, in sendUserLifecycleEvent() argument
2952 mCarUserService.onUserLifecycleEvent(eventType, fromUserId, in sendUserLifecycleEvent()
2961 private void sendUserSwitchingEvent(@UserIdInt int fromUserId, @UserIdInt int toUserId) { in sendUserSwitchingEvent() argument
2962 sendUserLifecycleEvent(fromUserId, toUserId, in sendUserSwitchingEvent()
/aosp12/frameworks/base/services/core/java/com/android/server/location/
H A DLocationManagerService.java227 void onCurrentUserChanged(int fromUserId, int toUserId) { in onCurrentUserChanged() argument
228 dispatchOnCurrentUserChanged(fromUserId, toUserId); in onCurrentUserChanged()