/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | HeadlessSystemUserDeviceOwnerTest.java | 33 assumeTrue("device is not headless system user mode", isHeadlessSystemUserMode()); in setUp() 40 if (!isHeadlessSystemUserMode()) return; in tearDown()
|
D | DeviceAdminFeaturesCheckerRule.java | 73 && BaseDevicePolicyTest.isHeadlessSystemUserMode(testDevice)) { in apply() 82 && BaseDevicePolicyTest.isHeadlessSystemUserMode(testDevice)) { in apply() 155 if (BaseDevicePolicyTest.isHeadlessSystemUserMode(testDevice)) { in apply()
|
D | UserRestrictionsTest.java | 62 if (isHeadlessSystemUserMode()) { in tearDown() 182 if (!isHeadlessSystemUserMode()) { in testUserRestrictions_layering() 268 if (!isHeadlessSystemUserMode()) { in testUserRestrictions_profileGlobalRestrictionsAsDo()
|
D | DeviceOwnerTest.java | 113 if (isHeadlessSystemUserMode()) { in testCreateAndManageUser_MaxUsers() 201 if (isHeadlessSystemUserMode()) { in testCreateAndManageUser_StartInBackground_MaxRunningUsers() 530 if (isHeadlessSystemUserMode()) { in testAdminActionBookkeeping() 588 if (isHeadlessSystemUserMode()) { in testDisallowFactoryReset() 867 if (isHeadlessSystemUserMode()) { in testSetUserControlDisabledPackages_multiUser_reboot_verifyPackageNotStopped() 920 if (isHeadlessSystemUserMode()) { in testSetUserControlDisabledPackages_multiUser_reboot_verifyPackageNotFgsStopped() 1108 if (!isHeadlessSystemUserMode()) { in createAffiliatedSecondaryUser()
|
D | ProfileOwnerTest.java | 43 mUserId = isHeadlessSystemUserMode() ? getCurrentUser() : getMainUser(); in setUp()
|
D | BaseDeviceOwnerTest.java | 46 if (isHeadlessSystemUserMode()) { in setUp()
|
D | BaseDevicePolicyTest.java | 356 if (isHeadlessSystemUserMode() && !removeAdmin(componentName, mPrimaryUserId)) { in removeDeviceOwnerAdmin() 894 if (isHeadlessSystemUserMode()) { in setDeviceOwner() 1214 boolean isHeadlessSystemUserMode() throws DeviceNotAvailableException { in isHeadlessSystemUserMode() method in BaseDevicePolicyTest 1215 return isHeadlessSystemUserMode(getDevice()); in isHeadlessSystemUserMode() 1218 public static boolean isHeadlessSystemUserMode(ITestDevice device) in isHeadlessSystemUserMode() method in BaseDevicePolicyTest 1220 return device.isHeadlessSystemUserMode(); in isHeadlessSystemUserMode() 1226 isHeadlessSystemUserMode()); in assumeHeadlessSystemUserMode()
|
/cts/hostsidetests/settings/src/com/google/android/cts/settings/ |
D | PrivacyDeviceOwnerTest.java | 91 if (isHeadlessSystemUserMode()) { in setUp() 99 if (isHeadlessSystemUserMode()) { in setUp() 276 boolean isHeadlessSystemUserMode() throws DeviceNotAvailableException { in isHeadlessSystemUserMode() method in PrivacyDeviceOwnerTest 277 return isHeadlessSystemUserMode(getDevice()); in isHeadlessSystemUserMode() 280 public static boolean isHeadlessSystemUserMode(ITestDevice device) in isHeadlessSystemUserMode() method in PrivacyDeviceOwnerTest 282 return device.isHeadlessSystemUserMode(); in isHeadlessSystemUserMode()
|
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/ |
D | Utils.java | 65 static boolean isHeadlessSystemUserMode() { in isHeadlessSystemUserMode() method in Utils 67 && UserManager.isHeadlessSystemUserMode(); in isHeadlessSystemUserMode() 71 return isHeadlessSystemUserMode() && MY_USER_ID == UserHandle.USER_SYSTEM; in isHeadlessSystemUser() 75 return isHeadlessSystemUserMode() in isCurrentUserOnHeadlessSystemUser()
|
/cts/common/device-side/bedstead/harrier/common/src/main/java/com/android/bedstead/harrier/ |
D | HarrierRule.java | 36 abstract boolean isHeadlessSystemUserMode(); in isHeadlessSystemUserMode() method in HarrierRule
|
/cts/hostsidetests/scopedstorage/host/src/android/scopedstorage/cts/host/ |
D | BaseHostTestCase.java | 48 protected static boolean isHeadlessSystemUserMode(ITestDevice device) in isHeadlessSystemUserMode() method in BaseHostTestCase 50 return device.isHeadlessSystemUserMode(); in isHeadlessSystemUserMode()
|
D | AppCloningMediaProviderHostTest.java | 78 isHeadlessSystemUserMode(sDevice)); in beforeClassWithDevice() 109 if (!supportsMultipleUsers(device) || isHeadlessSystemUserMode(device) in afterClass()
|
/cts/common/device-side/bedstead/modules/multiuser/src/main/kotlin/com/android/bedstead/multiuser/ |
D | AnnotationLogicExtensions.kt | 67 assumeFalse(reason, users().isHeadlessSystemUserMode()) in logic() 71 assumeTrue(reason, users().isHeadlessSystemUserMode()) in RequireHeadlessSystemUserMode()
|
D | UsersComponent.kt | 221 return if (users().isHeadlessSystemUserMode) { in <lambda>() 235 if (users().isHeadlessSystemUserMode()) { in <lambda>() 353 if (users().isHeadlessSystemUserMode()) { in <lambda>() 377 if (users().isHeadlessSystemUserMode() && instrumentedUser == users().system()) { in <lambda>()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | BaseDeviceOwnerTest.java | 125 protected static boolean isHeadlessSystemUserMode() { in isHeadlessSystemUserMode() method in BaseDeviceOwnerTest 126 return UserManager.isHeadlessSystemUserMode(); in isHeadlessSystemUserMode()
|
/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/ |
D | DeviceOwnerComponent.kt | 107 users().isHeadlessSystemUserMode()) { in ensureHasDeviceOwner() 207 users().isHeadlessSystemUserMode())) { in ensureHasDeviceOwner() 227 var allowedNonTestUsers = if (users().isHeadlessSystemUserMode()) 1 else 0 in removeAllNonTestUsers()
|
/cts/hostsidetests/car/nonrecoverable/src/android/car/cts/ |
D | CarServiceHelperServiceTest.java | 46 isHeadlessSystemUserMode()); in testUserCreatedOnStartUpForHeadlessSystemUser()
|
/cts/apps/EmptyDeviceOwner/src/com/android/cts/emptydeviceowner/ |
D | ProfileOwnerChangedReceiver.java | 36 if (!UserManager.isHeadlessSystemUserMode()) return; in onReceive()
|
/cts/hostsidetests/appcloning/hostside/src/com/android/cts/appcloning/ |
D | AppCloningBaseHostTest.java | 123 assumeFalse("Device is in headless system user mode", isHeadlessSystemUserMode()); in baseHostSetup() 139 return supportsMultipleUsers() && !isHeadlessSystemUserMode() && isAtLeastS() in isAppCloningSupportedOnDevice()
|
/cts/tests/tests/toastlegacy/src/android/widget/toast/cts/legacy/ |
D | ToastTest.java | 135 Assume.assumeFalse(UserManager.isHeadlessSystemUserMode()); in testAddTwoToastsViaAddingWindowApisWhenUidFocusedQuickly()
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | CallLogTest.java | 155 if (UserManager.isHeadlessSystemUserMode()) { in testPopulateAndQueryCallAndVoicemailLogs() 242 if (UserManager.isHeadlessSystemUserMode()) { in testOpenFileOutsideOfScopeThrowsException() 285 if (UserManager.isHeadlessSystemUserMode()) { in testInsertFileOutsideOfScopeThrowsException() 304 if (UserManager.isHeadlessSystemUserMode()) { in testGetLastOutgoingCall()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | DeviceOwnerRequestingBugreportTestActivity.java | 164 .setMessage(UserManager.isHeadlessSystemUserMode() in onCreate() 197 if (UserManager.isHeadlessSystemUserMode()) { in addTestsToAdapter()
|
D | CommandReceiverActivity.java | 312 if (UserManager.isHeadlessSystemUserMode()) { in onCreate() 549 if (UserManager.isHeadlessSystemUserMode()) { in onCreate() 661 || (UserManager.isHeadlessSystemUserMode() && mDpm.isProfileOwnerApp(packageName)); in isDeviceOwnerAppOrEquivalent() 665 if (UserManager.isHeadlessSystemUserMode()) { in installHelperPackage() 853 if (UserManager.isHeadlessSystemUserMode()) { in createAndSwitchUserWithMessage()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/features/ |
D | FeatureUtil.java | 217 || UserManager.isHeadlessSystemUserMode()) && UserManager.supportsMultipleUsers(); in supportManagedSecondaryUsers()
|
/cts/hostsidetests/settings/app/DeviceOwnerApp/src/com/google/android/cts/deviceowner/ |
D | ClearDeviceOwnerTest.java | 59 if (!UserManager.isHeadlessSystemUserMode()) return; in removeProfileOwnerIfNeeeded()
|