Home
last modified time | relevance | path

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

/packages/services/Car/obd2-lib/src/com/android/car/obd2/
DObd2LiveFrameGenerator.java71 public JsonWriter generate(JsonWriter jsonWriter) throws IOException { in generate()
75 public JsonWriter generate(JsonWriter jsonWriter, long timestamp) throws IOException { in generate()
DObd2FreezeFrameGenerator.java66 public JsonWriter generate(JsonWriter jsonWriter) throws IOException, InterruptedException { in generate()
119 public JsonWriter generate(JsonWriter jsonWriter, long timestamp) in generate()
/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/
DObd2LiveFrameGeneratorTest.java79 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testObd2LiveFrameGeneration() local
DObd2FreezeFrameGeneratorTest.java98 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testObd2FreezeFrameGeneration() local
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/storagemonitoring/
DCarStorageMonitoringTest.java202 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testWearEstimateJson() local
214 try (JsonWriter jsonWriter = new JsonWriter(new FileWriter(temporaryFile.getFile()))) { in testWearEstimateRecordJson()
250 try (JsonWriter jsonWriter = new JsonWriter(new FileWriter(temporaryFile.getFile()))) { in testWearHistoryJson()
442 try (JsonWriter jsonWriter = new JsonWriter(new FileWriter(temporaryFile.getFile()))) { in testUidIoStatEntryJson()
649 try (JsonWriter jsonWriter = new JsonWriter(new FileWriter(temporaryFile.getFile()))) { in testUidIoStatsDeltaJson()
730 try (JsonWriter jsonWriter = new JsonWriter(new FileWriter(temporaryFile.getFile()))) { in testLifetimeWriteInfoJson()
/packages/services/Car/car-lib/src/android/car/storagemonitoring/
DLifetimeWriteInfo.java87 public void writeToJson(JsonWriter jsonWriter) throws IOException { in writeToJson()
DIoStatsEntry.java124 public void writeToJson(JsonWriter jsonWriter) throws IOException { in writeToJson()
277 public void writeToJson(JsonWriter jsonWriter) throws IOException { in writeToJson()
DWearEstimate.java130 public void writeToJson(JsonWriter jsonWriter) throws IOException { in writeToJson()
DIoStats.java87 public void writeToJson(JsonWriter jsonWriter) throws IOException { in writeToJson()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyBackupAgent.java447 try (JsonWriter jsonWriter = getJsonWriter(fileName)) { in backupAll()
459 JsonWriter jsonWriter) throws IOException { in putMmsMessagesToJson()
471 int putSmsMessagesToJson(Cursor cursor, JsonWriter jsonWriter) throws IOException { in putSmsMessagesToJson()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarStorageMonitoringTest.java334 try (JsonWriter jsonWriter = new JsonWriter(new FileWriter(wearHistoryFile))) { in configureFakeSystemInterface()
342 try (JsonWriter jsonWriter = new JsonWriter(new FileWriter(uptimeFile))) { in configureFakeSystemInterface()
352 try (JsonWriter jsonWriter = new JsonWriter(new FileWriter(previousLifetimeFile))) { in configureFakeSystemInterface()
DCarDiagnosticManagerTest.java542 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testDiagnosticJson() local
/packages/services/Car/service/src/com/android/car/storagemonitoring/
DWearEstimateRecord.java60 void writeToJson(@NonNull JsonWriter jsonWriter) throws IOException { in writeToJson()
/packages/services/Car/service/src/com/android/car/
DCarStorageMonitoringService.java192 try (JsonWriter jsonWriter = new JsonWriter(new FileWriter(mWearInfoFile))) { in storeWearHistory()
451 JsonWriter jsonWriter = new JsonWriter(new FileWriter(mLifetimeWriteFile)); in logLifetimeWrites() local
DCarLocationService.java305 try (JsonWriter jsonWriter = new JsonWriter(new OutputStreamWriter(fos, "UTF-8"))) { in storeLocation()
DCarUxRestrictionsManagerService.java498 try (JsonWriter jsonWriter = new JsonWriter( in persistConfig()
/packages/services/Car/car-lib/src/android/car/diagnostic/
DCarDiagnosticEvent.java126 public void writeToJson(JsonWriter jsonWriter) throws IOException { in writeToJson()