/frameworks/base/packages/SettingsLib/src/com/android/settingslib/development/ |
D | DevelopmentSettingsEnabler.java | 43 final UserManager um = (UserManager) context.getSystemService(Context.USER_SERVICE); in isDevelopmentSettingsEnabled()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | CrossProfileAppsTest.java | 100 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/ |
D | UserPackage.java | 101 UserManager userManager = (UserManager) context.getSystemService(Context.USER_SERVICE); in getAllUsers()
|
/frameworks/base/core/tests/packagemanagertests/src/android/content/pm/ |
D | KernelPackageMappingTests.java | 59 Context.USER_SERVICE); in getUserManager()
|
/frameworks/base/packages/SettingsLib/tests/robotests/testutils/com/android/settingslib/testutils/shadow/ |
D | ShadowUserManager.java | 43 return (UserManager) context.getSystemService(Context.USER_SERVICE); in get()
|
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
D | BugreportProgressServiceTest.java | 70 case Context.USER_SERVICE: in getSystemService() 82 return Context.USER_SERVICE; in getSystemServiceName()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | TetherUtilTest.java | 59 .when(mContext).getSystemService(Context.USER_SERVICE); in setUp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | MockLockSettingsContext.java | 84 if (USER_SERVICE.equals(name)) { in getSystemService()
|
/frameworks/base/packages/SettingsLib/Utils/src/com/android/settingslib/utils/ |
D | WorkPolicyUtils.java | 52 mUserManager = (UserManager) context.getSystemService(Context.USER_SERVICE); in WorkPolicyUtils()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbSettingsManager.java | 62 mUserManager = (UserManager) context.getSystemService(Context.USER_SERVICE); in UsbSettingsManager()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/ |
D | UninstallAppProgress.java | 146 (UserManager) getSystemService(Context.USER_SERVICE); in handleMessage() 183 (UserManager) getSystemService(Context.USER_SERVICE); in handleMessage()
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | AppCollector.java | 67 (UserManager) context.getSystemService(Context.USER_SERVICE), in AppCollector()
|
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | InstallNonMarketAppsDeprecationTest.java | 103 mUm = (UserManager) getContext().getSystemService(Context.USER_SERVICE); in setUp()
|
/frameworks/base/startop/apps/test/src/ |
D | SystemServerBenchmarks.java | 184 UserManager userManager = (UserManager) parent.getSystemService(Context.USER_SERVICE); in initializeBenchmarks()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/development/ |
D | EnableAdbPreferenceControllerTest.java | 72 shadowContext.setSystemService(Context.USER_SERVICE, mUserManager); in setUp()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpDevice.java | 87 .getSystemService(Context.USER_SERVICE); in open()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/ |
D | WatchlistLoggingHandlerTests.java | 95 case Context.USER_SERVICE: in setUp()
|
/frameworks/base/services/restrictions/java/com/android/server/restrictions/ |
D | RestrictionsManagerService.java | 72 mUm = (IUserManager) getBinderService(Context.USER_SERVICE); in RestrictionsManagerImpl()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | GsmInboundSmsHandlerTest.java | 171 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/ |
D | AppCollectorTest.java | 73 when(mContext.getSystemService(Context.USER_SERVICE)).thenReturn(mUm); in setUp()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | UidDetailProvider.java | 137 final UserManager um = (UserManager) mContext.getSystemService(Context.USER_SERVICE); in buildUidDetail()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/ |
D | RecentLocationApps.java | 88 final UserManager um = (UserManager) mContext.getSystemService(Context.USER_SERVICE); in getAppList()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
D | SyncManagerTest.java | 85 when(mContext.getSystemService(Context.USER_SERVICE)).thenReturn(mUserManager); in setUp()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | MasterClearReceiverTest.java | 79 if (name.equals(Context.USER_SERVICE)) {
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/location/ |
D | RecentLocationAppsTest.java | 68 when(mContext.getSystemService(Context.USER_SERVICE)).thenReturn(mUserManager); in setUp()
|