Home
last modified time | relevance | path

Searched refs:mAvailableFeatures (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/tv/src/com/android/cts/tv/
DTvInputManagerHostTest.java49 private HashSet<String> mAvailableFeatures; field in TvInputManagerHostTest
131 if (mAvailableFeatures == null) { in hasDeviceFeature()
138 mAvailableFeatures = new HashSet<>(); in hasDeviceFeature()
145 mAvailableFeatures.add(tokens[1]); in hasDeviceFeature()
148 boolean result = mAvailableFeatures.contains(requiredFeature); in hasDeviceFeature()
/cts/hostsidetests/media/src/android/media/cts/
DBaseMultiUserTest.java86 private HashSet<String> mAvailableFeatures; field in BaseMultiUserTest
349 if (mAvailableFeatures == null) { in hasDeviceFeature()
356 mAvailableFeatures = new HashSet<>(); in hasDeviceFeature()
364 mAvailableFeatures.add(tokens[1]); in hasDeviceFeature()
367 boolean result = mAvailableFeatures.contains(requiredFeature); in hasDeviceFeature()
/cts/tests/app/src/android/app/cts/
DSystemFeaturesTest.java76 private Set<String> mAvailableFeatures; field in SystemFeaturesTest
90 mAvailableFeatures = new HashSet<String>(); in setUp()
93 mAvailableFeatures.add(feature.name); in setUp()
113 Set<String> notOfficialFeatures = new HashSet<String>(mAvailableFeatures); in testFeatureNamespaces()
606 mAvailableFeatures.contains(feature)); in assertAvailable()
613 mAvailableFeatures.contains(feature)); in assertNotAvailable()
617 if ((mPackageManager.hasSystemFeature(feature1) && mAvailableFeatures.contains(feature1)) || in assertOneAvailable()
618 (mPackageManager.hasSystemFeature(feature2) && mAvailableFeatures.contains(feature2))) { in assertOneAvailable()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java121 private HashSet<String> mAvailableFeatures; field in BaseDevicePolicyTest
518 if (mAvailableFeatures == null) { in hasDeviceFeature()
525 mAvailableFeatures = new HashSet<>(); in hasDeviceFeature()
532 mAvailableFeatures.add(tokens[1]); in hasDeviceFeature()
535 boolean result = mAvailableFeatures.contains(requiredFeature); in hasDeviceFeature()