/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | HeadlessSystemUserDeviceOwnerTest.java | 32 assumeTrue("device is not headless system user mode", isHeadlessSystemUserMode()); in setUp() 39 if (!isHeadlessSystemUserMode()) return; in tearDown()
|
D | UserRestrictionsTest.java | 64 if (isHeadlessSystemUserMode()) { in tearDown() 159 if (!isHeadlessSystemUserMode()) { in testUserRestrictions_layering() 229 if (!isHeadlessSystemUserMode()) { in testUserRestrictions_profileGlobalRestrictionsAsDo() 291 if (isHeadlessSystemUserMode()) { in setDo()
|
D | DeviceAdminFeaturesCheckerRule.java | 73 && BaseDevicePolicyTest.isHeadlessSystemUserMode(testDevice)) { in apply() 82 && BaseDevicePolicyTest.isHeadlessSystemUserMode(testDevice)) { in apply() 150 if (BaseDevicePolicyTest.isHeadlessSystemUserMode(testDevice)) { in apply()
|
D | DeviceOwnerTest.java | 131 if (isHeadlessSystemUserMode()) { in testCreateAndManageUser_MaxUsers() 209 if (isHeadlessSystemUserMode()) { in testCreateAndManageUser_StartInBackground_MaxRunningUsers() 508 if (isHeadlessSystemUserMode()) { in testAdminActionBookkeeping() 858 if (isHeadlessSystemUserMode()) { in testSetUserControlDisabledPackages_multiUser_reboot_verifyPackageNotStopped() 1017 if (!isHeadlessSystemUserMode()) { in createAffiliatedSecondaryUser()
|
D | BaseDeviceOwnerTest.java | 56 if (isHeadlessSystemUserMode()) { in setUp()
|
D | ProfileOwnerTest.java | 46 mUserId = isHeadlessSystemUserMode() ? getCurrentUser() : getPrimaryUser(); in setUp()
|
D | MixedDeviceOwnerTest.java | 77 if (isHeadlessSystemUserMode()) { in setUp() 551 if (isHeadlessSystemUserMode()) { in testApplicationHidden() 615 if (!isHeadlessSystemUserMode()) { in createSecondaryUserAsProfileOwner()
|
D | BaseDevicePolicyTest.java | 230 if (!isHeadlessSystemUserMode()) { in setUp() 360 if (isHeadlessSystemUserMode()) { in installDeviceOwnerApp() 374 if (isHeadlessSystemUserMode() && !removeAdmin(componentName, mPrimaryUserId)) { in removeDeviceOwnerAdmin() 1226 boolean isHeadlessSystemUserMode() throws DeviceNotAvailableException { in isHeadlessSystemUserMode() method in BaseDevicePolicyTest 1227 return isHeadlessSystemUserMode(getDevice()); in isHeadlessSystemUserMode() 1231 public static boolean isHeadlessSystemUserMode(ITestDevice device) in isHeadlessSystemUserMode() method in BaseDevicePolicyTest 1241 isHeadlessSystemUserMode()); in assumeHeadlessSystemUserMode()
|
/cts/hostsidetests/settings/src/com/google/android/cts/settings/ |
D | PrivacyDeviceOwnerTest.java | 89 if (isHeadlessSystemUserMode()) { in setUp() 97 if (isHeadlessSystemUserMode()) { in setUp() 275 boolean isHeadlessSystemUserMode() throws DeviceNotAvailableException { in isHeadlessSystemUserMode() method in PrivacyDeviceOwnerTest 276 return isHeadlessSystemUserMode(getDevice()); in isHeadlessSystemUserMode() 280 public static boolean isHeadlessSystemUserMode(ITestDevice device) in isHeadlessSystemUserMode() method in PrivacyDeviceOwnerTest
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | UserUtils.java | 36 public static boolean isHeadlessSystemUserMode() { in isHeadlessSystemUserMode() method in UserUtils
|
/cts/hostsidetests/scopedstorage/host/src/android/scopedstorage/cts/host/ |
D | AppCloningHostTest.java | 53 assumeFalse("Device is in headless system user mode", isHeadlessSystemUserMode()); in setup() 69 if (isHeadlessSystemUserMode() || !isAtLeastS()) return; in tearDown()
|
D | BaseHostTestCase.java | 45 protected boolean isHeadlessSystemUserMode() throws DeviceNotAvailableException { in isHeadlessSystemUserMode() method in BaseHostTestCase
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | BaseDeviceOwnerTest.java | 123 protected static boolean isHeadlessSystemUserMode() { in isHeadlessSystemUserMode() method in BaseDeviceOwnerTest 124 return UserManager.isHeadlessSystemUserMode(); in isHeadlessSystemUserMode()
|
D | BluetoothRestrictionTest.java | 113 if (mBluetoothAdapter == null || UserManager.isHeadlessSystemUserMode()) { in testOppDisabledWhenRestrictionSet()
|
/cts/apps/EmptyDeviceOwner/src/com/android/cts/emptydeviceowner/ |
D | ProfileOwnerChangedReceiver.java | 36 if (!UserManager.isHeadlessSystemUserMode()) return; in onReceive()
|
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/ |
D | Utils.java | 65 return UserManager.isHeadlessSystemUserMode() && MY_USER_ID == UserHandle.USER_SYSTEM; in isHeadlessSystemUser() 69 return UserManager.isHeadlessSystemUserMode() in isCurrentUserOnHeadlessSystemUser()
|
D | TestAppSystemServiceFactory.java | 123 if (!UserManager.isHeadlessSystemUserMode()) return; in assertHasRequiredReceiver() 229 if (userId == UserHandle.USER_SYSTEM || !UserManager.isHeadlessSystemUserMode()) { in getSystemService()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/features/ |
D | FeatureUtil.java | 119 || UserManager.isHeadlessSystemUserMode()) && UserManager.supportsMultipleUsers(); in supportManagedSecondaryUsers()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | ByodFlowTestHelper.java | 47 if (!UserManager.isHeadlessSystemUserMode()) { in tearDown()
|
D | DeviceOwnerRequestingBugreportTestActivity.java | 162 .setMessage(UserManager.isHeadlessSystemUserMode() in onCreate() 195 if (UserManager.isHeadlessSystemUserMode()) { in addTestsToAdapter()
|
D | CommandReceiverActivity.java | 299 if (UserManager.isHeadlessSystemUserMode()) { in onCreate() 514 if (UserManager.isHeadlessSystemUserMode()) { in onCreate() 587 if (UserManager.isHeadlessSystemUserMode()) { in installHelperPackage() 773 if (UserManager.isHeadlessSystemUserMode()) { in createAndSwitchUserWithMessage()
|
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/ |
D | NetworkLoggingDelegateTest.java | 64 if (UserManager.isHeadlessSystemUserMode()) { in setUp()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/ |
D | Users.java | 102 if (!isHeadlessSystemUserMode()) { in initial() 434 public boolean isHeadlessSystemUserMode() { 436 return UserManager.isHeadlessSystemUserMode();
|
/cts/tests/tests/multiuser/src/android/multiuser/cts/ |
D | UserManagerTest.java | 73 .that(UserManager.isHeadlessSystemUserMode()).isEqualTo(expected); in testIsHeadlessSystemUserMode()
|
/cts/hostsidetests/settings/app/DeviceOwnerApp/src/com/google/android/cts/deviceowner/ |
D | ClearDeviceOwnerTest.java | 59 if (!UserManager.isHeadlessSystemUserMode()) return; in removeProfileOwnerIfNeeeded()
|