summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Tianjie <xunchang@google.com> 2021-05-22 22:43:12 -0700
committer Tianjie <xunchang@google.com> 2021-05-24 15:15:21 -0700
commit7c473650599e984d2234e2908599db5b53d41290 (patch)
treed32f64eb91dd3a5a4d3fd18700a2ee86dd7e24e5 /libs/androidfw/AssetsProvider.cpp
parentbd5ef4313013f5f86818a71fa1fae14e3a430a0c (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 Test: trigger a server based ror, check error code Change-Id: If600e8e06d7707da7160fec66d71bc9341327965
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions