Home
last modified time | relevance | path

Searched refs:JsonReader (Results 1 – 25 of 35) sorted by relevance

12

/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/
DDiagnosticJson.java20 import android.util.JsonReader;
90 private void readIntValues(JsonReader jsonReader) throws IOException { in readIntValues()
105 private void readFloatValues(JsonReader jsonReader) throws IOException { in readFloatValues()
120 Builder(JsonReader jsonReader) throws IOException { in Builder()
157 public static DiagnosticJson build(JsonReader jsonReader) throws IOException { in build()
DDiagnosticJsonReader.java24 import android.util.JsonReader;
52 public VehiclePropValue build(JsonReader jsonReader) throws IOException { in build()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyBackupAgentTest.java38 import android.util.JsonReader;
586 JsonReader jsonReader = new JsonReader(new StringReader(EMPTY_JSON_ARRAY)); in testRestoreSms_NoSms()
599 JsonReader jsonReader = new JsonReader(new StringReader(addRandomDataToJson(mAllSmsJson))); in testRestoreSms_AllSms()
612 JsonReader jsonReader = new JsonReader(new StringReader(EMPTY_JSON_ARRAY)); in testRestoreMms_NoMms()
624 JsonReader jsonReader = new JsonReader(new StringReader(addRandomDataToJson(mAllMmsJson))); in testRestoreMms_AllMms()
637 JsonReader jsonReader = new JsonReader in testRestoreMmsWithAttachment()
646 JsonReader jsonReader = new JsonReader in testRestoreMmsWithNullBody()
/packages/services/BuiltInPrintService/src/com/android/bips/
DLocalDiscoverySessionInfo.java21 import android.util.JsonReader;
63 try (JsonReader reader = new JsonReader(new FileReader(mCacheFile))) { in load()
84 private List<PrinterId> loadPrinterIds(JsonReader reader) throws IOException { in loadPrinterIds()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DMetadataParser.java20 import android.util.JsonReader;
53 private static WordListMetadata parseOneWordList(final JsonReader reader) in parseOneWordList()
103 JsonReader reader = new JsonReader(input); in parseMetadata()
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
DCertificateStore.java19 import android.util.JsonReader;
106 try (JsonReader reader = new JsonReader(new BufferedReader(new FileReader(mStoreFile)))) { in load()
128 private void loadItem(JsonReader reader) throws IOException { in loadItem()
/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/
DObd2LiveFrameGeneratorTest.java25 import android.util.JsonReader;
81 JsonReader jsonReader = new JsonReader(new StringReader(stringWriter.toString())); in testObd2LiveFrameGeneration()
DObd2FreezeFrameGeneratorTest.java25 import android.util.JsonReader;
102 JsonReader jsonReader = new JsonReader(new StringReader(stringWriter.toString())); in testObd2FreezeFrameGeneration()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DJsonUtils.java19 import android.util.JsonReader;
41 final JsonReader reader = new JsonReader(new StringReader(s)); in jsonStrToList()
/packages/services/Car/service/src/com/android/car/
DCarConfigurationService.java65 private final JsonReader mJsonReader;
79 interface JsonReader { interface in CarConfigurationService
92 CarConfigurationService(Context context, JsonReader reader) { in CarConfigurationService()
DUptimeTracker.java19 import android.util.JsonReader;
150 JsonReader reader = new JsonReader(new FileReader(mUptimeFile)); in getHistoricalUptimeLocked()
DCarLocationService.java40 import android.util.JsonReader;
365 JsonReader reader = new JsonReader(new InputStreamReader(fis, "UTF-8")); in readLocationFromCacheFile()
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/
DSavedDiscovery.java20 import android.util.JsonReader;
119 try (JsonReader reader = new JsonReader(new BufferedReader(new FileReader(mCacheFile)))) { in load()
DDiscoveredPrinter.java24 import android.util.JsonReader;
82 public DiscoveredPrinter(JsonReader reader) throws IOException { in DiscoveredPrinter()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyBackupAgent.java46 import android.util.JsonReader;
612 try (JsonReader jsonReader = getJsonReader(fd)) {
632 void putSmsMessagesToProvider(JsonReader jsonReader) throws IOException {
655 void putMmsMessagesToProvider(JsonReader jsonReader) throws IOException {
790 private ContentValues readSmsValuesFromReader(JsonReader jsonReader)
836 private static Set<String> getRecipients(JsonReader jsonReader) throws IOException {
902 private Mms readMmsFromReader(JsonReader jsonReader) throws IOException {
1051 private static void getMmsAddressesFromReader(JsonReader jsonReader, Mms mms)
1084 private static void getMmsAttachmentsFromReader(JsonReader jsonReader, Mms mms)
1264 private static JsonReader getJsonReader(final FileDescriptor fileDescriptor)
[all …]
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarUxRestrictionsManagerServiceTest.java39 import android.util.JsonReader;
272 try (JsonReader reader = new JsonReader( in readFile()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DFilterStraightenRepresentation.java19 import android.util.JsonReader;
129 public void deSerializeRepresentation(JsonReader reader) throws IOException { in deSerializeRepresentation()
DFilterRotateRepresentation.java19 import android.util.JsonReader;
173 public void deSerializeRepresentation(JsonReader reader) throws IOException { in deSerializeRepresentation()
DFilterMirrorRepresentation.java19 import android.util.JsonReader;
193 public void deSerializeRepresentation(JsonReader reader) throws IOException { in deSerializeRepresentation()
DFilterCurvesRepresentation.java3 import android.util.JsonReader;
142 public void deSerializeRepresentation(JsonReader sreader) throws IOException { in deSerializeRepresentation()
DFilterCropRepresentation.java20 import android.util.JsonReader;
163 public void deSerializeRepresentation(JsonReader reader) throws IOException { in deSerializeRepresentation()
DFilterColorBorderRepresentation.java20 import android.util.JsonReader;
186 public void deSerializeRepresentation(JsonReader reader) throws IOException { in deSerializeRepresentation()
DFilterRepresentation.java19 import android.util.JsonReader;
244 public void deSerializeRepresentation(JsonReader reader) throws IOException { in deSerializeRepresentation()
/packages/services/Car/car-lib/src/android/car/storagemonitoring/
DWearEstimate.java22 import android.util.JsonReader;
91 public WearEstimate(JsonReader in) throws IOException { in WearEstimate()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DImagePreset.java22 import android.util.JsonReader;
676 JsonReader reader = new JsonReader(sreader); in readJsonFromString()
697 public boolean readJson(JsonReader sreader) throws IOException { in readJson()

12