Searched refs:currentUser (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Settings/src/com/android/settings/ |
D | Utils.java | 720 UserInfo currentUser = userManager.getUserInfo(userManager.getUserHandle()); in isManagedProfile() local 721 return currentUser.isManagedProfile(); in isManagedProfile() 764 UserHandle currentUser = new UserHandle(UserHandle.myUserId()); in getSecureTargetUser() local 772 if (launchedFromUser != null && !launchedFromUser.equals(currentUser)) { in getSecureTargetUser() 780 if (extrasUser != null && !extrasUser.equals(currentUser)) { in getSecureTargetUser() 788 if (argumentsUser != null && !argumentsUser.equals(currentUser)) { in getSecureTargetUser() 798 return currentUser; in getSecureTargetUser() 814 UserHandle currentUser = new UserHandle(UserHandle.myUserId()); in getInsecureTargetUser() local 819 if (launchedFromUser != null && !launchedFromUser.equals(currentUser)) { in getInsecureTargetUser() 824 if (extrasUser != null && !extrasUser.equals(currentUser)) { in getInsecureTargetUser() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
D | StorageMeasurement.java | 233 public StatsObserver(boolean isInternal, MeasurementDetails details, int currentUser, in StatsObserver() argument 237 mCurrentUser = currentUser; in StatsObserver() 415 final int currentUser = ActivityManager.getCurrentUser(); in measureExactStorage() local 416 final UserEnvironment currentEnv = new UserEnvironment(currentUser); in measureExactStorage() 454 mIsInternal, details, currentUser, finished, count); in measureExactStorage()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | StorageMeasurement.java | 226 public StatsObserver(boolean isInternal, MeasurementDetails details, int currentUser, in StatsObserver() argument 230 mCurrentUser = currentUser; in StatsObserver() 409 final int currentUser = ActivityManager.getCurrentUser(); in measureExactStorage() local 410 final UserEnvironment currentEnv = new UserEnvironment(currentUser); in measureExactStorage() 448 mIsInternal, details, currentUser, finished, count); in measureExactStorage()
|
D | StorageVolumePreferenceCategory.java | 144 final UserInfo currentUser; in init() local 146 currentUser = ActivityManagerNative.getDefault().getCurrentUser(); in init() 151 final List<UserInfo> otherUsers = getUsersExcluding(currentUser); in init() 175 addPreference(new PreferenceHeader(context, currentUser.name)); in init()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcDispatcher.java | 416 UserHandle currentUser = new UserHandle(ActivityManager.getCurrentUser()); in tryNdef() local 418 currentUser).getPackageManager(); in tryNdef() 469 UserHandle currentUser = new UserHandle(ActivityManager.getCurrentUser()); in tryTech() local 471 currentUser).getPackageManager(); in tryTech()
|
D | RegisteredComponentCache.java | 149 UserHandle currentUser = new UserHandle(ActivityManager.getCurrentUser()); in generateComponentsList() local 151 currentUser).getPackageManager(); in generateComponentsList()
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | PreferredServices.java | 122 int currentUser = ActivityManager.getCurrentUser(); in onChange() local 123 loadDefaultsFromSettings(currentUser); in onChange()
|
D | RegisteredServicesCache.java | 131 int currentUser = ActivityManager.getCurrentUser(); in RegisteredServicesCache() 132 if (currentUser == UserHandle.getUserId(uid)) { in RegisteredServicesCache()
|