Loading radio/1.4/IRadio.hal +12 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ package android.hardware.radio@1.4; import @1.0::Dial; import @1.2::DataRequestReason; import @1.2::NetworkScanRequest; import @1.3::IRadio; import @1.4::AccessNetwork; import @1.4::DataProfileInfo; Loading Loading @@ -136,6 +137,17 @@ interface IRadio extends @1.3::IRadio { oneway emergencyDial(int32_t serial, Dial dialInfo, bitfield<EmergencyServiceCategory> categories, EmergencyCallRouting routing); /** * Starts a network scan * * @param serial Serial number of request. * @param request Defines the radio networks/bands/channels which need to be scanned. * * Same API as @1.2::IRadio.startNetworkScan_1_2, except using the * @1.4::IRadioResponse.startNetworkScanResponse_1_4 as the response. */ oneway startNetworkScan_1_4(int32_t serial, NetworkScanRequest request); /** * Query the preferred network type bitmap. * Loading radio/1.4/IRadioResponse.hal +17 −0 Original line number Diff line number Diff line Loading @@ -48,6 +48,23 @@ interface IRadioResponse extends @1.3::IRadioResponse { */ oneway emergencyDialResponse(RadioResponseInfo info); /** * @param info Response info struct containing response type, serial no. and error * * Same API as @1.1::IRadioResponse.startNetworkScanResponse, except disallowing error codes * OPERATION_NOT_ALLOWED and REQUEST_NOT_SUPPORTED. * * Valid errors returned: * RadioError:NONE * RadioError:RADIO_NOT_AVAILABLE * RadioError:DEVICE_IN_USE * RadioError:INTERNAL_ERR * RadioError:NO_MEMORY * RadioError:MODEM_ERR * RadioError:INVALID_ARGUMENTS */ oneway startNetworkScanResponse_1_4(RadioResponseInfo info); /** * @param info Response info struct containing response type, serial no. and error * @param cellInfo List of current cell information known to radio Loading Loading
radio/1.4/IRadio.hal +12 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ package android.hardware.radio@1.4; import @1.0::Dial; import @1.2::DataRequestReason; import @1.2::NetworkScanRequest; import @1.3::IRadio; import @1.4::AccessNetwork; import @1.4::DataProfileInfo; Loading Loading @@ -136,6 +137,17 @@ interface IRadio extends @1.3::IRadio { oneway emergencyDial(int32_t serial, Dial dialInfo, bitfield<EmergencyServiceCategory> categories, EmergencyCallRouting routing); /** * Starts a network scan * * @param serial Serial number of request. * @param request Defines the radio networks/bands/channels which need to be scanned. * * Same API as @1.2::IRadio.startNetworkScan_1_2, except using the * @1.4::IRadioResponse.startNetworkScanResponse_1_4 as the response. */ oneway startNetworkScan_1_4(int32_t serial, NetworkScanRequest request); /** * Query the preferred network type bitmap. * Loading
radio/1.4/IRadioResponse.hal +17 −0 Original line number Diff line number Diff line Loading @@ -48,6 +48,23 @@ interface IRadioResponse extends @1.3::IRadioResponse { */ oneway emergencyDialResponse(RadioResponseInfo info); /** * @param info Response info struct containing response type, serial no. and error * * Same API as @1.1::IRadioResponse.startNetworkScanResponse, except disallowing error codes * OPERATION_NOT_ALLOWED and REQUEST_NOT_SUPPORTED. * * Valid errors returned: * RadioError:NONE * RadioError:RADIO_NOT_AVAILABLE * RadioError:DEVICE_IN_USE * RadioError:INTERNAL_ERR * RadioError:NO_MEMORY * RadioError:MODEM_ERR * RadioError:INVALID_ARGUMENTS */ oneway startNetworkScanResponse_1_4(RadioResponseInfo info); /** * @param info Response info struct containing response type, serial no. and error * @param cellInfo List of current cell information known to radio Loading