Home
last modified time | relevance | path

Searched refs:mTelephonyBackupAgent (Results 1 – 2 of 2) sorted by relevance

/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyBackupAgentTest.java102 TelephonyBackupAgent mTelephonyBackupAgent; field in TelephonyBackupAgentTest
298 mTelephonyBackupAgent = new TelephonyBackupAgent(); in setUp()
299 mTelephonyBackupAgent.attach(new ContextWrapper(getContext()) { in setUp()
307 mTelephonyBackupAgent.clearSharedPreferences(); in setUp()
308 mTelephonyBackupAgent.setContentResolver(mMockContentResolver); in setUp()
309 mTelephonyBackupAgent.setSubId(mSubId2Phone, mPhone2SubId); in setUp()
314 mTelephonyBackupAgent.clearSharedPreferences(); in tearDown()
470 mTelephonyBackupAgent.putSmsMessagesToJson(mSmsCursor, new JsonWriter(mStringWriter)); in testBackupSms_NoSms()
479 mTelephonyBackupAgent.mMaxMsgPerFile = 4; in testBackupSms_AllSms()
481 mTelephonyBackupAgent.putSmsMessagesToJson(mSmsCursor, new JsonWriter(mStringWriter)); in testBackupSms_AllSms()
[all …]
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyBackupAgent.java514 private TelephonyBackupAgent mTelephonyBackupAgent; field in TelephonyBackupAgent.DeferredSmsMmsRestoreService
538 mTelephonyBackupAgent.doRestoreFile(fileName, fileInputStream.getFD()); in onHandleIntent()
565 mTelephonyBackupAgent = new TelephonyBackupAgent(); in onCreate()
566 mTelephonyBackupAgent.attach(this); in onCreate()
567 mTelephonyBackupAgent.onCreate(); in onCreate()
575 if (mTelephonyBackupAgent != null) { in onDestroy()
576 mTelephonyBackupAgent.onDestroy(); in onDestroy()
577 mTelephonyBackupAgent = null; in onDestroy()