Searched refs:currentUserHandle (Results 1 – 3 of 3) sorted by relevance
1260 UserHandle currentUserHandle = mMultiProfilePagerAdapter.getCurrentUserHandle();1261 safelyStartActivityInternal(cti, currentUserHandle);1321 private void maybeLogCrossProfileTargetLaunch(TargetInfo cti, UserHandle currentUserHandle) {1322 if (!hasWorkProfile() || currentUserHandle.equals(getUser())) {1327 .setBoolean(currentUserHandle.equals(getPersonalProfileUserHandle()))
2696 UserHandle currentUserHandle = mChooserMultiProfilePagerAdapter.getCurrentUserHandle();2697 int currentProfile = getProfileForUser(currentUserHandle);2816 private int getProfileForUser(UserHandle currentUserHandle) {2817 if (currentUserHandle.equals(getPersonalProfileUserHandle())) {2819 } else if (currentUserHandle.equals(getWorkProfileUserHandle())) {2822 Log.e(TAG, "User " + currentUserHandle + " does not belong to a personal or work profile.");
763 private Set<Integer> getEnabledUserHandles(int currentUserHandle) { in getEnabledUserHandles() argument764 int[] userProfiles = mUserManager.getEnabledProfileIds(currentUserHandle); in getEnabledUserHandles()