Home | History | Annotate | Download | only in ims

Lines Matching defs:features

94     // A query has been started for an ImsService to relay the features they support.
96 // A query to request ImsService features has completed or the ImsService has updated features.
106 * Stores information about an ImsService, including the package name, class name, and features
112 // Determines if features were created from metadata in the manifest or through dynamic
368 Set<ImsFeatureConfiguration.FeatureSlotPair> features =
371 dynamicQueryComplete(name, features);
397 features queried yet. Start
398 // async bind and query features.
410 // Results from dynamic queries to ImsService regarding the features they support.
416 Set<ImsFeatureConfiguration.FeatureSlotPair> features) {
417 Log.d(TAG, "onComplete called for name: " + name + "features:"
418 + printFeatures(features));
419 handleFeaturesChanged(name, features);
706 // supported IMS features if they have changed.
714 // features. Will only be one (if it exists), since it is a set.
717 // for dynamic query the new "info" will have no supported features yet. Don't wipe
718 // out the cache for the existing features or update yet. Instead start a query
719 // for features dynamically.
721 // update features in the cache
722 Log.i(TAG, "Updating features in cached ImsService: " + info.name);
723 Log.d(TAG, "Updating features - Old features: " + match + " new features: "
728 // start a query to get ImsService features
737 // newly added ImsServiceInfo that has not had features queried yet. Start async
738 // bind and query features.
750 // Update existing device service features
818 // Creates new features in active ImsServices and removes obsolete cached features. If
819 // cachedInfo == null, then newInfo is assumed to be a new ImsService and will have all features
826 // Will return zero if these features are overridden or it should not currently have any
827 // features because it is not carrier/device.
828 HashSet<ImsFeatureConfiguration.FeatureSlotPair> features =
830 if (shouldFeaturesCauseBind(features)) {
833 Log.i(TAG, "Updating features for ImsService: "
835 Log.d(TAG, "Updating Features - New Features: " + features);
836 controller.changeImsServiceFeatures(features);
838 Log.i(TAG, "updateImsServiceFeatures: unbound with active features, rebinding");
839 bindImsServiceWithFeatures(newInfo, features);
841 // If the carrier service features have changed, the device features will also
852 // Don't stay bound if the ImsService is providing no features.
854 Log.i(TAG, "Unbinding: features = 0 for ImsService: " + controller.getComponentName());
864 HashSet<ImsFeatureConfiguration.FeatureSlotPair> features = calculateFeaturesToCreate(info);
865 bindImsServiceWithFeatures(info, features);
869 HashSet<ImsFeatureConfiguration.FeatureSlotPair> features) {
870 // Only bind if there are features that will be created by the service.
871 if (shouldFeaturesCauseBind(features)) {
875 Log.i(TAG, "ImsService connection exists, updating features " + features);
877 controller.changeImsServiceFeatures(features);
878 // Features have been set, there was an error adding/removing. When the
886 + " with features: " + features);
887 controller.bind(features);
900 // Calls imsServiceFeatureRemoved on all features in the controller
911 // Calculate which features an ImsServiceController will need. If it is the carrier specific
912 // ImsServiceController, it will be granted all of the features it requests on the associated
913 // slot. If it is the device ImsService, it will get all of the features not covered by the
926 // For all slots that are not currently using a carrier ImsService, enable all features
932 // No Carrier override, add all features for this slot
937 // Add all features to the device service that are not currently covered by
942 // only add features for current slot
986 * Determines if the features specified should cause a bind or keep a binding active to an
988 * @return true if MMTEL or RCS features are present, false if they are not or only
992 HashSet<ImsFeatureConfiguration.FeatureSlotPair> features) {
993 long bindableFeatures = features.stream()
994 // remove all emergency features
1038 // bindings for device ImsService to pick up the missing features.
1041 // Recalculate the device ImsService features to reflect changes.
1044 // ImsServiceInfo that has not had features queried yet. Start async
1045 // bind and query features.
1053 * Schedules a query for dynamic ImsService features.
1092 Set<ImsFeatureConfiguration.FeatureSlotPair> features) {
1095 args.arg2 = features;
1113 Set<ImsFeatureConfiguration.FeatureSlotPair> features) {
1120 // Add features to service
1121 service.replaceFeatures(features);
1126 // Update existing device service features
1145 private String printFeatures(Set<ImsFeatureConfiguration.FeatureSlotPair> features) {
1147 featureString.append("features: [");
1148 if (features != null) {
1149 for (ImsFeatureConfiguration.FeatureSlotPair feature : features) {
1225 // we will allow the manifest method of declaring manifest features in two cases:
1226 // 1) it is the device overlay "default" ImsService, where the features do not