Searched refs:userManager (Results 1 – 13 of 13) sorted by relevance
46 UserManager userManager = getSystemService(UserManager.class); in getCurrentUserSerialNumber() local47 return userManager.getSerialNumberForUser(Process.myUserHandle()); in getCurrentUserSerialNumber()
53 UserManager userManager = getSystemService(UserManager.class); in getCurrentUserSerialNumber() local54 return userManager.getSerialNumberForUser(Process.myUserHandle()); in getCurrentUserSerialNumber()
56 UserManager userManager = context.getSystemService(UserManager.class); in readTargetUser() local58 mTargetUser = userManager.getUserForSerialNumber(userSn); in readTargetUser()
82 UserManager userManager = context.getSystemService(UserManager.class); in readTargetUser() local84 mTargetUser = userManager.getUserForSerialNumber(mUserSerialNumber); in readTargetUser()
80 UserManager userManager = context.getSystemService(UserManager.class); in readTargetUser() local82 mTargetUser = userManager.getUserForSerialNumber(mUserSerialNumber); in readTargetUser()
40 final UserManager userManager = context.getSystemService(UserManager.class); in onReceive() local46 userManager.requestQuietModeEnabled(enableQuietMode, targetUser); in onReceive()
41 final UserManager userManager = in testSetWallpaper_disallowed() local43 assertTrue(userManager.hasUserRestriction(UserManager.DISALLOW_SET_WALLPAPER)); in testSetWallpaper_disallowed()
94 UserManager userManager = (UserManager) mInstrumentation.getContext().getSystemService( in setUp() local96 mUser = getUserHandleArgument(userManager, "testUser", arguments); in setUp()359 private UserHandle getUserHandleArgument(UserManager userManager, String key, in getUserHandleArgument() argument366 return userManager.getUserForSerialNumber(serialNo); in getUserHandleArgument()
83 UserManager userManager = context.getSystemService(UserManager.class); in readParams() local85 mTargetUser = userManager.getUserForSerialNumber(userSn); in readParams()
304 final UserManager userManager = (UserManager) mContext.getSystemService( in enablePhoneAccount() local308 + handle.getId() + " " + userManager in enablePhoneAccount()
600 UserManager userManager = in getCurrentUserSerialNumber() local602 return userManager.getSerialNumberForUser(Process.myUserHandle()); in getCurrentUserSerialNumber()
1371 UserManager userManager = mContext.getSystemService(UserManager.class); in isSystemUser() local1372 return userManager.isSystemUser(); in isSystemUser()
136 UserManager userManager = (UserManager) getInstrumentation() in testGetAppInstalledProvidersForCurrentUserNewAllProfiles() local141 List<UserHandle> profiles = userManager.getUserProfiles(); in testGetAppInstalledProvidersForCurrentUserNewAllProfiles()