Searched refs:mStringWriter (Results 1 – 1 of 1) sorted by relevance
83 private StringWriter mStringWriter; field in TelephonyBackupAgentTest102 mStringWriter = new StringWriter(); in setUp()382 mTelephonyBackupAgent.putSmsMessagesToJson(mSmsCursor, new JsonWriter(mStringWriter)); in testBackupSms_NoSms()383 assertEquals(EMPTY_JSON_ARRAY, mStringWriter.toString()); in testBackupSms_NoSms()393 mTelephonyBackupAgent.putSmsMessagesToJson(mSmsCursor, new JsonWriter(mStringWriter)); in testBackupSms_AllSms()394 assertEquals(mAllSmsJson, mStringWriter.toString()); in testBackupSms_AllSms()404 mTelephonyBackupAgent.putSmsMessagesToJson(mSmsCursor, new JsonWriter(mStringWriter)); in testBackupSms_AllSmsWithExactFileLimit()405 assertEquals(mAllSmsJson, mStringWriter.toString()); in testBackupSms_AllSmsWithExactFileLimit()416 mTelephonyBackupAgent.putSmsMessagesToJson(mSmsCursor, new JsonWriter(mStringWriter)); in testBackupSms_AllSmsOneMessagePerFile()417 assertEquals("[" + mSmsJson[0] + "]", mStringWriter.toString()); in testBackupSms_AllSmsOneMessagePerFile()[all …]