summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorLee Shombert <shombert@google.com>2020-11-03 16:51:20 -0800
committerLee Shombert <shombert@google.com>2020-11-04 14:28:23 -0800
commit1c22ad153b9e5c12bae03f92b328f2a35fea6059 (patch)
tree81d7a66cf873f7ad58aa12cb73c7310398367eb5 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent67dd9ce1301f431c4b4a213eabf028aba241c83c (diff)
Watcher/Watchable classes for PackageManagerService
Bug: 161323622 The Watcher and Watchable classes provide Observer/Observable functionality for PackageManagerService. Watchers register with Watchables to be notified when the Watchable changes. WatchedArrayMap and WatchedSparseArray provide ArrayMap and SparseArray functionality, respectively. Each is a Watchable that automatically watches any Watchables that are stored in it. It is important that the arrays watch stored elements only if the array itself is being watched. WatchedSparseBooleanArray is a simple Watchable version of SparseBooleanArray. This CL adds the new classes and a test class but does not use them otherwise. Test: atest * FrameworksServicesTests:WatcherTest Change-Id: I381595c075b74099c52e9e17a9a2c32f87db563d
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions