Home
last modified time | relevance | path

Searched refs:fromJson (Results 1 – 13 of 13) 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.java78 TmaMediaEvent fromJson(@Nullable JSONObject json) { in fromJson() method in TmaMediaEventReader
DTmaMediaMetadataReader.java141 MediaMetadataCompat fromJson(JSONObject object) throws JSONException { in fromJson() method in TmaMediaMetadataReader
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DAccountTest.java43 final Account a = Account.fromJson(json); in testDeserializeFromJSON()
100 final Account after = Account.fromJson(before.toJson()); in testSerializeAndDeserializeWithJSON()
DHostAuthTests.java236 final HostAuth ha = HostAuth.fromJson(json); in testDeserializeFromJSON()
270 final HostAuth after = HostAuth.fromJson(before.toJson()); in testSerializeAndDeserializeWithJSON()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DAccount.java792 return fromJson(json); in fromJsonString()
799 protected static Account fromJson(final JSONObject json) { in fromJson() method in Account
808 a.mHostAuthRecv = HostAuth.fromJson(recvJson); in fromJson()
811 a.mHostAuthSend = HostAuth.fromJson(sendJson); in fromJson()
DHostAuth.java277 protected static HostAuth fromJson(final JSONObject json) { in fromJson() method in HostAuth
290 h.mCredential = Credential.fromJson(credJson); in fromJson()
DCredential.java186 protected static Credential fromJson(final JSONObject json) { in fromJson() method in Credential
/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/apps/UnifiedEmail/src/com/android/mail/preferences/
DSimpleBackupSharedPreference.java73 public static BackupSharedPreference fromJson(final JSONObject json) throws JSONException { in fromJson() method in SimpleBackupSharedPreference
/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/services/Car/service/src/com/android/car/
DCarStorageMonitoringService.java154 WearHistory wearHistory = WearHistory.fromJson(mWearInfoFile); in loadWearHistory()