Home
last modified time | relevance | path

Searched refs:USER_SERVICE (Results 1 – 25 of 117) sorted by relevance

12345

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/development/
DDevelopmentSettingsEnabler.java43 final UserManager um = (UserManager) context.getSystemService(Context.USER_SERVICE); in isDevelopmentSettingsEnabled()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DCrossProfileAppsTest.java100 when(mContext.getSystemServiceName(UserManager.class)).thenReturn(Context.USER_SERVICE); in mockContext()
101 when(mContext.getSystemService(Context.USER_SERVICE)).thenReturn(mUserManager); in mockContext()
/frameworks/base/core/java/android/webkit/
DUserPackage.java101 UserManager userManager = (UserManager) context.getSystemService(Context.USER_SERVICE); in getAllUsers()
/frameworks/base/core/tests/packagemanagertests/src/android/content/pm/
DKernelPackageMappingTests.java59 Context.USER_SERVICE); in getUserManager()
/frameworks/base/packages/SettingsLib/tests/robotests/testutils/com/android/settingslib/testutils/shadow/
DShadowUserManager.java43 return (UserManager) context.getSystemService(Context.USER_SERVICE); in get()
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DBugreportProgressServiceTest.java70 case Context.USER_SERVICE: in getSystemService()
82 return Context.USER_SERVICE; in getSystemServiceName()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DTetherUtilTest.java59 .when(mContext).getSystemService(Context.USER_SERVICE); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DMockLockSettingsContext.java84 if (USER_SERVICE.equals(name)) { in getSystemService()
/frameworks/base/packages/SettingsLib/Utils/src/com/android/settingslib/utils/
DWorkPolicyUtils.java52 mUserManager = (UserManager) context.getSystemService(Context.USER_SERVICE); in WorkPolicyUtils()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbSettingsManager.java62 mUserManager = (UserManager) context.getSystemService(Context.USER_SERVICE); in UsbSettingsManager()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAppProgress.java146 (UserManager) getSystemService(Context.USER_SERVICE); in handleMessage()
183 (UserManager) getSystemService(Context.USER_SERVICE); in handleMessage()
/frameworks/base/services/core/java/com/android/server/storage/
DAppCollector.java67 (UserManager) context.getSystemService(Context.USER_SERVICE), in AppCollector()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DInstallNonMarketAppsDeprecationTest.java103 mUm = (UserManager) getContext().getSystemService(Context.USER_SERVICE); in setUp()
/frameworks/base/startop/apps/test/src/
DSystemServerBenchmarks.java184 UserManager userManager = (UserManager) parent.getSystemService(Context.USER_SERVICE); in initializeBenchmarks()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/development/
DEnableAdbPreferenceControllerTest.java72 shadowContext.setSystemService(Context.USER_SERVICE, mUserManager); in setUp()
/frameworks/base/media/java/android/mtp/
DMtpDevice.java87 .getSystemService(Context.USER_SERVICE); in open()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/
DWatchlistLoggingHandlerTests.java95 case Context.USER_SERVICE: in setUp()
/frameworks/base/services/restrictions/java/com/android/server/restrictions/
DRestrictionsManagerService.java72 mUm = (IUserManager) getBinderService(Context.USER_SERVICE); in RestrictionsManagerImpl()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmInboundSmsHandlerTest.java171 UserManager userManager = (UserManager)mContext.getSystemService(Context.USER_SERVICE); in setUp()
353 UserManager userManager = (UserManager) mContext.getSystemService(Context.USER_SERVICE); in testNewSmsWithUserLocked_notificationShown()
382 UserManager userManager = (UserManager) mContext.getSystemService(Context.USER_SERVICE); in testNewSmsFromBlockedNumberWithUserLocked_noNotificationShown()
1045 UserManager userManager = (UserManager)mContext.getSystemService(Context.USER_SERVICE); in testBroadcastUndeliveredUserLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
DAppCollectorTest.java73 when(mContext.getSystemService(Context.USER_SERVICE)).thenReturn(mUm); in setUp()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DUidDetailProvider.java137 final UserManager um = (UserManager) mContext.getSystemService(Context.USER_SERVICE); in buildUidDetail()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DRecentLocationApps.java88 final UserManager um = (UserManager) mContext.getSystemService(Context.USER_SERVICE); in getAppList()
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DSyncManagerTest.java85 when(mContext.getSystemService(Context.USER_SERVICE)).thenReturn(mUserManager); in setUp()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DMasterClearReceiverTest.java79 if (name.equals(Context.USER_SERVICE)) {
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/location/
DRecentLocationAppsTest.java68 when(mContext.getSystemService(Context.USER_SERVICE)).thenReturn(mUserManager); in setUp()

12345