/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | ManagedProfileTest.java | 91 mHasFeature = mHasFeature && hasDeviceFeature( in setUp() 93 mHasNfcFeature = hasDeviceFeature("android.hardware.nfc"); in setUp() 181 if (!mHasFeature || !hasDeviceFeature(FEATURE_WIFI)) { in testProfileWifiCleanup() 200 if (!mHasFeature || !hasDeviceFeature(FEATURE_WIFI)) { in testWifiMacAddress() 451 boolean hasBluetooth = hasDeviceFeature(FEATURE_BLUETOOTH); in testBluetooth() 467 boolean hasCamera = hasDeviceFeature(FEATURE_CAMERA); in testCameraPolicy() 884 final boolean hasBluetooth = hasDeviceFeature(FEATURE_BLUETOOTH); in testBluetoothSharingRestriction() 960 return hasDeviceFeature(FEATURE_TELEPHONY) && hasDeviceFeature(FEATURE_CONNECTION_SERVICE); in shouldRunTelecomTest()
|
D | CustomManagedProfileTest.java | 30 mHasFeature = mHasFeature && hasDeviceFeature("android.software.managed_users"); in setUp()
|
D | DeviceOwnerTest.java | 105 if (!hasDeviceFeature("android.hardware.wifi")) { in testWifi() 429 final boolean hasWifi = hasDeviceFeature("android.hardware.wifi"); in testWifiConfigLockdown() 444 final boolean hasWifi = hasDeviceFeature("android.hardware.wifi"); in testWifiSetHttpProxyTest()
|
D | MixedManagedProfileOwnerTestApi25.java | 32 mHasFeature &= hasDeviceFeature("android.software.managed_users"); in setUp()
|
D | ProfileOwnerTest.java | 50 if (!mHasFeature || !hasDeviceFeature("android.hardware.wifi")) { in testWifi()
|
D | ManagedProfileProvisioningTest.java | 30 mHasFeature = mHasFeature && hasDeviceFeature( in setUp()
|
D | MixedManagedProfileOwnerTest.java | 35 mHasFeature &= hasDeviceFeature("android.software.managed_users"); in setUp()
|
D | EphemeralUserTest.java | 61 if (!mHasFeature || !hasDeviceFeature("android.software.managed_users") in testProfileInheritsEphemeral()
|
D | LauncherAppsProfileTest.java | 43 mHasFeature = mHasFeature && hasDeviceFeature("android.software.managed_users"); in setUp()
|
D | BaseDevicePolicyTest.java | 119 && hasDeviceFeature("android.software.device_admin"); in setUp() 121 mSupportsFbe = hasDeviceFeature("android.software.file_based_encryption"); in setUp() 384 protected boolean hasDeviceFeature(String requiredFeature) throws DeviceNotAvailableException { in hasDeviceFeature() method in BaseDevicePolicyTest
|
D | DeviceOwnerPlusProfileOwnerTest.java | 56 mHasFeature = mHasFeature && hasDeviceFeature("android.software.managed_users"); in setUp()
|
D | DeviceAndProfileOwnerTest.java | 550 boolean mIsWatch = hasDeviceFeature("android.hardware.type.watch"); in testPackageInstallUserRestrictions()
|
/cts/hostsidetests/tv/src/com/android/cts/tv/ |
D | TvInputManagerHostTest.java | 81 mHasFeatureLiveTv = hasDeviceFeature(FEATURE_LIVE_TV); in setUp() 130 private boolean hasDeviceFeature(String requiredFeature) throws DeviceNotAvailableException { in hasDeviceFeature() method in TvInputManagerHostTest
|
/cts/hostsidetests/services/activityandwindowmanager/util/src/android/server/cts/ |
D | ActivityManagerTestBase.java | 532 return hasDeviceFeature("android.software.vr.mode") && in supportsVrMode() 533 hasDeviceFeature("android.hardware.vr.high_performance"); in supportsVrMode() 537 return hasDeviceFeature("android.software.picture_in_picture") in supportsPip() 542 return hasDeviceFeature("android.software.freeform_window_management") in supportsFreeform() 547 return !hasDeviceFeature("android.software.leanback") in isHandheld() 548 && !hasDeviceFeature("android.software.watch"); in isHandheld() 565 protected boolean hasDeviceFeature(String requiredFeature) throws DeviceNotAvailableException { in hasDeviceFeature() method in ActivityManagerTestBase
|
/cts/hostsidetests/media/src/android/media/cts/ |
D | BaseMultiUserTest.java | 95 mHasManagedUsersFeature = hasDeviceFeature("android.software.managed_users"); in setUp() 351 protected boolean hasDeviceFeature(String requiredFeature) throws DeviceNotAvailableException { in hasDeviceFeature() method in BaseMultiUserTest
|
/cts/hostsidetests/services/activityandwindowmanager/activitymanager/src/android/server/cts/ |
D | ActivityManagerDisplayTestBase.java | 369 return hasDeviceFeature("android.software.activities_on_secondary_displays"); in supportsMultiDisplay()
|