/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/connecteddevice/usb/ |
D | UsbBackend.java | 66 public UsbBackend(Context context, UserManager userManager) { in UsbBackend() 180 private static boolean isUsbFileTransferRestricted(UserManager userManager) { in isUsbFileTransferRestricted() 184 private static boolean isUsbTetheringRestricted(UserManager userManager) { in isUsbTetheringRestricted() 188 private static boolean isUsbFileTransferRestrictedBySystem(UserManager userManager) { in isUsbFileTransferRestrictedBySystem() 193 private static boolean isUsbTetheringRestrictedBySystem(UserManager userManager) { in isUsbTetheringRestrictedBySystem()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/ |
D | UsbBackend.java | 66 public UsbBackend(Context context, UserManager userManager) { in UsbBackend() 180 private static boolean isUsbFileTransferRestricted(UserManager userManager) { in isUsbFileTransferRestricted() 184 private static boolean isUsbTetheringRestricted(UserManager userManager) { in isUsbTetheringRestricted() 188 private static boolean isUsbFileTransferRestrictedBySystem(UserManager userManager) { in isUsbFileTransferRestrictedBySystem() 193 private static boolean isUsbTetheringRestrictedBySystem(UserManager userManager) { in isUsbTetheringRestrictedBySystem()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/role/utils/ |
D | UserUtils.java | 47 UserManager userManager = context.getSystemService(UserManager.class); in isWorkProfile() local 60 UserManager userManager = context.getSystemService(UserManager.class); in getWorkProfile() local
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppFileProvider.java | 73 UserManager userManager = (UserManager) mContext.getSystemService(Context.USER_SERVICE); in attachInfo() local 111 UserManager userManager = (UserManager) context.getSystemService(Context.USER_SERVICE); in getUriForFile() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
D | AccountDetailDashboardFragmentTest.java | 181 ShadowUserManager userManager = in onResume_accountMissing_shouldFinish() local 193 ShadowUserManager userManager = in onResume_accountPresentOneProfile_shouldNotFinish() local 205 ShadowUserManager userManager = in onResume_accountPresentTwoProfiles_shouldNotFinish() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
D | ActionDisabledByAdminDialogHelperTest.java | 150 final UserManager userManager = RuntimeEnvironment.application.getSystemService( in testSetAdminSupportDetails() local 175 final UserManager userManager = RuntimeEnvironment.application.getSystemService( in testSetAdminSupportDetailsNotAdmin() local 192 final UserManager userManager = RuntimeEnvironment.application.getSystemService( in testMaybeSetLearnMoreButton() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/ |
D | MobileNetworkSettingsTest.java | 144 final UserManager userManager = mock(UserManager.class); in isPageSearchEnabled_adminUser_shouldReturnTrue() local 159 final UserManager userManager = mock(UserManager.class); in isPageSearchEnabled_nonAdminUser_shouldReturnFalse() local
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | InstalledAppLister.java | 25 public InstalledAppLister(PackageManager packageManager, UserManager userManager) { in InstalledAppLister()
|
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/ |
D | StartUpBootReceiver.java | 40 UserManager userManager = (UserManager) context.getSystemService(Context.USER_SERVICE); in onReceive() local
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | InstalledAppLister.java | 25 public InstalledAppLister(PackageManager packageManager, UserManager userManager) { in InstalledAppLister()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | UserCapabilities.java | 47 UserManager userManager = (UserManager) context.getSystemService(Context.USER_SERVICE); in create() local 69 final UserManager userManager = in updateAddUserCapabilities() local
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/ |
D | UserCapabilities.java | 47 UserManager userManager = (UserManager) context.getSystemService(Context.USER_SERVICE); in create() local 69 final UserManager userManager = in updateAddUserCapabilities() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | MobileNetworkPreferenceControllerTest.java | 89 ShadowUserManager userManager = extract(mContext.getSystemService(UserManager.class)); in secondaryUser_prefIsNotAvailable() local 101 ShadowUserManager userManager = extract(mContext.getSystemService(UserManager.class)); in wifiOnly_prefIsNotAvailable() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | ExternalSourcesDetailsTest.java | 160 final UserManager userManager = (UserManager) context.getSystemService( in refreshUi_userRestrictionsUnknownSources_disablesSwitchPreference() local 199 final UserManager userManager = (UserManager) context.getSystemService( in refreshUi_userRestrictionsUnknownSourcesGlobally_disablesSwitchPreference() local 238 final UserManager userManager = (UserManager) context.getSystemService( in refreshUi_bothUnknownSourcesUserRestrictions_disableSwitchPreference() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowDoubleTwistPreferenceController.java | 22 protected static int getManagedProfileId(UserManager userManager) { in getManagedProfileId()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/util/ |
D | DevicePolicyUtils.java | 33 final UserManager userManager = in isBluetoothWorkContactSharingDisabled() local
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | BugleActivityUtil.java | 69 UserManager userManager = (UserManager) context.getSystemService(Context.USER_SERVICE); in checkHasSmsPermissionsForUser() local
|
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/ |
D | WeatherContextualInfoLiveData.java | 34 UserManager userManager = UserManager.get(mContext); in getGreeting() local
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
D | UserManagerCompatUtils.java | 69 final UserManager userManager = context.getSystemService(UserManager.class); in getUserLockState() local
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/ |
D | ConfirmDeviceCredentialUtils.java | 56 public static void reportSuccessfulAttempt(LockPatternUtils utils, UserManager userManager, in reportSuccessfulAttempt()
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | ConfirmDeviceCredentialUtils.java | 56 public static void reportSuccessfulAttempt(LockPatternUtils utils, UserManager userManager, in reportSuccessfulAttempt()
|
/packages/services/Telecomm/src/com/android/server/telecom/components/ |
D | UserCallActivity.java | 67 final UserManager userManager = (UserManager) getSystemService(Context.USER_SERVICE); in onCreate() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | SoundSettingsTest.java | 57 UserManager userManager = mock(UserManager.class); in getNonIndexableKeys_existInXmlLayout() local
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | WorkModeSwitch.java | 60 UserManagerCompat userManager = UserManagerCompat.getInstance(getContext()); in refresh() local 101 UserManagerCompat userManager = in doInBackground() local
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/gestures/ |
D | DoubleTwistPreferenceController.java | 96 public static void setDoubleTwistPreference(Context context, UserManager userManager, in setDoubleTwistPreference() 116 public static int getManagedProfileId(UserManager userManager) { in getManagedProfileId()
|