Searched refs:newSS (Results 1 – 2 of 2) sorted by relevance
/packages/services/Telephony/src/com/android/phone/ |
D | ServiceStateProvider.java | 312 final ServiceState newSS = ServiceState.CREATOR.createFromParcel(p); in insert() local 317 notifyChangeForSubIdAndField(getContext(), ss, newSS, subId); in insert() local 318 notifyChangeForSubId(getContext(), ss, newSS, subId); in insert() local 321 mServiceStates.put(subId, newSS); in insert() 462 ServiceState newSS, int subId) { in notifyChangeForSubIdAndField() argument 466 if (firstUpdate || voiceRegStateChanged(oldSS, newSS)) { in notifyChangeForSubIdAndField() 471 if (firstUpdate || dataRegStateChanged(oldSS, newSS)) { in notifyChangeForSubIdAndField() 475 if (firstUpdate || voiceRoamingTypeChanged(oldSS, newSS)) { in notifyChangeForSubIdAndField() 479 if (firstUpdate || dataRoamingTypeChanged(oldSS, newSS)) { in notifyChangeForSubIdAndField() 485 private static boolean voiceRegStateChanged(ServiceState oldSS, ServiceState newSS) { in voiceRegStateChanged() argument [all …]
|
/packages/services/Telephony/tests/src/com/android/phone/ |
D | ServiceStateProviderTest.java | 224 ServiceState newSS = new ServiceState(); in testNoNotify() local 225 newSS.setStateOutOfService(); in testNoNotify() 226 newSS.setCdmaSystemAndNetworkId(0, 0); in testNoNotify() 231 ServiceStateProvider.notifyChangeForSubIdAndField(mContext, oldSS, newSS, subId); in testNoNotify() 254 ServiceState newSS = new ServiceState(); in testNotifyChanged() local 255 newSS.setStateOutOfService(); in testNotifyChanged() 256 newSS.setVoiceRegState(ServiceState.STATE_POWER_OFF); in testNotifyChanged() 286 ServiceStateProvider.notifyChangeForSubIdAndField(mContext, oldSS, newSS, subId); in testNotifyChanged() 298 ServiceStateProvider.notifyChangeForSubId(mContext, oldSS, newSS, subId); in testNotifyChanged()
|