Home
last modified time | relevance | path

Searched defs:userManager (Results 1 – 25 of 46) sorted by relevance

12

/packages/apps/Dialer/tests/src/com/android/dialer/compat/
DFilteredNumberCompatTest.java234 UserManager userManager = mock(UserManager.class); in testCanCurrentUserOpenBlockSettings_M_SecondaryUser() local
246 UserManager userManager = mock(UserManager.class); in testCanCurrentUserOpenBlockSettings_M_PrimaryUser() local
258 UserManager userManager = mock(UserManager.class); in testCanAttemptBlockOperations_M_SecondaryUser() local
270 UserManager userManager = mock(UserManager.class); in testCanAttemptBlockOperations_M_PrimaryUser() local
/packages/apps/Dialer/src/com/android/dialer/compat/
DUserManagerCompat.java45 public static boolean isSystemUser(UserManager userManager) { in isSystemUser()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DUninstallAppProgress.java86 private boolean isProfileOfOrSame(UserManager userManager, int userId, int profileId) { in isProfileOfOrSame()
278 UserManager userManager = (UserManager) getSystemService(Context.USER_SERVICE); in onCreate() local
DUninstallerActivity.java77 UserManager userManager = UserManager.get(getActivity()); in onCreateDialog() local
125 private boolean isSingleUser(UserManager userManager) { in isSingleUser()
/packages/apps/Bluetooth/src/com/android/bluetooth/util/
DDevicePolicyUtils.java33 final UserManager userManager = (UserManager) context in isBluetoothWorkContactSharingDisabled() local
/packages/apps/Messaging/src/com/android/messaging/util/
DBugleActivityUtil.java69 UserManager userManager = (UserManager) context.getSystemService(Context.USER_SERVICE); in checkHasSmsPermissionsForUser() local
DOsUtil.java149 final UserManager userManager = in isSecondaryUser() local
/packages/apps/Launcher3/src/com/android/launcher3/util/
DManagedProfileHeuristic.java96 UserManagerCompat userManager = UserManagerCompat.getInstance(context); in ManagedProfileHeuristic() local
309 UserManagerCompat userManager = UserManagerCompat.getInstance(context); in processAllUsers() local
337 UserManagerCompat userManager = UserManagerCompat.getInstance(context); in markExistingUsersForNoFolderCreation() local
/packages/services/Telecomm/src/com/android/server/telecom/components/
DUserCallActivity.java61 final UserManager userManager = (UserManager) getSystemService(Context.USER_SERVICE); in onCreate() local
DUserCallIntentProcessor.java110 final UserManager userManager = (UserManager) mContext.getSystemService( in processOutgoingCallIntent() local
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DDisallowAddUserTask.java34 public DisallowAddUserTask(UserManager userManager, int deviceOwnerUserId, in DisallowAddUserTask()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DSecurityFragment.java393 public static UserInfo findRestrictedUser(UserManager userManager) { in findRestrictedUser()
444 UserManager userManager = (UserManager) context.getSystemService(Context.USER_SERVICE); in isRestrictedProfileInEffect() local
449 private static boolean isRestrictedProfileInEffect(UserManager userManager) { in isRestrictedProfileInEffect()
458 CreateRestrictedProfileTask(Context context, UserManager userManager) { in CreateRestrictedProfileTask()
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DNameAutoCompletePreference.java38 UserManager userManager = in createAdapter() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DUserManagerCompatUtils.java69 final UserManager userManager = context.getSystemService(UserManager.class); in getUserLockState() local
/packages/services/Telecomm/src/com/android/server/telecom/
DUserUtil.java30 UserManager userManager = (UserManager) context.getSystemService(Context.USER_SERVICE); in getUserInfoFromUserHandle() local
DCallIntentProcessor.java174 final UserManager userManager = UserManager.get(context); in fixInitiatingUserIfNecessary() local
/packages/apps/Settings/src/com/android/settings/
DCredentialStorage.java129 UserManager userManager = (UserManager) getSystemService(Context.USER_SERVICE); in onResume() local
437 UserManager userManager = (UserManager) getSystemService(Context.USER_SERVICE); in checkCallerIsCertInstallerOrSelfInProfile() local
DUtils.java599 public static UserHandle getManagedProfile(UserManager userManager) { in getManagedProfile()
620 public static boolean isManagedProfile(@NonNull UserManager userManager) { in isManagedProfile()
644 public static boolean isManagedProfile(@NonNull UserManager userManager, int userId) { in isManagedProfile()
842 public static UserInfo getExistingUser(UserManager userManager, UserHandle checkUser) { in getExistingUser()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCertInstallerMain.java74 UserManager userManager = (UserManager) getSystemService(Context.USER_SERVICE); in onCreate() local
/packages/apps/Settings/src/com/android/settings/applications/
DDefaultHomePreference.java110 UserManager userManager = getContext().getSystemService(UserManager.class); in hasManagedProfile() local
/packages/apps/Launcher3/src/com/android/launcher3/
DUninstallDropTarget.java42 UserManager userManager = (UserManager) context.getSystemService(Context.USER_SERVICE); in supportsDrop() local
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastSettings.java111 UserManager userManager = (UserManager) getSystemService(Context.USER_SERVICE); in onCreate() local
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/uiflows/
DPreProvisioningActivity.java311 UserManager userManager = (UserManager) getSystemService(Context.USER_SERVICE); in onRemoveProfileApproval() local
/packages/services/Mms/src/com/android/mms/service/
DDownloadRequest.java209 final UserManager userManager = in notifyOfDownload() local
/packages/services/Telephony/src/com/android/phone/settings/
DPhoneAccountSettingsFragment.java471 final UserManager userManager = (UserManager) getActivity() in isPrimaryUser() local

12