Lines Matching refs:base
18 import com.google.common.base.Preconditions;
64 public static CarrierConfig mergeCarrierConfig(CarrierConfig base, CarrierConfig patch) {
67 return mergeCarrierConfig(base, patch.toBuilder());
81 public static CarrierConfig mergeCarrierConfig(CarrierConfig base, CarrierConfig.Builder patch) {
82 Preconditions.checkNotNull(base);
85 CarrierConfig.Builder baseBuilder = base.toBuilder();
139 MultiCarrierSettings allOverlay, CarrierSettings.Builder base) {
140 return applyDeviceOverlayToCarrierSettings(allOverlay, base.build());
145 MultiCarrierSettings allOverlay, CarrierSettings base) {
148 Preconditions.checkNotNull(base);
152 findCarrierSettingsByCanonicalName(allOverlay, base.getCanonicalName());
154 return base.toBuilder();
157 CarrierSettings.Builder resultBuilder = base.toBuilder();
160 resultBuilder.setVersion(base.getVersion() + overlay.getVersion());
174 MultiCarrierSettings overlay, MultiCarrierSettings base) {
177 Preconditions.checkNotNull(base);
179 MultiCarrierSettings.Builder resultBuilder = base.toBuilder().clearSetting();
182 for (CarrierSettings cs : base.getSettingList()) {