Home
last modified time | relevance | path

Searched refs:longVersionCode (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/services/tests/PackageManagerServiceTests/host/test-apps/DeviceSide/src/com/android/server/pm/cts/test/deviceside/
DDeviceSide.kt35 .that(packages1[0].longVersionCode).isEqualTo(2) in testGetInstalledPackagesWithFactoryOnly()
37 .that(packages2[0].longVersionCode).isEqualTo(1) in testGetInstalledPackagesWithFactoryOnly()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageInstallerService.java285 long longVersionCode = pkgInfo.getLongVersionCode(); in installPackage() local
286 if (existingPkgInfo.getLongVersionCode() == longVersionCode) { in installPackage()
288 Log.w(TAG, "Version number (" + longVersionCode + in installPackage()
293 Log.w(TAG, "Version number of new app (" + longVersionCode + in installPackage()
296 } else if (existingPkgInfo.getLongVersionCode() > longVersionCode) { in installPackage()
299 Log.w(TAG, "Version number of new app (" + longVersionCode + in installPackage()
305 Log.w(TAG, "Version number of new app (" + longVersionCode + in installPackage()
/frameworks/base/core/java/android/content/pm/
DConstrainDisplayApisConfig.java209 return applicationInfo.longVersionCode >= minMaxVersionCodes.first in matchesApplicationInfo()
210 && applicationInfo.longVersionCode <= minMaxVersionCodes.second; in matchesApplicationInfo()
DPackageInfo.java84 public void setLongVersionCode(long longVersionCode) { in setLongVersionCode() argument
85 versionCodeMajor = (int) (longVersionCode>>32); in setLongVersionCode()
86 versionCode = (int) longVersionCode; in setLongVersionCode()
DApplicationInfo.java1216 public long longVersionCode; field in ApplicationInfo
1719 + " versionCode=" + longVersionCode in dump()
1829 proto.write(ApplicationInfoProto.Version.VERSION_CODE, longVersionCode); in dumpDebug()
1989 setVersionCode(orig.longVersionCode); in ApplicationInfo()
2083 dest.writeLong(longVersionCode); in writeToParcel()
2463 longVersionCode = newVersionCode; in setVersionCode()
/frameworks/base/services/tests/servicestests/src/com/android/server/compat/
DApplicationInfoBuilder.java62 applicationInfo.longVersionCode = mVersionCode; in build()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DConstrainDisplayApisConfigTest.java167 applicationInfo.longVersionCode = version; in buildApplicationInfo()
/frameworks/base/services/core/java/com/android/server/am/
DProcessProviderRecord.java145 conn.provider.appInfo.longVersionCode, conn.provider.name, in onCleanupApplicationRecordLocked()
DProcessProfileRecord.java286 info.packageName, attributionUid, info.longVersionCode, in onProcessActive()
295 mApp.info.longVersionCode, mApp.processName); in onProcessActive()
DProcessRecord.java629 mPkgList.put(_info.packageName, new ProcessStats.ProcessStateHolder(_info.longVersionCode)); in ProcessRecord()
1470 new ProcessStats.ProcessStateHolder(info.longVersionCode); in resetPackageList()
1472 info.longVersionCode, processName); in resetPackageList()
1481 new ProcessStats.ProcessStateHolder(info.longVersionCode)); in resetPackageList()
DContentProviderHelper.java790 dst.info.applicationInfo.longVersionCode, mService.mProcessStats); in publishContentProviders()
1307 app.addPackage(cpi.applicationInfo.packageName, cpi.applicationInfo.longVersionCode, in generateApplicationProvidersLocked()
1473 cpr.uid, cpr.appInfo.longVersionCode, cpr.name, cpr.info.processName); in incProviderCountLocked()
1549 cpr.appInfo.longVersionCode, cpr.name, cpr.info.processName); in handleProviderRemoval()
1858 cpr.uid, cpr.appInfo.longVersionCode, cpr.name, cpr.info.processName); in removeDyingProviderLocked()
DServiceRecord.java1183 serviceInfo.applicationInfo.longVersionCode, in getTracker()
1205 serviceInfo.applicationInfo.longVersionCode, in makeRestarting()
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/
DTestSystemImpl.java182 return pi.applicationInfo.longVersionCode; in getFactoryPackageVersion()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DPackageManagerServiceBootTest.kt170 pm.mPackages[systemAppPackageName]!!.longVersionCode, equalTo(3)) in <lambda>()
DMockSystem.kt479 return createBasicSettingBuilder(parentFile, pkg.packageName, pkg.longVersionCode, in createBasicSettingBuilder()
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackStore.java421 long longVersionCode = json.getLong("longVersionCode"); in versionedPackageFromJson() local
422 return new VersionedPackage(packageName, longVersionCode); in versionedPackageFromJson()
/frameworks/base/services/core/java/com/android/server/gpu/
DGpuService.java247 mProdDriverVersionCode = driverInfo.longVersionCode; in fetchProductionDriverPackageProperties()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DInstantAppNotifier.java302 .putExtra(Intent.EXTRA_LONG_VERSION_CODE, appInfo.longVersionCode) in postInstantAppNotif()
/frameworks/base/services/core/java/com/android/server/compat/overrides/
DAppCompatOverridesService.java331 return applicationInfo.longVersionCode; in getVersionCodeOrNull()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DArtManagerService.java568 if (checkIorapCompiledTrace(info.packageName, activityName, info.longVersionCode)) { in getPackageOptimizationInfo()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/
DAndroidPackageTest.kt627 expect.that(after.longVersionCode).isEqualTo(38654705667) in <lambda>()
/frameworks/base/services/core/java/com/android/server/compat/
DCompatConfig.java851 return applicationInfo.longVersionCode; in getVersionCodeOrNull()
/frameworks/base/core/java/android/os/
DGraphicsEnvironment.java865 setGpuStats(driverPackageName, driverPackageInfo.versionName, driverAppInfo.longVersionCode, in chooseDriver()
/frameworks/base/services/core/java/com/android/server/pm/
DResolveIntentHelper.java575 info.providerInfo.applicationInfo.longVersionCode, in applyPostContentProviderResolutionFilter()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/compat/overrides/
DAppCompatOverridesServiceTest.java751 appInfo.longVersionCode = versionCode; in createAppInfo()

12