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

Commit 527d6506 authored by sqian's avatar sqian
Browse files

Add Emergency Call testing mode

If 'isTesting' is true, this request is for testing purpose,
and must not be sent to a real emergency service; otherwise it's
a real emergency call request.

Bug: 122840137
Test: Treehugger (VTS later)
Change-Id: I9607967b2a362f72e9d2bcda4ef25afaf0cc7f1d
parent a4da1962
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -126,6 +126,9 @@ interface IRadio extends @1.3::IRadio {
     * does not support the emergency service category or emergency uniform resource names, the
     * field 'categories' or 'urns' may be ignored.
     *
     * If 'isTesting' is true, this request is for testing purpose, and must not be sent to a real
     * emergency service; otherwise it's for a real emergency call request.
     *
     * Reference: 3gpp 22.101, Section 10 - Emergency Calls;
     *            3gpp 23.167, Section 6 - Functional description;
     *            3gpp 24.503, Section 5.1.6.8.1 - General;
@@ -142,7 +145,7 @@ interface IRadio extends @1.3::IRadio {
     */
    oneway emergencyDial(int32_t serial, Dial dialInfo,
            bitfield<EmergencyServiceCategory> categories, vec<string> urns,
            EmergencyCallRouting routing);
            EmergencyCallRouting routing, bool isTesting);

    /**
     * Starts a network scan