Home
last modified time | relevance | path

Searched defs:um (Results 1 – 25 of 52) sorted by relevance

123

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/development/
DDevelopmentSettingsEnabler.java43 final UserManager um = (UserManager) context.getSystemService(Context.USER_SERVICE); in isDevelopmentSettingsEnabled() local
/frameworks/base/services/core/java/com/android/server/policy/
DPowerAction.java38 UserManager um = mContext.getSystemService(UserManager.class); in onLongPress() local
DRestartAction.java38 UserManager um = mContext.getSystemService(UserManager.class); in onLongPress() local
/frameworks/base/core/tests/coretests/src/android/provider/
DSettingsProviderTest.java169 UserManager um = (UserManager) getContext().getSystemService(Context.USER_SERVICE); in testSettingsChangeForOtherUser() local
223 private boolean findUser(UserManager um, int userHandle) { in findUser()
234 UserManager um = (UserManager) getContext().getSystemService(Context.USER_SERVICE); in testPerUserSettings() local
/frameworks/base/packages/services/PacProcessor/src/com/android/pacprocessor/
DPacService.java69 UserManager um = getSystemService(UserManager.class); in checkPacProcessorLocked() local
/frameworks/base/core/tests/packagemanagertests/src/android/content/pm/
DKernelPackageMappingTests.java58 UserManager um = (UserManager) InstrumentationRegistry.getContext().getSystemService( in getUserManager() local
/frameworks/base/services/java/com/android/server/
DBootUserInitializer.java59 UserManagerInternal um = LocalServices.getService(UserManagerInternal.class); in init() local
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/
DPackageManagerServiceTest.java508 final UserManager um = UserManager.get( in testInstallReason_userRemainsUninstalled_keepUnknown() local
540 final UserManager um = UserManager.get( in testInstallReason_installForAllUsers_sameReason() local
566 final UserManager um = UserManager.get( in testInstallReason_installSeparately_withSeparatedReason() local
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtilsInternal.java100 final UserManager um = UserManager.get(context); in checkIfRestrictionEnforced() local
150 final UserManager um = (UserManager) context.getSystemService(Context.USER_SERVICE); in hasBaseUserRestriction() local
369 UserManager um = (UserManager) context.getSystemService(Context.USER_SERVICE); in getManagedProfileId() local
692 UserManager um = UserManager.get(context); in isAdminInCurrentUserOrProfile() local
/frameworks/base/services/core/java/com/android/server/storage/
DAppCollector.java105 PackageManager pm, UserManager um, StorageStatsManager storageStatsManager) { in BackgroundHandler()
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/
DRollbackTest.java167 UserManager um = (UserManager) context.getSystemService(context.USER_SERVICE); in testBasic() local
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserSystemPackageInstallerTest.java116 UserManager um = UserManager.get(mContext); in tearDown() local
356 final UserManager um = UserManager.get(mContext); in testPackagesForCreateUser_full() local
DUserManagerTest.java1038 UserManager um = (UserManager) mContext.createPackageContextAsUser( in testCreateProfile_withContextUserId() local
1057 UserManager um = (UserManager) mContext.createPackageContextAsUser( in testSetUserName_withContextUserId() local
1077 UserManager um = (UserManager) mContext.createPackageContextAsUser( in testGetUserName_withContextUserId() local
1089 UserManager um = (UserManager) mContext.createPackageContextAsUser( in testGetUserName_shouldReturnTranslatedTextForNullNamedGuestUser() local
1106 UserManager um = (UserManager) mContext.createPackageContextAsUser( in testGetUserIcon_withContextUserId() local
DUserManagerServiceTest.java101 UserManager um = UserManager.get(mContext); in testAddUserWithAccount() local
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DUidDetailProvider.java137 final UserManager um = (UserManager) mContext.getSystemService(Context.USER_SERVICE); in buildUidDetail() local
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DFactoryResetter.java126 UserManager um = mContext.getSystemService(UserManager.class); in factoryResetInternalUnchecked() local
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/enterprise/
DActionDisabledLearnMoreButtonLauncher.java102 UserManager um = context.getSystemService(UserManager.class); in isSameProfileGroup() local
/frameworks/base/packages/SettingsLib/RestrictedLockUtils/src/com/android/settingslib/
DRestrictedLockUtils.java116 UserManager um = context.getSystemService(UserManager.class); in isCurrentUserOrProfile() local
/frameworks/base/services/core/java/com/android/server/search/
DSearchManagerService.java111 final UserManager um = mContext.getSystemService(UserManager.class); in getSearchables() local
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DRecentLocationApps.java88 final UserManager um = (UserManager) mContext.getSystemService(Context.USER_SERVICE); in getAppList() local
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotPersisterTestBase.java94 final UserManager um = UserManager.get(getInstrumentation().getTargetContext()); in setUp() local
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DActivityTestMain.java201 UserManager um = (UserManager)getSystemService(Context.USER_SERVICE); in onCreate() local
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DLockPatternUtilsTest.java99 final UserManager um = Mockito.mock(UserManager.class); in configureTest() local
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DRecentAppOpsAccess.java126 final UserManager um = mContext.getSystemService(UserManager.class); in getAppList() local
/frameworks/base/services/core/java/com/android/server/incident/
DIncidentCompanionService.java431 final UserManager um = UserManager.get(context); in getAndValidateUser() local

123