fc11e9a24bcb9c77e46df3f7735becda1f392316 |
|
29-Apr-2017 |
Christopher Tate <ctate@google.com> |
Merge "Update test using FullBackupDataOutput private ctor" into oc-dev am: ba291f28ce am: 29ea757f24 Change-Id: I61edfee428bf1cc4d0b86a2e0713e1ef6c30b3ee
|
6c4cd11928667b69c4fcfd9a962b93d364f47441 |
|
27-Apr-2017 |
Christopher Tate <ctate@google.com> |
Update test using FullBackupDataOutput private ctor The FullBackupDataOutput API is being amended in O, requiring changes to the ctor signature, so this internal test using the class directly needs to be updated in sync. Bug 37565111 Test: this thing here Change-Id: I408935ab677fe22c629a0f6d31620c1ccd66c7dd
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/TelephonyBackupAgentTest.java
|
618b16ce37ffe3981f92df1947d53e4d3e30eb60 |
|
12-Apr-2017 |
Tom Taylor <tomtaylor@google.com> |
32394618, 36899165, 37245921 Fix unread and text_only flags * Update the TelephonyProvider's backup/restore agent to set the default "read" flag as 1, or has-been-read. When restoring an mms, set the text_only flag appropriately. Finally, back up the text in all mms messages, even if the text is part of a message that contains an attachment. Test: updated the unit tests. Bug: 32394618 Bug: 36899165 Bug: 37245921 Change-Id: If5197b22fd0558764dd1c379d720915e9c38e8b7
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/TelephonyBackupAgentTest.java
|
785f9214b0da4bacf4c78ae90f08c535ab04c5a5 |
|
27-Mar-2017 |
Tom Taylor <tomtaylor@google.com> |
36367212, 36366196 Restore MMS attachments from backup file * Update the TelephonyProvider's backup/restore agent to handle restoring mms attachments. This change also includes restoring the original SMIL, and backing up and restoring the "read" flag for both sms and mms messages. Also, added a "call" method to the MmsSmsProvider to return a boolean when a restore is in progress. Test: updated the unit tests to test the new fields. Manually tested a restore file to verify an mms with image was restored and imported by bugle correctly. Bug: 36367212 Bug: 36366196 Change-Id: If78bbe60a922aeb4373d45f9c82fa434806b13d9
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/TelephonyBackupAgentTest.java
|
56117b955dda1c134473a4fed4b0a73fb1c6cea2 |
|
27-Apr-2016 |
Roman Sorokin <rsorokin@google.com> |
Fixed crash loop of the Telephony in case of bad restore. If exception occured it caused the service to crash and then restart again. Since it did not delete the old files exception occured again etc. Now it deletes file if there is any exception; Bug: 28382746 Change-Id: Ifcec6242e6cad23fa6e6c697248c6d6a98dfca89
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/TelephonyBackupAgentTest.java
|
3aa281731a6f25cd36b88bca809b13d3f581d05f |
|
01-Apr-2016 |
Roman Sorokin <rsorokin@google.com> |
Additional columns in pdu table and threads table to backup Added columns 1. pdu.tr_id 2. threads.archived 'archived' is backed up along with the first SMS message from the archived thread. Bug: 27928438 Change-Id: I4e7ea885ecc7424f96442d0fda9ddad424514ace
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/TelephonyBackupAgentTest.java
|
9037d648d61f3d90726e43296f0b12c532e1f934 |
|
22-Mar-2016 |
Roman Sorokin <rsorokin@google.com> |
Switched TelephonyBackupAgent to ContentResolver It used instances of content providers (SMS, MMS). Since now it's loaded not in the restricted state it could safely use ContentResolver. Also took all the functions out of the static scope into the object scope. Bug: 27791017 Change-Id: I468bb4859bddb0fba1db388101bd1ddecfc3ce0c
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/TelephonyBackupAgentTest.java
|
21736c3871d5c4cd3a6322d65d635057d0a61937 |
|
17-Feb-2016 |
Roman Sorokin <rsorokin@google.com> |
Speed up of message backup/restore - Use BufferedWriter for backing up - Use bulkInsert into sms provider on restore - On restore the agent stores files onto disk and then launch deferred service to restore messages. - Cache threadId db request on backup and restore. - Made backups incremental Also added unit test for hitting the quota on backup. Bug: 27225193 Bug: 26870249 Change-Id: Ia8875fe692ba33039e58189dcdcca82f207768f1
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/TelephonyBackupAgentTest.java
|
76422e0ed1bc5b68f857094a05b5fec8b507f36e |
|
15-Feb-2016 |
Roman Sorokin <rsorokin@google.com> |
Fixed duplication conversation on restore Made recipients storage for mms same as for sms. Bug: 27073155 Change-Id: Iee3c24819d3df0461213352342e6b53e3e71e213
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/TelephonyBackupAgentTest.java
|
1d42223c7e497b5513fa0cc5e65ffc405b432989 |
|
12-Feb-2016 |
Roman Sorokin <rsorokin@google.com> |
Fixed tests for TelephonyBackupAgent Bug: 26739475 Change-Id: Ie0a5abee9ff29ad57b4e1a974e8c5bc7a36aed5e
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/TelephonyBackupAgentTest.java
|
a632476534b877cdad602a27fe8ba01892d0bd83 |
|
26-Jan-2016 |
Roman Sorokin <rsorokin@google.com> |
Fixing addresses backup/restore for SMS. We were trying to parse "address" field in order to get the recipients and generate threadId. Problem was that parsing went bad in some cases. In this CL we backup sms_recipients fetched from content://mms-sms/canonical-address and use it on restore to generate threadId. Will fix the tests later. Bug:26739475 Change-Id: I1b50bbdc8afbdf254d27df9d23fc938847768d41
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/TelephonyBackupAgentTest.java
|
8b39acf181c547e87161873112d6c52a581fc778 |
|
16-Dec-2015 |
Roman Sorokin <rsorokin@google.com> |
Implemention of the telephony provider backup agent to cover SMS backup Known issues: - Are we ok with restarting com.android.phone on restore? Bug: 26079978 Bug: 26532098 Change-Id: I87452c0d993c14fe70b12f310bdc52a0ccd2ff1d
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/TelephonyBackupAgentTest.java
|