Home
last modified time | relevance | path

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

123

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/deviceinfo/
DSimStatusImeiInfoPreferenceControllerTest.java56 ShadowUserManager userManager = in testIsAvailable_isAdminAndHasMobile_shouldReturnTrue() local
68 ShadowUserManager userManager = in testIsAvailable_isAdminButNoMobile_shouldReturnFalse() local
80 ShadowUserManager userManager = in testIsAvailable_isNotAdmin_shouldReturnFalse() local
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/handheld/
DUninstallAlertDialogFragment.java88 UserManager userManager = getContext().getSystemService(UserManager.class); in getAppDataSize() local
128 UserManager userManager = UserManager.get(getActivity()); in onCreateDialog() local
208 private boolean isSingleUser(UserManager userManager) { in isSingleUser()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAlertFragment.java62 UserManager userManager = UserManager.get(getActivity()); in onCreateGuidance() local
116 private boolean isSingleUser(UserManager userManager) { in isSingleUser()
DUninstallAppProgress.java151 UserManager userManager = in handleMessage() local
189 UserManager userManager = in handleMessage() local
242 private boolean isProfileOfOrSame(UserManager userManager, int userId, int profileId) { in isProfileOfOrSame()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/userswitcher/
DUserIconProvider.java48 UserManager userManager = UserManager.get(context); in getRoundedUserIcon() local
92 UserManager userManager, Resources resources, UserInfo userInfo) { in assignDefaultIcon()
DUserSwitchTransitionViewController.java79 UserManager userManager, in UserSwitchTransitionViewController()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DUninstallFinish.java74 UserManager userManager = context.getSystemService(UserManager.class); in onReceive() local
208 private boolean isProfileOfOrSame(@NonNull UserManager userManager, int userId, int profileId) { in isProfileOfOrSame()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DAmbientBrightnessStatsTrackerTest.java416 public int getUserSerialNumber(UserManager userManager, int userId) { in getUserSerialNumber()
421 public int getUserId(UserManager userManager, int userSerialNumber) { in getUserId()
/frameworks/base/services/core/java/com/android/server/display/
DAmbientBrightnessStatsTracker.java68 public AmbientBrightnessStatsTracker(UserManager userManager, @Nullable Injector injector) { in AmbientBrightnessStatsTracker()
351 public int getUserSerialNumber(UserManager userManager, int userId) { in getUserSerialNumber()
355 public int getUserId(UserManager userManager, int userSerialNumber) { in getUserId()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DTakeScreenshotService.java128 public TakeScreenshotService(GlobalScreenshot globalScreenshot, UserManager userManager, in TakeScreenshotService()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandlerTest.java106 UserManager userManager = (UserManager) mContextFixture.getTestDouble(). in setUp() local
/frameworks/base/core/java/android/webkit/
DUserPackage.java101 UserManager userManager = (UserManager) context.getSystemService(Context.USER_SERVICE); in getAllUsers() local
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmInboundSmsHandlerTest.java202 UserManager userManager = (UserManager)mContext.getSystemService(Context.USER_SERVICE); in setUp() local
837 UserManager userManager = (UserManager)mContext.getSystemService(Context.USER_SERVICE); in testBroadcastUndeliveredUserLocked() local
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DBugreportProgressServiceTest.java58 public UserManager userManager; field in BugreportProgressServiceTest.MyContext
/frameworks/base/packages/CarSystemUI/tests/src/com/android/systemui/car/userswitcher/
DUserSwitchTransitionViewControllerTest.java156 Resources resources, UserManager userManager, in TestableUserSwitchTransitionViewController()
/frameworks/base/core/java/com/android/internal/app/
DUnlaunchableAppActivity.java102 UserManager userManager = UserManager.get(this); in onClick() local
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DMockLockSettingsContext.java43 public MockLockSettingsContext(Context base, UserManager userManager, in MockLockSettingsContext()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPermissionManager.java123 UserManager userManager = mContext.getSystemService(UserManager.class); in dump() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUtils.java103 final UserManager userManager = context.getSystemService(UserManager.class); in isManagedProfile() local
/frameworks/base/services/core/java/com/android/server/locksettings/
DManagedProfilePasswordCache.java73 public ManagedProfilePasswordCache(KeyStore keyStore, UserManager userManager) { in ManagedProfilePasswordCache()
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
DDiskStatsLoggingServiceTest.java183 UserManager userManager = mock(UserManager.class); in testDontCrashOnRun() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DGuestResumeSessionReceiver.java101 UserManager userManager = (UserManager) context.getSystemService(Context.USER_SERVICE); in wipeGuestSession() local
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DConfigurationMap.java42 ConfigurationMap(UserManager userManager) { in ConfigurationMap()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDragDropControllerTests.java115 final UserManagerInternal userManager = mock(UserManagerInternal.class); in setUpOnce() local
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DCleanupManager.java69 UserManager userManager, in CleanupManager()

123