Home
last modified time | relevance | path

Searched refs:UserManagerService (Results 1 – 25 of 59) sorted by relevance

123

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceIdRecyclingTest.java53 private UserManagerService mUserManagerService;
66 mUserManagerService = new UserManagerService(InstrumentationRegistry.getContext()); in setup()
72 for (int i = UserManagerService.MIN_USER_ID; i < UserManagerService.MAX_USER_ID; i++) { in testUserCreateRecycleIdsAddAllThenRemove()
80 int startFrom = UserManagerService.MIN_USER_ID + 10000 /* arbitrary number */; in testUserCreateRecycleIdsAddAllThenRemove()
81 int lastId = startFrom + UserManagerService.MAX_RECENTLY_REMOVED_IDS_SIZE; in testUserCreateRecycleIdsAddAllThenRemove()
89 removeUser(UserManagerService.MIN_USER_ID); in testUserCreateRecycleIdsAddAllThenRemove()
100 for (int i = 0; i < UserManagerService.MAX_USER_ID * 2; i++) { in testUserCreateRecycleIdsOverflow()
104 if (queue.size() > UserManagerService.MAX_RECENTLY_REMOVED_IDS_SIZE) { in testUserCreateRecycleIdsOverflow()
DUserManagerServiceTest.java59 private UserManagerService mUserManagerService;
72 mUserManagerService = new UserManagerService(InstrumentationRegistry.getContext()); in setup()
92 UserManagerService.writeApplicationRestrictionsLAr(bundle, atomicFile); in testWriteReadApplicationRestrictions()
96 bundle = UserManagerService.readApplicationRestrictionsLAr(atomicFile); in testWriteReadApplicationRestrictions()
DUserManagerServiceShellCommandTest.java66 private UserManagerService mUserManagerService;
90 UserManagerService serviceInstance = new UserManagerService(context); in setUp()
DUserManagerServiceCreateProfileTest.java56 private UserManagerService mUserManagerService;
69 mUserManagerService = new UserManagerService(InstrumentationRegistry.getContext()); in setup()
299 UserManagerService userManagerServiceSpy = Mockito.spy(mUserManagerService); in testCreateManagedProfileForUser_maxManagedUsersException()
DUserManagerServiceUserTypeTest.java287 assertTrue(UserManagerService.checkUserTypeConsistency(FLAG_GUEST)); in testCheckUserTypeConsistency()
288 assertTrue(UserManagerService.checkUserTypeConsistency(FLAG_GUEST | FLAG_EPHEMERAL)); in testCheckUserTypeConsistency()
289 assertTrue(UserManagerService.checkUserTypeConsistency(FLAG_PROFILE)); in testCheckUserTypeConsistency()
291 assertFalse(UserManagerService.checkUserTypeConsistency(FLAG_DEMO | FLAG_RESTRICTED)); in testCheckUserTypeConsistency()
292 assertFalse(UserManagerService.checkUserTypeConsistency(FLAG_PROFILE | FLAG_SYSTEM)); in testCheckUserTypeConsistency()
293 assertFalse(UserManagerService.checkUserTypeConsistency(FLAG_PROFILE | FLAG_FULL)); in testCheckUserTypeConsistency()
DUserManagerServiceUserInfoTest.java62 import com.android.server.pm.UserManagerService.UserData;
85 private UserManagerService mUserManagerService;
99 mUserManagerService = new UserManagerService(InstrumentationRegistry.getContext()); in setup()
/frameworks/base/services/core/java/com/android/server/pm/resolution/
DComponentResolverSnapshot.java22 import com.android.server.pm.UserManagerService;
29 super(UserManagerService.getInstance()); in ComponentResolverSnapshot()
DComponentResolver.java60 import com.android.server.pm.UserManagerService;
161 public ComponentResolver(@NonNull UserManagerService userManager, in ComponentResolver()
817 protected final UserManagerService mUserManager;
820 MimeGroupsAwareIntentResolver(@NonNull UserManagerService userManager) { in MimeGroupsAwareIntentResolver()
826 @NonNull UserManagerService userManager) { in MimeGroupsAwareIntentResolver()
963 ActivityIntentResolver(@NonNull UserManagerService userManager, in ActivityIntentResolver()
971 @NonNull UserManagerService userManager, in ActivityIntentResolver()
1268 ReceiverIntentResolver(@NonNull UserManagerService userManager, in ReceiverIntentResolver()
1275 @NonNull UserManagerService userManager, in ReceiverIntentResolver()
1289 ProviderIntentResolver(@NonNull UserManagerService userManager) { in ProviderIntentResolver()
[all …]
DComponentResolverLocked.java33 import com.android.server.pm.UserManagerService;
42 protected ComponentResolverLocked(@NonNull UserManagerService userManager) { in ComponentResolverLocked()
DComponentResolverBase.java38 import com.android.server.pm.UserManagerService;
71 protected final UserManagerService mUserManager;
73 protected ComponentResolverBase(@NonNull UserManagerService userManager) { in ComponentResolverBase()
/frameworks/base/services/core/java/com/android/server/pm/
DUserNeedsBadgingCache.java37 private final UserManagerService mUserManager;
39 public UserNeedsBadgingCache(@NonNull UserManagerService userManager) { in UserNeedsBadgingCache()
DCrossProfileIntentFilterHelper.java31 private final UserManagerService mUserManagerService;
34 public CrossProfileIntentFilterHelper(Settings settings, UserManagerService userManagerService, in CrossProfileIntentFilterHelper()
DCrossProfileResolver.java40 protected final UserManagerService mUserManager;
43 UserManagerService userManager) { in CrossProfileResolver()
DPackageManagerServiceInjector.java99 private final Singleton<UserManagerService>
152 Producer<UserManagerService> userManagerProducer, in PackageManagerServiceInjector()
265 public UserManagerService getUserManagerService() { in getUserManagerService()
DKillAppBlocker.java87 UserManagerService userManager, String packageName) { in waitAppProcessGone()
DInstantAppResolver.java140 @NonNull UserManagerService userManager, InstantAppResolverConnection connection, in doInstantAppResolutionPhaseOne()
194 @NonNull UserManagerService userManager, InstantAppResolverConnection connection, in doInstantAppResolutionPhaseTwo()
397 @NonNull UserManagerService userManager, in filterInstantAppIntent()
476 @NonNull Computer computer, @NonNull UserManagerService userManager, Intent origIntent, in computeResolveFilters()
DNoFilteringResolver.java72 UserManagerService userManagerService) { in NoFilteringResolver()
DTEST_MAPPING40 "file_patterns": ["(/|^)PackageManagerService\\.java","(/|^)UserManagerService\\.java"],
DUserSystemPackageInstaller.java156 private final UserManagerService mUm;
166 UserSystemPackageInstaller(UserManagerService um, ArrayMap<String, UserTypeDetails> userTypes) { in UserSystemPackageInstaller()
182 UserSystemPackageInstaller(UserManagerService ums, ArrayMap<String, Long> whitelist, in UserSystemPackageInstaller()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DUserManagerServiceDemoModeTest.kt37 private lateinit var ums: UserManagerService
59 ums = UserManagerService(rule.mocks().context) in setUp()
DUserManagerServiceTest.java78 import com.android.server.pm.UserManagerService.UserData;
169 private UserManagerService mUms;
199 mUms = new UserManagerService(mSpiedContext, mMockPms, mMockUserDataPreparer, in setFixtures()
592 UserManagerService mSpiedUms = spy(mUms); in testAutoLockPrivateProfile()
614 UserManagerService mSpiedUms = spy(mUms); in testAutoLockOnDeviceLockForPrivateProfile()
636 UserManagerService mSpiedUms = spy(mUms); in testAutoLockOnDeviceLockForPrivateProfile_keyguardUnlocked()
657 UserManagerService mSpiedUms = spy(mUms); in testAutoLockOnDeviceLockForPrivateProfile_flagDisabled()
679 UserManagerService mSpiedUms = spy(mUms); in testAutoLockAfterInactityForPrivateProfile()
783 UserManagerService mSpiedUms = spy(mUms); in testCreatePrivateProfileOnHeadlessSystemUser_shouldAllowCreation()
/frameworks/base/services/permission/java/com/android/server/permission/access/
DAccessCheckingService.kt38 import com.android.server.pm.UserManagerService in <lambda>()
59 private lateinit var userManagerService: UserManagerService in <lambda>()
79 userManagerService = UserManagerService.getInstance() in <lambda>()
/frameworks/base/services/core/java/com/android/server/telecom/
DTelecomLoaderService.java45 import com.android.server.pm.UserManagerService;
247 for (int userId : UserManagerService.getInstance().getUserIds()) { in registerCarrierConfigChangedReceiver()
/frameworks/base/services/
Dart-profile-boot99 Lcom/android/server/pm/UserManagerService;->getUsers(Z)Ljava/util/List;
115 Lcom/android/server/pm/UserManagerService;->getInstance()Lcom/android/server/pm/UserManagerService;
143 …/PackageManagerService$Injector;->getUserManagerService()Lcom/android/server/pm/UserManagerService;
151 Lcom/android/server/pm/UserManagerService;->getInternalForInjectorOnly()Landroid/os/UserManagerInte…
152 …/String;Ljava/lang/String;IILjava/util/List;Lcom/android/server/pm/UserManagerService;[Ljava/lang/…
194 Lcom/android/server/pm/UserManagerService;->getUserIds()[I
244 Lcom/android/server/pm/UserManagerService$LocalService;->exists(I)Z
245 Lcom/android/server/pm/UserManagerService;->access$2900(Lcom/android/server/pm/UserManagerService;I…
246 Lcom/android/server/pm/UserManagerService;->getUserInfoNoChecks(I)Landroid/content/pm/UserInfo;
247 Lcom/android/server/pm/UserManagerService;->exists(I)Z
[all …]
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageManagerSettingsTests.java167 new UserManagerService(InstrumentationRegistry.getContext()); in createUserManagerServiceRef()
1232 UserManagerService.getInstance(), in testUpdatePackageSetting01()
1276 UserManagerService.getInstance(), in testUpdatePackageSetting02()
1320 UserManagerService.getInstance(), in testUpdatePackageSettings02WithOldPaths()
1345 UserManagerService.getInstance(), in testUpdatePackageSettings02WithOldPaths()
1388 UserManagerService.getInstance(), in testUpdatePackageSetting03()
1428 UserManagerService.getInstance(), in testCreateNewSetting01()
1476 UserManagerService.getInstance(), in testCreateNewSetting02()
1524 UserManagerService.getInstance(), in testCreateNewSetting03()
1573 UserManagerService.getInstance(), in testCreateNewSetting04()
[all …]

123