Home
last modified time | relevance | path

Searched refs:toJson (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DAccountTest.java34 json.put(Account.JSON_TAG_HOST_AUTH_RECV, getHostAuthJSON("receiver", "recpass").toJson()); in testDeserializeFromJSON()
35 json.put(Account.JSON_TAG_HOST_AUTH_SEND, getHostAuthJSON("send", "sendpass").toJson()); in testDeserializeFromJSON()
100 final Account after = Account.fromJson(before.toJson()); in testSerializeAndDeserializeWithJSON()
DHostAuthTests.java233 json.put(HostAuth.JSON_TAG_CREDENTIAL, Credential.EMPTY.toJson()); in testDeserializeFromJSON()
270 final HostAuth after = HostAuth.fromJson(before.toJson()); in testSerializeAndDeserializeWithJSON()
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/
DBackupSharedPreference.java30 JSONObject toJson() throws JSONException; in toJson() method
DSimpleBackupSharedPreference.java57 public JSONObject toJson() throws JSONException { in toJson() method in SimpleBackupSharedPreference
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DAccount.java757 final JSONObject json = toJson(); in toJsonString()
764 protected JSONObject toJson() { in toJson() method in Account
771 final JSONObject recvJson = mHostAuthRecv.toJson(); in toJson()
774 final JSONObject sendJson = mHostAuthSend.toJson(); in toJson()
DHostAuth.java256 protected JSONObject toJson() { in toJson() method in HostAuth
268 json.putOpt(JSON_TAG_CREDENTIAL, mCredential.toJson()); in toJson()
DCredential.java172 protected JSONObject toJson() { in toJson() method in Credential