Home
last modified time | relevance | path

Searched defs:userManager (Results 1 – 25 of 55) 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/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/PackageInstaller/src/com/android/packageinstaller/handheld/
DUninstallAlertDialogFragment.java102 UserManager userManager = getContext().getSystemService(UserManager.class); in getAppDataSize() local
142 UserManager userManager = UserManager.get(getActivity()); in onCreateDialog() local
222 private boolean isSingleUser(UserManager userManager) { in isSingleUser()
/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()
DUninstallerActivity.java172 UserManager userManager = (UserManager) getSystemService(Context.USER_SERVICE); in onCreate() local
/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()
DBrightnessTrackerTest.java922 public int getUserSerialNumber(UserManager userManager, int userId) { in getUserSerialNumber()
927 public int getUserId(UserManager userManager, int userSerialNumber) { in getUserId()
932 public int[] getProfileIds(UserManager userManager, int userId) { in getProfileIds()
/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/services/tests/servicestests/src/com/android/server/locksettings/
DMockLockSettingsContext.java38 public MockLockSettingsContext(Context base, UserManager userManager, in MockLockSettingsContext()
DMockSyntheticPasswordManager.java41 FakeGateKeeperService gatekeeper, UserManager userManager, in MockSyntheticPasswordManager()
/frameworks/base/core/java/android/webkit/
DUserPackage.java101 UserManager userManager = (UserManager) context.getSystemService(Context.USER_SERVICE); in getAllUsers() local
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DBugreportProgressServiceTest.java58 public UserManager userManager; field in BugreportProgressServiceTest.MyContext
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandlerTest.java115 UserManager userManager = (UserManager) mContextFixture.getTestDouble(). in setUp() local
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmInboundSmsHandlerTest.java173 UserManager userManager = (UserManager)mContext.getSystemService(Context.USER_SERVICE); in setUp() local
764 UserManager userManager = (UserManager)mContext.getSystemService(Context.USER_SERVICE); in testBroadcastUndeliveredUserLocked() local
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DConfigurationMap.java40 ConfigurationMap(UserManager userManager) { in ConfigurationMap()
/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.java96 UserManager userManager = (UserManager) context.getSystemService(Context.USER_SERVICE); in wipeGuestSession() local
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DCleanupManager.java69 UserManager userManager, in CleanupManager()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDragDropControllerTests.java112 final UserManagerInternal userManager = mock(UserManagerInternal.class); in setUpOnce() local
/frameworks/base/services/core/java/com/android/server/wm/
DKeyguardDisableHandler.java125 final UserManagerInternal userManager = LocalServices.getService(UserManagerInternal.class); in create() local
/frameworks/base/core/java/android/provider/
DCallLog.java845 final UserManager userManager = context.getSystemService(UserManager.class); in addCall() local
914 UserManager userManager, int userId) { in shouldHaveSharedCallLogEntries()
948 private static Uri addEntryAndRemoveExpiredEntries(Context context, UserManager userManager, in addEntryAndRemoveExpiredEntries()
/frameworks/base/services/core/java/com/android/server/am/
DCarUserSwitchingDialog.java73 UserManager userManager = in inflateContent() local
/frameworks/base/core/java/android/view/textclassifier/intent/
DLegacyClassificationIntentFactory.java131 final UserManager userManager = context.getSystemService(UserManager.class); in createForPhone() local
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsBroadcastUndelivered.java135 UserManager userManager = (UserManager) context.getSystemService(Context.USER_SERVICE); in SmsBroadcastUndelivered() local

123