Home
last modified time | relevance | path

Searched refs:mAvailableFeatures (Results 1 – 3 of 3) 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.java58 private HashSet<String> mAvailableFeatures; field in BaseMultiUserTest
299 if (mAvailableFeatures == null) { in hasDeviceFeature()
306 mAvailableFeatures = new HashSet<>(); in hasDeviceFeature()
314 mAvailableFeatures.add(tokens[1]); in hasDeviceFeature()
317 boolean result = mAvailableFeatures.contains(requiredFeature); in hasDeviceFeature()
/cts/tests/app/src/android/app/cts/
DSystemFeaturesTest.java74 private Set<String> mAvailableFeatures; field in SystemFeaturesTest
88 mAvailableFeatures = new HashSet<String>(); in setUp()
91 mAvailableFeatures.add(feature.name); in setUp()
111 Set<String> notOfficialFeatures = new HashSet<String>(mAvailableFeatures); in testFeatureNamespaces()
643 mAvailableFeatures.contains(feature)); in assertAvailable()
650 mAvailableFeatures.contains(feature)); in assertNotAvailable()
654 if ((mPackageManager.hasSystemFeature(feature1) && mAvailableFeatures.contains(feature1)) || in assertOneAvailable()
655 (mPackageManager.hasSystemFeature(feature2) && mAvailableFeatures.contains(feature2))) { in assertOneAvailable()