Home
last modified time | relevance | path

Searched refs:userIndex (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/core/java/com/android/server/utils/quota/
DUptcMap.java122 private String getPackageNameAtIndex(int userIndex, int packageIndex) { in getPackageNameAtIndex() argument
123 return mData.keyAt(userIndex, packageIndex); in getPackageNameAtIndex()
128 private String getTagAtIndex(int userIndex, int packageIndex, int tagIndex) { in getTagAtIndex() argument
131 return mData.valueAt(userIndex, packageIndex).keyAt(tagIndex); in getTagAtIndex()
152 public T valueAt(int userIndex, int packageIndex, int tagIndex) { in valueAt() argument
153 final ArrayMap<String, T> data = mData.valueAt(userIndex, packageIndex); in valueAt()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpMigrationHelperImpl.java122 for (int userIndex = 0; userIndex < usersSize; userIndex++) { in getPackageAppOpModes()
123 int userId = legacyPackageAppOpModes.keyAt(userIndex); in getPackageAppOpModes()
131 legacyPackageAppOpModes.valueAt(userIndex); in getPackageAppOpModes()
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationDebug.java118 for (int userIndex = 0; userIndex < usersSize; userIndex++) { in printOwners()
119 int userId = userIdToApprovalLevelToOwners.keyAt(userIndex); in printOwners()
121 userIdToApprovalLevelToOwners.valueAt(userIndex); in printOwners()
/frameworks/base/services/core/java/com/android/server/pm/
DUserSystemPackageInstaller.java240 for (int userIndex = 0; userIndex < changesToCommit.numMaps(); userIndex++) { in installWhitelistedSystemPackages()
241 int userId = changesToCommit.keyAt(userIndex); in installWhitelistedSystemPackages()
244 String packageName = changesToCommit.keyAt(userIndex, packageIndex); in installWhitelistedSystemPackages()
245 boolean installed = changesToCommit.valueAt(userIndex, packageIndex); in installWhitelistedSystemPackages()
DUserManagerService.java2377 final int userIndex = userInfo.profileBadge; in getProfileLabelResId() local
2378 return userTypeDetails.getLabel(userIndex); in getProfileLabelResId()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/domain/interactor/
DUserSwitcherInteractorTest.kt1227 userIds.indices.forEach { userIndex -> in <lambda>() method
1228 val record = records[userIndex] in <lambda>()
1230 val isGuest = includeGuest && userIndex == userIds.size - 1 in <lambda>()
1233 id = userIds[userIndex], in <lambda>()
1235 isCurrent = userIndex == selectedUserIndex, in <lambda>()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityWindowManager.java1623 final int userIndex = getWindowTokensForUserLocked(userId).indexOfValue(token); in findWindowIdLocked() local
1624 if (userIndex >= 0) { in findWindowIdLocked()
1625 return getWindowTokensForUserLocked(userId).keyAt(userIndex); in findWindowIdLocked()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java3838 final int userIndex = mLoadedUserIds.indexOfKey(userId); in onUserStopped() local
3839 if (userIndex >= 0) { in onUserStopped()
3840 mLoadedUserIds.removeAt(userIndex); in onUserStopped()