Searched refs:toJson (Results 1 – 7 of 7) sorted by relevance
34 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()
233 json.put(HostAuth.JSON_TAG_CREDENTIAL, Credential.EMPTY.toJson()); in testDeserializeFromJSON()270 final HostAuth after = HostAuth.fromJson(before.toJson()); in testSerializeAndDeserializeWithJSON()
30 JSONObject toJson() throws JSONException; in toJson() method
57 public JSONObject toJson() throws JSONException { in toJson() method in SimpleBackupSharedPreference
757 final JSONObject json = toJson(); in toJsonString()764 protected JSONObject toJson() { in toJson() method in Account771 final JSONObject recvJson = mHostAuthRecv.toJson(); in toJson()774 final JSONObject sendJson = mHostAuthSend.toJson(); in toJson()
256 protected JSONObject toJson() { in toJson() method in HostAuth268 json.putOpt(JSON_TAG_CREDENTIAL, mCredential.toJson()); in toJson()
172 protected JSONObject toJson() { in toJson() method in Credential