Home
last modified time | relevance | path

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

/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/loader/
DTmaMediaItemReader.java90 TmaMediaItem fromJson(@Nullable JSONObject json) { in fromJson() method in TmaMediaItemReader
98 mediaEvents.add(mMediaEventReader.fromJson(events.getJSONObject(i))); in fromJson()
109 mediaItems.add(fromJson(children.getJSONObject(i))); in fromJson()
116 mMediaMetadataReader.fromJson(json.getJSONObject(Keys.METADATA.name())), in fromJson()
DTmaLoader.java33 return mMediaItemReader.fromJson(TmaLoaderUtils.jsonFromAsset(mContext, filePath)); in loadAssetFile()
DTmaMediaEventReader.java85 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.java52 public static CaptivePortalDataShim fromJson(JSONObject obj) throws JSONException, in fromJson() method in CaptivePortalDataShimImpl
55 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.java45 public static CaptivePortalDataShim fromJson(JSONObject object) throws JSONException, in fromJson() method in CaptivePortalDataShimImpl
/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.java154 WearHistory wearHistory = WearHistory.fromJson(mWearInfoFile); in loadWearHistory()
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java2720 final CaptivePortalDataShim capportData = CaptivePortalDataShimImpl.fromJson(info); in sendCapportApiProbe()