Home
last modified time | relevance | path

Searched refs:packageIndex (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/app/usage/
DUsageEvents.java716 final int packageIndex; in writeEventToParcel() local
718 packageIndex = findStringIndex(event.mPackage); in writeEventToParcel()
720 packageIndex = -1; in writeEventToParcel()
743 p.writeInt(packageIndex); in writeEventToParcel()
778 final int packageIndex = p.readInt(); in readEventFromParcel() local
779 if (packageIndex >= 0) { in readEventFromParcel()
780 eventOut.mPackage = mStringPool[packageIndex]; in readEventFromParcel()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsProto.java323 final int packageIndex = stats.mStringCache.indexOf(usageStats.mPackageName); in writeUsageStats() local
324 if (packageIndex >= 0) { in writeUsageStats()
325 proto.write(IntervalStatsProto.UsageStats.PACKAGE_INDEX, packageIndex + 1); in writeUsageStats()
416 final int packageIndex = stats.mStringCache.indexOf(event.mPackage); in writeEvent() local
417 if (packageIndex >= 0) { in writeEvent()
418 proto.write(IntervalStatsProto.Event.PACKAGE_INDEX, packageIndex + 1); in writeEvent()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DQuotaController.java171 public String keyAt(int userIndex, int packageIndex) { in keyAt() argument
172 return mData.valueAt(userIndex).keyAt(packageIndex); in keyAt()
187 public T valueAt(int userIndex, int packageIndex) { in valueAt() argument
188 return mData.valueAt(userIndex).valueAt(packageIndex); in valueAt()