Home
last modified time | relevance | path

Searched refs:newSS (Results 1 – 2 of 2) sorted by relevance

/packages/services/Telephony/src/com/android/phone/
DServiceStateProvider.java356 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()
[all …]
/packages/services/Telephony/tests/src/com/android/phone/
DServiceStateProviderTest.java524 ServiceState newSS = new ServiceState(); in testNoNotify() local
525 newSS.setStateOutOfService(); in testNoNotify()
526 newSS.setCdmaSystemAndNetworkId(0, 0); in testNoNotify()
529 assertFalse(notifyChangeCalledForSubIdAndField(oldSS, newSS, subId)); in testNoNotify()
561 ServiceState newSS = new ServiceState(); in testNotifyChanged_voiceRegStateUpdated() local
562 newSS.setStateOutOfService(); in testNotifyChanged_voiceRegStateUpdated()
563 newSS.setVoiceRegState(ServiceState.STATE_POWER_OFF); in testNotifyChanged_voiceRegStateUpdated()
567 assertTrue(notifyChangeCalledForSubId(oldSS, newSS, subId)); in testNotifyChanged_voiceRegStateUpdated()
570 assertTrue(notifyChangeCalledForSubIdAndField(oldSS, newSS, subId)); in testNotifyChanged_voiceRegStateUpdated()
584 ServiceState newSS = new ServiceState(); in testNotifyChanged_dataNetworkTypeUpdated() local
[all …]