Searched refs:mStringWriter (Results 1 – 1 of 1) sorted by relevance
102 private StringWriter mStringWriter; field in TelephonyBackupAgentTest121 mStringWriter = new StringWriter(); in setUp()482 mTelephonyBackupAgent.putSmsMessagesToJson(mSmsCursor, new JsonWriter(mStringWriter)); in testBackupSms_NoSms()483 assertEquals(EMPTY_JSON_ARRAY, mStringWriter.toString()); in testBackupSms_NoSms()493 mTelephonyBackupAgent.putSmsMessagesToJson(mSmsCursor, new JsonWriter(mStringWriter)); in testBackupSms_AllSms()494 assertEquals(mAllSmsJson, mStringWriter.toString()); in testBackupSms_AllSms()504 mTelephonyBackupAgent.putSmsMessagesToJson(mSmsCursor, new JsonWriter(mStringWriter)); in testBackupSms_AllSmsWithExactFileLimit()505 assertEquals(mAllSmsJson, mStringWriter.toString()); in testBackupSms_AllSmsWithExactFileLimit()516 mTelephonyBackupAgent.putSmsMessagesToJson(mSmsCursor, new JsonWriter(mStringWriter)); in testBackupSms_AllSmsOneMessagePerFile()517 assertEquals("[" + mSmsJson[0] + "]", mStringWriter.toString()); in testBackupSms_AllSmsOneMessagePerFile()[all …]