Home
last modified time | relevance | path

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

/art/libartservice/service/javatests/com/android/server/art/
DUtilsTest.java101 var pkgState = mock(PackageState.class); in testGetAllAbis() local
112 var pkgState = mock(PackageState.class); in testGetAllAbisTranslated() local
123 var pkgState = mock(PackageState.class); in testGetAllAbisPrimaryOnly() local
133 var pkgState = mock(PackageState.class); in testGetAllAbisNone() local
151 var pkgState = mock(PackageState.class); in testGetAllAbisInvalidNativeIsa() local
163 var pkgState = mock(PackageState.class); in testGetAllAbisUnsupportedTranslation() local
297 PackageState pkgState = mock(PackageState.class); in createPackageState() local
DDexUseManagerTest.java685 PackageState pkgState = createPackageState( in testCleanupDeletedPackage() local
986 PackageState pkgState = mock(PackageState.class); in createPackageState() local
994 private void addPackage(String packageName, PackageState pkgState, boolean isVisible) { in addPackage()
DPrimaryDexUtilsTest.java203 PackageState pkgState = mock(PackageState.class); in createPackageState() local
DDumpHelperTest.java156 var pkgState = mock(PackageState.class); in createPackageState() local
DPrimaryDexopterTestBase.java159 PackageState pkgState = mock(PackageState.class); in createPackageState() local
DSecondaryDexopterTest.java243 var pkgState = mock(PackageState.class); in createPackageState() local
DDexoptHelperTest.java739 PackageState pkgState = mock(PackageState.class); in createPackageState() local
DArtManagerLocalTest.java1697 PackageState pkgState = mock(PackageState.class); in createPackageState() local
/art/libartservice/service/java/com/android/server/art/
DArtFileManager.java70 public List<Pair<DetailedDexInfo, Abi>> getDexAndAbis( in getDexAndAbis()
101 public WritableArtifactLists getWritableArtifacts(@NonNull PackageState pkgState, in getWritableArtifacts()
137 public UsableArtifactLists getUsableArtifacts( in getUsableArtifacts()
208 public ProfileLists getProfiles( in getProfiles()
218 mInjector.getUserManager(), pkgState, dexInfo) in getProfiles() local
220 List.of(mInjector.getCallingUserHandle()), pkgState, in getProfiles() local
241 private List<? extends SecondaryDexInfo> getSecondaryDexInfo( in getSecondaryDexInfo()
DDexoptHelper.java137 PackageState pkgState = pkgStates.get(i); in dexoptPackages() local
214 private PackageDexoptResult dexoptPackage(@NonNull PackageState pkgState, in dexoptPackage()
255 private boolean canDexoptPackage(@NonNull PackageState pkgState) { in canDexoptPackage()
281 PackageState pkgState = Utils.getPackageStateOrThrow(snapshot, packageName); in getPackageStates() local
294 PackageState pkgState = Utils.getPackageStateOrThrow(snapshot, packageName); in getPackageStates() local
336 PrimaryDexopter getPrimaryDexopter(@NonNull PackageState pkgState, in getPrimaryDexopter()
344 SecondaryDexopter getSecondaryDexopter(@NonNull PackageState pkgState, in getSecondaryDexopter()
DUtils.java111 public static List<Abi> getAllAbis(@NonNull PackageState pkgState) { in getAllAbis()
138 @NonNull Set<String> abiNames, @NonNull PackageState pkgState) { in getAllAbisForNames()
150 public static Abi getPrimaryAbi(@NonNull PackageState pkgState) { in getPrimaryAbi()
224 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()
320 public static boolean canDexoptPackage( in canDexoptPackage()
336 public static boolean shouldSkipDexoptDueToHibernation( in shouldSkipDexoptDueToHibernation()
342 public static long getPackageLastActiveTime(@NonNull PackageState pkgState, in getPackageLastActiveTime()
531 @NonNull ActivityManager am, @NonNull PackageState pkgState) { in getRunningProcessInfoForPackage()
DPrimaryDexUtils.java71 public static List<DetailedPrimaryDexInfo> getDetailedDexInfo( in getDetailedDexInfo()
119 private static List<PrimaryDexInfoBuilder> getDetailedDexInfoImpl( in getDetailedDexInfoImpl()
315 public static ProfilePath buildRefProfilePathAsInput( in buildRefProfilePathAsInput()
323 public static OutputProfile buildOutputProfile(@NonNull PackageState pkgState, in buildOutputProfile()
333 @NonNull PackageState pkgState, @NonNull PrimaryDexInfo dexInfo) { in getCurProfiles()
340 @NonNull PackageState pkgState, @NonNull PrimaryDexInfo dexInfo) { in getCurProfiles()
DSecondaryDexopter.java45 Executor reporterExecutor, @NonNull PackageState pkgState, @NonNull AndroidPackage pkg, in SecondaryDexopter()
52 public SecondaryDexopter(@NonNull Injector injector, @NonNull PackageState pkgState, in SecondaryDexopter()
DPrimaryDexopter.java55 Executor reporterExecutor, @NonNull PackageState pkgState, @NonNull AndroidPackage pkg, in PrimaryDexopter()
62 public PrimaryDexopter(@NonNull Injector injector, @NonNull PackageState pkgState, in PrimaryDexopter()
DArtManagerLocal.java218 PackageState pkgState = Utils.getPackageStateOrThrow(snapshot, packageName); in deleteDexoptArtifacts() local
276 PackageState pkgState = Utils.getPackageStateOrThrow(snapshot, packageName); in getDexoptStatus() local
333 PackageState pkgState = Utils.getPackageStateOrThrow(snapshot, packageName); in clearAppProfiles() local
803 PackageState pkgState = Utils.getPackageStateOrThrow(snapshot, packageName); in snapshotOrDumpAppProfile() local
831 PrimaryDexUtils.getCurProfiles(mInjector.getUserManager(), pkgState, dexInfo)); in snapshotOrDumpAppProfile() local
1046 PackageState pkgState = Utils.getPackageStateOrThrow(snapshot, packageName); in getArtManagedFileStats() local
1243 PackageState pkgState = Utils.getPackageStateOrThrow(snapshot, packageName); in flushProfiles() local
DDexUseManagerLocal.java556 private FindResult checkForPackage(@NonNull PackageState pkgState, @NonNull String dexPath, in checkForPackage()
581 private static boolean isOwningPackageForPrimaryDex( in isOwningPackageForPrimaryDex()
597 private boolean isOwningPackageForSecondaryDexLocked( in isOwningPackageForSecondaryDexLocked()
633 private String getPackageCodeDir(@NonNull PackageState pkgState) { in getPackageCodeDir()
1298 public @NonNull List<String> getLocations( in getLocations()
DDumpHelper.java84 @NonNull PackageState pkgState) { in dumpPackage()
DArtShellCommand.java577 PackageState pkgState = Utils.getPackageStateOrThrow(snapshot, packageName); in handleDumpProfile() local
1179 PackageState pkgState = Utils.getPackageStateOrThrow(snapshot, packageName); in getSplitName() local
1200 PackageState pkgState = Utils.getPackageStateOrThrow(snapshot, packageName); in getSplitNameByFullPath() local
DDexopter.java81 protected Dexopter(@NonNull Injector injector, @NonNull PackageState pkgState, in Dexopter()
862 PackageState pkgState = packageStates.get(artPackageName); in getArtVersion() local