Home
last modified time | relevance | path

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

/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/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/UnifiedEmail/src/com/android/mail/preferences/
DSimpleBackupSharedPreference.java73 public static BackupSharedPreference fromJson(final JSONObject json) throws JSONException { in fromJson() method in SimpleBackupSharedPreference