Searched refs:mPackagesTokenData (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsDatabase.java | 139 final PackagesTokenData mPackagesTokenData = new PackagesTokenData(); field in UsageStatsDatabase 545 readLocked(new AtomicFile(files[j]), stats, version, mPackagesTokenData, in continueUpgradeLocked() 551 stats.obfuscateData(mPackagesTokenData); in continueUpgradeLocked() 555 mPackagesTokenData); in continueUpgradeLocked() 580 final int tokenRemoved = mPackagesTokenData.removePackage(packageName, timeRemoved); in onPackageRemoved() 606 if (!readLocked(atomicFile, stats, mCurrentVersion, mPackagesTokenData, in pruneUninstalledPackagesData() 614 writeLocked(atomicFile, stats, mCurrentVersion, mPackagesTokenData); in pruneUninstalledPackagesData() 653 readLocked(atomicFile, stats, mCurrentVersion, mPackagesTokenData, false); in prunePackagesDataOnUpgrade() 657 writeLocked(atomicFile, stats, mCurrentVersion, mPackagesTokenData); in prunePackagesDataOnUpgrade() 774 if (mPackagesTokenData.removedPackagesMap.isEmpty()) { in filterStats() [all …]
|
D | UserUsageStatsService.java | 239 for (int i = mDatabase.mPackagesTokenData.packagesToTokensMap.size() - 1; i >= 0; i--) { in updatePackageMappingsLocked() 240 final String packageName = mDatabase.mPackagesTokenData.packagesToTokensMap.keyAt(i); in updatePackageMappingsLocked() 251 mDatabase.mPackagesTokenData.removePackage(removedPackages.get(i), timeNow); in updatePackageMappingsLocked()
|