diff options
author | Neil Fuller <nfuller@google.com> | 2021-01-06 18:05:16 +0000 |
---|---|---|
committer | Neil Fuller <nfuller@google.com> | 2021-01-06 20:05:17 +0000 |
commit | 616df78f9e60978629aea7ce6abdc672ba010432 (patch) | |
tree | 80e0b4e586f52ca92df0a6b797f0bcd7b7e100ed /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 5736696b683dfcf2830088bd72b895d0209a6c75 (diff) |
Add LocationTimeZoneProvider test infrastructure
Add test infrastructure for the location time zone manager.
This test command injection facility is a generalization of the
pre-existing SimulatedBinderProviderEvent and so replaces it with a
distinct send_provider_test_command. This can be used to test the
ControllerImpl without using the real LocationTimeZoneProvider(s) (which
are disabled when the provider is set to simulation mode).
A command to a simulated secondary provider:
$ adb shell setprop persist.sys.geotz.secondary simulated
$ adb shell reboot
$ adb shell cmd location_time_zone_manager send_provider_test_command \
secondary on-bind
$ adb shell cmd location_time_zone_manager send_provider_test_command \
secondary success \
"tz=string_array:Europe/London\&Europe/Paris"
See also the following for help:
$ adb shell cmd time_zone_detector
$ adb shell cmd location_time_zone_manager
Bug: 152746105
Test: See steps above
Change-Id: I7259778ad7af8f2937cb3b4b8751a02c149d2b21
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions