summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Program.java
diff options
context:
space:
mode:
authorNathan Harold <nharold@google.com>2019-12-05 17:27:56 -0800
committerNathan Harold <nharold@google.com>2019-12-16 16:16:51 -0800
commit4d340f12c9239c83aea6c3c8d8a5bbf0026f33b0 (patch)
tree3a243f5205a49d452ee4e2c6589887263619345a /rs/java/android/renderscript/Program.java
parentb1aff32bb26abdef6809a5ed14f6387f6ec1df4d (diff)
Expose PreciseDataConnectionState to Public API
1) Remove Unused Parameters for onDataConnectionState: The data connection state broadcast includes a number of parameters that are never used anywhere. To prepare for updated code that relies on PreciseDataConnectionState, remove the unused parameters that were internal-only and included in the broadcast. -LinkProperties -NetworkCapabilities -DataRoaming -DataAllowed -Interface name 2) Add Disconnecting State for Data Connections Add a disconnecting state to correct a mismatch between the internal and externally visible enums. This will allow apps to know when connections are in the process of being torn down, which in the case of radio link issues could be as much as 15 seconds. 3) Expose PreciseDataConnection for Carrier Apps Exposes the PSL for PreciseDataConnectionState along with existing fields in the PreciseDataConnectionState class. -Make PreciseDataConnectionState public along with some of its fields. -Expose onPreciseDataConnectionStateChanged. -Add onPreciseDataConnectionStatesChanged to provide PDCS for all APNs in one cohesive batch. 4) Cache PreciseDataConnectionState by APN Type In telephony registry, multiple different APN types are all piped through the same cache entry, so every time any APN changes relative to the previous type, it triggers an update. This also means that when a registrant requests the data connection state, only the most recent type's state is updated. This change caches entries in TelephonyRegistry based on the APN's type (specifically the type among types which triggered the change). Bug: 143083105 Test: make update-api && make offline-sdk-docs (no functional change in this CL). Test: atest FrameworksTelephonyTests Change-Id: Ib6a769f5a0cae923ca47a842733bd28755a90ed5
Diffstat (limited to 'rs/java/android/renderscript/Program.java')
0 files changed, 0 insertions, 0 deletions