diff options
| author | Lee Shombert <shombert@google.com> | 2021-01-07 13:52:48 -0800 |
|---|---|---|
| committer | Lee Shombert <shombert@google.com> | 2021-01-07 13:52:48 -0800 |
| commit | f11786982a22e87f8e772f4e72d9af9a50f3b7b4 (patch) | |
| tree | 2f6726e09a373013fd3a94708a5c5d18869bad13 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
| parent | 677c97ddf8cf663c73673b9f454fbedd726e3150 (diff) | |
New watchables for PackageManagerService
Bug: 161323622
Add WatchedArrayList, WatchedArraySet, and WatchedSparseIntArray to
the server utilities. Test code is added to the frameworks test.
The watched "collections" offer some consistent APIs. Every
collection includes a copy constructor for itself and for the
unwatched type. Every collection offers a copyIn() from, and
copyOut() to, the unwatched type, to support runtime conversion.
Add the Watched annotation interface. This annotation marks
attributes that are watched for change detection; generally, any
change invalidates a snapshot. It is also generally true that Watched
attributes must be included in the snapshot.
A bug in Snapshots.java is also fixed.
Test: atest
* FrameworksServicesTests:WatcherTest
Change-Id: I9b6ad0b3f6a901e77c342c5a3e45c86bed510db6
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions
