Home
last modified time | relevance | path

Searched refs:fromJson (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/loader/
DTmaMediaItemReader.java92 TmaMediaItem fromJson(@Nullable JSONObject json) { in fromJson() method in TmaMediaItemReader
100 mediaEvents.add(mMediaEventReader.fromJson(events.getJSONObject(i))); in fromJson()
111 mediaItems.add(fromJson(children.getJSONObject(i))); in fromJson()
118 mMediaMetadataReader.fromJson(json.getJSONObject(Keys.METADATA.name())), in fromJson()
DTmaLoader.java33 return mMediaItemReader.fromJson(TmaLoaderUtils.jsonFromAsset(mContext, filePath)); in loadAssetFile()
DTmaMediaEventReader.java84 TmaMediaEvent fromJson(@Nullable JSONObject json) { in fromJson() method in TmaMediaEventReader
DTmaMediaMetadataReader.java142 MediaMetadataCompat fromJson(JSONObject object) throws JSONException { in fromJson() method in TmaMediaMetadataReader
/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/
DCaptivePortalDataShimImpl.java56 public static CaptivePortalDataShim fromJson(JSONObject obj) throws JSONException, in fromJson() method in CaptivePortalDataShimImpl
59 return com.android.networkstack.apishim.api29.CaptivePortalDataShimImpl.fromJson(obj); in fromJson()
/packages/services/Car/tools/emulator/
Dobd2_to_diagjson.py147 def fromJson(cls, json): member in Event
224 source_event = Event.fromJson(source_json_event)
/packages/modules/NetworkStack/apishim/29/com/android/networkstack/apishim/api29/
DCaptivePortalDataShimImpl.java47 public static CaptivePortalDataShim fromJson(JSONObject object) throws JSONException, in fromJson() method in CaptivePortalDataShimImpl
/packages/apps/Car/Dialer/framework/fake/src/com/android/car/dialer/framework/testdata/
DDataParser.java76 rawDataList = gson.fromJson(jsonReader, type); in getRawDataList()
/packages/services/Car/service/src/com/android/car/storagemonitoring/
DWearHistory.java64 public static WearHistory fromJson(@NonNull File in) throws IOException, JSONException { in fromJson() method in WearHistory
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/metrics/
DNetworkValidationMetricsTest.java172 ? CaptivePortalDataShimImpl.fromJson(info) : null; in testNetworkValidationMetrics_VerifyCollectMetrics()
/packages/services/Car/service/src/com/android/car/
DCarStorageMonitoringService.java179 WearHistory wearHistory = WearHistory.fromJson(mWearInfoFile); in loadWearHistory()
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java2765 final CaptivePortalDataShim capportData = CaptivePortalDataShimImpl.fromJson(info); in sendCapportApiProbe()