diff options
author | Neil Fuller <nfuller@google.com> | 2017-03-16 18:32:21 +0000 |
---|---|---|
committer | Neil Fuller <nfuller@google.com> | 2017-05-05 17:09:58 +0100 |
commit | 056156f616b882ddaf71042b2a8f42569c8740bc (patch) | |
tree | a3c0b6b914d2722a6d955f53f88917524d2e1071 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | fb19563972e775a3fafb3d781dab156d0b73580d (diff) |
Add (disabled) time zone update system server impl
This commit builds on top of prior API commits. It
adds code to the system server, but in a disabled way.
The system server is responsible for monitoring two
(configured) package names: one for the "updater app"
(provided by the platform) and one for the "data app"
(provided by the OEM). When either package changes
the updater app is triggered via a privileged
intent.
The updater is then required to communicate with the
data app and report back to the system server.
Unit tests are included for the major components.
To run:
make -j30 FrameworksServicesTests
adb install -r -g "out/target/product/angler/data/app/FrameworksServicesTests/FrameworksServicesTests.apk"
adb shell am instrument -e package com.android.server.timezone -w com.android.frameworks.servicestests \
"com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner"
This contains a cherry-pick / conflict resolution of
commit 68f666693a465eb8a66d9252b7b7ac035b9f0b7b after an automerger skip.
(cherry picked from commit 68f666693a465eb8a66d9252b7b7ac035b9f0b7b)
Test: See above.
Bug: 31008728
Merged-In: I8f82cdcc2b574778a7e0d0184270f305b69ee17b
Change-Id: I8f82cdcc2b574778a7e0d0184270f305b69ee17b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions