/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | ProfileService.java | 257 int currentUserId = ActivityManager.getCurrentUser(); in doStart() local 258 setCurrentUser(currentUserId); in doStart() 260 if (userManager.isUserUnlocked(currentUserId)) { in doStart() 261 setUserUnlocked(currentUserId); in doStart()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | TaskUtils.java | 78 public static boolean checkCurrentOrManagedUserId(int currentUserId, Context context) { in checkCurrentOrManagedUserId() argument 79 if (currentUserId == UserHandle.myUserId()) { in checkCurrentOrManagedUserId() 84 if (currentUserId == allUsers.get(i).getIdentifier()) { in checkCurrentOrManagedUserId()
|
D | RecentsModel.java | 137 int currentUserId = Process.myUserHandle().getIdentifier(); in onTaskStackChangedBackground() local 138 if (!checkCurrentOrManagedUserId(currentUserId, mContext)) { in onTaskStackChangedBackground()
|
D | RecentTasksList.java | 148 int currentUserId = Process.myUserHandle().getIdentifier(); in loadTasksInBackground() local 151 ActivityManagerWrapper.getInstance().getRecentTasks(numTasks, currentUserId); in loadTasksInBackground()
|
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/ |
D | AppDataUsagePreferenceController.java | 94 int currentUserId = mCarUserManagerHelper.getCurrentProcessUserId(); in aggregateDataUsage() local 115 if (profileContainsUserId(profiles, userId) && userId == currentUserId) { in aggregateDataUsage() 122 if (profileContainsUserId(profiles, userId) && userId != currentUserId) { in aggregateDataUsage()
|
/packages/services/Car/service/src/com/android/car/vms/ |
D | VmsClientManager.java | 118 int currentUserId = mUserManagerHelper.getCurrentForegroundUserId(); 119 if (mCurrentUser != currentUserId) { 122 mCurrentUser = currentUserId;
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | VendorServiceController.java | 150 final int currentUserId = mUserManagerHelper.getCurrentForegroundUserId(); in doUserLockChanged() local 154 + ", unlocked: " + unlocked + ", currentUser: " + currentUserId); in doUserLockChanged() 156 if (unlocked && (userId == currentUserId || userId == UserHandle.USER_SYSTEM)) { in doUserLockChanged()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/manageapplications/ |
D | ResetAppsHelper.java | 136 final int currentUserId = ActivityManager.getCurrentUser(); in onClick() 139 if (UserHandle.getUserId(uid) == currentUserId) { in onClick()
|
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/ |
D | ResetAppsHelper.java | 136 final int currentUserId = ActivityManager.getCurrentUser(); in onClick() 139 if (UserHandle.getUserId(uid) == currentUserId) { in onClick()
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
D | AppDeletionPreferenceGroup.java | 55 int currentUserId = getContext().getUserId(); in onAppRebuild() local 60 if (app.userId != currentUserId) { in onAppRebuild()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarPowerManagementServiceTest.java | 177 final int currentUserId = 10; in testSleepEntryAndWakeUpForProcessing() local 180 doReturn(currentUserId).when(mCarUserManagerHelper).getCurrentForegroundUserId(); in testSleepEntryAndWakeUpForProcessing()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarLocationService.java | 266 int currentUserId = ActivityManager.getCurrentUser(); in isCurrentUserHeadlessSystemUser() local 267 return mCarUserManagerHelper.isHeadlessSystemUser() && currentUserId == 0; in isCurrentUserHeadlessSystemUser()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataUsageList.java | 335 final int currentUserId = ActivityManager.getCurrentUser(); in bindStats() local 349 if (userId != currentUserId) { in bindStats()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/ |
D | DataUsageList.java | 332 final int currentUserId = ActivityManager.getCurrentUser(); in bindStats() local 346 if (userId != currentUserId) { in bindStats()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | Utils.java | 372 int currentUserId = userManager.getUserHandle(); in getManagedProfile() local 373 List<UserInfo> userProfiles = userManager.getProfiles(currentUserId); in getManagedProfile()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | NotificationStation.java | 269 final int currentUserId = ActivityManager.getCurrentUser(); in loadNotifications() local 282 if (sbn.getUserId() != UserHandle.USER_ALL & sbn.getUserId() != currentUserId) { in loadNotifications()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationStation.java | 269 final int currentUserId = ActivityManager.getCurrentUser(); in loadNotifications() local 282 if (sbn.getUserId() != UserHandle.USER_ALL & sbn.getUserId() != currentUserId) { in loadNotifications()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarProvider2.java | 875 final int currentUserId = userManager.getUserHandle(); in getWorkProfileUserInfo() local 887 if (parent.id == currentUserId in getWorkProfileUserInfo()
|