Searched refs:jsonFile (Results 1 – 3 of 3) sorted by relevance
53 File jsonFile = null; in testCollectDeviceInfo() local56 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() argument88 try (HostInfoStore store = new HostInfoStore(jsonFile)) { in collectDeviceInfo()
33 public ReportLogHostInfoStore(File jsonFile, String streamName) throws Exception { in ReportLogHostInfoStore() argument34 mJsonFile = jsonFile; in ReportLogHostInfoStore()
72 File jsonFile = new File(dir, mReportLogName + ".reportlog.json"); in MetricsReportLog() local73 store = new ReportLogHostInfoStore(jsonFile, mStreamName); in MetricsReportLog()