History log of /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/CallLogProviderTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c00a5e2d1d1820e11d7f3961e6e809a6954e5154 12-Sep-2014 Tyler Gunn <tgunn@google.com> Renaming Telecomm to Telecom.

- Changing package from android.telecomm to android.telecom
- Changing package from com.android.telecomm to
com.android.server.telecomm.
- Renaming TelecommManager to TelecomManager.

Bug: 17364651
Change-Id: Ie33d1f8fd0bc228a7cf0da3f70a0fa945cee716a
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/CallLogProviderTest.java
aec79b87fa29a93084871d9bd6f03b5d6858fa25 08-Sep-2014 Yorke Lee <yorkelee@google.com> Replace Calls.FEATURES_NONE with 0 (3/4)

Bug: 17253963
Change-Id: I9e9e56cdf4c9a60ac1e047bef0eba2ba0c8f10fb
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/CallLogProviderTest.java
1d69b2f3576af29b1653ccb372142e04e3e158e9 24-Jul-2014 Yorke Lee <yorkelee@google.com> Add Calls.TRANSCRIPTION to CallLog (1/2)

Dialer needs access to the TRANSCRIPTION column via the CallLog to
show voicemail transcriptions inline.

Change-Id: Id1807923a07af9e9e34783e6be2e39485eee7795
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/CallLogProviderTest.java
61e064a37eb794230b815f6c75519f3deb775cc6 20-Jul-2014 Evan Charlton <evanc@google.com> Rename PhoneAccount to PhoneAccountHandle

Change-Id: I2e97b348e6316a8b3ccc39fd81013e7f514a2889
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/CallLogProviderTest.java
2ad39edbd856f3ea1177788aff7e653e593781eb 19-Jul-2014 Yorke Lee <yorkelee@google.com> Rename voicemail permissions

Rename READ_ALL_VOICEMAIL to READ_VOICEMAIL, and MANAGE_VOICEMAIL
to WRITE_VOICEMAIL
Bug: 16400686

Change-Id: I45d841b886c2bbe230c2f13fddbce41a729b6c61
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/CallLogProviderTest.java
1aacda6f4dc3e865d7f71ee444da0e9f45f81177 18-Jul-2014 Ihab Awad <ihab@google.com> Merge "Wire up multi-SIM experience (2/4)" into lmp-dev
3b34457a4cc0d2c55676f366ddc673091a198adb 17-Jul-2014 Yorke Lee <yorkelee@google.com> Sync call log entries from the primary user into the secondary user's call log

On startup of a secondary user's call log provider, sync any call log entries from
the primary user's call log that are:

1) Newer than the last sync time
2) Not a voicemail
3) Not a duplicate entry (identified by the number, and start time of the call)

Bug: 16298776
Change-Id: I843dfd8dd5c9433942e610cbbc2dfed95c29dd1c
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/CallLogProviderTest.java
3eae5869e843396d39ba816ed9083dcc2fac5fce 17-Jul-2014 Ihab Awad <ihab@google.com> Wire up multi-SIM experience (2/4)

Change-Id: I13c7e29248c678bf6c533920b4ad562b653cf8f0
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/CallLogProviderTest.java
d372af60001602a8c6cccf6258b514360c69b513 14-Jul-2014 Yorke Lee <yorkelee@google.com> Add TRANSCRIPTION column to Calls table

Bug: 10928782
Change-Id: I8e0e53e3c746baa64dd868a0e1c57444e2050578
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/CallLogProviderTest.java
76ba31af951669b3bb6da95d83b1ae248589563d 11-Jul-2014 Santos Cordon <santoscordon@google.com> Implement multi-SIM capabilities (5/6) [DO NOT MERGE]

Bug:16292368
Change-Id: I8ca4031b36c821f8b071f9227f90266b066d3501
(cherry picked from commit 66df49ed5dc962cd80dcbbd845a5a83321ceee63)
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/CallLogProviderTest.java
a315de3cb1c62569f7de1f25ec5b4ad425ebdf07 10-Jul-2014 Tyler Gunn <tgunn@google.com> Add features and data_usage columns to calls table.

Bug: 16015261
Change-Id: I08d28a5af5b52cc8ca2e03e6db82f68807c1f69f
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/CallLogProviderTest.java
2a836304091bf37a466c3a56e3b880222f518063 09-Jul-2014 Yorke Lee <yorkelee@google.com> Merge "Add manage voicemail permission (2/4)"
b078d625665a07e1349bcf7b3c6eff56400f9917 02-Jul-2014 Ihab Awad <ihab@google.com> Fix references to two constants

The names of two constants missed getting updated in a previous CL,
causing a build breakage.

Change-Id: I4853b8647c69bf2b12de43dc8a67fca75822fb14
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/CallLogProviderTest.java
e7c49d796e7e7043b3f2f8e3e7b274b3ba706756 01-Jul-2014 Ihab Awad <ihab@google.com> Rename Telecomm "Subscription" to "Account" (5/7)

Change-Id: If42f8c76ad0d347a3b387de4fa806148a0a2d780
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/CallLogProviderTest.java
ab2ec1d4316770e2ce8dc47dd1ae71430cd70e36 25-Jun-2014 Yorke Lee <yorkelee@google.com> Add manage voicemail permission (2/4)

Update CallLogProvider and VoicemailProvider to provide read/write access to
voicemails based on their respective permissions.

Also update tests to reflect the new world.

Bug: 6948882

Change-Id: I26e960eae24dc1b8bd4a372420d4c42f242c88d3
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/CallLogProviderTest.java
6749114ea49788806973a7dea493a5ac52b00a8c 23-Jun-2014 Nancy Chen <nancychen@google.com> Update database schema for saving of subscription info in call log

Added fields "component_name" and "subscription_id" to call log table in
order to save information about the subscription responsible for placing
a call. Additionally made sure relevant tests pass.

Bug: 15473965

Change-Id: I0ed99452c3cdfdba31f1a71fb342406b0652e282
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/CallLogProviderTest.java
e31bbc395fc04e9c5f841e8e76475d98c8332271 10-Jun-2013 Jay Shrauner <shrauner@google.com> Add number presentation column to call log table

Add number presentation column to call log table and convert older call logs
to use the new column.

Bug:6948882
Change-Id: I0e8f781d30600e3bfb08d8b89a1cade531e18c7f
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/CallLogProviderTest.java
143bb522fcfb4a08c7f112876f3fac1cf47cf5ae 02-Aug-2012 Chiao Cheng <chiaocheng@google.com> Adding limit and offset parameters to calllog provider.

Allow client to pass in limit and offset parameters in uri.

Bug: 6849968

Change-Id: I535086449bfa76a5d8bc66567070141b76d19503
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/CallLogProviderTest.java
e0c5d80d5634a9c7d431fa4490d7504486b5ce25 12-Jun-2012 Wink Saville <wink@google.com> Use telephony-common

Change-Id: I7eef631998e8e567f0e67c4e57d70aa5714aa90d
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/CallLogProviderTest.java
9b626252d91e451a822f48cd127aef5d609a6257 07-Mar-2012 Makoto Onuki <omakoto@google.com> Don't manually close the database.

Don't close and reopen the database in CDH.getWritableDatabase().
The reason we did this was to sqlite reload the sqlite_stat1 table,
but according to the document running "ANALYZE sqlite_master"
should be suffice. (See http://www.sqlite.org/lang_analyze.html)

Also don't close the database helpers after upgrade in
ContactsUpgradeReceiver. We don't have to do this.

Also, replaced the test-only constructors of the helpers with methods
with more explicit name, in order to make sure only the singleton
instances are used in the main code.

Bug 6104842

Change-Id: I76a7d1b8f7b6462b97f627d722feaa03967cb18f
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/CallLogProviderTest.java
13ed28505ed1af4f0b4a6297c4c6840d91f10c8c 01-Oct-2011 Flavio Lerda <flerda@google.com> Add new column for cached formatted number.

Bug: 5316982
Change-Id: I2870778c8056468730d82794ddae90c74cab85fc
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/CallLogProviderTest.java
7a24e1c1476b57a6268de8d57e5ef4a2d5f46794 21-Aug-2011 Flavio Lerda <flerda@google.com> Add a few columns for caching to the call log.

These columns store additional information about the contact associated
with a call log entry and are needed by the new functionality present in
the call log.

This change matches the newly defined columns in
android.provider.CallLog.

Bug: 5101753
Change-Id: Ife45e7034af098bf0e1ca35d05bb389a2c47909a
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/CallLogProviderTest.java
aeaba441ddb05dede8bd86291ca78f42d670d54c 09-Aug-2011 Flavio Lerda <flerda@google.com> Automatically add a geocoded location to entries in the call log.

This change adds a geocoded location value to entries added to the call
log.

One limitation is that this is unaware of changes to the locale. We
needed to decide whether this is fine or if we should update the stored
geocode on locale changes.

Bug: 5129581
Change-Id: I2ad1b3fbd24491df2febf3e1fd615c16dd74398f
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/CallLogProviderTest.java
0b442c4154c77f39aeb84216f433e5bd11cbf79e 04-Aug-2011 Debashish Chatterjee <debashishc@google.com> Fixed broken VoicemailContentProviderTest.

The tests were broken in two areas following recent changes
- permission READ_WRITE_OWN_VOICEMAIL was renamed to ADD_VOICEMAIL in
the production code, but was not renamed in test.
- Two new synthetic fields DISPLAY_NAME and SIZE were added in the
production code but the expected num fields were not updated in the
tests.

Change-Id: I96c1997af8dadb5a95d7224b0364cf48e6244977
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/CallLogProviderTest.java
929a04e2830e30718930d96335dfb0a729b6ab91 23-Jul-2011 Debashish Chatterjee <debashishc@google.com> Improvements in voicemail broadcast notifications.

This change fixes two primary issues:
1) If a voicemail record is modified through call log provider, a
voicemail provider notification is now generated.
2) voicemail notifications are now sent with permission ALL if the
receiving component packages is not the owner of the modified record.
This ensures that a voicemail source (having OWN permission) gets notified
only of changes for records that it owns. But a package that has ALL
permissions get notified of everything,

A new interface DatabaseModifier is now used by both voicemail as well as
calllog provider to perform any operations that can modify the
underlying table. DbModifierWithVmNotification implementation of this
interface fires relevant notifications under the hoods.
All logic related to sending notifications is now moved from
VoicemailContentProvider to this new class.

bulkInsert has no special treatment anymore. We now fall back to the framework's
default implementation. It was complicated to optimize for provider_changed events
for bulk insert when using the DatabaseModifier interface.

TODO: I am yet to write unit tests for broadcast intents. I have done
manual testing to make sure that they work. Also the existing unit tests pass,
proving that none of the existing content provider operations are broken by
using the DatabaseModifier wrapper.

Bug: 5060354
Bug: 4974222

Change-Id: I0935105f146a71abeffbde634d79f8806b8e0ed2
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/CallLogProviderTest.java
b2197b235e3d96e7f70c24d548b7dac52dab88d8 21-Jul-2011 Flavio Lerda <flerda@google.com> Implement IS_READ column in content providers.

Add support for the IS_READ column in the call log and voicemail content
providers. This columns will be used to store whether a call log entry
(currently only voicemail) has been read or otherwise consumed by the
user.

Bug: 5036195
Change-Id: I06840f9820f7d568a738c0307f4294c2b8c66031
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/CallLogProviderTest.java
92d97071e56110e0df7f25e6ebc92ff4ebf74a88 29-Jun-2011 Flavio Lerda <flerda@google.com> Use shared constants for call log with voicemails.

Use the shared constants for accessing voicemails in the call log.
Remove the local copies in the content provider.

Change-Id: I1c026ab604201b73e4f6a057a8b725479c72c796
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/CallLogProviderTest.java
aafbe295d67686870c64c74a59e589d1dfb506fa 20-Jun-2011 Debashish Chatterjee <debashishc@google.com> Introduced query param 'include_voicemails' for call_log uri.

- by default only call entries (i.e. no voicemails) are returned.
- if include_voicemails is set to true then also include voicemail
records, but only if the caller has full voicemail permission.
- voicemail record can only be inserted through call_log provider if
include_voicemails is set.

Change-Id: I98f6778ace64fa752dc0525c5ce4e5eb83b2e689
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/CallLogProviderTest.java
00e7c94b70f4b477653534dbe559d1759d796157 16-Jun-2011 Debashish Chatterjee <debashishc@google.com> Added checks in voicemail provider to not expose call_log fields.

- Voicemail provider now has check to ensure that no field outside of its
projection is accesible.
- Moved functionality to check ContentValues against a projection map to
DbQueryUtils.
- Associated test cases.

Change-Id: I23033c96f74f0ab981152f70e585c69ba5284602
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/CallLogProviderTest.java
59f6477e10203617f504857f7e9aee2fda393f4f 07-Jun-2011 Debashish Chatterjee <debashishc@google.com> Introduced new voicemail fields in 'calls' table.

The 'calls' table is going to be shared between the existing call_log
provider, and to be added voicemail provider. This change adds all the
columns needed to support voicemail in the 'calls' table.

The call_log provider, however, uses only one additional field
'voicemail_uri', whereas all other new fields will exclusively be used the
new voicemail provider. The change also ensures that the voicemail
provider specific fields are not exposed through the call_log provider.

Change-Id: Ieea4b14052b7e7e9db0e674138772b4e06b3f074
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/CallLogProviderTest.java
2530512f639c4979fd7371c7dd25dd67e8118124 26-Aug-2010 Bai Tao <michaelbai@google.com> Store the current country code in call log

a. Created a CountryMonitor class to monitor country for CallLog and Contacts Provider
b. Added a new field countryiso in calls table.
c. Upgrade the database to 406.

Change-Id: I894739c65672b017f8d634f0d9cd5dd11ac930d1
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/CallLogProviderTest.java
038a60f1920d798bc391a376e81980921a75cc34 11-Dec-2009 Fred Quintana <fredq@google.com> moved the hidden sync helpers out of the framework
removed the old ContactsProvider
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/CallLogProviderTest.java
8920a04b4a68ed6b548bcdef5ca8736dcf8b69b1 29-Sep-2009 Omari Stephens <xsdg@android.com> Update test documentation and suite classifications.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/CallLogProviderTest.java
b38ed2c5ffeb20efc677b4a9229db4a00603aa8d 29-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Renaming OpenHelper to ContactsDatabaseHelper

Change-Id: Iccdf1ebcd8a3ab430941c957f712bb9e7dd2706c
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/CallLogProviderTest.java
790d120a13119275ab811fa1d57f5c4d0e5042e8 10-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Clearing out references to deprecated API
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/CallLogProviderTest.java
3d8b043c3341a5b6c2e781b7eba9767d5cd13267 05-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Contact conversion script, initial cut
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/CallLogProviderTest.java
e99988b266dd1263162583e81e2b408e7329b1c8 29-Jul-2009 Dmitri Plotnikov <dplotnikov@google.com> Extracting call log implementation out of the legacy contacts provider.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/CallLogProviderTest.java