Home
last modified time | relevance | path

Searched defs:jsonWriter (Results 1 – 21 of 21) sorted by relevance

/packages/services/Car/obd2-lib/src/com/android/car/obd2/
DObd2LiveFrameGenerator.java76 public JsonWriter generate(JsonWriter jsonWriter) throws IOException { in generate()
80 public JsonWriter generate(JsonWriter jsonWriter, long timestamp) throws IOException { in generate()
DObd2FreezeFrameGenerator.java71 public JsonWriter generate(JsonWriter jsonWriter) throws IOException, InterruptedException { in generate()
124 public JsonWriter generate(JsonWriter jsonWriter, long timestamp) in generate()
DObd2FrameGeneratorUtils.java50 static void writeResultIdValue(JsonWriter jsonWriter, int pid, Number value) { in writeResultIdValue()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DDiagnosticJsonTest.java61 JsonWriter jsonWriter = new JsonWriter(stringWriter); in buildEmptyDiagnosticJson() local
84 JsonWriter jsonWriter = new JsonWriter(stringWriter); in buildFullDiagnosticJson() local
DDiagnosticJsonReaderTest.java76 JsonWriter jsonWriter = new JsonWriter(stringWriter); in buildEmptyFrameJsonReader() local
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/storagemonitoring/
DCarStorageMonitoringTest.java217 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testWearEstimateJson() local
230 try (JsonWriter jsonWriter = new JsonWriter(new FileWriter(temporaryFile.getFile()))) { in testWearEstimateRecordJson()
269 try (JsonWriter jsonWriter = new JsonWriter(new FileWriter(temporaryFile.getFile()))) { in testWearHistoryJson()
474 try (JsonWriter jsonWriter = new JsonWriter(new FileWriter(temporaryFile.getFile()))) { in testUidIoStatEntryJson()
672 try (JsonWriter jsonWriter = new JsonWriter(new FileWriter(temporaryFile.getFile()))) { in testUidIoStatsDeltaJson()
758 try (JsonWriter jsonWriter = new JsonWriter(new FileWriter(temporaryFile.getFile()))) { in testLifetimeWriteInfoJson()
/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/
DObd2LiveFrameGeneratorTest.java66 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testObd2LiveFrameGeneration() local
DObd2FreezeFrameGeneratorTest.java85 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testObd2FreezeFrameGeneration() local
/packages/services/Car/car-lib/src/android/car/storagemonitoring/
DIoStatsEntry.java143 public void writeToJson(JsonWriter jsonWriter) throws IOException { in writeToJson()
306 public void writeToJson(JsonWriter jsonWriter) throws IOException { in writeToJson()
DLifetimeWriteInfo.java98 public void writeToJson(JsonWriter jsonWriter) throws IOException { in writeToJson()
DWearEstimate.java145 public void writeToJson(JsonWriter jsonWriter) throws IOException { in writeToJson()
DIoStats.java99 public void writeToJson(JsonWriter jsonWriter) throws IOException { in writeToJson()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarStorageMonitoringTest.java336 try (JsonWriter jsonWriter = new JsonWriter(new FileWriter(wearHistoryFile))) { in configureFakeSystemInterface()
344 try (JsonWriter jsonWriter = new JsonWriter(new FileWriter(uptimeFile))) { in configureFakeSystemInterface()
354 try (JsonWriter jsonWriter = new JsonWriter(new FileWriter(previousLifetimeFile))) { in configureFakeSystemInterface()
DCarDiagnosticManagerTest.java725 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testDiagnosticJson() local
/packages/services/Car/service/src/com/android/car/
DCarStorageMonitoringService.java225 try (JsonWriter jsonWriter = new JsonWriter(new FileWriter(mWearInfoFile))) { in storeWearHistory()
489 JsonWriter jsonWriter = new JsonWriter(new FileWriter(mLifetimeWriteFile)); in logLifetimeWrites() local
DCarUxRestrictionsManagerService.java668 try (JsonWriter jsonWriter = new JsonWriter( in persistConfig()
681 void writeJson(JsonWriter jsonWriter, List<CarUxRestrictionsConfiguration> configs) in writeJson()
DCarLocationService.java442 try (JsonWriter jsonWriter = new JsonWriter(new OutputStreamWriter(fos, "UTF-8"))) { in storeLocation()
/packages/services/Car/service/src/com/android/car/storagemonitoring/
DWearEstimateRecord.java64 void writeToJson(@NonNull JsonWriter jsonWriter) throws IOException { in writeToJson()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyBackupAgent.java548 try (JsonWriter jsonWriter = getJsonWriter(fileName)) { in backupAll()
563 JsonWriter jsonWriter) throws IOException { in putMmsMessagesToJson()
576 BackupChunkInformation putSmsMessagesToJson(Cursor cursor, JsonWriter jsonWriter) in putSmsMessagesToJson()
/packages/services/Car/car-lib/src/android/car/diagnostic/
DCarDiagnosticEvent.java138 public void writeToJson(JsonWriter jsonWriter) throws IOException { in writeToJson()
/packages/services/Car/service/src/com/android/car/watchdog/
DWatchdogPerfHandler.java1162 try (JsonWriter jsonWriter = in writeMetadataFile()