summaryrefslogtreecommitdiff
path: root/telephony/java/android/telephony/CellInfoCdma.java
AgeCommit message (Collapse)Author
2020-12-02Add CQI and table index to LTE and NR CellSignalStrengthMingming Cai
Bug: 170771377 Test: make Change-Id: I4c9281d5a606d3371d53020af3470e6f0f04524f
2020-11-04Add maxTargetSdk restriction to unused APIs.Mathew Inwood
These are APIs that have @UnsupportedAppUsage but for which we don't have any evidence of them currently being used, so should be safe to remove from the unsupported list. Bug: 170729553 Test: Treehugger Merged-In: I626caf7c1fe46c5ab1f39c2895b42a34319f771a Change-Id: I54e5ecd11e76ca1de3c5893e3a98b0108e735413
2020-03-19Add response and indication for CellInfoSarah Chin
cellInfoList_1_5 getCellInfoListResponse_1_5 networkScanResult_1_5 Test: atest RILTest Bug: 151774189 Change-Id: I1ba01eb97f13f843fd27b65d4a2b1049e97ead71 Merged-In: I1ba01eb97f13f843fd27b65d4a2b1049e97ead71
2020-01-30Fix import of Rlog - generated by formatting toolMeng Wang
Test: make Merged-In: Ibe36c6d0fe8bfb6277d7b9034af8dbf45ce2f716 Change-Id: Ibe36c6d0fe8bfb6277d7b9034af8dbf45ce2f716
2020-01-13Use com.android.telephony.Rlog for mainline module.Meng Wang
Bug: 144374158 Test: make Merged-In: I86a479affb8e0fa8e48734324a6a05c68230d910 Change-Id: I86a479affb8e0fa8e48734324a6a05c68230d910
2020-01-09Use new UnsupportedAppUsage annotation.Artur Satayev
Existing annotations in libcore/ and frameworks/ will deleted after the migration. This also means that any java library that compiles @UnsupportedAppUsage requires a direct dependency on "unsupportedappusage" java_library. Bug: 145132366 Test: m && diff unsupportedappusage_index.csv Change-Id: I547d7fb2e6bc2e9707bbc0d14dc1e8cd632c5a23 Merged-In: I547d7fb2e6bc2e9707bbc0d14dc1e8cd632c5a23
2019-04-09Update Javadocs for CellInfo ClassesNathan Harold
-Add nullability annotations for getMccString and getMncString. -Add IntRange to CellSignalStrength#getLevel() -Fix a few docstring errors. Bug: 129902021 Test: make && make update-api && make offline-sdk-docs (no functional change) Change-Id: I61d645f79a23226ab902fc657fe7b07ffd674a0b (cherry picked from commit b858d8c682261aae4ab5b99e5c0c99b627b329cb)
2019-04-01Allow requestNetworkScan to return sanitized info am: c9d7430685 am: 87217889f1Hall Liu
am: 9e1d425b58 Change-Id: I3fab8c08100a68aba55eefb27b587e73849bc108
2019-03-26Allow requestNetworkScan to return sanitized infoHall Liu
If an app doesn't have location permissions or if the system location switch is off, allow requestNetworkScan to still function, but sanitize the returned CellInfo objects first and disallow certain input arguments Bug: 126779616 Test: CTS Change-Id: Ic9c44043bd30d402f128bf0723f2b0bf6c420e3e
2019-03-09Merge "Add TimeStamp Constructor for HAL 1.4 Support" am: f899e26857 am: ↵Nathan Harold
8dada71897 am: 37f2d61ca0 Change-Id: I4e1092538ef72038c2942eb1e4edf2c9b4f514fa
2019-03-06Add TimeStamp Constructor for HAL 1.4 SupportNathan Harold
Becuase the Timestamp is no longer passed by the radio, CellInfo objects are stamped when received by the RIL. Since the structure passed to these constructors is a HAL structure, we have to pass the timestamp all the way through to have it supported for constructors invoked on a 1.4 HAL object. Bug: 126911026 Test: atest RILTest#testCellInfoTimestamp_1_4; atest RILTest#testCellInfoTimestamp_1_2 Change-Id: I2b0833a0a8b6eeb75bff9cbe956ad36656a46208
2019-02-28All Parcelable CREATOR fields are @NonNull.Jeff Sharkey
If they were null, then the Parcelable would fail to work. Bug: 126726802 Test: manual Change-Id: I7929ffa2f20e5de1c8e68e8263cca99496e9d014 Exempt-From-Owner-Approval: Trivial API annotations
2019-01-14Add CellInfo converter V1_4Pengquan Meng
Bug: 117805040 Test: build Change-Id: Ie08187f0ad272b92d43480b86b1bd7c577c16e6a
2018-12-28Limit access to suspected false positives.Mathew Inwood
Members modified herein are suspected to be false positives: i.e. things that were added to the greylist in P, but subsequent data analysis suggests that they are not, in fact, used after all. Add a maxTargetSdk=P to these APIs. This is lower-risk that simply removing these things from the greylist, as none of out data sources are perfect nor complete. For APIs that are not supported yet by annotations, move them to hiddenapi-greylist-max-p.txt instead which has the same effect. Exempted-From-Owner-Approval: Automatic changes to the codebase affecting only @UnsupportedAppUsage annotations, themselves added without requiring owners approval earlier. Bug: 115609023 Test: m Change-Id: Ia937d8c41512e7f1b6e7f67b9104c1878b5cc3a0 Merged-In: I020a9c09672ebcae64c5357abc4993e07e744687
2018-12-26Refactor CellInfo ConstructorsNathan Harold
Bug: 119224773 Test: atest FrameworksTelephonyTests Change-Id: Ibf56797b5be2508656409a3437ff79210334bfd6
2018-08-23Add @UnsupportedAppUsage annotationsMathew Inwood
For packages: android.telephony android.telephony.cdma android.telephony.data android.telephony.euicc android.telephony.gsm android.telephony.ims android.telephony.ims.aidl android.telephony.ims.compat android.telephony.ims.compat.feature android.telephony.ims.compat.stub android.telephony.ims.feature android.telephony.ims.stub android.telephony.mbms android.telephony.mbms.vendor This is an automatically generated CL. See go/UnsupportedAppUsage for more details. Exempted-From-Owner-Approval: Mechanical changes to the codebase which have been approved by Android API council and announced on android-eng@ Bug: 110868826 Test: m Change-Id: I02d900d6d0ec9a6b2172a71911fec61d04e4d235 Merged-In: I22547ac0ed384d74d61cfd51d20c140e392a597f
2018-07-19Access Identity and SignalStrength from CellInfoNathan Harold
Accessing common CellIdentity and CellSignalStrength information should not require RTTI. Thus, add overloaded methods that allow the access the common versions of these functions from a top level CellInfo. Bug: 10151416 Test: compilation Change-Id: I18f31c5cec075dcd68cc493e24c2d551138dd73c
2018-07-10Update Wcdma and Tdscdma CellInfo for HAL 1.2Nathan Harold
In HAL 1.2 WCDMA and TDSCMA were updated to bring them in line with the other CellInfo types. WCDMA was missing support for Rscp and Ec/No; the former being the primary measurement used for WCDMA signal strength. TDSCDMA was missing support for RSSI, and the definition for RSCP was incorrect, so it was fixed to use the PCCPH RSCP. Furthermore, TDSCDMA support was unavailable except in the CellIdentity. This patch pipes support from the HAL to the framework, adding CellInfoTdscdma, which is primarily for Asia. -Add RSCP and Ec/No fields to CellSignalStrengthWcdma -Add CellInfoTdscdma and CellSignalStrengthTdscdma -Add UARFCN and Alphas support for CellIdentityTdscdma -Fix a bug in the equals() check for CellIdentity -Update documentation for CellInfo<RAT> classes and the getLevel() methods of CellSignalStrength<RAT> Bug: 76153768 Test: RILTests added for TDSCDMA Merged-In: I71e0998f1a9bd7656d495003a8ee5ef616ca4f43 Change-Id: I71e0998f1a9bd7656d495003a8ee5ef616ca4f43 (cherry picked from commit 88f44024bb068829358d66107360223dc73131f7)
2013-04-08Add FW support for CellInfo RIL commands.Wink Saville
Bug: 8235566 Change-Id: I7ad7dabc4b6c38bfba4461b08e6e30d0eb9efea1
2012-11-27Use Rlog instead of LogWink Saville
Change-Id: I2332f4210ead8a6d751fc9c0505db25033641da2
2012-09-21Refactor Cell Location public API.Wink Saville
Bug: 7189651 Change-Id: I173412095a5f7ae6116ee65b5315782f1c0c7688
2012-07-26Unhide the new location API'sWink Saville
Change-Id: I41cc89998b8bd1e6686ea30475ab8905a133e312
2012-07-25Revise and update CellInfo API'sWink Saville
Change-Id: I25a46076a244f50edb9da65816b3717e00820b34