Searched refs:mStringWriter (Results 1 – 1 of 1) sorted by relevance
90 private StringWriter mStringWriter; field in TelephonyBackupAgentTest109 mStringWriter = new StringWriter(); in setUp()470 mTelephonyBackupAgent.putSmsMessagesToJson(mSmsCursor, new JsonWriter(mStringWriter)); in testBackupSms_NoSms()471 assertEquals(EMPTY_JSON_ARRAY, mStringWriter.toString()); in testBackupSms_NoSms()481 mTelephonyBackupAgent.putSmsMessagesToJson(mSmsCursor, new JsonWriter(mStringWriter)); in testBackupSms_AllSms()482 assertEquals(mAllSmsJson, mStringWriter.toString()); in testBackupSms_AllSms()492 mTelephonyBackupAgent.putSmsMessagesToJson(mSmsCursor, new JsonWriter(mStringWriter)); in testBackupSms_AllSmsWithExactFileLimit()493 assertEquals(mAllSmsJson, mStringWriter.toString()); in testBackupSms_AllSmsWithExactFileLimit()504 mTelephonyBackupAgent.putSmsMessagesToJson(mSmsCursor, new JsonWriter(mStringWriter)); in testBackupSms_AllSmsOneMessagePerFile()505 assertEquals("[" + mSmsJson[0] + "]", mStringWriter.toString()); in testBackupSms_AllSmsOneMessagePerFile()[all …]