commit | 8b555c29c3114e910d2d4d94dff1aed2f91da9d5 | [log] [tgz] |
---|---|---|
author | Remi NGUYEN VAN <reminv@google.com> | Wed Feb 26 11:14:37 2025 +0900 |
committer | Remi NGUYEN VAN <reminv@google.com> | Wed Feb 26 11:39:55 2025 +0900 |
tree | 97328c02d6afc6fb37620bb7790295c565a133a2 | |
parent | 47b6619fa82986ffd01a938bb9d65b2a2f33c2b5 [diff] |
Collect diagnostics without storage permission Use the shell to open the output file instead of FileOutputStream. This allows test to use ConnectivityDiagnosticsCollector even if they do not have storage permissions. getOutputStreamViaShell is a method of the base class BaseMetricListener. Bug: 317602748 Test: atest Change-Id: I127bb6711d14fdee059a31a8a3cfddc44b1d7800