Home
last modified time | relevance | path

Searched refs:jsonFile (Results 1 – 3 of 3) sorted by relevance

/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/
DDeviceInfo.java53 File jsonFile = null; in testCollectDeviceInfo() local
56 jsonFile = FileUtil.createTempFile(getClass().getSimpleName(), FILE_SUFFIX); in testCollectDeviceInfo()
58 collectDeviceInfo(jsonFile); in testCollectDeviceInfo()
61 if (jsonFile != null && jsonFile.exists() && in testCollectDeviceInfo()
62 jsonFile.length() == 0) { in testCollectDeviceInfo()
66 source = new FileInputStreamSource(jsonFile); in testCollectDeviceInfo()
73 FileUtil.deleteFile(jsonFile); in testCollectDeviceInfo()
87 protected void collectDeviceInfo(File jsonFile) throws Exception { in collectDeviceInfo() argument
88 try (HostInfoStore store = new HostInfoStore(jsonFile)) { in collectDeviceInfo()
DReportLogHostInfoStore.java33 public ReportLogHostInfoStore(File jsonFile, String streamName) throws Exception { in ReportLogHostInfoStore() argument
34 mJsonFile = jsonFile; in ReportLogHostInfoStore()
DMetricsReportLog.java72 File jsonFile = new File(dir, mReportLogName + ".reportlog.json"); in MetricsReportLog() local
73 store = new ReportLogHostInfoStore(jsonFile, mStreamName); in MetricsReportLog()