Home
last modified time | relevance | path

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

/cts/tests/tests/car_builtin/src/android/car/cts/builtin/view/
DDisplayHelperTest.java74 String requiredFeature = PackageManager.FEATURE_ACTIVITIES_ON_SECONDARY_DISPLAYS; in testVirtualDisplayPhysicalPort() local
75 assumeTrue(mContext.getPackageManager().hasSystemFeature(requiredFeature)); in testVirtualDisplayPhysicalPort()
88 String requiredFeature = PackageManager.FEATURE_ACTIVITIES_ON_SECONDARY_DISPLAYS; in testDisplayType() local
91 assumeTrue(mContext.getPackageManager().hasSystemFeature(requiredFeature)); in testDisplayType()
/cts/hostsidetests/tv/src/com/android/cts/tv/
DTvInputManagerHostTest.java130 private boolean hasDeviceFeature(String requiredFeature) throws DeviceNotAvailableException { in hasDeviceFeature() argument
148 boolean result = mAvailableFeatures.contains(requiredFeature); in hasDeviceFeature()
151 + requiredFeature + ". Test won't run."); in hasDeviceFeature()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAdminFeaturesCheckerRule.java115 for (String requiredFeature : requiredFeatures) { in apply()
116 if (!testDevice.hasFeature(requiredFeature)) { in apply()
117 missingFeatures.add(requiredFeature); in apply()
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/content/
DContextHelperTest.java62 String requiredFeature = PackageManager.FEATURE_ACTIVITIES_ON_SECONDARY_DISPLAYS; in testVirtualDisplayId() local
63 assumeTrue(mContext.getPackageManager().hasSystemFeature(requiredFeature)); in testVirtualDisplayId()
/cts/hostsidetests/settings/src/com/google/android/cts/settings/
DPrivacyDeviceOwnerTest.java241 protected boolean hasDeviceFeature(String requiredFeature) throws DeviceNotAvailableException { in hasDeviceFeature() argument
256 boolean result = availableFeatures.contains(requiredFeature); in hasDeviceFeature()
258 CLog.d("Device doesn't have required feature " + requiredFeature + ". Test won't run."); in hasDeviceFeature()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DPackageUtil.java197 private static boolean hasDeviceFeature(final String requiredFeature) { in hasDeviceFeature() argument
200 .hasSystemFeature(requiredFeature); in hasDeviceFeature()
/cts/tests/tests/dpi/src/android/dpi/cts/
DConfigurationScreenLayoutTest.java116 private boolean hasDeviceFeature(final String requiredFeature) { in hasDeviceFeature() argument
119 .hasSystemFeature(requiredFeature); in hasDeviceFeature()
/cts/tests/tests/graphics/src/android/graphics/cts/
DVulkanPreTransformTest.java150 private boolean hasDeviceFeature(final String requiredFeature) { in hasDeviceFeature() argument
151 return mContext.getPackageManager().hasSystemFeature(requiredFeature); in hasDeviceFeature()
/cts/hostsidetests/media/src/android/media/cts/
DBaseMultiUserTest.java298 protected boolean hasDeviceFeature(String requiredFeature) throws DeviceNotAvailableException { in hasDeviceFeature() argument
317 boolean result = mAvailableFeatures.contains(requiredFeature); in hasDeviceFeature()
/cts/tests/tests/view/src/android/view/animation/cts/
DAnimatorInflaterTest.java328 private boolean hasDeviceFeature(final String requiredFeature) { in hasDeviceFeature() argument
330 .hasSystemFeature(requiredFeature); in hasDeviceFeature()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/
DWindowManagerJetpackTestBase.java105 protected boolean hasDeviceFeature(final String requiredFeature) { in hasDeviceFeature() argument
106 return mContext.getPackageManager().hasSystemFeature(requiredFeature); in hasDeviceFeature()
/cts/tests/tests/media/projection/src/android/media/projection/cts/
DMediaProjectionMirroringTest.java413 protected boolean hasDeviceFeature(final String requiredFeature) { in hasDeviceFeature() argument
415 .hasSystemFeature(requiredFeature); in hasDeviceFeature()
/cts/hostsidetests/media/src/android/media/metrics/cts/
DMediaMetricsAtomTests.java826 private void runAAudioTestAndValidate(String requiredFeature, String direction, in runAAudioTestAndValidate() argument
828 if (!DeviceUtils.hasFeature(getDevice(), requiredFeature)) { in runAAudioTestAndValidate()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerTestBase.java1501 protected boolean hasDeviceFeature(final String requiredFeature) { in hasDeviceFeature() argument
1503 .hasSystemFeature(requiredFeature); in hasDeviceFeature()
/cts/tests/tests/widget/src/android/widget/cts/
DPopupWindowTest.java2173 private boolean hasDeviceFeature(final String requiredFeature) { in hasDeviceFeature() argument
2174 return mContext.getPackageManager().hasSystemFeature(requiredFeature); in hasDeviceFeature()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt1391 field public static final int requiredFeature = 16844116; // 0x1010554