Home
last modified time | relevance | path

Searched refs:lastUpdateTime (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackageInfo.java81 private ShortcutPackageInfo(long versionCode, long lastUpdateTime, in ShortcutPackageInfo() argument
84 mLastUpdateTime = lastUpdateTime; in ShortcutPackageInfo()
132 mLastUpdateTime = pi.lastUpdateTime; in updateFromPackageInfo()
176 pi.lastUpdateTime, BackupUtils.hashSignatureArray(signatures), /* shadow=*/ false); in generateForInstalledPackageForTest()
245 final long lastUpdateTime = ShortcutService.parseLongAttribute( in loadFromXml() local
303 mLastUpdateTime = lastUpdateTime; in loadFromXml()
DPackageSettingBase.java97 long lastUpdateTime; field in PackageSettingBase
245 lastUpdateTime = orig.lastUpdateTime; in doCopy()
661 this.lastUpdateTime = other.lastUpdateTime; in updateFrom()
DPackageSetting.java189 proto.write(PackageProto.UPDATE_TIME_MS, lastUpdateTime); in writeToProto()
DSettings.java2755 serializer.attribute(null, "ut", Long.toHexString(pkg.lastUpdateTime)); in writeDisabledSysPackageLPr()
2825 serializer.attribute(null, "ut", Long.toHexString(pkg.lastUpdateTime)); in writePackageLPr()
3542 ps.lastUpdateTime = Long.parseLong(timeStampStr, 16); in readDisabledSysPackageLPw()
3609 long lastUpdateTime = 0; in readPackageLPw() local
3726 lastUpdateTime = Long.parseLong(timeStampStr, 16); in readPackageLPw()
3765 packageSetting.lastUpdateTime = lastUpdateTime; in readPackageLPw()
3777 packageSetting.lastUpdateTime = lastUpdateTime; in readPackageLPw()
4458 pw.print(ps.lastUpdateTime); in dumpPackageLPr()
4664 date.setTime(ps.lastUpdateTime); in dumpPackageLPr()
DPackageManagerService.java4096 ps.firstInstallTime, ps.lastUpdateTime, permissions, state, userId); in generatePackageInfo()
4112 pi.lastUpdateTime = ps.lastUpdateTime; in generatePackageInfo()
4914 if (ps == null || now - ps.lastUpdateTime < maxCachePeriod) { in pruneUnusedStaticSharedLibraries()
10399 long lastUpdateTime) {
10404 ps.lastUpdateTime = lastUpdateTime;
10413 ps.lastUpdateTime = lastUpdateTime;
11480 pkgSetting.firstInstallTime = pkgSetting.lastUpdateTime = currentTime;
11482 pkgSetting.lastUpdateTime = currentTime;
11486 pkgSetting.firstInstallTime = pkgSetting.lastUpdateTime = scanFileTime;
11491 pkgSetting.lastUpdateTime = scanFileTime;
[all …]
DShortcutService.java3318 if (afterOta || (pi.lastUpdateTime >= lastScanTime)) { in forUpdatedPackages()
3321 + " updateTime=" + pi.lastUpdateTime); in forUpdatedPackages()
DShortcutPackage.java844 && (getPackageInfo().getLastUpdateTime() == pi.lastUpdateTime) in rescanPackageIfNeeded()
/frameworks/base/core/tests/coretests/src/android/animation/
DValueAnimatorTests.java366 assertTrue(l1.lastUpdateTime < 0); in testResume()
383 assertTrue(l1.lastUpdateTime > l1.firstRunningFrameTime); in testResume()
384 lastUpdate[0] = l1.lastUpdateTime; in testResume()
395 assertEquals(lastUpdate[0], l1.lastUpdateTime); in testResume()
405 assertTrue(l1.lastUpdateTime > lastUpdate[0]); in testResume()
406 lastUpdate[0] = l1.lastUpdateTime; in testResume()
413 long frameDelta = l1.lastUpdateTime - l1.firstRunningFrameTime; in testResume()
544 if (lastUpdateTime > 0) {
546 assertTrue((currentTime - lastUpdateTime) < frameDelay * 4);
578 assertTrue(listener.endTime >= l1.lastUpdateTime);
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
DEstimate.kt44 val lastUpdateTime = Instant.ofEpochMilli( in getCachedEstimateIfAvailable() constant
47 return if (Duration.between(lastUpdateTime, in getCachedEstimateIfAvailable()
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DTile.java326 final long lastUpdateTime = pm.getPackageInfo(mActivityPackage, in ensureMetadataNotStale() local
327 PackageManager.GET_META_DATA).lastUpdateTime; in ensureMetadataNotStale()
328 if (lastUpdateTime == mLastUpdateTime) { in ensureMetadataNotStale()
335 mLastUpdateTime = lastUpdateTime; in ensureMetadataNotStale()
/frameworks/base/core/java/android/content/pm/
DPackageInfo.java144 public long lastUpdateTime; field in PackageInfo
457 dest.writeLong(lastUpdateTime); in writeToParcel()
521 lastUpdateTime = source.readLong(); in PackageInfo()
DPackageParser.java628 int gids[], int flags, long firstInstallTime, long lastUpdateTime, in generatePackageInfo() argument
631 return generatePackageInfo(p, gids, flags, firstInstallTime, lastUpdateTime, in generatePackageInfo()
663 int gids[], int flags, long firstInstallTime, long lastUpdateTime, in generatePackageInfo() argument
696 pi.lastUpdateTime = lastUpdateTime; in generatePackageInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppStandbyControllerTests.java437 long lastUpdateTime; in testEnabledState() local
456 lastUpdateTime = paroleListener.getLastParoleChangeTime(); in testEnabledState()
463 assertEquals(lastUpdateTime, paroleListener.getLastParoleChangeTime()); in testEnabledState()
470 lastUpdateTime = paroleListener.getLastParoleChangeTime(); in testEnabledState()
477 assertEquals(lastUpdateTime, paroleListener.getLastParoleChangeTime()); in testEnabledState()
491 lastUpdateTime = paroleListener.getLastParoleChangeTime(); in testEnabledState()
498 assertEquals(lastUpdateTime, paroleListener.getLastParoleChangeTime()); in testEnabledState()
504 assertEquals(lastUpdateTime, paroleListener.getLastParoleChangeTime()); in testEnabledState()
/frameworks/base/services/core/java/com/android/server/webkit/
DWebViewUpdater.java98 && (newPackage.lastUpdateTime in packageStateChanged()
99 == mCurrentWebViewPackage.lastUpdateTime)) { in packageStateChanged()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java1085 pi.lastUpdateTime += increment; in updatePackageLastUpdateTime()
1091 pi.lastUpdateTime = value; in setPackageLastUpdateTime()
1132 ret.lastUpdateTime = pi.lastUpdateTime; in getInjectedPackageInfo()
DPackageManagerSettingsTests.java770 assertThat(origPkgSetting.lastUpdateTime, is(testPkgSetting.lastUpdateTime)); in verifySettingCopy()
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/
DWebViewUpdateServiceTest.java188 p.lastUpdateTime = updateTime; in createPackageInfo()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...