Lines Matching refs:newSS
356 final ServiceState newSS = ServiceState.CREATOR.createFromParcel(p); in insert() local
361 notifyChangeForSubIdAndField(getContext(), ss, newSS, subId); in insert() local
362 notifyChangeForSubId(getContext(), ss, newSS, subId); in insert() local
365 mServiceStates.put(subId, newSS); in insert()
578 ServiceState newSS, int subId) { in notifyChangeForSubIdAndField() argument
582 if (firstUpdate || voiceRegStateChanged(oldSS, newSS)) { in notifyChangeForSubIdAndField()
587 if (firstUpdate || dataRegStateChanged(oldSS, newSS)) { in notifyChangeForSubIdAndField()
592 if (firstUpdate || voiceRoamingTypeChanged(oldSS, newSS)) { in notifyChangeForSubIdAndField()
597 if (firstUpdate || dataRoamingTypeChanged(oldSS, newSS)) { in notifyChangeForSubIdAndField()
602 if (firstUpdate || dataNetworkTypeChanged(oldSS, newSS)) { in notifyChangeForSubIdAndField()
609 private static boolean voiceRegStateChanged(ServiceState oldSS, ServiceState newSS) { in voiceRegStateChanged() argument
610 return oldSS.getState() != newSS.getState(); in voiceRegStateChanged()
613 private static boolean dataRegStateChanged(ServiceState oldSS, ServiceState newSS) { in dataRegStateChanged() argument
614 return oldSS.getDataRegistrationState() != newSS.getDataRegistrationState(); in dataRegStateChanged()
617 private static boolean voiceRoamingTypeChanged(ServiceState oldSS, ServiceState newSS) { in voiceRoamingTypeChanged() argument
618 return oldSS.getVoiceRoamingType() != newSS.getVoiceRoamingType(); in voiceRoamingTypeChanged()
621 private static boolean dataRoamingTypeChanged(ServiceState oldSS, ServiceState newSS) { in dataRoamingTypeChanged() argument
622 return oldSS.getDataRoamingType() != newSS.getDataRoamingType(); in dataRoamingTypeChanged()
625 private static boolean dataNetworkTypeChanged(ServiceState oldSS, ServiceState newSS) { in dataNetworkTypeChanged() argument
626 return oldSS.getDataNetworkType() != newSS.getDataNetworkType(); in dataNetworkTypeChanged()
641 public static void notifyChangeForSubId(Context context, ServiceState oldSS, ServiceState newSS, in notifyChangeForSubId() argument
647 if (oldSS == null || voiceRegStateChanged(oldSS, newSS) || dataRegStateChanged(oldSS, newSS) in notifyChangeForSubId()
648 || voiceRoamingTypeChanged(oldSS, newSS) || dataRoamingTypeChanged(oldSS, newSS) in notifyChangeForSubId()
649 || dataNetworkTypeChanged(oldSS, newSS)) { in notifyChangeForSubId()