mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 22:04:26 +00:00
Merge "NITZ API improvement" am: bb347323d0 am: 4d791aef1b am: 66b9465fc8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1839798 Change-Id: Ief3ecec9e1c12d1dbd7691e7965f0430692a4f9b
This commit is contained in:
@@ -43,7 +43,7 @@ interface IRadioNetworkIndication {
|
||||
oneway void imsNetworkStateChanged(in android.hardware.radio.RadioIndicationType type);
|
||||
oneway void networkScanResult(in android.hardware.radio.RadioIndicationType type, in android.hardware.radio.network.NetworkScanResult result);
|
||||
oneway void networkStateChanged(in android.hardware.radio.RadioIndicationType type);
|
||||
oneway void nitzTimeReceived(in android.hardware.radio.RadioIndicationType type, in String nitzTime, in long receivedTime);
|
||||
oneway void nitzTimeReceived(in android.hardware.radio.RadioIndicationType type, in String nitzTime, in long receivedTimeMs, in long ageMs);
|
||||
oneway void registrationFailed(in android.hardware.radio.RadioIndicationType type, in android.hardware.radio.network.CellIdentity cellIdentity, in String chosenPlmn, in android.hardware.radio.network.Domain domain, in int causeCode, in int additionalCauseCode);
|
||||
oneway void restrictedStateChanged(in android.hardware.radio.RadioIndicationType type, in android.hardware.radio.network.PhoneRestrictedState state);
|
||||
oneway void suppSvcNotify(in android.hardware.radio.RadioIndicationType type, in android.hardware.radio.network.SuppSvcNotification suppSvc);
|
||||
|
||||
@@ -129,9 +129,15 @@ oneway interface IRadioNetworkIndication {
|
||||
*
|
||||
* @param type Type of radio indication
|
||||
* @param nitzTime NITZ time string in the form "yy/mm/dd,hh:mm:ss(+/-)tz,dt"
|
||||
* @param receivedTime milliseconds since boot that the NITZ time was received
|
||||
* @param receivedTimeMs time (in milliseconds since boot) at which RIL sent the NITZ time to
|
||||
* the framework
|
||||
* @param ageMs time in milliseconds indicating how long NITZ was cached in RIL and modem.
|
||||
* This must track true age and therefore must be calculated using clocks that
|
||||
* include the time spend in sleep / low power states. If it can not be guaranteed,
|
||||
* there must not be any caching done at the modem and should fill in 0 for ageMs
|
||||
*/
|
||||
void nitzTimeReceived(in RadioIndicationType type, in String nitzTime, in long receivedTime);
|
||||
void nitzTimeReceived(in RadioIndicationType type, in String nitzTime,
|
||||
in long receivedTimeMs, in long ageMs);
|
||||
|
||||
/**
|
||||
* Report that Registration or a Location/Routing/Tracking Area update has failed.
|
||||
|
||||
Reference in New Issue
Block a user