History log of /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/BaseVoicemailProviderTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0a54148a9a8313f78ecd3d112134f2dee4479bb8 22-Jul-2014 Makoto Onuki <omakoto@google.com> Make BaseVoicemailProviderTest abstract

Bug 16484915

Change-Id: I70be9323d1da6c909383b144f0f2b8fcef9b1214
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/BaseVoicemailProviderTest.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/BaseVoicemailProviderTest.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/BaseVoicemailProviderTest.java
66d989c439fbb82a5b40a7efffa2f28208cf11d8 06-Sep-2013 Jeff Sharkey <jsharkey@android.com> Rename getCallingPackage() to avoid clash.

The framework now offers an authoritative getCallingPackage().

Bug: 10626527
Change-Id: I845ce60a092d944ea0351f10ee41dbf07b8dfecd
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/BaseVoicemailProviderTest.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/BaseVoicemailProviderTest.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/BaseVoicemailProviderTest.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/BaseVoicemailProviderTest.java
c6eb4fe44502116f834fadcc54214b3fa93ff564 28-Jul-2011 Debashish Chatterjee <debashishc@google.com> Delete voicemail data when source package is uninstalled.

The deletion of voicemail data for the uninstalled package is done
through a service. The PackageIntentReceiver just forwards the package
removal intent to the service after sanity check that the intent is
really for an uninstalled package.

The logic to check whether the intent should trigger a clean up is
repeated in VoicemailCleanupService as well. This provides an extra
safety net and and also lets the unit test cover this functionality.

Bug: 5056159
Change-Id: Id7315a1318d510b50878f26c2e0d380c1920ee4e
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/BaseVoicemailProviderTest.java