Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DDynamicCodeLoggerTests.java88 private DynamicCodeLogger mDynamicCodeLogger; field in DynamicCodeLoggerTests
109 mDynamicCodeLogger = new DynamicCodeLogger(mPM, mInstaller, packageDynamicCodeLoading) { in setup()
134 mDynamicCodeLogger.logDynamicCodeLoading(OWNING_PACKAGE_NAME); in testOneLoader_ownFile_withFileHash()
140 assertThat(mDynamicCodeLogger.getAllPackagesWithDynamicCodeLoading()) in testOneLoader_ownFile_withFileHash()
149 mDynamicCodeLogger.logDynamicCodeLoading(OWNING_PACKAGE_NAME); in testOneLoader_ownFile_noFileHash()
156 assertThat(mDynamicCodeLogger.getAllPackagesWithDynamicCodeLoading()).isEmpty(); in testOneLoader_ownFile_noFileHash()
165 mDynamicCodeLogger.logDynamicCodeLoading(OWNING_PACKAGE_NAME); in testOneLoader_ownFile_hashingFails()
172 assertThat(mDynamicCodeLogger.getAllPackagesWithDynamicCodeLoading()).isEmpty(); in testOneLoader_ownFile_hashingFails()
178 mDynamicCodeLogger.logDynamicCodeLoading(OWNING_PACKAGE_NAME); in testOneLoader_ownFile_unknownPath()
182 assertThat(mDynamicCodeLogger.getAllPackagesWithDynamicCodeLoading()).isEmpty(); in testOneLoader_ownFile_unknownPath()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/dex/
DDexManager.java99 private final DynamicCodeLogger mDynamicCodeLogger; field in DexManager
135 mDynamicCodeLogger = new DynamicCodeLogger(pms, installer); in DexManager()
139 return mDynamicCodeLogger; in getDynamicCodeLogger()
209 mDynamicCodeLogger.recordDex(loaderUserId, dexPath, in notifyDexLoadInternal()
247 mDynamicCodeLogger.clear(); in load()
298 mDynamicCodeLogger.removePackage(packageName); in notifyPackageDataDestroyed()
303 mDynamicCodeLogger.removeUserPackage(packageName, userId); in notifyPackageDataDestroyed()
382 mDynamicCodeLogger.readAndSync(packageToUsersMap); in loadInternal()
384 mDynamicCodeLogger.clear(); in loadInternal()
670 mDynamicCodeLogger.writeNow(); in writePackageDexUsageNow()