summaryrefslogtreecommitdiff
path: root/opengl/java
diff options
context:
space:
mode:
author Neil Fuller <nfuller@google.com> 2022-09-09 15:01:18 +0100
committer Neil Fuller <nfuller@google.com> 2022-09-14 15:01:18 +0100
commitc7d1f2fe76b528fbbf3087b50a97c5e041b862a2 (patch)
tree1af40a48e71524b4bbf7ef691d74bd0494601879 /opengl/java
parent9ad97fbb351ce277a652662e14362994e92b3c2d (diff)
Add shell command to gnss_time_update_service
Add the shell command infrastructure and an initial shell command requested by a partner. The partner would like a way to kick the GnssTimeUpdateService out of "sleep" so that faked passive GNSS location times will be observed during tests. The new command requires SET_TIME permission. Manually tested / confirmed to work with: <Build with gnss_time_update_service enabled> adb shell dumpsys gnss_time_update_service adb shell cmd gnss_time_update_service start_gnss_listening adb shell dumpsys gnss_time_update_service adb shell cmd gnss_time_update_service start_gnss_listening adb shell dumpsys gnss_time_update_service [This cherry-pick involved some changes to account for aosp/master differences. The tests were repeated against aosp/master] Bug: 236611620 Test: Manual: see above Test: atest services/tests/servicestests/src/com/android/server/timedetector/GnssTimeUpdateServiceTest.java Change-Id: I1476a9381e797905d9b2456282cf0eb78d51a304 Merged-In: I1476a9381e797905d9b2456282cf0eb78d51a304 (cherry picked from commit aa771b565430e125140b9e334423cb04cd90f707)
Diffstat (limited to 'opengl/java')
0 files changed, 0 insertions, 0 deletions