Home
last modified time | relevance | path

Searched refs:FeatureUtil (Results 1 – 25 of 69) sorted by relevance

123

/cts/tests/location/location_fine/src/android/location/cts/fine/
DScanningSettingsTest.java41 import com.android.compatibility.common.util.FeatureUtil;
72 if (FeatureUtil.isTV() || FeatureUtil.isAutomotive() || FeatureUtil.isWatch()) { in setUp()
91 if (FeatureUtil.isTV() in testWifiScanningSettings()
92 || FeatureUtil.isAutomotive() in testWifiScanningSettings()
93 || FeatureUtil.isWatch() in testWifiScanningSettings()
94 || FeatureUtil.isArc()) { in testWifiScanningSettings()
125 if (FeatureUtil.isTV() in testBleScanningSettings()
126 || FeatureUtil.isAutomotive() in testBleScanningSettings()
127 || FeatureUtil.isWatch() in testBleScanningSettings()
128 || FeatureUtil.isArc()) { in testBleScanningSettings()
/cts/tests/tests/dpi/src/android/dpi/cts/
DConfigurationTest.java28 import com.android.compatibility.common.util.FeatureUtil;
67 if (FeatureUtil.isWatch()) { in testScreenConfiguration()
70 } else if (FeatureUtil.isAutomotive()) { in testScreenConfiguration()
78 if (!FeatureUtil.isAutomotive() && !FeatureUtil.isWatch()) { in testScreenConfiguration()
131 if (!FeatureUtil.isAutomotive()) { in testAutomotiveMinimumScreenSize()
/cts/tests/tests/companion/uiautomation/src/android/companion/cts/uiautomation/
DForceCancelConfirmationTest.kt25 import com.android.compatibility.common.util.FeatureUtil
45 assumeFalse("Skipping test for wear devices", FeatureUtil.isWatch()) in setUp()
51 if (FeatureUtil.isWatch()) { in tearDown()
DAssociationRevokedTest.kt23 import com.android.compatibility.common.util.FeatureUtil
42 assumeFalse("Skipping test for wear devices", FeatureUtil.isWatch()) in setUp()
48 if (FeatureUtil.isWatch()) { in tearDown()
DRequestNotificationsTest.kt24 import com.android.compatibility.common.util.FeatureUtil
43 assumeFalse(FeatureUtil.isWatch()) in setUp()
DAssociationEndToEndTest.kt24 import com.android.compatibility.common.util.FeatureUtil
46 assumeFalse(FeatureUtil.isWatch()) in setUp()
DAssociationEndToEndSingleDeviceTest.kt8 import com.android.compatibility.common.util.FeatureUtil
31 assumeFalse(FeatureUtil.isWatch()) in setUp()
DAssociationEndToEndSelfManagedTest.kt13 import com.android.compatibility.common.util.FeatureUtil
40 assumeFalse(FeatureUtil.isWatch()) in setUp()
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DBaseCarrierApiTest.java31 import com.android.compatibility.common.util.FeatureUtil;
92 FeatureUtil.hasTelephony()); in ensurePreconditionsMet()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DLockScreenSession.java49 import com.android.compatibility.common.util.FeatureUtil;
112 return FeatureUtil.hasSystemFeature(FEATURE_SECURE_LOCK_SCREEN); in supportsSecureLock()
117 return !FeatureUtil.hasAnySystemFeature( in supportsInsecureLock()
189 if (FeatureUtil.isWatch()) { in sleepDevice()
274 if (FeatureUtil.isWatch()) { in close()
/cts/tests/tests/os/UffdGc/src/android/os/cts/uffdgc/
DUserfaultfdTest.java27 import com.android.compatibility.common.util.FeatureUtil;
44 boolean mShouldRunTest = !(FeatureUtil.isAutomotive() in setUp()
/cts/tests/tests/content/src/android/content/cts/
DAvailableIntentsTest.java49 import com.android.compatibility.common.util.FeatureUtil;
461 if (FeatureUtil.isAutomotive()) { in testRequestManageMedia()
470 if (FeatureUtil.isTV() || FeatureUtil.isAutomotive() || FeatureUtil.isWatch()) { in testMediaRoutingControlSettings()
503 if (FeatureUtil.isTV() || FeatureUtil.isAutomotive() || FeatureUtil.isWatch()) { in testSettingsSearchIntent()
524 if (FeatureUtil.isWatch() || FeatureUtil.isAutomotive()) { in testPowerUsageSummarySettings()
551 if (FeatureUtil.isWatch()) { in testRequestSetAutofillServiceIntent()
/cts/tests/suspendapps/tests/src/android/suspendapps/cts/
DDistractingPackageTest.java57 import com.android.compatibility.common.util.FeatureUtil;
116 assumeTrue(FeatureUtil.hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN)); in testCannotRestrictWhenUninstallBlocked()
135 assumeTrue(FeatureUtil.hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN)); in testCannotRestrictUnderDisallowAppsControl()
141 assumeTrue(FeatureUtil.hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN)); in testCannotRestrictUnderDisallowUninstallApps()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DDeviceOwnerPositiveTestActivity.java44 import com.android.cts.verifier.features.FeatureUtil;
342 if (FeatureUtil.isConfigVpnSupported(this)) { in addTestsToAdapter()
365 if (FeatureUtil.isDataRoamingSupported(this) in addTestsToAdapter()
422 if (FeatureUtil.isUsbFileTransferSupported(this)) { in addTestsToAdapter()
439 if (FeatureUtil.isStatusBarSupported(this)) { in addTestsToAdapter()
459 if (FeatureUtil.isKeyguardShownWhenUserDoesntHaveCredentials(this) in addTestsToAdapter()
479 if (FeatureUtil.isLockTaskSupported(this)) { in addTestsToAdapter()
539 if (FeatureUtil.supportManagedSecondaryUsers(this)) { in addTestsToAdapter()
630 if (FeatureUtil.isSwipeToUnlockSupported(this) in addTestsToAdapter()
631 && FeatureUtil.isCustomizeLockScreenMessageSupported(this) in addTestsToAdapter()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DSetNewPasswordComplexityTest.java9 import com.android.cts.verifier.features.FeatureUtil;
22 if (FeatureUtil.isHighPasswordComplexitySupported(this)) { in onCreate()
/cts/tests/tests/virtualdevice/core/src/android/virtualdevice/cts/core/
DVirtualDeviceKeyguardTest.java38 import com.android.compatibility.common.util.FeatureUtil;
120 return FeatureUtil.hasSystemFeature(PackageManager.FEATURE_SECURE_LOCK_SCREEN); in supportsSecureLock()
125 return !FeatureUtil.hasAnySystemFeature( in supportsInsecureLock()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DNullWebViewUtils.java32 return FeatureUtil.hasSystemFeature(PackageManager.FEATURE_WEBVIEW); in isWebViewAvailable()
DUiAutomatorUtils2.java70 if (FeatureUtil.isTV()) { in getSwipeDeadZonePct()
72 } else if (FeatureUtil.isWatch()) { in getSwipeDeadZonePct()
170 boolean isWearCompose = FeatureUtil.isWatch() && Objects.equals( in waitFindObjectOrNull()
/cts/tests/tests/security/src/android/security/cts/
DEncryptionTest.java32 import com.android.compatibility.common.util.FeatureUtil;
73 if (FeatureUtil.isTV()) { in handleUnencryptedDevice()
/cts/tests/tests/carrierapi/targetprep/device/src/android/carrierapi/cts/targetprep/
DCsimRemover.java31 import com.android.compatibility.common.util.FeatureUtil;
72 assumeTrue("No cellular support, CSIM removal will be skipped", FeatureUtil.hasTelephony()); in ensurePreconditionsMet()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageInstallerArchiveMultiUserTest.java59 import com.android.compatibility.common.util.FeatureUtil;
300 return !FeatureUtil.isArc() in isFormFactorSupported()
301 && !FeatureUtil.isAutomotive() in isFormFactorSupported()
302 && !FeatureUtil.isTV() in isFormFactorSupported()
303 && !FeatureUtil.isWatch() in isFormFactorSupported()
304 && !FeatureUtil.isVrHeadset(); in isFormFactorSupported()
/cts/tests/tests/display/src/android/display/cts/
DHdrConversionDisabledTest.java38 import com.android.compatibility.common.util.FeatureUtil;
77 assumeTrue("Need an Android TV device to run this test.", FeatureUtil.isTV()); in setUp()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/features/
DFeatureUtil.java27 public final class FeatureUtil { class
29 private FeatureUtil() { in FeatureUtil() method in FeatureUtil
/cts/tests/autofillservice/src/android/autofillservice/cts/servicebehavior/
DSettingsIntentTest.java39 import com.android.compatibility.common.util.FeatureUtil;
68 if (FeatureUtil.isAutomotive()) {
/cts/tests/tests/companion/core/src/android/companion/cts/core/
DDeviceProfilesTest.kt22 import com.android.compatibility.common.util.FeatureUtil in <lambda>()
49 assumeFalse(FeatureUtil.isWatch()) in <lambda>()

123