Home
last modified time | relevance | path

Searched refs:ArchiveState (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/pkg/
DArchiveState.java37 public class ArchiveState { class
73 public ArchiveState( in ArchiveState() method in ArchiveState
283 public ArchiveState( in ArchiveState() method in ArchiveState
352 ArchiveState that = (ArchiveState) o; in equals()
DPackageUserState.java250 ArchiveState getArchiveState(); in getArchiveState()
DPackageUserStateDefault.java202 public ArchiveState getArchiveState() { in getArchiveState()
DPackageUserStateImpl.java137 private ArchiveState mArchiveState;
614 public PackageUserStateImpl setArchiveState(@NonNull ArchiveState archiveState) {
803 public @Nullable ArchiveState getArchiveState() {
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageUserStateTest.java40 import com.android.server.pm.pkg.ArchiveState;
412 ArchiveState.ArchiveActivityInfo archiveActivityInfo = in archiveState()
413 new ArchiveState.ArchiveActivityInfo( in archiveState()
418 ArchiveState archiveState = new ArchiveState(List.of(archiveActivityInfo), in archiveState()
429 ArchiveState.ArchiveActivityInfo archiveActivityInfo = in archiveStateWithTimestamp()
430 new ArchiveState.ArchiveActivityInfo( in archiveStateWithTimestamp()
435 ArchiveState archiveState = new ArchiveState(List.of(archiveActivityInfo), in archiveStateWithTimestamp()
DPackageManagerSettingsTests.java81 import com.android.server.pm.pkg.ArchiveState;
1038 ArchiveState archiveState = in testWriteReadArchiveState()
1039 new ArchiveState( in testWriteReadArchiveState()
1041 new ArchiveState.ArchiveActivityInfo( in testWriteReadArchiveState()
1046 new ArchiveState.ArchiveActivityInfo( in testWriteReadArchiveState()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DPackageArchiverTest.java71 import com.android.server.pm.pkg.ArchiveState;
226 any(ArchiveState.ArchiveActivityInfo.class)); in setUp()
374 ArchiveState expectedArchiveState = createArchiveState(); in archiveApp_withNoAdditionalFlags_success()
375 ArchiveState actualArchiveState = mPackageSetting.readUserState( in archiveApp_withNoAdditionalFlags_success()
398 ArchiveState expectedArchiveState = createArchiveState(); in archiveApp_withAdditionalFlags_success()
399 ArchiveState actualArchiveState = mPackageSetting.readUserState( in archiveApp_withAdditionalFlags_success()
576 private static ArchiveState createArchiveState() { in createArchiveState()
577 List<ArchiveState.ArchiveActivityInfo> activityInfos = new ArrayList<>(); in createArchiveState()
579 ArchiveState.ArchiveActivityInfo activityInfo = new ArchiveState.ArchiveActivityInfo( in createArchiveState()
585 return new ArchiveState(activityInfos, INSTALLER_LABEL); in createArchiveState()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageArchiver.java99 import com.android.server.pm.pkg.ArchiveState;
100 import com.android.server.pm.pkg.ArchiveState.ArchiveActivityInfo;
362 List<ArchiveState.ArchiveActivityInfo> archiveActivityInfoList = in isIntentResolvedToArchivedApp()
480 ArchiveState createArchiveState(@NonNull ArchivedPackageParcel archivedPackage, in createArchiveState()
518 return new ArchiveState(archiveActivityInfos, responsibleInstallerTitle); in createArchiveState()
525 ArchiveState createArchiveStateInternal(String packageName, int userId, in createArchiveStateInternal()
545 return new ArchiveState(archiveActivityInfos, installerTitle); in createArchiveStateInternal()
949 ArchiveState archiveState = getAnyArchiveState(ps, userId); in getArchivedAppIcon()
981 private ArchiveState getAnyArchiveState(PackageStateInternal ps, int userId) { in getAnyArchiveState()
1248 ArchiveState archiveState = packageState.getUserStateOrDefault(userId).getArchiveState(); in getInstallerTitle()
[all …]
DPackageSetting.java41 import android.service.pm.PackageProto.UserInfoProto.ArchiveState.ArchiveActivityInfo;
56 import com.android.server.pm.pkg.ArchiveState;
805 void setArchiveState(ArchiveState archiveState, int userId) {
995 long firstInstallTime, int aspectRatio, ArchiveState archiveState) {
1263 private static void writeArchiveState(ProtoOutputStream proto, ArchiveState archiveState) {
1268 for (ArchiveState.ArchiveActivityInfo activityInfo : archiveState.getActivityInfos()) {
1270 PackageProto.UserInfoProto.ArchiveState.ACTIVITY_INFOS);
1286 proto.write(PackageProto.UserInfoProto.ArchiveState.INSTALLER_TITLE,
DDeletePackageHelper.java68 import com.android.server.pm.pkg.ArchiveState;
608 ArchiveState archiveState = in markPackageUninstalledForUserLPw()
DSettings.java119 import com.android.server.pm.pkg.ArchiveState;
1950 ArchiveState archiveState = null;
2080 private static ArchiveState parseArchiveState(TypedXmlPullParser parser)
2085 List<ArchiveState.ArchiveActivityInfo> activityInfos =
2098 return new ArchiveState(activityInfos, installerTitle, archiveTimeMillis);
2101 private static List<ArchiveState.ArchiveActivityInfo> parseArchiveActivityInfos(
2103 List<ArchiveState.ArchiveActivityInfo> activityInfos = new ArrayList<>();
2152 new ArchiveState.ArchiveActivityInfo(
2522 private void writeArchiveStateLPr(TypedXmlSerializer serializer, ArchiveState archiveState)
2531 for (ArchiveState.ArchiveActivityInfo activityInfo : archiveState.getActivityInfos()) {
[all …]
DLauncherAppsService.java129 import com.android.server.pm.pkg.ArchiveState;
926 ArchiveState archiveState = in generateLauncherActivitiesForArchivedApp()
937 List<ArchiveState.ArchiveActivityInfo> archiveActivityInfoList = in generateLauncherActivitiesForArchivedApp()
951 ArchiveState.ArchiveActivityInfo archiveActivityInfo) { in constructLauncherActivityInfoForArchivedApp()
DPackageManagerService.java230 import com.android.server.pm.pkg.ArchiveState;
1474 ArchiveState archiveState; in getArchivedPackageInternal()
/frameworks/base/core/proto/android/service/
Dpackage.proto106 message ArchiveState { message
144 optional ArchiveState archive_state = 12;
/frameworks/base/services/
Dart-profile2292 …rsing/pkg/PackageImpl;]Lcom/android/server/pm/pkg/ArchiveState;Lcom/android/server/pm/pkg/ArchiveS…
2556 …id/util/ArraySet;IILjava/lang/String;Ljava/lang/String;JILcom/android/server/pm/pkg/ArchiveState;)V
2761ArchiveState$ArchiveActivityInfo;Lcom/android/server/pm/pkg/ArchiveState$ArchiveActivityInfo;]Lcom…
Dart-wear-profile1017 Lcom/android/server/pm/pkg/ArchiveState;
19106 …id/util/ArraySet;IILjava/lang/String;Ljava/lang/String;JILcom/android/server/pm/pkg/ArchiveState;)V
19395 …veStateLPr(Lcom/android/modules/utils/TypedXmlSerializer;Lcom/android/server/pm/pkg/ArchiveState;)V
20556 …d/server/pm/pkg/PackageUserStateDefault;->getArchiveState()Lcom/android/server/pm/pkg/ArchiveState;
20574 …roid/server/pm/pkg/PackageUserStateImpl;->getArchiveState()Lcom/android/server/pm/pkg/ArchiveState;
20606 …pkg/PackageUserStateImpl;->setArchiveState(Lcom/android/server/pm/pkg/ArchiveState;)Lcom/android/s…