Home
last modified time | relevance | path

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

12345

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/connecteddevice/usb/
DUsbBackend.java66 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/
DUsbBackend.java66 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/
DUserUtils.java47 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/
DBluetoothOppFileProvider.java73 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/
DAccountDetailDashboardFragmentTest.java181 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/
DActionDisabledByAdminDialogHelperTest.java150 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/
DMobileNetworkSettingsTest.java144 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/
DInstalledAppLister.java25 public InstalledAppLister(PackageManager packageManager, UserManager userManager) { in InstalledAppLister()
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/
DStartUpBootReceiver.java40 UserManager userManager = (UserManager) context.getSystemService(Context.USER_SERVICE); in onReceive() local
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DInstalledAppLister.java25 public InstalledAppLister(PackageManager packageManager, UserManager userManager) { in InstalledAppLister()
/packages/apps/Settings/src/com/android/settings/users/
DUserCapabilities.java47 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/
DUserCapabilities.java47 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/
DMobileNetworkPreferenceControllerTest.java89 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/
DExternalSourcesDetailsTest.java160 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/
DShadowDoubleTwistPreferenceController.java22 protected static int getManagedProfileId(UserManager userManager) { in getManagedProfileId()
/packages/apps/Bluetooth/src/com/android/bluetooth/util/
DDevicePolicyUtils.java33 final UserManager userManager = in isBluetoothWorkContactSharingDisabled() local
/packages/apps/Messaging/src/com/android/messaging/util/
DBugleActivityUtil.java69 UserManager userManager = (UserManager) context.getSystemService(Context.USER_SERVICE); in checkHasSmsPermissionsForUser() local
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/
DWeatherContextualInfoLiveData.java34 UserManager userManager = UserManager.get(mContext); in getGreeting() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DUserManagerCompatUtils.java69 final UserManager userManager = context.getSystemService(UserManager.class); in getUserLockState() local
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DConfirmDeviceCredentialUtils.java56 public static void reportSuccessfulAttempt(LockPatternUtils utils, UserManager userManager, in reportSuccessfulAttempt()
/packages/apps/Settings/src/com/android/settings/password/
DConfirmDeviceCredentialUtils.java56 public static void reportSuccessfulAttempt(LockPatternUtils utils, UserManager userManager, in reportSuccessfulAttempt()
/packages/services/Telecomm/src/com/android/server/telecom/components/
DUserCallActivity.java67 final UserManager userManager = (UserManager) getSystemService(Context.USER_SERVICE); in onCreate() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DSoundSettingsTest.java57 UserManager userManager = mock(UserManager.class); in getNonIndexableKeys_existInXmlLayout() local
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DWorkModeSwitch.java60 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/
DDoubleTwistPreferenceController.java96 public static void setDoubleTwistPreference(Context context, UserManager userManager, in setDoubleTwistPreference()
116 public static int getManagedProfileId(UserManager userManager) { in getManagedProfileId()

12345