Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceIdRecyclingTest.java52 private UserManagerService mUserManagerService;
65 mUserManagerService = new UserManagerService(InstrumentationRegistry.getContext()); in setup()
71 for (int i = UserManagerService.MIN_USER_ID; i < UserManagerService.MAX_USER_ID; i++) { in testUserCreateRecycleIdsAddAllThenRemove()
79 int startFrom = UserManagerService.MIN_USER_ID + 10000 /* arbitrary number */; in testUserCreateRecycleIdsAddAllThenRemove()
80 int lastId = startFrom + UserManagerService.MAX_RECENTLY_REMOVED_IDS_SIZE; in testUserCreateRecycleIdsAddAllThenRemove()
88 removeUser(UserManagerService.MIN_USER_ID); in testUserCreateRecycleIdsAddAllThenRemove()
99 for (int i = 0; i < UserManagerService.MAX_USER_ID * 2; i++) { in testUserCreateRecycleIdsOverflow()
103 if (queue.size() > UserManagerService.MAX_RECENTLY_REMOVED_IDS_SIZE) { in testUserCreateRecycleIdsOverflow()
DUserManagerServiceUserTypeTest.java177 assertTrue(UserManagerService.checkUserTypeConsistency(FLAG_GUEST)); in testCheckUserTypeConsistency()
178 assertTrue(UserManagerService.checkUserTypeConsistency(FLAG_GUEST | FLAG_EPHEMERAL)); in testCheckUserTypeConsistency()
179 assertTrue(UserManagerService.checkUserTypeConsistency(FLAG_PROFILE)); in testCheckUserTypeConsistency()
181 assertFalse(UserManagerService.checkUserTypeConsistency(FLAG_DEMO | FLAG_RESTRICTED)); in testCheckUserTypeConsistency()
182 assertFalse(UserManagerService.checkUserTypeConsistency(FLAG_PROFILE | FLAG_SYSTEM)); in testCheckUserTypeConsistency()
183 assertFalse(UserManagerService.checkUserTypeConsistency(FLAG_PROFILE | FLAG_FULL)); in testCheckUserTypeConsistency()
DUserManagerServiceTest.java62 UserManagerService.writeApplicationRestrictionsLAr(bundle, atomicFile); in testWriteReadApplicationRestrictions()
66 bundle = UserManagerService.readApplicationRestrictionsLAr(atomicFile); in testWriteReadApplicationRestrictions()
DUserManagerServiceUserInfoTest.java54 import com.android.server.pm.UserManagerService.UserData;
73 private UserManagerService mUserManagerService;
86 mUserManagerService = new UserManagerService(InstrumentationRegistry.getContext()); in setup()
DUserManagerServiceCreateProfileTest.java55 private UserManagerService mUserManagerService;
68 mUserManagerService = new UserManagerService(InstrumentationRegistry.getContext()); in setup()
295 UserManagerService userManagerServiceSpy = Mockito.spy(mUserManagerService); in testCreateManagedProfileForUser_maxManagedUsersException()
DPackageManagerSettingsTests.java505 UserManagerService.getInstance(), in testUpdatePackageSetting01()
539 UserManagerService.getInstance(), in testUpdatePackageSetting02()
579 UserManagerService.getInstance(), in testUpdatePackageSetting03()
612 UserManagerService.getInstance(), in testCreateNewSetting01()
652 UserManagerService.getInstance(), in testCreateNewSetting02()
698 UserManagerService.getInstance(), in testCreateNewSetting03()
741 UserManagerService.getInstance(), in testCreateNewSetting04()
1071 new UserManagerService(InstrumentationRegistry.getContext()); in createUserManagerServiceRef()
DUserSystemPackageInstallerTest.java106 UserManagerService ums = new UserManagerService(InstrumentationRegistry.getContext()); in setup()
/frameworks/base/services/core/java/com/android/server/telecom/
DTelecomLoaderService.java41 import com.android.server.pm.UserManagerService;
226 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 …]
Dart-profile7790 …roid/server/am/UserController$Injector;->getUserManager()Lcom/android/server/pm/UserManagerService;
23511 …ndroid/server/pm/-$$Lambda$UserManagerService$1$DQ_02g7kZ7QrJXO6aCATwE6DYCE;-><init>(Lcom/android/…
23512 PLcom/android/server/pm/-$$Lambda$UserManagerService$1$DQ_02g7kZ7QrJXO6aCATwE6DYCE;->run()V
23513 …$$Lambda$UserManagerService$DisableQuietModeUserUnlockedCallback$Xj5Vf2ikWbZ5QWza6wyZQhLIFdE;-><in…
23514 PLcom/android/server/pm/-$$Lambda$UserManagerService$DisableQuietModeUserUnlockedCallback$Xj5Vf2ikW…
23515 HSPLcom/android/server/pm/-$$Lambda$UserManagerService$s1AxethOTPU7NQ5LXxyP4etLk7E;-><init>(Landroi…
23516 HSPLcom/android/server/pm/-$$Lambda$UserManagerService$s1AxethOTPU7NQ5LXxyP4etLk7E;->onUserRestrict…
23781 HSPLcom/android/server/pm/ComponentResolver;-><init>(Lcom/android/server/pm/UserManagerService;Land…
23782 …PLcom/android/server/pm/ComponentResolver;->access$1100()Lcom/android/server/pm/UserManagerService;
24588 …/PackageManagerService$Injector;->getUserManagerService()Lcom/android/server/pm/UserManagerService;
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DUserSystemPackageInstaller.java155 private final UserManagerService mUm;
165 UserSystemPackageInstaller(UserManagerService um, ArrayMap<String, UserTypeDetails> userTypes) { in UserSystemPackageInstaller()
181 UserSystemPackageInstaller(UserManagerService ums, ArrayMap<String, Long> whitelist, in UserSystemPackageInstaller()
DUserManagerService.java155 public class UserManagerService extends IUserManager.Stub { class
521 private static UserManagerService sInstance;
523 public static UserManagerService getInstance() { in getInstance()
524 synchronized (UserManagerService.class) { in getInstance()
531 private UserManagerService mUms;
542 mUms = UserManagerService.getInstance(); in onStart()
591 UserManagerService(Context context) { in UserManagerService() method in UserManagerService
600 UserManagerService(Context context, PackageManagerService pm, UserDataPreparer userDataPreparer, in UserManagerService() method in UserManagerService
605 private UserManagerService(Context context, PackageManagerService pm, in UserManagerService() method in UserManagerService
4863 UserManagerService.this.setDevicePolicyUserRestrictionsInner(originatingUserId, in setDevicePolicyUserRestrictions()
[all …]
DOWNERS33 per-file UserManagerService.java = omakoto@google.com, yamasani@google.com
DSettings.java640 boolean virtualPreload, UserManagerService userManager, in createNewSetting()
761 @NonNull UserManagerService userManager, in updatePackageSetting()
889 final List<UserInfo> allUsers = getAllUsers(UserManagerService.getInstance()); in writeUserRestrictionsLPw()
903 static boolean isAdbInstallDisallowed(UserManagerService userManager, int userId) { in isAdbInstallDisallowed()
1333 List<UserInfo> users = getAllUsers(UserManagerService.getInstance()); in writeAllUsersPackageRestrictionsLPr()
1342 for (int userId : UserManagerService.getInstance().getUserIds()) { in writeAllRuntimePermissionsLPr()
2712 final List<UserInfo> users = getUsers(UserManagerService.getInstance(), true); in writePackageListLPrInternal()
4456 private static List<UserInfo> getAllUsers(UserManagerService userManager) { in getAllUsers()
4467 private static List<UserInfo> getUsers(UserManagerService userManager, boolean excludeDying) { in getUsers()
4993 List<UserInfo> users = getAllUsers(UserManagerService.getInstance()); in dumpPackagesLPr()
[all …]
DUserRestrictionsUtils.java512 if (UserManagerService.DBG) { in applyUserRestriction()
DComponentResolver.java129 private static UserManagerService sUserManager;
201 ComponentResolver(UserManagerService userManager, in ComponentResolver()
DInstantAppRegistry.java782 for (int userId : UserManagerService.getInstance().getUserIds()) { in pruneInstantApps()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java83 import com.android.server.pm.UserManagerService;
628 public final UserManagerService mUserManagerMock;
646 mUserManagerMock = mock(UserManagerService.class); in TestInjector()
663 protected UserManagerService getUserManager() { in getUserManager()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSystemServicesTestRule.java77 import com.android.server.pm.UserManagerService;
479 final UserManagerService ums = mock(UserManagerService.class);
/frameworks/base/services/tests/PackageManagerComponentOverrideTests/src/com/android/server/pm/test/override/
DPackageManagerComponentLabelIconOverrideTest.kt30 import com.android.server.pm.UserManagerService in <lambda>()
319 val mockUserManagerService: UserManagerService = mockThrowOnUnmocked { in <lambda>()
/frameworks/base/services/core/java/com/android/server/
DSystemService.java35 import com.android.server.pm.UserManagerService;
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerService.java71 import com.android.server.pm.UserManagerService;
231 private final UserManagerService mUserManager;
248 mUserManager = UserManagerService.getInstance(); in OverlayManagerService()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java144 import com.android.server.pm.UserManagerService;
1689 for (final int userId : UserManagerService.getInstance().getUserIds()) { in resetRuntimePermissions()
2519 final int[] currentUserIds = UserManagerService.getInstance().getUserIds(); in restorePermissionState()
2590 ps.getSharedUser(), UserManagerService.getInstance().getUserIds()); in restorePermissionState()
2743 for (int userId : UserManagerService.getInstance().getUserIds()) { in restorePermissionState()
3091 int[] users = UserManagerService.getInstance().getUserIds(); in revokePermissionsNoLongerImplicitLocked()
3200 return UserManagerService.getInstance().getUserIds(); in checkIfLegacyStorageOpsNeedToBeUpdated()
3254 int[] users = UserManagerService.getInstance().getUserIds(); in setInitialGrantForNewImplicitPermissionsLocked()
4482 return UserManagerService.getInstance().isSameProfileGroup(callerUserId, userId); in isSameProfileGroup()
4562 for (int userId : UserManagerService.getInstance().getUserIds()) { in systemReady()
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java105 import com.android.server.pm.UserManagerService;
2216 UserManagerService ums = mInjector.getUserManager();
2711 private UserManagerService mUserManager;
2770 protected UserManagerService getUserManager() {
2773 mUserManager = (UserManagerService) IUserManager.Stub.asInterface(b);
/frameworks/base/services/java/com/android/server/
DSystemServer.java146 import com.android.server.pm.UserManagerService;
892 mSystemServiceManager.startService(UserManagerService.LifeCycle.class); in startBootstrapServices()

12