Add the new RIL requests to start/stop network scan
The CL defines the RIL API including the methods and structs which will
be used start and stop the network scan.
Test: Telephony Sanity Test
Bug: 30954762
Change-Id: I18462bf4aa5e8a9497d5eb214d905e4e7c827a04
diff --git a/radio/1.1/IRadio.hal b/radio/1.1/IRadio.hal
index 44b08fe..b3e21e7 100644
--- a/radio/1.1/IRadio.hal
+++ b/radio/1.1/IRadio.hal
@@ -81,4 +81,22 @@
*/
oneway setSimCardPower_1_1(int32_t serial, CardPowerState powerUp);
+ /**
+ * Starts a network scan
+ *
+ * @param serial Serial number of request.
+ * @param request Defines the radio networks/bands/channels which need to be scanned.
+ *
+ * Response function is IRadioResponse.startNetworkScanResponse()
+ */
+ oneway startNetworkScan(int32_t serial, NetworkScanRequest request);
+
+ /**
+ * Stops ongoing network scan
+ *
+ * @param serial Serial number of request.
+ *
+ * Response function is IRadioResponse.stopNetworkScanResponse()
+ */
+ oneway stopNetworkScan(int32_t serial);
};