Searched refs:userSwitchCallback (Results 1 – 2 of 2) sorted by relevance
340 SyncResultCallback<UserSwitchResult> userSwitchCallback = in startUserForDisplay() local343 userHandle).build(), Runnable::run, userSwitchCallback); in startUserForDisplay()345 userSwitchCallback.get(USER_TIMEOUT_MS, TimeUnit.MILLISECONDS); in startUserForDisplay()
310 SyncResultCallback<UserSwitchResult> userSwitchCallback = in switchForegroundUser() local314 Runnable::run, userSwitchCallback); in switchForegroundUser()315 userSwitchResult = userSwitchCallback.get(TIMEOUT_MS, TimeUnit.MILLISECONDS); in switchForegroundUser()