Home
last modified time | relevance | path

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

/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsDatabase.java139 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 …]
DUserUsageStatsService.java239 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()