Home
last modified time | relevance | path

Searched refs:newFeatures (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/tests/hdmitests/src/android/hardware/hdmi/
DDeviceFeaturesTest.java94 DeviceFeatures newFeatures = DeviceFeatures.ALL_FEATURES_SUPPORT_UNKNOWN.toBuilder() in testUpdate() local
115 assertThat(oldFeatures.toBuilder().update(newFeatures).build()).isEqualTo(updatedFeatures); in testUpdate()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsServiceController.java542 HashSet<ImsFeatureConfiguration.FeatureSlotPair> newFeatures = in changeImsServiceFeatures() local
544 newFeatures.removeAll(oldImsFeatures); in changeImsServiceFeatures()
545 for (ImsFeatureConfiguration.FeatureSlotPair i : newFeatures) { in changeImsServiceFeatures()
561 unchangedFeatures.removeAll(newFeatures); in changeImsServiceFeatures()
DImsResolver.java197 void replaceFeatures(Set<ImsFeatureConfiguration.FeatureSlotPair> newFeatures) { in replaceFeatures() argument
199 mSupportedFeatures.addAll(newFeatures); in replaceFeatures()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsResolverTest.java659 HashSet<ImsFeatureConfiguration.FeatureSlotPair> newFeatures = new HashSet<>(); in testCarrierPackageChangeEmergencyCalling() local
660 newFeatures.add(new ImsFeatureConfiguration.FeatureSlotPair(0, in testCarrierPackageChangeEmergencyCalling()
662 newFeatures.add(new ImsFeatureConfiguration.FeatureSlotPair(0, in testCarrierPackageChangeEmergencyCalling()
664 setupDynamicQueryFeatures(TEST_CARRIER_DEFAULT_NAME, newFeatures, 2); in testCarrierPackageChangeEmergencyCalling()
668 verify(controller, atLeastOnce()).changeImsServiceFeatures(eq(newFeatures), in testCarrierPackageChangeEmergencyCalling()
1161 Set<String> newFeatures = new HashSet<>(features); in testAddDeviceFeatureNoCarrier() local
1162 newFeatures.add(ImsResolver.METADATA_RCS_FEATURE); in testAddDeviceFeatureNoCarrier()
1164 info.add(getResolveInfo(TEST_DEVICE_DEFAULT_NAME, newFeatures, true)); in testAddDeviceFeatureNoCarrier()
1170 convertToHashSet(newFeatures, 0); in testAddDeviceFeatureNoCarrier()
1171 newFeatureSet.addAll(convertToHashSet(newFeatures, 1)); in testAddDeviceFeatureNoCarrier()
[all …]
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java473 final int newFeatures = features | (1 << featureId); in requestFeature() local
474 if ((newFeatures & (1 << FEATURE_CUSTOM_TITLE)) != 0 && in requestFeature()
475 (newFeatures & ~CUSTOM_TITLE_COMPATIBLE_FEATURES) != 0) { in requestFeature()