Home
last modified time | relevance | path

Searched defs:pkgState (Results 1 – 18 of 18) sorted by relevance

/art/libartservice/service/javatests/com/android/server/art/
DUtilsTest.java97 var pkgState = mock(PackageState.class); in testGetAllAbis() local
108 var pkgState = mock(PackageState.class); in testGetAllAbisTranslated() local
119 var pkgState = mock(PackageState.class); in testGetAllAbisPrimaryOnly() local
129 var pkgState = mock(PackageState.class); in testGetAllAbisNone() local
147 var pkgState = mock(PackageState.class); in testGetAllAbisInvalidNativeIsa() local
158 var pkgState = mock(PackageState.class); in testGetAllAbisUnsupportedTranslation() local
DDexUseManagerTest.java582 PackageState pkgState = createPackageState("com.example.deletedpackage", "arm64-v8a"); in testCleanup() local
751 PackageState pkgState = mock(PackageState.class); in createPackageState() local
759 private void addPackage(String packageName, PackageState pkgState) { in addPackage()
DPrimaryDexUtilsTest.java192 PackageState pkgState = mock(PackageState.class); in createPackageState() local
DDumpHelperTest.java144 var pkgState = mock(PackageState.class); in createPackageState() local
DPrimaryDexopterTestBase.java149 PackageState pkgState = mock(PackageState.class); in createPackageState() local
DSecondaryDexopterTest.java240 var pkgState = mock(PackageState.class); in createPackageState() local
DDexoptHelperTest.java730 PackageState pkgState = mock(PackageState.class); in createPackageState() local
DArtManagerLocalTest.java994 PackageState pkgState = mock(PackageState.class); in createPackageState() local
/art/libartservice/service/java/com/android/server/art/
DDexoptHelper.java157 PackageState pkgState = pkgStates.get(i); in dexoptPackages() local
222 private PackageDexoptResult dexoptPackage(@NonNull PackageState pkgState, in dexoptPackage()
268 private boolean canDexoptPackage(@NonNull PackageState pkgState) { in canDexoptPackage()
294 PackageState pkgState = Utils.getPackageStateOrThrow(snapshot, packageName); in getPackageStates() local
307 PackageState pkgState = Utils.getPackageStateOrThrow(snapshot, packageName); in getPackageStates() local
347 PrimaryDexopter getPrimaryDexopter(@NonNull PackageState pkgState, in getPrimaryDexopter()
354 SecondaryDexopter getSecondaryDexopter(@NonNull PackageState pkgState, in getSecondaryDexopter()
DUtils.java103 public static List<Abi> getAllAbis(@NonNull PackageState pkgState) { in getAllAbis()
128 @NonNull Set<String> abiNames, @NonNull PackageState pkgState) { in getAllAbisForNames()
140 public static Abi getPrimaryAbi(@NonNull PackageState pkgState) { in getPrimaryAbi()
201 public static boolean isInDalvikCache(@NonNull PackageState pkgState, @NonNull IArtd artd) in isInDalvikCache()
259 PackageState pkgState = snapshot.getPackageState(packageName); in getPackageStateOrThrow() local
267 public static AndroidPackage getPackageOrThrow(@NonNull PackageState pkgState) { in getPackageOrThrow()
308 public static boolean canDexoptPackage( in canDexoptPackage()
324 public static boolean shouldSkipDexoptDueToHibernation( in shouldSkipDexoptDueToHibernation()
330 public static long getPackageLastActiveTime(@NonNull PackageState pkgState, in getPackageLastActiveTime()
DPrimaryDexUtils.java70 public static List<DetailedPrimaryDexInfo> getDetailedDexInfo( in getDetailedDexInfo()
108 private static List<PrimaryDexInfoBuilder> getDetailedDexInfoImpl( in getDetailedDexInfoImpl()
304 public static ProfilePath buildRefProfilePath( in buildRefProfilePath()
311 public static OutputProfile buildOutputProfile(@NonNull PackageState pkgState, in buildOutputProfile()
320 @NonNull PackageState pkgState, @NonNull PrimaryDexInfo dexInfo) { in getCurProfiles()
DPrimaryDexopter.java62 public PrimaryDexopter(@NonNull Context context, @NonNull PackageState pkgState, in PrimaryDexopter()
69 public PrimaryDexopter(@NonNull Injector injector, @NonNull PackageState pkgState, in PrimaryDexopter()
DSecondaryDexopter.java44 public SecondaryDexopter(@NonNull Context context, @NonNull PackageState pkgState, in SecondaryDexopter()
51 public SecondaryDexopter(@NonNull Injector injector, @NonNull PackageState pkgState, in SecondaryDexopter()
DArtManagerLocal.java189 PackageState pkgState = Utils.getPackageStateOrThrow(snapshot, packageName); in deleteDexoptArtifacts() local
251 PackageState pkgState = Utils.getPackageStateOrThrow(snapshot, packageName); in getDexoptStatus() local
325 PackageState pkgState = Utils.getPackageStateOrThrow(snapshot, packageName); in clearAppProfiles() local
735 PackageState pkgState = Utils.getPackageStateOrThrow(snapshot, packageName); in snapshotOrDumpAppProfile() local
753 PrimaryDexUtils.getCurProfiles(mInjector.getUserManager(), pkgState, dexInfo)); in snapshotOrDumpAppProfile() local
926 mInjector.getUserManager(), pkgState, dexInfo)); in cleanup() local
962 @NonNull List<VdexPath> vdexFilesToKeep, @NonNull PackageState pkgState, in maybeKeepArtifacts()
DArtShellCommand.java544 PackageState pkgState = Utils.getPackageStateOrThrow(snapshot, packageName); in handleDumpProfile() local
784 PackageState pkgState = Utils.getPackageStateOrThrow(snapshot, packageName); in getSplitName() local
808 PackageState pkgState = Utils.getPackageStateOrThrow(snapshot, packageName); in getSplitNameByFullPath() local
DDumpHelper.java86 @NonNull PackageState pkgState) { in dumpPackage()
DDexopter.java79 protected Dexopter(@NonNull Injector injector, @NonNull PackageState pkgState, in Dexopter()
703 PackageState pkgState = packageStates.get(artPackageName); in getArtVersion() local
DDexUseManagerLocal.java441 private static boolean isOwningPackageForPrimaryDex( in isOwningPackageForPrimaryDex()
454 private boolean isOwningPackageForSecondaryDexLocked( in isOwningPackageForSecondaryDexLocked()
1059 public @NonNull List<Path> getLocations( in getLocations()