Home
last modified time | relevance | path

Searched refs:getUserStates (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPreferredComponentTest.java85 doReturn(userStates0).when(psInt0).getUserStates(); in testPreferredComponent_sameSet_withAppInstalledByDeviceSetup()
86 doReturn(userStates1).when(psInt1).getUserStates(); in testPreferredComponent_sameSet_withAppInstalledByDeviceSetup()
118 doReturn(userStates0).when(psInt0).getUserStates(); in testPreferredComponent_notSameSet_withAppNotInstalledByDeviceSetup()
119 doReturn(userStates1).when(psInt1).getUserStates(); in testPreferredComponent_notSameSet_withAppNotInstalledByDeviceSetup()
DPackageManagerSettingsTests.java1931 assertNotSame(origPkgSetting.getUserStates(), is(testPkgSetting.getUserStates())); in verifySettingCopy()
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationLegacySettings.java85 public SparseIntArray getUserStates(@NonNull String packageName) { in getUserStates() method in DomainVerificationLegacySettings
91 return state.getUserStates(); in getUserStates()
129 final SparseIntArray userStates = state.getUserStates(); in writeSettings()
204 public SparseIntArray getUserStates() { in getUserStates() method in DomainVerificationLegacySettings.LegacyState
DDomainVerificationSettings.java246 oldState.getUserStates(); in mergePkgState()
249 newState.getUserStates(); in mergePkgState()
DDomainVerificationService.java577 owningPkgState.getUserStates(); in removeUserStatesForDomain()
582 SparseArray<DomainVerificationInternalUserState> array = pkgState.getUserStates(); in removeUserStatesForDomain()
1018 oldPkgState.getUserStates(); in migrateState()
1094 SparseArray<DomainVerificationInternalUserState> userStates = pkgState.getUserStates(); in addPackage()
1115 SparseIntArray legacyUserStates = mLegacySettings.getUserStates(pkgName); in addPackage()
1798 pkgSetting.getUserStates()); in filterToLastFirstInstalled()
1934 final PackageUserStateInternal pkgUserState = pkgSetting.getUserStates().get(userId); in approvalLevelForDomainInternal()
DDomainVerificationDebug.java236 pkgState.getUserStates(); in printState()
DDomainVerificationPersistence.java287 writeUserStates(parentSection, userId, pkgState.getUserStates()); in writePkgStateToXml()
/frameworks/base/services/core/java/com/android/server/pm/pkg/
DPackageStateInternal.java61 SparseArray<? extends PackageUserStateInternal> getUserStates(); in getUserStates() method
69 PackageUserStateInternal userState = getUserStates().get(userId); in getUserStateOrDefault()
DPackageState.java294 SparseArray<? extends PackageUserState> getUserStates(); in getUserStates() method
303 PackageUserState userState = getUserStates().get(userId); in getUserStateOrDefault()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
DDomainVerificationLegacySettingsTest.kt88 val firstUserStates = newSettings.getUserStates("com.test.one") in writeAndReadBackNormal()
97 assertWithMessage(xml).that(newSettings.getUserStates("com.test.two")).isNull() in writeAndReadBackNormal()
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/models/
DDomainVerificationPkgState.java97 pkgState.getUserStates(), null, new ArrayMap<>()); in DomainVerificationPkgState()
246 public @NonNull SparseArray<DomainVerificationInternalUserState> getUserStates() { in getUserStates() method in DomainVerificationPkgState
/frameworks/base/services/core/java/com/android/server/pm/
DPreferredComponent.java228 final PackageUserStateInternal pkgUserState = ps.getUserStates().get(userId); in sameSet()
DInstantAppRegistry.java871 PackageStateUtils.getEarliestFirstInstallTime(lhsPs.getUserStates())
873 rhsPs.getUserStates())) {
DPackageSetting.java1582 public SparseArray<? extends PackageUserStateInternal> getUserStates() {
1603 PackageUserState userState = getUserStates().get(user.getIdentifier());
DPackageArchiver.java987 for (int i = 0; i < ps.getUserStates().size(); i++) { in getAnyArchiveState()
988 userState = ps.getUserStates().valueAt(i); in getAnyArchiveState()
DScanPackageUtils.java443 ? PackageStateUtils.getEarliestFirstInstallTime(pkgSetting.getUserStates()) in scanPackageOnlyLI()
DPackageManagerService.java4470 final SparseArray<? extends PackageUserStateInternal> userStates = ps.getUserStates();
6281 packageState.getUserStates().get(userIds[i]); in setMimeGroup()
DComputerEngine.java5674 PackageStateUtils.getEarliestFirstInstallTime(packageState.getUserStates()), in getUnusedPackages()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DPackageArchiverTest.java178 when(mPackageState.getUserStates()).thenReturn(new SparseArray<>()); in setUp()
/frameworks/base/services/
Dart-profile2137 HSPLcom/android/server/permission/access/AccessState;->getUserStates()Lcom/android/server/permissio…
2541 HSPLcom/android/server/pm/PackageSetting;->getUserStates()Landroid/util/SparseArray;
Dart-wear-profile17100 HPLcom/android/server/permission/access/AccessState;->getUserStates()Lcom/android/server/permission…
19041 HSPLcom/android/server/pm/PackageSetting;->getUserStates()Landroid/util/SparseArray;
20799 PLcom/android/server/pm/verify/domain/DomainVerificationLegacySettings$LegacyState;->getUserStates(…
20855 PLcom/android/server/pm/verify/domain/models/DomainVerificationPkgState;->getUserStates()Landroid/u…