History log of /frameworks/base/telephony/java/android/telephony/NetworkScan.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a88d1990b7482d94f20f2ba3d04a8eea8543e22d 31-May-2017 yinxu <yinxu@google.com> Adds error codes and maximum RAN/Bands/Channels

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
/frameworks/base/telephony/java/android/telephony/NetworkScan.java
f19bc1a0e5f7907587a51bacea25af6546831d02 13-Apr-2017 yinxu <yinxu@google.com> Add API to support async network scans.

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)
/frameworks/base/telephony/java/android/telephony/NetworkScan.java