/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | DeviceOwnerTest.java | 106 if (mHasFeature) { in setUp() 119 mHasCreateAndManageUserFeature = mHasFeature && canCreateAdditionalUsers(1) in setUp() 125 if (mHasFeature) { in tearDown() 142 if (!mHasFeature) { in testLockScreenInfo() 154 if (!mHasFeature || !hasDeviceFeature("android.hardware.wifi")) { in testWifi() 166 if (!mHasFeature || !canCreateAdditionalUsers(1)) { in testRemoteBugreportWithTwoUsers() 425 if (!mHasFeature) { in testUserSession() 432 if (!mHasFeature || !canCreateAdditionalUsers(1)) { in testSecurityLoggingWithTwoUsers() 452 if (!mHasFeature) { in testSecurityLoggingWithSingleUser() 494 if (!mHasFeature) { in testSecurityLoggingEnabledLogged() [all …]
|
D | DeviceAndProfileOwnerTest.java | 179 if (mHasFeature) { in tearDown() 208 if (!mHasFeature) { in testCaCertManagement() 215 if (!mHasFeature) { in testInstallCaCertLogged() 231 if (!mHasFeature) { in testApplicationRestrictionIsRestricted() 244 if (!mHasFeature) { in testApplicationRestrictions() 363 if (!mHasFeature) { in testDelegation() 398 if (!mHasFeature) { in testDelegationCertSelection() 415 if (!mHasFeature) { in testPermissionGrant() 423 if (!mHasFeature) { in testPermissionGrant_developmentPermission() 441 if (!mHasFeature) { in testAlwaysOnVpn() [all …]
|
D | DeviceOwnerPlusProfileOwnerTest.java | 67 mHasFeature = mHasFeature && hasDeviceFeature("android.software.managed_users"); in setUp() 68 if (mHasFeature) { in setUp() 85 if (mHasFeature) { in tearDown() 97 if (!mHasFeature) { in testBindDeviceAdminServiceAsUser_corpOwnedManagedProfile() 121 if (!mHasFeature) { in testBindDeviceAdminServiceAsUser_corpOwnedManagedProfileWithManagedProvisioning() 141 if (!mHasFeature) { in testBindDeviceAdminServiceAsUser_canBindEvenIfProfileNotEnabled() 154 if (!mHasFeature) { in testBindDeviceAdminServiceAsUser_byodPlusDeviceOwnerCannotBind() 178 if (!mHasFeature || !canCreateAdditionalUsers(1)) { in testBindDeviceAdminServiceAsUser_secondaryUser() 199 if (!mHasFeature || !canCreateAdditionalUsers(2)) { in testBindDeviceAdminServiceAsUser_compPlusSecondaryUser() 221 if (!mHasFeature) { in testCannotRemoveProfileIfRestrictionSet() [all …]
|
D | ManagedProfileProvisioningTest.java | 30 mHasFeature = mHasFeature && hasDeviceFeature( in setUp() 33 if (mHasFeature) { in setUp() 43 if (mHasFeature) { in tearDown() 54 if (!mHasFeature) { in testManagedProfileProvisioning() 65 if (!mHasFeature) { in testEXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE() 76 if (!mHasFeature) { in testVerifySuccessfulIntentWasReceived() 87 if (!mHasFeature) { in testAccountMigration() 101 if (!mHasFeature) { in testAccountCopy() 115 if (!mHasFeature) { in testWebview()
|
D | ManagedProfileTest.java | 111 mHasFeature = mHasFeature && hasDeviceFeature("android.software.managed_users"); in setUp() 115 if (mHasFeature) { in setUp() 145 if (mHasFeature) { in tearDown() 156 if (mHasFeature) { in testManagedProfilesSupportedWithLockScreenOnly() 164 if (!mHasFeature) { in testManagedProfileSetup() 173 if (!mHasFeature) { in testWipeDataWithReason() 193 if (!mHasFeature) { in testWipeDataLogged() 213 if (!mHasFeature) { in testWipeDataWithoutReason() 236 if (!mHasFeature) { in testWipeData() 254 if (!mHasFeature || !mSupportsFbe || !mHasSecureLockScreen) { in testLockNowWithKeyEviction() [all …]
|
D | ProfileOwnerTest.java | 38 if (mHasFeature) { in setUp() 51 if (!mHasFeature || !hasDeviceFeature("android.hardware.wifi")) { in testWifi() 58 if (!mHasFeature) { in testManagement() 65 if (!mHasFeature) { in testAdminActionBookkeeping() 72 if (!mHasFeature) { in testAppUsageObserver() 81 if (!mHasFeature || !hasBackupService) { in testBackupServiceEnabling() 89 if (mHasFeature) { in tearDown() 99 if (!mHasFeature) { in executeProfileOwnerTest()
|
D | DeviceAndProfileOwnerHostSideTransferTest.java | 39 if (!mHasFeature) { in testTransferOwnership() 55 if (!mHasFeature) { in testTransferSameAdmin() 64 if (!mHasFeature) { in testTransferInvalidTarget() 74 if (!mHasFeature) { in testTransferPolicies() 86 if (!mHasFeature) { in testTransferOwnershipChangedBroadcast() 95 if (!mHasFeature) { in testTransferCompleteCallback() 117 if (!mHasFeature) { in testTransferOwnershipNoMetadata() 126 if (!mHasFeature) { in testIsTransferBundlePersisted() 139 if (!mHasFeature) { in testGetTransferOwnershipBundleOnlyCalledFromAdmin() 148 if (!mHasFeature) { in testBundleEmptyAfterTransferWithNullBundle() [all …]
|
D | LauncherAppsProfileTest.java | 45 mHasFeature = mHasFeature && hasDeviceFeature("android.software.managed_users"); in setUp() 46 if (mHasFeature) { in setUp() 65 if (mHasFeature) { in tearDown() 74 if (!mHasFeature) { in testGetActivitiesWithProfile() 109 if (!mHasFeature) { in testProfileOwnerAppHiddenInPrimaryProfile() 121 if (!mHasFeature) { in testNoHiddenActivityInProfile() 138 if (!mHasFeature) { in testLauncherCallbackPackageAddedProfile() 150 if (!mHasFeature) { in testLauncherCallbackPackageRemovedProfile() 163 if (!mHasFeature) { in testLauncherCallbackPackageChangedProfile() 177 if (!mHasFeature) { in testReverseAccessNoThrow()
|
D | MixedManagedProfileOwnerTest.java | 37 mHasFeature &= hasDeviceFeature("android.software.managed_users"); in setUp() 39 if (mHasFeature) { in setUp() 58 if (mHasFeature) { in tearDown() 71 if (!mHasFeature) { in testScreenCaptureDisabled_allowedPrimaryUser() 84 if (!mHasFeature) { in testScreenCaptureDisabled_assist_allowedPrimaryUser() 164 if (!mHasFeature || !mHasSecureLockScreen) { in testResetPasswordWithToken() 179 if (!mHasFeature) { in testCannotClearProfileOwner() 193 if (!mHasFeature) { in testDelegatedCertInstallerDeviceIdAttestation() 210 if (!mHasFeature) { in testDeviceIdAttestationForProfileOwner()
|
D | QuietModeHostsideTest.java | 27 mHasFeature = mHasFeature & hasDeviceFeature("android.software.managed_users"); in setUp() 29 if(mHasFeature) { in setUp() 45 if (mHasFeature) { in tearDown() 53 if (!mHasFeature) { in testQuietMode_defaultForegroundLauncher() 65 if (!mHasFeature) { in testQuietMode_notForegroundLauncher() 77 if (!mHasFeature) { in testQuietMode_notDefaultLauncher()
|
D | UserRestrictionsTest.java | 55 if (mHasFeature) { in tearDown() 82 if (!mHasFeature) { in testUserRestrictions_deviceOwnerOnly() 96 if (!mHasFeature) { in testUserRestrictions_primaryProfileOwnerOnly() 116 if (!mHasFeature || !mSupportsMultiUser) { in testUserRestrictions_secondaryProfileOwnerOnly() 132 if (!mHasFeature || !mSupportsMultiUser || !mHasManagedUserFeature) { in testUserRestrictions_managedProfileOwnerOnly() 154 if (!mHasFeature || !mSupportsMultiUser) { in testUserRestrictions_layering() 192 if (!mHasFeature || !mSupportsMultiUser) { in testUserRestrictions_layering_profileOwnerNoLeaking() 220 if (!mHasFeature || !mSupportsMultiUser) { in testUserRestrictions_profileGlobalRestrictionsAsDo() 240 if (!mHasFeature || !mSupportsMultiUser || !mHasManagedUserFeature) { in testUserRestrictions_ProfileGlobalRestrictionsAsPo()
|
D | ManagedProfileProvisioningSingleAdminTest.java | 35 mHasFeature = mHasFeature && hasDeviceFeature("android.software.managed_users"); in setUp() 37 if (mHasFeature) { in setUp() 46 if (mHasFeature) { in tearDown() 56 if (!mHasFeature) { in testEXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME()
|
D | EphemeralUserTest.java | 27 mHasFeature = canCreateAdditionalUsers(1); in setUp() 38 if (!mHasFeature) { in testCreateEphemeralUser() 48 if (!mHasFeature) { in testCreateLongLivedUser() 61 if (!mHasFeature || !hasDeviceFeature("android.software.managed_users") in testProfileInheritsEphemeral() 76 if (!mHasFeature) { in testRemoveEphemeralOnStop() 91 if (!mHasFeature) { in testEphemeralGuestFeature()
|
D | MixedManagedProfileOwnerTestApi25.java | 32 mHasFeature &= hasDeviceFeature("android.software.managed_users"); in setUp() 34 if (mHasFeature) { in setUp() 53 if (mHasFeature) { in tearDown() 65 if (!mHasFeature || !mHasSecureLockScreen) { in testResetPassword() 78 if (!mHasFeature || !mSupportsFbe || !mHasSecureLockScreen) { in testResetPasswordFbe()
|
D | BaseDeviceAdminHostSideTest.java | 56 if (mHasFeature) { in setUp() 64 if (mHasFeature) { in tearDown() 87 if (!mHasFeature) { in testRunDeviceAdminTest() 94 if (!mHasFeature || !mHasSecureLockScreen) { in testResetPassword_nycRestrictions() 114 if (!mHasFeature || !mHasSecureLockScreen) { in testRunDeviceOwnerPasswordTest()
|
D | MixedDeviceOwnerTest.java | 40 if (mHasFeature) { in setUp() 55 if (mHasFeature) { in tearDown() 63 if (!mHasFeature || !canCreateAdditionalUsers(1)) { in testLockTask_unaffiliatedUser() 81 if (!mHasFeature || !canCreateAdditionalUsers(1)) { in testLockTask_affiliatedSecondaryUser() 91 if (!mHasFeature) { in testDelegatedCertInstallerDeviceIdAttestation()
|
D | AdbProvisioningTests.java | 33 if (!mHasFeature) { in setUp() 42 if (!mHasFeature) { in tearDown() 50 if (!mHasFeature) { in testAdbDeviceOwnerLogged() 64 if (!mHasFeature) { in testAdbProfileOwnerLogged()
|
D | DeviceAndProfileOwnerTestApi25.java | 54 if (mHasFeature) { in tearDown() 68 if (!mHasFeature || !mHasSecureLockScreen) { in testResetPassword() 76 if (!mHasFeature || !mSupportsFbe || !mHasSecureLockScreen) { in testResetPasswordFbe() 91 if (!mHasFeature) { in testPermissionGrantPreMApp()
|
D | CustomDeviceOwnerTest.java | 48 if (mHasFeature) { in tearDown() 57 if (!mHasFeature) { in testOwnerChangedBroadcast() 88 if (!mHasFeature || getMaxNumberOfUsersSupported() < 2) { in testCannotSetDeviceOwnerWhenSecondaryUserPresent() 105 if (!mHasFeature) { in testCannotSetDeviceOwnerWhenAccountPresent()
|
D | CustomManagedProfileTest.java | 30 mHasFeature = mHasFeature && hasDeviceFeature("android.software.managed_users"); in setUp() 38 if (mHasFeature) { in testIsProvisioningAllowed()
|
D | ProfileOwnerTestApi23.java | 33 if (mHasFeature) { in setUp() 49 if (mHasFeature) { in tearDown() 58 if (!mHasFeature) { in testDelegatedCertInstaller()
|
D | MixedDeviceOwnerHostSideTransferTest.java | 37 if (mHasFeature) { in setUp() 53 if (!mHasFeature || !hasDeviceFeature("android.software.managed_users")) { in testTransferAffiliatedProfileOwnershipCompleteCallback() 76 if (!mHasFeature || !hasDeviceFeature("android.software.managed_users")) { in testTransferAffiliatedProfileOwnershipInComp()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | RequiredFeatureRule.java | 40 private final boolean mHasFeature; field in RequiredFeatureRule 44 mHasFeature = hasFeature(feature); in RequiredFeatureRule() 53 if (!mHasFeature) { in apply() 58 mHasFeature); in apply()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | BlockedNumberBackupRestoreTest.java | 47 private boolean mHasFeature; field in BlockedNumberBackupRestoreTest 58 mHasFeature = isFeatureSupported(); in setUp() 61 if (mHasFeature && mIsSystemUser) { in setUp() 74 if (mHasFeature && mIsSystemUser) { in tearDown() 86 if (!mHasFeature || !mIsSystemUser) { in testBackupAndRestoreForSingleNumber() 107 if (!mHasFeature || !mIsSystemUser) { in testBackupAndRestoreWithDeletion()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | RequiredFeatureRule.java | 33 private final boolean mHasFeature; field in RequiredFeatureRule 37 mHasFeature = hasFeature(feature); in RequiredFeatureRule() 46 if (!mHasFeature) { in apply()
|