diff options
author | Tianjie <xunchang@google.com> | 2021-05-22 22:43:12 -0700 |
---|---|---|
committer | Tianjie Xu <xunchang@google.com> | 2021-05-26 20:21:44 +0000 |
commit | b2485fd62d7cee7238b82ecdefc7495938555bed (patch) | |
tree | f9f3c9c812fc08ef6bfc49f7b346567fb33cbba4 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 5d9fa9063e18cb030dc9adcfd89118038ba0d9d5 (diff) |
Add an error code for RoR failure due to no network
This gives us detailed information on whether server based RoR fails
due to no network after reboot. There might be a race condition
when the device gets network (check) after RoR fails in gmscore (use).
But the case should be rare, and it's acceptable for metrics purpose.
Also mock the methods to read timeouts. This helps avoids denail to read
device_config when running test on internal targets.
Bug: 179105110
Bug: 189353915
Test: trigger a server based ror, check error code
Change-Id: If600e8e06d7707da7160fec66d71bc9341327965
Merged-In: If600e8e06d7707da7160fec66d71bc9341327965
(cherry-picked from commit 7c473650599e984d2234e2908599db5b53d41290)
Change-Id: I02893c5a5337685736236b2a5082d581c2419a9e
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions