Package: android.hardware.radio@1.2

types

Properties

RadioConst

enum RadioConst: @1.0::RadioConst
Details
Members
RADIO_ACCESS_SPEFICIER_MAX_SIZE = 8

ScanIntervalRange

enum ScanIntervalRange: int32_t

values are in seconds

Details
Members
MIN = 5
MAX = 300

MaxSearchTimeRange

enum MaxSearchTimeRange: int32_t

value are in seconds

Details
Members
MIN = 60
MAX = 3600

IncrementalResultsPeriodicityRange

enum IncrementalResultsPeriodicityRange: int32_t

values are in seconds

Details
Members
MIN = 1
MAX = 10

NetworkScanRequest

struct NetworkScanRequest {ScanType type; int32_t interval; vec specifiers; int32_t maxSearchTime; bool incrementalResults; int32_t incrementalResultsPeriodicity; vec mccMncs}
Details
Members
type
interval
Time interval in seconds between periodic scans, only valid when type = PERIODIC Range:ScanIntervalRange:MIN to ScanIntervalRange:MAX
specifiers
Networks with bands/channels to scan Maximum length of the vector is RadioConst:RADIO_ACCESS_SPEFICIER_MAX_SIZE
maxSearchTime
Maximum duration of the periodic search(in seconds). Expected range for the input is[MaxSearchTimeRange:MIN - MaxSearchTimeRange:MAX]If the search lasts maxSearchTime, it must be terminated.
incrementalResults
Indicates whether the modem must report incremental results of the network scan to the client.FALSE – Incremental results must not be reported.TRUE – Incremental must be reported.
incrementalResultsPeriodicity
Indicates the periodicity with which the modem must report incremental results to the client(in seconds). Expected range for the input is[IncrementalResultsPeriodicityRange:MIN - IncrementalResultsPeriodicityRange:MAX]This value must be less than or equal to maxSearchTime.
mccMncs
Describes the List of PLMN ids(MCC-MNC)If any PLMN of this list is found, search must end at that point and results with all PLMN found until that point should be sent as response.If the list is not sent, search to be completed until end and all PLMNs found to be reported.

NetworkScanResult

struct NetworkScanResult {ScanStatus status; RadioError error; vec networkInfos}
Details
Members
status
The status of the scan.
error
The error code of the incremental result.
networkInfos
List of network information as CellInfo.

CellIdentityOperatorNames

struct CellIdentityOperatorNames {string alphaLong; string alphaShort}
Details
Members
alphaLong
Long alpha Operator Name String or Enhanced Operator Name String.
alphaShort
Short alpha Operator Name String or Enhanced Operator Name String

CellIdentityCdma

struct CellIdentityCdma {@ base; CellIdentityOperatorNames operatorNames}
Details
Members
base
operatorNames

CellIdentityGsm

struct CellIdentityGsm {@ base; CellIdentityOperatorNames operatorNames}
Details
Members
base
operatorNames

CellIdentityLte

struct CellIdentityLte {@ base; CellIdentityOperatorNames operatorNames}
Details
Members
base
operatorNames

CellIdentityWcdma

struct CellIdentityWcdma {@ base; CellIdentityOperatorNames operatorNames}
Details
Members
base
operatorNames

CellInfoGsm

struct CellInfoGsm {CellIdentityGsm cellIdentityGsm; GsmSignalStrength signalStrengthGsm}
Details
Members
cellIdentityGsm
signalStrengthGsm

CellInfoWcdma

struct CellInfoWcdma {CellIdentityWcdma cellIdentityWcdma; WcdmaSignalStrength signalStrengthWcdma}
Details
Members
cellIdentityWcdma
signalStrengthWcdma

CellInfoCdma

struct CellInfoCdma {CellIdentityCdma cellIdentityCdma; CdmaSignalStrength signalStrengthCdma; EvdoSignalStrength signalStrengthEvdo}
Details
Members
cellIdentityCdma
signalStrengthCdma
signalStrengthEvdo

CellInfoLte

struct CellInfoLte {CellIdentityLte cellIdentityLte; LteSignalStrength signalStrengthLte}
Details
Members
cellIdentityLte
signalStrengthLte

CellInfo

struct CellInfo {CellInfoType cellInfoType; bool registered; TimeStampType timeStampType; uint64_t timeStamp; vec gsm; vec cdma; vec lte; vec wcdma; vec tdscdma}
Details
Members
cellInfoType
Cell type for selecting from union CellInfo.
registered
timeStampType
timeStamp
gsm
cdma
lte
wcdma
tdscdma