Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 379cc3cb authored by Sooraj Sasindran's avatar Sooraj Sasindran Committed by Automerger Merge Worker
Browse files

Merge "NITZ API improvement" am: bb347323 am: 4d791aef am: 66b9465f am: 1050f3af

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1839798

Change-Id: Ifc796c69d88e6af0cbdcbe95ac584c0454117a1d
parents 71e94d72 1050f3af
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
+8 −2
Original line number Diff line number Diff line
@@ -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
     */
    void nitzTimeReceived(in RadioIndicationType type, in String nitzTime, in long receivedTime);
     * @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 receivedTimeMs, in long ageMs);

    /**
     * Report that Registration or a Location/Routing/Tracking Area update has failed.