Home
last modified time | relevance | path

Searched refs:checkUserId (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java531 boolean checkIdleStates(int checkUserId) { in checkIdleStates() argument
539 if (checkUserId != UserHandle.USER_ALL in checkIdleStates()
540 && !ArrayUtils.contains(runningUserIds, checkUserId)) { in checkIdleStates()
550 if (checkUserId != UserHandle.USER_ALL && checkUserId != userId) { in checkIdleStates()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java1217 mDefaultLauncherChecker = (checkPackageName, checkUserId) -> { in setDefaultLauncher()
1218 if ((checkUserId == userId) && (launcherActivity != null)) { in setDefaultLauncher()
1221 return oldChecker.test(checkPackageName, checkUserId); in setDefaultLauncher()