/cts/tests/location/location_fine/src/android/location/cts/fine/ |
D | ScanningSettingsTest.java | 41 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/ |
D | ConfigurationTest.java | 28 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/ |
D | ForceCancelConfirmationTest.kt | 25 import com.android.compatibility.common.util.FeatureUtil 45 assumeFalse("Skipping test for wear devices", FeatureUtil.isWatch()) in setUp() 51 if (FeatureUtil.isWatch()) { in tearDown()
|
D | AssociationRevokedTest.kt | 23 import com.android.compatibility.common.util.FeatureUtil 42 assumeFalse("Skipping test for wear devices", FeatureUtil.isWatch()) in setUp() 48 if (FeatureUtil.isWatch()) { in tearDown()
|
D | RequestNotificationsTest.kt | 24 import com.android.compatibility.common.util.FeatureUtil 43 assumeFalse(FeatureUtil.isWatch()) in setUp()
|
D | AssociationEndToEndTest.kt | 24 import com.android.compatibility.common.util.FeatureUtil 46 assumeFalse(FeatureUtil.isWatch()) in setUp()
|
D | AssociationEndToEndSingleDeviceTest.kt | 8 import com.android.compatibility.common.util.FeatureUtil 31 assumeFalse(FeatureUtil.isWatch()) in setUp()
|
D | AssociationEndToEndSelfManagedTest.kt | 13 import com.android.compatibility.common.util.FeatureUtil 40 assumeFalse(FeatureUtil.isWatch()) in setUp()
|
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/ |
D | BaseCarrierApiTest.java | 31 import com.android.compatibility.common.util.FeatureUtil; 92 FeatureUtil.hasTelephony()); in ensurePreconditionsMet()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | LockScreenSession.java | 49 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/ |
D | UserfaultfdTest.java | 27 import com.android.compatibility.common.util.FeatureUtil; 44 boolean mShouldRunTest = !(FeatureUtil.isAutomotive() in setUp()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | AvailableIntentsTest.java | 49 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/ |
D | DistractingPackageTest.java | 57 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/ |
D | DeviceOwnerPositiveTestActivity.java | 44 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/ |
D | SetNewPasswordComplexityTest.java | 9 import com.android.cts.verifier.features.FeatureUtil; 22 if (FeatureUtil.isHighPasswordComplexitySupported(this)) { in onCreate()
|
/cts/tests/tests/virtualdevice/core/src/android/virtualdevice/cts/core/ |
D | VirtualDeviceKeyguardTest.java | 38 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/ |
D | NullWebViewUtils.java | 32 return FeatureUtil.hasSystemFeature(PackageManager.FEATURE_WEBVIEW); in isWebViewAvailable()
|
D | UiAutomatorUtils2.java | 70 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/ |
D | EncryptionTest.java | 32 import com.android.compatibility.common.util.FeatureUtil; 73 if (FeatureUtil.isTV()) { in handleUnencryptedDevice()
|
/cts/tests/tests/carrierapi/targetprep/device/src/android/carrierapi/cts/targetprep/ |
D | CsimRemover.java | 31 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/ |
D | PackageInstallerArchiveMultiUserTest.java | 59 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/ |
D | HdrConversionDisabledTest.java | 38 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/ |
D | FeatureUtil.java | 27 public final class FeatureUtil { class 29 private FeatureUtil() { in FeatureUtil() method in FeatureUtil
|
/cts/tests/autofillservice/src/android/autofillservice/cts/servicebehavior/ |
D | SettingsIntentTest.java | 39 import com.android.compatibility.common.util.FeatureUtil; 68 if (FeatureUtil.isAutomotive()) {
|
/cts/tests/tests/companion/core/src/android/companion/cts/core/ |
D | DeviceProfilesTest.kt | 22 import com.android.compatibility.common.util.FeatureUtil in <lambda>() 49 assumeFalse(FeatureUtil.isWatch()) in <lambda>()
|