/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | DeviceOwnerTest.java | 59 if (mHasFeature) { in setUp() 68 mHasEphemeralUserFeature = mHasFeature && canCreateAdditionalUsers(1) && hasUserSplit(); in setUp() 70 mHasFeature && canCreateAdditionalUsers(1) && !hasUserSplit(); in setUp() 75 if (mHasFeature) { in tearDown() 112 if (!mHasFeature || !canCreateAdditionalUsers(1)) { in testRemoteBugreportWithTwoUsers() 264 if (mHasFeature && canCreateAdditionalUsers(1)) { in testCreateAndManageUser_AddRestrictionSet() 271 if (mHasFeature && canCreateAdditionalUsers(1)) { in testCreateAndManageUser_RemoveRestrictionSet() 278 if (mHasFeature && canCreateAdditionalUsers(1)) { in testUserAddedOrRemovedBroadcasts() 285 if (!mHasFeature || !canCreateAdditionalUsers(1)) { in testSecurityLoggingWithTwoUsers() 305 if (!mHasFeature) { in testSecurityLoggingWithSingleUser() [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()
|
D | DeviceAndProfileOwnerTest.java | 114 if (mHasFeature) { in tearDown() 136 if (!mHasFeature) { in testCaCertManagement() 143 if (!mHasFeature) { in testApplicationRestrictions() 185 if (!mHasFeature) { in testDelegation() 231 if (!mHasFeature) { in testPermissionGrant() 248 if (!mHasFeature) { in testAlwaysOnVpn() 257 if (!mHasFeature) { in testAlwaysOnVpnLockDown() 273 if (!mHasFeature) { in testAlwaysOnVpnPackageUninstalled() 289 if (!mHasFeature) { in testPermissionPolicy() 297 if (!mHasFeature) { in testPermissionMixedPolicies() [all …]
|
D | ProfileOwnerTest.java | 37 if (mHasFeature) { in setUp() 50 if (!mHasFeature || !hasDeviceFeature("android.hardware.wifi")) { in testWifi() 57 if (!mHasFeature) { in testManagement() 64 if (!mHasFeature) { in testAdminActionBookkeeping() 72 if (mHasFeature) { in tearDown() 82 if (!mHasFeature) { in executeProfileOwnerTest()
|
D | DeviceOwnerPlusProfileOwnerTest.java | 56 mHasFeature = mHasFeature && hasDeviceFeature("android.software.managed_users"); in setUp() 57 if (mHasFeature) { in setUp() 74 if (mHasFeature) { in tearDown() 86 if (!mHasFeature) { in testBindDeviceAdminServiceAsUser_corpOwnedManagedProfile() 110 if (!mHasFeature) { in testBindDeviceAdminServiceAsUser_corpOwnedManagedProfileWithManagedProvisioning() 130 if (!mHasFeature) { in testBindDeviceAdminServiceAsUser_canBindEvenIfProfileNotEnabled() 143 if (!mHasFeature) { in testBindDeviceAdminServiceAsUser_byodPlusDeviceOwnerCannotBind() 167 if (!mHasFeature || !canCreateAdditionalUsers(1)) { in testBindDeviceAdminServiceAsUser_secondaryUser() 188 if (!mHasFeature || !canCreateAdditionalUsers(1)) { in testBindDeviceAdminServiceAsUser_compPlusSecondaryUser() 210 if (!mHasFeature) { in testCannotRemoveProfileIfRestrictionSet() [all …]
|
D | ManagedProfileTest.java | 91 mHasFeature = mHasFeature && hasDeviceFeature( in setUp() 95 if (mHasFeature) { in setUp() 110 if (mHasFeature) { in tearDown() 120 if (!mHasFeature) { in testManagedProfileSetup() 132 if (!mHasFeature) { in testWipeData() 144 if (!mHasFeature || !mSupportsFbe) { in testLockNowWithKeyEviction() 172 fail(mHasFeature ? "Device must allow creating only one managed profile" in testMaxOneManagedProfile() 181 if (!mHasFeature || !hasDeviceFeature(FEATURE_WIFI)) { in testProfileWifiCleanup() 200 if (!mHasFeature || !hasDeviceFeature(FEATURE_WIFI)) { in testWifiMacAddress() 208 if (!mHasFeature) { in testCrossProfileIntentFilters() [all …]
|
D | EphemeralUserTest.java | 27 mHasFeature = canCreateAdditionalUsers(1); in setUp() 38 if (!mHasFeature || !hasUserSplit()) { in testCreateEphemeralUser() 48 if (!mHasFeature) { in testCreateLongLivedUser() 61 if (!mHasFeature || !hasDeviceFeature("android.software.managed_users") in testProfileInheritsEphemeral() 75 if (!mHasFeature || !hasUserSplit()) { in testRemoveEphemeralOnStop() 90 if (!mHasFeature || !hasUserSplit()) { in testEphemeralGuestFeature() 110 if (!mHasFeature || hasUserSplit()) { in testCreateEphemeralWithoutUserSplitFails()
|
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) { in testResetPassword() 78 if (!mHasFeature || !mSupportsFbe) { in testResetPasswordFbe()
|
D | LauncherAppsProfileTest.java | 43 mHasFeature = mHasFeature && hasDeviceFeature("android.software.managed_users"); in setUp() 44 if (mHasFeature) { in setUp() 67 if (mHasFeature) { in tearDown() 75 if (!mHasFeature) { in testGetActivitiesWithProfile() 110 if (!mHasFeature) { in testLauncherCallbackPackageAddedProfile() 122 if (!mHasFeature) { in testLauncherCallbackPackageRemovedProfile() 135 if (!mHasFeature) { in testLauncherCallbackPackageChangedProfile()
|
D | UserRestrictionsTest.java | 53 if (mHasFeature) { in tearDown() 80 if (!mHasFeature) { in testUserRestrictions_deviceOwnerOnly() 94 if (!mHasFeature) { in testUserRestrictions_primaryProfileOwnerOnly() 114 if (!mHasFeature || !mSupportsMultiUser) { in testUserRestrictions_secondaryProfileOwnerOnly() 130 if (!mHasFeature || !mSupportsMultiUser) { in testUserRestrictions_managedProfileOwnerOnly() 152 if (!mHasFeature || !mSupportsMultiUser) { in testUserRestrictions_layering() 190 if (!mHasFeature || !mSupportsMultiUser) { in testUserRestrictions_layering_profileOwnerNoLeaking() 218 if (!mHasFeature || !mSupportsMultiUser) { in testUserRestrictions_profileGlobalRestrictionsAsDo() 238 if (!mHasFeature || !mSupportsMultiUser) { in testUserRestrictions_ProfileGlobalRestrictionsAsPo()
|
D | MixedManagedProfileOwnerTest.java | 35 mHasFeature &= hasDeviceFeature("android.software.managed_users"); in setUp() 37 if (mHasFeature) { in setUp() 56 if (mHasFeature) { in tearDown() 69 if (!mHasFeature) { in testScreenCaptureDisabled_allowedPrimaryUser() 82 if (!mHasFeature) { in testScreenCaptureDisabled_assist_allowedPrimaryUser()
|
D | BaseDeviceAdminHostSideTest.java | 56 if (mHasFeature) { in setUp() 64 if (mHasFeature) { in tearDown() 87 if (!mHasFeature) { in testRunDeviceAdminTest() 111 if (!mHasFeature) { in testResetPassword_nycRestrictions() 129 if (!mHasFeature) { in testRunDeviceOwnerPasswordTest()
|
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 | CustomDeviceOwnerTest.java | 51 if (mHasFeature) { in tearDown() 60 if (!mHasFeature) { in testOwnerChangedBroadcast() 90 if (!mHasFeature || getMaxNumberOfUsersSupported() < 2) { in testCannotSetDeviceOwnerWhenSecondaryUserPresent() 107 if (!mHasFeature) { in testCannotSetDeviceOwnerWhenAccountPresent()
|
D | DeviceAndProfileOwnerTestApi25.java | 53 if (mHasFeature) { in tearDown() 67 if (!mHasFeature) { in testResetPassword() 75 if (!mHasFeature || !mSupportsFbe) { in testResetPasswordFbe()
|
D | MixedProfileOwnerTest.java | 31 if (mHasFeature) { in setUp() 47 if (mHasFeature) { in tearDown()
|
D | MixedProfileOwnerTestApi25.java | 31 if (mHasFeature) { in setUp() 47 if (mHasFeature) { in tearDown()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | SystemUpdatePolicyTest.java | 46 private boolean mHasFeature; field in SystemUpdatePolicyTest 51 mHasFeature = ApiLevelUtil.isAfter(Build.VERSION_CODES.LOLLIPOP_MR1); in setUp() 53 if (mHasFeature) { in setUp() 62 if (mHasFeature) { in tearDown() 70 if (!mHasFeature) { in testSetEmptytInstallPolicy() 77 if (!mHasFeature) { in testSetAutomaticInstallPolicy() 84 if (!mHasFeature) { in testSetWindowedInstallPolicy() 91 if (!mHasFeature) { in testSetPostponeInstallPolicy() 98 if (!mHasFeature) { in testShouldFailInvalidWindowPolicy()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | BlockedNumberBackupRestoreTest.java | 46 private boolean mHasFeature; field in BlockedNumberBackupRestoreTest 56 mHasFeature = isFeatureSupported(); in setUp() 58 if (mHasFeature) { in setUp() 71 if (mHasFeature) { in tearDown() 83 if (!mHasFeature) { in testBackupAndRestoreForSingleNumber() 104 if (!mHasFeature) { in testBackupAndRestoreWithDeletion()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | RequiredFeatureRule.java | 34 private final boolean mHasFeature; field in RequiredFeatureRule 38 mHasFeature = hasFeature(feature); in RequiredFeatureRule() 47 if (!mHasFeature) { in apply()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | TheaterModeTest.java | 32 private boolean mHasFeature; field in TheaterModeTest 39 mHasFeature = (mContext.getPackageManager().hasSystemFeature(FEATURE_BLUETOOTH) in setup() 45 if (!mHasFeature) { in testTheaterMode()
|
D | AirplaneModeTest.java | 33 private boolean mHasFeature; field in AirplaneModeTest 40 mHasFeature = (mContext.getPackageManager().hasSystemFeature(FEATURE_BLUETOOTH) in setup() 46 if (!mHasFeature) { in testAirplaneMode()
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/ |
D | VoiceInteractionTest.java | 46 protected boolean mHasFeature; field in VoiceInteractionTest 58 mHasFeature = mContext.getPackageManager().hasSystemFeature(FEATURE_VOICE_RECOGNIZERS); in setUp() 59 if (mHasFeature) { in setUp() 67 if (mHasFeature && mReceiver != null) { in tearDown() 92 if (!mHasFeature) { in testAll()
|
D | LocalVoiceInteractionTest.java | 46 protected boolean mHasFeature; field in LocalVoiceInteractionTest 58 mHasFeature = mContext.getPackageManager().hasSystemFeature(FEATURE_VOICE_RECOGNIZERS); in setUp() 71 if (!mHasFeature) { in testLifecycle()
|