Searched refs:packageIndex (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/core/java/com/android/server/utils/quota/ |
D | UptcMap.java | 122 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/ |
D | AppOpMigrationHelperImpl.java | 134 for (int packageIndex = 0; packageIndex < packagesSize; packageIndex++) { in getPackageAppOpModes() 135 String packageName = legacyPackagesModes.keyAt(packageIndex); in getPackageAppOpModes() 136 SparseIntArray modes = legacyPackagesModes.valueAt(packageIndex); in getPackageAppOpModes()
|
/frameworks/base/core/java/android/app/ |
D | NotificationHistory.java | 463 final int packageIndex; in writeNotificationToParcel() local 465 packageIndex = findStringIndex(notification.mPackage); in writeNotificationToParcel() 467 packageIndex = -1; in writeNotificationToParcel() 491 p.writeInt(packageIndex); in writeNotificationToParcel() 513 final int packageIndex = p.readInt(); in readNotificationFromParcel() local 514 if (packageIndex >= 0) { in readNotificationFromParcel() 515 notificationOut.mPackage = mStringPool[packageIndex]; in readNotificationFromParcel()
|
/frameworks/base/core/java/android/app/usage/ |
D | UsageEvents.java | 970 final int packageIndex; in writeEventToParcel() local 972 packageIndex = findStringIndex(event.mPackage); in writeEventToParcel() 974 packageIndex = -1; in writeEventToParcel() 997 p.writeInt(packageIndex); in writeEventToParcel() 1043 final int packageIndex = p.readInt(); in readEventFromParcel() local 1044 if (packageIndex >= 0) { in readEventFromParcel() 1045 eventOut.mPackage = mStringPool[packageIndex]; in readEventFromParcel()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserSystemPackageInstaller.java | 243 for (int packageIndex = 0; packageIndex < packagesSize; ++packageIndex) { in installWhitelistedSystemPackages() 244 String packageName = changesToCommit.keyAt(userIndex, packageIndex); in installWhitelistedSystemPackages() 245 boolean installed = changesToCommit.valueAt(userIndex, packageIndex); in installWhitelistedSystemPackages()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsProto.java | 328 final int packageIndex = stats.mStringCache.indexOf(usageStats.mPackageName); in writeUsageStats() local 329 if (packageIndex >= 0) { in writeUsageStats() 330 proto.write(IntervalStatsProto.UsageStats.PACKAGE_INDEX, packageIndex + 1); in writeUsageStats() 426 final int packageIndex = stats.mStringCache.indexOf(event.mPackage); in writeEvent() local 427 if (packageIndex >= 0) { in writeEvent() 428 proto.write(IntervalStatsProto.Event.PACKAGE_INDEX, packageIndex + 1); in writeEvent()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationHistoryProtoHelper.java | 260 final int packageIndex = Arrays.binarySearch(stringPool, notification.getPackage()); in writeNotification() local 261 if (packageIndex >= 0) { in writeNotification() 262 proto.write(Notification.PACKAGE_INDEX, packageIndex + 1); in writeNotification()
|
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/ |
D | DomainVerificationService.java | 884 for (int packageIndex = 0; packageIndex < packagesSize; packageIndex++) { in getOwnersForDomain() 885 owners.add(new DomainOwner(packages.get(packageIndex), overrideable)); in getOwnersForDomain()
|