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

Commit 2434ba47 authored by sqian's avatar sqian Committed by Amit Mahajan
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)
Merged-in: I9607967b2a362f72e9d2bcda4ef25afaf0cc7f1d
Change-Id: I9607967b2a362f72e9d2bcda4ef25afaf0cc7f1d
(cherry picked from commit 527d6506)
parent 99004cd5
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -128,6 +128,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;
@@ -144,7 +147,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