Home
last modified time | relevance | path

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

/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DDeviceInfo.java89 File jsonFile; in testCollectDeviceInfo() local
91 jsonFile = new File(dir, getClass().getSimpleName() + DEVICE_INFO_SUFFIX); in testCollectDeviceInfo()
92 jsonFile.createNewFile(); in testCollectDeviceInfo()
93 mResultFilePath = jsonFile.getAbsolutePath(); in testCollectDeviceInfo()
94 try (DeviceInfoStore store = new DeviceInfoStore(jsonFile)) { in testCollectDeviceInfo()
98 if (jsonFile != null && jsonFile.exists() && in testCollectDeviceInfo()
99 jsonFile.length() == 0) { in testCollectDeviceInfo()
100 jsonFile.delete(); in testCollectDeviceInfo()
/cts/hostsidetests/classpath/src/android/classpath/cts/
DClasspathDeviceInfo.java87 File jsonFile = null; in testCollectClasspathDeviceInfo() local
90 jsonFile = FileUtil.createTempFile(REPORT_NAME, REPORT_SUFFIX); in testCollectClasspathDeviceInfo()
91 HostInfoStore store = new HostInfoStore(jsonFile); in testCollectClasspathDeviceInfo()
103 FileUtil.copyFile(jsonFile, resultFile); in testCollectClasspathDeviceInfo()
107 source = new FileInputStreamSource(jsonFile); in testCollectClasspathDeviceInfo()
115 FileUtil.deleteFile(jsonFile); in testCollectClasspathDeviceInfo()
/cts/hostsidetests/edi/src/android/edi/cts/
DDynamicPartitionsDeviceInfo.java48 protected void collectDeviceInfo(File jsonFile) throws Exception { in collectDeviceInfo() argument
81 try (FileWriter writer = new FileWriter(jsonFile)) { in collectDeviceInfo()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DReportLogDeviceInfoStore.java32 public ReportLogDeviceInfoStore(File jsonFile, String streamName) throws Exception { in ReportLogDeviceInfoStore() argument
33 mJsonFile = jsonFile; in ReportLogDeviceInfoStore()
DDeviceReportLog.java58 File jsonFile = new File(logDirectory, mReportLogName + ".reportlog.json"); in DeviceReportLog() local
59 store = new ReportLogDeviceInfoStore(jsonFile, mStreamName); in DeviceReportLog()
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DJsonPrinter.java242 File jsonFile; in open() local
244 jsonFile = new File(fileName); in open()
245 FileOutputStream fOutStrem = new FileOutputStream(jsonFile); in open()
/cts/tools/cts-media/
Dget_achievable_rates.py334 jsonFile = zip.open(resultInfo)
335 jsonData = json.load(jsonFile)
340 jsonFile = zip.open(info)
342 jsonData = json.load(jsonFile, object_pairs_hook=lambda items: items)