/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceIdRecyclingTest.java | 53 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()
|
D | UserManagerServiceTest.java | 59 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()
|
D | UserManagerServiceShellCommandTest.java | 66 private UserManagerService mUserManagerService; 90 UserManagerService serviceInstance = new UserManagerService(context); in setUp()
|
D | UserManagerServiceCreateProfileTest.java | 56 private UserManagerService mUserManagerService; 69 mUserManagerService = new UserManagerService(InstrumentationRegistry.getContext()); in setup() 299 UserManagerService userManagerServiceSpy = Mockito.spy(mUserManagerService); in testCreateManagedProfileForUser_maxManagedUsersException()
|
D | UserManagerServiceUserTypeTest.java | 287 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()
|
D | UserManagerServiceUserInfoTest.java | 62 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/ |
D | ComponentResolverSnapshot.java | 22 import com.android.server.pm.UserManagerService; 29 super(UserManagerService.getInstance()); in ComponentResolverSnapshot()
|
D | ComponentResolver.java | 60 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 …]
|
D | ComponentResolverLocked.java | 33 import com.android.server.pm.UserManagerService; 42 protected ComponentResolverLocked(@NonNull UserManagerService userManager) { in ComponentResolverLocked()
|
D | ComponentResolverBase.java | 38 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/ |
D | UserNeedsBadgingCache.java | 37 private final UserManagerService mUserManager; 39 public UserNeedsBadgingCache(@NonNull UserManagerService userManager) { in UserNeedsBadgingCache()
|
D | CrossProfileIntentFilterHelper.java | 31 private final UserManagerService mUserManagerService; 34 public CrossProfileIntentFilterHelper(Settings settings, UserManagerService userManagerService, in CrossProfileIntentFilterHelper()
|
D | CrossProfileResolver.java | 40 protected final UserManagerService mUserManager; 43 UserManagerService userManager) { in CrossProfileResolver()
|
D | PackageManagerServiceInjector.java | 99 private final Singleton<UserManagerService> 152 Producer<UserManagerService> userManagerProducer, in PackageManagerServiceInjector() 265 public UserManagerService getUserManagerService() { in getUserManagerService()
|
D | KillAppBlocker.java | 87 UserManagerService userManager, String packageName) { in waitAppProcessGone()
|
D | InstantAppResolver.java | 140 @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()
|
D | NoFilteringResolver.java | 72 UserManagerService userManagerService) { in NoFilteringResolver()
|
D | TEST_MAPPING | 40 "file_patterns": ["(/|^)PackageManagerService\\.java","(/|^)UserManagerService\\.java"],
|
D | UserSystemPackageInstaller.java | 156 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/ |
D | UserManagerServiceDemoModeTest.kt | 37 private lateinit var ums: UserManagerService 59 ums = UserManagerService(rule.mocks().context) in setUp()
|
D | UserManagerServiceTest.java | 78 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/ |
D | AccessCheckingService.kt | 38 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/ |
D | TelecomLoaderService.java | 45 import com.android.server.pm.UserManagerService; 247 for (int userId : UserManagerService.getInstance().getUserIds()) { in registerCarrierConfigChangedReceiver()
|
/frameworks/base/services/ |
D | art-profile-boot | 99 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/ |
D | PackageManagerSettingsTests.java | 167 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 …]
|