Home
last modified time | relevance | path

Searched refs:isHeadlessSystemUserMode (Results 1 – 25 of 31) sorted by relevance

12

/packages/apps/Car/SystemUI/src/com/android/systemui/car/userpicker/
DUserEventManager.java31 import static android.os.UserManager.isHeadlessSystemUserMode;
221 if (isHeadlessSystemUserMode()) { in getMaxSupportedUsers()
246 if ((isHeadlessSystemUserMode() && userInfo.id == USER_SYSTEM) in getAliveUsers()
/packages/services/Car/car-lib/src/com/android/car/internal/common/
DUserHelperLite.java54 && UserManager.isHeadlessSystemUserMode(); in isHeadlessSystemUser()
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DBootUsbScanner.java23 && UserManager.isHeadlessSystemUserMode()) { in onReceive()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/
DProvisioningControllerFactory.java45 int deviceOwner = mUtils.isHeadlessSystemUserMode() in createProvisioningController()
DAbstractProvisioningController.java207 if (UserManager.isHeadlessSystemUserMode() && mUserId != UserHandle.USER_SYSTEM) { in addDownloadAndInstallDeviceOwnerPackageTasks()
/packages/modules/Bluetooth/service/src/
DBluetoothService.kt55 if (!UserManager.isHeadlessSystemUserMode()) { in onUserStarting()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/users/
DCarSystemUIUserUtil.java51 && UserManager.isHeadlessSystemUserMode()) { in getCurrentUserHandle()
/packages/apps/Settings/src/com/android/settings/users/
DGuestTelephonyPreferenceController.java79 && !UserManager.isHeadlessSystemUserMode()); in updateState()
DUserDetailsSettings.java379 if (mUserInfo.isMain() || UserManager.isHeadlessSystemUserMode()) {
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DDisallowAddUserTask.java43 this(UserManager.isHeadlessSystemUserMode(), context, params, callback, in DisallowAddUserTask()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DProvisioningControllerBaseTest.java78 if (UserManager.isHeadlessSystemUserMode() && userId != UserHandle.USER_SYSTEM) { in tasksDownloadAndInstallDeviceOwnerPackageSucceeded()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowUserManager.java77 protected static boolean isHeadlessSystemUserMode() { in isHeadlessSystemUserMode() method in ShadowUserManager
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DCredentialStorageActivity.java193 && !(mUserManager.isHeadlessSystemUserMode() in installIfAvailable()
396 return userManager.isHeadlessSystemUserMode() in getUserHandleToUse()
/packages/apps/Car/Settings/src/com/android/car/settings/profiles/
DProfileHelper.java425 if (UserManager.isHeadlessSystemUserMode()) { in getAllLivingProfiles()
470 if (UserManager.isHeadlessSystemUserMode()) { in getMaxSupportedProfiles()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DUtils.java615 public boolean isHeadlessSystemUserMode() { in isHeadlessSystemUserMode() method in Utils
616 return UserManager.isHeadlessSystemUserMode(); in isHeadlessSystemUserMode()
809 return isHeadlessSystemUserMode() in getCurrentDeviceOwnerComponentName()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/finalization/
DUserProvisioningStateHelper.java189 if (mUtils.isHeadlessSystemUserMode() in maybeSetHeadlessSystemUserProvisioningState()
/packages/services/Car/tests/carservice_unit_test/src/android/car/test/mocks/
DAndroidMockitoHelperTest.java204 assertThat(UserManager.isHeadlessSystemUserMode()).isTrue(); in testMockUmIsHeadlessSystemUserMode_true()
211 assertThat(UserManager.isHeadlessSystemUserMode()).isFalse(); in testMockUmIsHeadlessSystemUserMode_false()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/
DUserProvisioningStateHelperTest.java213 when(mUtils.isHeadlessSystemUserMode()).thenReturn(true); in setHeadlessSystemUserMode()
/packages/services/Car/service/src/com/android/car/
DCarLocationService.java197 if (UserManager.isHeadlessSystemUserMode()
428 return UserManager.isHeadlessSystemUserMode() in isCurrentUserHeadlessSystemUser()
/packages/apps/Car/Provision/src/com/android/car/provision/
DDefaultActivity.java167 if (userId == UserHandle.USER_SYSTEM && UserManager.isHeadlessSystemUserMode()) { in onCreate()
457 && UserManager.isHeadlessSystemUserMode()) { in maybeMarkSystemUserSetupComplete()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/input/
DDisplayInputSinkControllerTest.java153 doReturn(true).when(() -> UserManager.isHeadlessSystemUserMode()); in start_nonSystemUser_controllerNotStarted()
167 doReturn(true).when(() -> UserManager.isHeadlessSystemUserMode()); in start_systemUser_controllerStarted()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ota/
DOtaController.java155 new DisallowAddUserTask(UserManager.isHeadlessSystemUserMode(), context, fakeParams, in addDeviceOwnerTasks()
/packages/services/Car/car-lib/src/android/car/user/
DCarUserManager.java401 UserManager.isHeadlessSystemUserMode()); in CarUserManager()
409 @NonNull UserManager userManager, boolean isHeadlessSystemUserMode) { in CarUserManager() argument
417 mIsHeadlessSystemUserMode = isHeadlessSystemUserMode; in CarUserManager()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/input/
DDisplayInputSinkController.java177 && UserManager.isHeadlessSystemUserMode()) { in start()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarLocationServiceTest.java125 if (!UserManager.isHeadlessSystemUserMode()) { in setUp()

12