From 2434ba47b4bb07e2a927cce8cfc465ad2e7bd94f Mon Sep 17 00:00:00 2001 From: sqian Date: Wed, 16 Jan 2019 16:00:45 -0800 Subject: [PATCH] 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 527d650656794c1e3b26f024cef806e76f1e28bc) --- radio/1.4/IRadio.hal | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/radio/1.4/IRadio.hal b/radio/1.4/IRadio.hal index 5124d0ed46..dd69607e5e 100644 --- a/radio/1.4/IRadio.hal +++ b/radio/1.4/IRadio.hal @@ -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 categories, vec urns, - EmergencyCallRouting routing); + EmergencyCallRouting routing, bool isTesting); /** * Starts a network scan