Home
last modified time | relevance | path

Searched refs:hasDeviceFeature (Results 1 – 16 of 16) sorted by relevance

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DManagedProfileTest.java91 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()
DCustomManagedProfileTest.java30 mHasFeature = mHasFeature && hasDeviceFeature("android.software.managed_users"); in setUp()
DDeviceOwnerTest.java105 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()
DMixedManagedProfileOwnerTestApi25.java32 mHasFeature &= hasDeviceFeature("android.software.managed_users"); in setUp()
DProfileOwnerTest.java50 if (!mHasFeature || !hasDeviceFeature("android.hardware.wifi")) { in testWifi()
DManagedProfileProvisioningTest.java30 mHasFeature = mHasFeature && hasDeviceFeature( in setUp()
DMixedManagedProfileOwnerTest.java35 mHasFeature &= hasDeviceFeature("android.software.managed_users"); in setUp()
DEphemeralUserTest.java61 if (!mHasFeature || !hasDeviceFeature("android.software.managed_users") in testProfileInheritsEphemeral()
DLauncherAppsProfileTest.java43 mHasFeature = mHasFeature && hasDeviceFeature("android.software.managed_users"); in setUp()
DBaseDevicePolicyTest.java119 && 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
DDeviceOwnerPlusProfileOwnerTest.java56 mHasFeature = mHasFeature && hasDeviceFeature("android.software.managed_users"); in setUp()
DDeviceAndProfileOwnerTest.java550 boolean mIsWatch = hasDeviceFeature("android.hardware.type.watch"); in testPackageInstallUserRestrictions()
/cts/hostsidetests/tv/src/com/android/cts/tv/
DTvInputManagerHostTest.java81 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/
DActivityManagerTestBase.java532 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/
DBaseMultiUserTest.java95 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/
DActivityManagerDisplayTestBase.java369 return hasDeviceFeature("android.software.activities_on_secondary_displays"); in supportsMultiDisplay()