From 527d650656794c1e3b26f024cef806e76f1e28bc 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) Change-Id: I9607967b2a362f72e9d2bcda4ef25afaf0cc7f1d --- 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 ba0dafa235..3f4b1a5d1a 100644 --- a/radio/1.4/IRadio.hal +++ b/radio/1.4/IRadio.hal @@ -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 categories, vec urns, - EmergencyCallRouting routing); + EmergencyCallRouting routing, bool isTesting); /** * Starts a network scan