summaryrefslogtreecommitdiff
path: root/telephony/java/android/telephony/NetworkScan.java
AgeCommit message (Collapse)Author
2020-01-30Fix import of Rlog - generated by formatting toolMeng Wang
Test: make Change-Id: Ibe36c6d0fe8bfb6277d7b9034af8dbf45ce2f716
2020-01-09Use com.android.telephony.Rlog for mainline module.Meng Wang
Bug: 144374158 Test: make Change-Id: I86a479affb8e0fa8e48734324a6a05c68230d910
2020-01-07[Telephony Mainline] Refactored ServiceManager callsPeter Wang
to use TelephonyServiceManager Bug: 142255256 Bug: 112725883 Test: Build, SimSmsTest, TelephonyRegistryTest, SimPhoneBookTest, OpportunisticNetworkServiceTest Change-Id: I50068a02f1f5a4ff51acdbe4d1ded09ec4c4d6b8
2018-09-27Catch IllegalArgumentException on NetworkScan.stopScanNathan Harold
IllegalArgumentException is thrown when a terminated scan calls stop. This change softens the exception and error type that is logged and considers this normal. Bug: 113823866 Test: compilation Change-Id: I7ce60d6badfac52156cceca83b39c1afe21b4eda
2018-04-11Clean up APIs before declaring API 28.Jeff Sharkey
As part of finalizing an SDK, we need to ensure that no new APIs are marked @Deprecated, since they're typically cleanup that someone forgot to finish. Someone forgot to replace Slice.getTimestamp() with Slice.getLong(). Bug: 77588754 Test: builds, boots Exempt-From-Owner-Approval: SDK finalization Change-Id: Ic0ec91a43d161a69c1e840c42046ad500b7aeca0
2018-03-12Catch the RuntimeException for stopScan()yinxu
Some RuntimeExceptions will be thrown across the binder so we need to catch RuntimeException even we already catch the RemoteException. Bug:73750871 Test: Unit Test Change-Id: Ib72e5ce0f20fbbe913b054314ed3942862c0ab95
2018-03-08Do not throw RuntimeException from stopScan().yinxu
This is a clean cherry-pick from https://android-review.googlesource.com/#/c/platform/frameworks/base/+/635589/ Bug:73750871 Test: Unit Test Change-Id: I640093627c103fe1d2fe5707e6854ba748789919 Merged-in: I640093627c103fe1d2fe5707e6854ba748789919 (cherry picked from commit 5e366e31aecbecafd3dfb4bfc8f69ada34b1f550)
2018-03-07Address the API review comments.yinxu
This is a clean cherry-pick from: https://android-review.git.corp.google.com/c/platform/frameworks/base/+/632313 Bug:73750871 Test: Unit Test Change-Id: I8ebb617c819c7604957b3c086098ef5074d70f78 Merged-in: I8ebb617c819c7604957b3c086098ef5074d70f78 (cherry picked from commit 1abe9b187c641de77cfdcb93faa477a1112c2048)
2017-12-19Expose the scan API and network select API.yinxu
Bug: 67748005 Test: Basic telephony sanity Change-Id: I54aa5d5eacfeb39ada14e843917fe08e382e79de
2017-06-13Adds error codes and maximum RAN/Bands/Channelsyinxu
Added error codes which are mapped from the RadioError which is returned from RIL, also added some errors which will be generated at telephony. Those errors will be returned to the user with the onError() callback. Added the maximun number of RAN/Bands/Channels in 1 scan request. Test: Telephony sanity tests Bug: 30954762 Change-Id: Ie7865ed2101d9564e26870a8ebbb0ceb7bd9bd1b
2017-05-12Add API to support async network scans.yinxu
This CL includes the new Java API that supports async network scans. Applications could get faster network scan results with this new API. The long-term goal is to support Subsecond Switching which is separate from what this CL is doing. Bug: 30954762 Test: Unit test, run runtest -x NetworkScanRequestTest.java Change-Id: I78cadaf838dee8439fe7417ef39f689990bf5705 (cherry picked from commit fdfb6f4d2f6db943d648adec6cc96530f2f70fe6)