8ead0dc62d0031a22af0d14c7ed05893507893c9 |
|
11-Nov-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Allow the provider to conditionally remove duplicate entries Must be after Ie88af0c3d21919ca201f4fcdd46ca09e9f8d94c0, which introduced the new flag for duplication removal. With this change the default behavior for Phone uri will be back to the behavior before Ie21abb12736715358dd33bc690269f51ae1e0944 being introduced. Bug: 5484956 Change-Id: I3b6ba3956449520f9e08653fc8beead763a5f8a1
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
23ba865a6d204ba4aa29d2fad9989e9c44351e81 |
|
27-Oct-2011 |
Makoto Onuki <omakoto@google.com> |
Speed up query for group tab - The old query had overhead propotional to the number of groups. - The Groups.SUMMARY_WITH_PHONES column is still slow, but we don't use it. - We can use the same technique for Groups.SUMMARY_GROUP_COUNT_PER_ACCOUNT. The only downside is that, we're changing the FROM clause dynamically according to the requested column, which is something that we don't usually do. Overusing this technique could make code less maintainable... Bug 5092615 Change-Id: I79b01ae2a232bcd8e3b7186288050fed14a36a72
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
4004a43c7fbe48ba72de46cc88eb5567df184258 |
|
17-Oct-2011 |
Daniel Lehmann <lehmannd@google.com> |
Remove Live-Folders Bug:5254892 Change-Id: I41cf5df369b887361e545d9e0acccef308824875
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
d9125effce84804631c8e618ae88b2cfc69cf529 |
|
07-Oct-2011 |
Dave Santoro <dsantoro@google.com> |
Use internal APIs for cleaning up photos. This avoids running into security exceptions when the cleanup involves permission-protected data. Bug 5422732 Change-Id: I5554d53ca76c5d513467c66782f7bf3ea61aa78b
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
3a2043b8a68a800d4b1bedb88fbc0e1da8ce4d80 |
|
05-Oct-2011 |
Dave Santoro <dsantoro@google.com> |
am 36612112: Implement new social stream permissions. * commit '36612112760df799ef89f7e324e5dfabd5ca0d2b': Implement new social stream permissions.
|
36612112760df799ef89f7e324e5dfabd5ca0d2b |
|
04-Oct-2011 |
Dave Santoro <dsantoro@google.com> |
Implement new social stream permissions. Reading/writing social streams now requires READ_SOCIAL_STREAM or WRITE_SOCIAL_STREAM permission. The special stream item insertion that occurs on status update insertion is exempt from this requirement. Bug 5406886 Change-Id: I6a711d7f33b501e2c331c71684b2eb3a6bfd5ec5
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
1744cae1895be1082404220667d1fecf7d148a71 |
|
22-Sep-2011 |
Dave Santoro <dsantoro@google.com> |
am ae94a710: Merge "Change Settings insert conflict to do an update." into ics-factoryrom * commit 'ae94a710dbc0ea239277c25986e39ba53904c5fc': Change Settings insert conflict to do an update.
|
0e21a867a572679d64d79041eb574d13665178d4 |
|
21-Sep-2011 |
Dave Santoro <dsantoro@google.com> |
Change Settings insert conflict to do an update. This was the behavior the Settings table had before (when uniqueness was enforced by the primary key), and it was assumed by external apps, including Twitter. Bug 5336876 Change-Id: Iab792df6a5d31c780a33ddebabdb26c7768f373b
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
85077339f2e0c6f21fd92fb8df335f3aae004fba |
|
20-Sep-2011 |
Dave Santoro <dsantoro@google.com> |
Add support for profile/<photo> URIs. The URIs profile/photo and profile/display_photo can be used to load the thumbnail and display photo (respectively) for the user's profile entry. Also had to move ContactDirectoryManagerTest to MediumTests because the LargeTests are starting to crash due to the SQL memory issue again. Bug 5226635 Change-Id: I7bf9787b06a49bf59c758421552dc969e6c6907d
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
bd20dbedba706fdf2db7acb1c7d4391e57129d44 |
|
14-Sep-2011 |
Dave Santoro <dsantoro@google.com> |
Add lookup key support for photo URIs. Bug 5235737 Change-Id: Iec2ef8ada5b70e22e35b6912ab62e6e680309dc6
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
6f983fd835f0cdd5ac7931ccd49d44e9ea4c87c0 |
|
13-Sep-2011 |
Dave Santoro <dsantoro@google.com> |
Fix snippetization tests. The tests need to be aware of (and use) deferred snippeting. Change-Id: Ib566a2884f445c0ff02d8968a9362717798aafb8
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
f9b77edaf5855bf6932fbc4b4b4342273669efef |
|
09-Sep-2011 |
Dave Santoro <dsantoro@google.com> |
Add data_set for Settings. Since data_set may be null, it can't be part of the primary key for the table, so we need to re-create the table and add provider-side protection from inserting duplicate settings records. Bug 5156004 Change-Id: I25ae53c5670087a116058f0daef5b06cb6ce372b
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
c88cc79e0e19b8299a2a356c7d70b48f70b4a93e |
|
07-Sep-2011 |
Dave Santoro <dsantoro@google.com> |
Clean up stream items on account removal. Bug 5239627 Change-Id: I0c45baeaf6e3a1730760f49696e1f489ef22490f
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
6b556103afd9aa1bdfba8164c462093ef0822f31 |
|
07-Sep-2011 |
Dave Santoro <dsantoro@google.com> |
Merge "Fix issue with cleaning up stream item photos."
|
d2ee1503a0de87863c21153c723442328ad79bb7 |
|
07-Sep-2011 |
Flavio Lerda <flerda@google.com> |
Merge "Fix status message in contact updates."
|
c2714bbd397b09a20da476c89560e1caecdcce58 |
|
07-Sep-2011 |
Dave Santoro <dsantoro@google.com> |
Fix issue with cleaning up stream item photos. Bug 5250048 Change-Id: Ibb0daef7a089ec851a9201cfd4163173f713f839
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
82780691f1a3b4d8784e29a961b1140cd07bc9a8 |
|
07-Sep-2011 |
Dave Santoro <dsantoro@google.com> |
Clean up stream items when raw contact is deleted. Also added support for raw_contact/#/stream_items/# URIs, which we were returning on stream item inserts for a raw contact. Bug 5239627 Change-Id: I32116b32f1ebd28f7c86d6dc7567fca8f7c7ff07
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
7b0d7b04db42e7a8fd6a511b15da6bcd13f15a3c |
|
31-Aug-2011 |
Attila Bodis <attila@google.com> |
Merge "Enable contact matching for incoming calls which only contain local number."
|
34984173c94fffb45710673f4f92150b87134ce4 |
|
26-Aug-2011 |
Shaopeng Jia <shaopengjia@google.com> |
Enable contact matching for incoming calls which only contain local number. Bug: 5197612 Change-Id: Ia38f097e1e1e8ecad9c41a15d5c7593807d13571
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
5d0a768b56ed4bd0dfef81b8389247ba74766659 |
|
08-Aug-2011 |
Dave Santoro <dsantoro@google.com> |
Separate the profile out into a separate database. Fundamentally, this works as follows: 1. A separate, structurally identical database is created for storing profile data. The view columns for identifying whether a contact or raw contact belongs to the user's profile are initialized with constant values for each database. 2. Sequence numbers in the new profile database are set to a very high value (MAX_LONG - MAX_INT) to designate an ID-space in which profile data is stored. This is important for distinguishing between contact and profile requests. 3. Contacts Provider URIs are divided into several sets, bucketed automatically by a new profile-aware URI matcher. - URIs that explicitly reference the profile. - URIs that contain IDs (which may be in the profile ID-space). - URIs that contain lookup keys (which may be a special profile lookup key). - URIs for insertion that may contain a profile ID as the parent for the inserted record (in content values). These can't be detected by the URI matcher by itself, so this mapping is maintained in the provider. By identifying whether a URI falls into one of these sets, the contacts provider can efficiently determine whether the request is intended for the profile database or contacts database. 4. The Contacts Provider holds onto two separate copies of the following, one each for contacts and profiles: - Database helper - Transaction context - Aggregator - Photo store (the profile one uses a separate directory) 5. During any query/update/insert/delete/openAssetFile operation, the URI (and content values, if applicable) are examined to determine whether the operation is intended for the Contacts DB or the profile DB. If intended for the profile DB, the provider is switched (in a thread-local manner) to a profile mode, and the operation is handed off to the profile provider. The profile provider does a permission check, substitutes the profile database as the active DB in the contacts provider, and continues the operation in the Contacts Provider by calling the in-transaction or local version of the operation, which does its normal processing, but with everything pointing at profile-specific databases, aggregators, etc. 6. If the operation isn't determined to be targeted to the profile database, the provider is similarly switched (thread-locally) into contacts mode, and the active DB is set to the contacts DB. 7. For batch operations, we only create a transaction for the contacts DB initially. If any of the operations in the batch end up targeting the profile DB, we start a transaction for the profile DB. When the batch is finished, we check for that and also commit the profile transaction if there were no errors. Bug 5204577 Bug 5161066 Bug 5155743 Bug 5087853 Bug 5031883 Bug 5198777 Bug 5230140 Change-Id: Ic43a6625cbb6edf52ea076b084647fb0656e28e5
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
4747809486541f7a3d342d3e1dd48fb5ea255ad6 |
|
28-Aug-2011 |
Flavio Lerda <flerda@google.com> |
Fix status message in contact updates. This fixes a problem with a status message being added to a contact's update stream. The text contains an extra <p> tag, which leads to extra newlines being rendered. Bug: 5176548 Change-Id: I28854bf053508e63ac0345556129e82c9e7984cb
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
cf55cbe8932f620484a3634d13ecc116c32fdc99 |
|
25-Aug-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Group rows with a same phone number and a contact id. Bug: 5201809 Change-Id: Ie21abb12736715358dd33bc690269f51ae1e0944
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
e3a10e4fcdb8b5e619f02a26fd1a26cef3b149a3 |
|
21-Aug-2011 |
Flavio Lerda <flerda@google.com> |
Remove extra new line from status updates. When status updates are added to the stream items, they need to be converted to HTML. In the process, an extra new line was added at the end of each of them. This commit removed this trailing new line, so that the updates are shown correctly in the UI. Bug: 5193689 Change-Id: I223070eeb1439a8ffacbfb61d6e86355b14c68db
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
58567abca253f1efa2db5c39e17e42dca589e916 |
|
16-Aug-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Use phone number for grouping when normalized number is null NORMALIZED_NUMBER may become null when the number isn't able to be parsed by the library (e.g. pager address). Current implementation groups multiple numbers with null normalized values into one result, which confuses users. Bug: 5040732 Change-Id: I1ad7dfb72dbc5d239aa95a913d35c2d8dfe3167c
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
0bf6b318e3c994294d4a885f57906debd4a0e64e |
|
15-Aug-2011 |
Daniel Lehmann <lehmannd@google.com> |
Several DB changes as requested by ES - Switch from resource ids to names to prevent breakage on package upgrade Bug:5135277 - Add SYNC1...SYNC4 columns to StreamItems and StreamItemPhotos Bug:5119385 - Remove ACTION, ACTION_URI from Groups, StreamItems and StreamItemPhotos (this reduces db size and prevents click intercepting) Bug:5135808 - Add some raw-contact fields to the StreamItem and StreamItemPhotos query Bug:5134081 Doing those changes in one block to prevent too many db upgrade steps Bug:5135277 Change-Id: I1d1661c9a507d9efd4ef334fe21481097e820b7c
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
0e272967c6c6662d8a6eed80650dad0369aac085 |
|
13-Aug-2011 |
Dave Santoro <dsantoro@google.com> |
Merge "Fix openAssetFile method of inserting photos."
|
c6eab5080340824edd2c6676c4e6b96e142f87e4 |
|
12-Aug-2011 |
Dave Santoro <dsantoro@google.com> |
Fix openAssetFile method of inserting photos. For reference, the issue was occurring because the file descriptor passed back to the caller is parceled immediately, which closes the file descriptor on the provider side before it even gets to the caller. The solution was to stop fiddling around with temp files and just pass back a pipe instead - the provider then can simply read the image content from the pipe and process it. Bug 5156644 Change-Id: Ie210f65b5b8681524fed12a53df0c852fc951e5a
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
d5ef5903570e533a501abe6a8e3d533fdb5318fc |
|
10-Aug-2011 |
Flavio Lerda <flerda@google.com> |
Convert status updates to HTML. Since stream items text is HTML but status updates are text only, convert the text to HTML when inserting a status update into the stream items. Bug: 5122642 Change-Id: I61e3d9802e527c6977e7d29660ffd137ae899dae
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
cce1c9cf029f40b62955f4b545f94c993daefbd2 |
|
04-Aug-2011 |
Dave Santoro <dsantoro@google.com> |
Add support for updating profile raw contacts. Bug 5122027 Change-Id: I4c0c4dc3b8b9eedbca347929fe16893aa1630005
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
a09d7527b132ec82f98cde1564b0262fd85768c2 |
|
01-Aug-2011 |
Dave Santoro <dsantoro@google.com> |
Create account record if needed on profile insert. For accounts without a data set, this should be handled automatically when the account is added. But with data sets, we need to handle it specially so that the profile raw contact ID reference has a row to hang off of. Other raw contacts or groups with a data set will have the account record created in the background when the provider is initialized. Change-Id: I24ea0c389c3bc839aee295f1297e2236c473d66f
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
a4b8d716eae19f2236ecbc13dc3b31ac4d7cd19e |
|
28-Jul-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Merge "Return starred with phone number when phone-only"
|
9dbfd650ccf93714f3266e80f9fbdbcb526ae7b3 |
|
28-Jul-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Return starred with phone number when phone-only Bug: 5087645 Change-Id: Ib60353fd44c23566ae0d2cbaa695f5bbdfd26eb0
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
43368a3f9e05a979e454e278d6a0e8475f08923d |
|
13-Jul-2011 |
Dave Santoro <dsantoro@google.com> |
Provider and DB changes to support data_set field. The intent of the data set field is to provide a way for multiple sync adapters from the same account name + type to manage separate sets of data in the raw_contacts and groups table. For example, this would allow for Focus groups to be synced in from Focus via the Google Contacts sync adapter, and for Google+ Circles to be synced in from the Google+ app, even though both are tied to the same account name + type. Bug 5077096 Change-Id: I641c5d233d8d4d70988d209179c4e79bdb9c7ea1
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
363bdaba2994539e1a3a2342a9fcf223604d69ea |
|
25-Jul-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Make frequent uri work correctly Also add unit test for it Bug: 5073384 Change-Id: I7fa41f50883e14a84ef95d2b098379b1d6b47bae
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
f1efadb1255fd75305b59802f736905b9d66e449 |
|
23-Jul-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Add group count capability and improve performance - implement group count feature in group summary uri - improve performance for the uri -- starting from data table makes SUMMARY_COUNT SUMMARY_WITH_PHONES quite slow - add unit test for group summary uri Must be after Ibc604770cb61ca9fd92280e58f1cd1bbf30c216a Bug: 5039532 Change-Id: I58fb1040d9025af2e0820a6de85a4eaf2ae30852
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
45ae7eaf0e2c9459ccbeeb5eb5977f055c4ed8ec |
|
21-Jul-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Add support for frequent uri Must be after Ia670229e4d3e793446b0a0dce2590e20709ee18c Bug: 5050315 Change-Id: I0ad08f65659987aefda20cd1f9fdfb0d375660f0
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
4928b8c8c7a49ec088884cd9d330eeecc811dca9 |
|
20-Jul-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Make strequent-phone-only returns what we want - in starred section, just starred persons should be listed. One person should not appear more than once. - in freuqent section, we should be able to obtain phone numbers One person can appear multiple times with different numbers. To achieve it, we need to tweak results further. Instead of allowing users to have Contacts columns, we have to allow part of Data columns (DATA1, DATA2, DATA3). Those Data-columns will be NULL in the starred section right now. In order to have those additional columns in Contacts Uri (this is for Contacts.CONTENT_STREQUENT_URI, not Data), this change has one restriction: with phone_only flag, users cannot have IS_USER_PROFILE any more. That's not so critical as phone_only is not part of public API. Modify unit test for phone-only results (SMS feedback shouldn't affect phone-only results). Also introduce comvenient function for testing feedback stuff in general. FUTURE TODO: - We should also be able to obtain a phone number relevant to the starred person while this change doesn't support it. - We may need to group numbers by contact instead of showing them apart (bug: 5059874) Bug: 5050181 Change-Id: I47f532e5b7bb3f8bfd77215c61abb31a09d7fd51
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
6802030a777c0c3ba1dc029c534cca4784260632 |
|
16-Jul-2011 |
Dave Santoro <dsantoro@google.com> |
Forward-compatibility of old status update API. With this change, inserts or updates to the old status update API will be mirrored as stream item inserts or updates in the new social stream API. This is primarily to bootstrap the new stream data (which is what the UI will be showing) until such time as data providers start using the new API. This change also includes migration to using the new photo storage system for photos from the social stream API. Change-Id: I0974444077790f706637dd6b9d1f6f50d204aa6c
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
f9648a03e88e2d1a91c616a20d903e4c9a2468e5 |
|
18-Jul-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Fix malfunctioning bucketization logic I82052953d5dad42ac171df29248ed25e9b4a2434 dropped the logic so we need to re-introduce it correctly As we don't have public API for updating LAST_TIME_USED columns outside the provider, we need to let the unit test call a method in ContactsProvider2 directly instead of calling DataUsageStat API. - fix the query - make update logic package-private - add a unit test for it - introduce guava to include @VisibleForTesting Bug: 4998821 Change-Id: I0b699bffffd42a13ab00ac335796687052efb67a
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
6ae89770d8047852b6a1f6fb3cbac812910aa476 |
|
14-Jul-2011 |
Dave Santoro <dsantoro@google.com> |
Fix issue with profile checks during updateData(). We were doing a query with profiles included to determine the set of items to update, but that triggers a permission error if the calling app doesn't have READ_PROFILE permission (even if the rows being updated don't affect the profile). Bug 5028891 Change-Id: Id16d31d5d9d62dea2e62709c6ac03c1562a64438
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
26491aaf710cde688a2b120ef0c13ed8bf6e5bb6 |
|
14-Jul-2011 |
Dave Santoro <dsantoro@google.com> |
Merge "Large photo storage."
|
77c0766a8738feb39f1066a7f3106fef71dd295d |
|
14-Jul-2011 |
Daniel Lehmann <lehmannd@google.com> |
Fix the tests Bug:4413120 Change-Id: I796dc50d8e3e978098869fcb7fccd597a84c2e4a
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
f547fd54d7933e1c03af4a8dc10560c71c38f6b8 |
|
27-Jun-2011 |
Dave Santoro <dsantoro@google.com> |
Large photo storage. This change adds support for storing large photos for contacts in the file system. Large photos passed to the provider will be downscaled and re-encoded as JPEGs before being stored in the usual data BLOB field (for the thumbnail) and in the photo store (for the display photo). See go/large-photo-design for details. Change-Id: I26a69ac2ccba631962a3ac5c83edb3f45d7cfc7f
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
ed6bfd922fd84db21de08c1d12e93c501b86560d |
|
11-Jul-2011 |
Daniel Lehmann <lehmannd@google.com> |
Remove restricted white-listing Bug:4974334 Change-Id: I4dd95089774373d2b67d7e14dc6b7fc40a92d094
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
3b505de6c622d20d40b85b361c1437a89aef82de |
|
08-Jul-2011 |
Daniel Lehmann <lehmannd@google.com> |
Provider implementation of stream item API. The following URIs are supported: contacts/#/stream_items (query stream items by contact ID) contacts/lookup/*/stream_items (query stream items by lookup key) contacts/lookup/*/#/stream_items (query stream items by both) raw_contacts/#/stream_items (query/insert stream items by raw contact ID) stream_items (query/insert/update/delete stream items) stream_items/photo (query/insert/update stream items) stream_items/# (query/update/delete stream items by ID) stream_items/#/photo (query/insert/delete stream item photos) stream_items/#/photo/# (query/update/delete stream item photos by IDs) stream_items_limit (query limits for stream items and photos) Change-Id: Ice433c53e18087e5e6295ad9a112062d44b12dd2
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
2f830d3bb66f780937203e9738e046841a070e73 |
|
25-Jun-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Use new data usage stat for strequent contacts Must be with Ie193bb91ee49b18f4a546a1f52be780bb514301d - use phone-only query parameter in strequent mode - introduce data_usage_stat View for combining the table with some of data/raw_contacts columns, which are needed for strequent uris. - modify strequent impl for supporting phone-only search - modify a test for strequent uri handling Checked performance. We need UNION ALL there and some nasty hacks with two sub queries. Bug: 4371572 Change-Id: I8c81747d8a8ae47ce551067fc4dbe2c48f4f48ae
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
377850d2dfd28eaf1b22273a50cfe066f6667ab9 |
|
24-Jun-2011 |
Dave Santoro <dsantoro@google.com> |
Renamed INCLUDE_PROFILE param to ALLOW_PROFILE. Bug: 4777097 Change-Id: Ib254569f2595ae90e5ef72c1c4abcc7a5e45215b
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
c591cc2ffecdd0038f787a133606752752294c13 |
|
18-Jun-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Prefer primary data to others. Bug: 4723377 Change-Id: Iaeb74924a8567d049adcd91dfa03814a63abf088
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
46abbb56764add30cb6e6506f55d8dededc88113 |
|
07-Jun-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Introduce data usage table for per-method ranking. - have a hidden table for per-method promotion - make filter API use it (phone, email only) - add a unit test - remove an old test using previous API Must be after: I602c0b83afca674904946f59bbdfc4dca07d46e4 Bug: 4371572 Change-Id: I82052953d5dad42ac171df29248ed25e9b4a2434
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
24c1d384b45a6d3c1cc959062a9d4308335fabbf |
|
28-May-2011 |
Dave Santoro <dsantoro@google.com> |
URIs and queries to support profiles. This change includes: - A database upgrade to support tracking whether a contact represents the user's profile (represented as an optional raw contact ID specified per-account, and looked up in the various views). - New Contact Provider URIs for retrieving profile-specific data: - profile: To retrieve the user's profile contact. - profile/data: To retrieve data for the user's profile contact. - profile/data/#: To retrieve data for a specific data entry for the user's profile entry, by data ID. - profile/entities: To select entities for the user's profile. - profile/as_vcard: To retrieve the profile as a VCard. - profile/raw_contacts: To retrieve or insert raw contacts for the user's profile. - profile/raw_contacts/#: To retrieve a specific raw contact entry for the user's profile, by raw contact ID. - profile/raw_contacts/#/data: To retrieve data for a specific raw contact entry for the user's profile, by raw contact ID. - profile/raw_contacts/#/entity: To retrieve raw contact entities for a specific raw contact entry for the user's profile, by raw contact ID. - Permission checks to ensure that any access to profile data (whether explicitly through the above URIs or directly via ID) enforces READ_PROFILE or WRITE_PROFILE access. - New and updated tests (including permission check cases for all of the above, plus query checks for each). I've also had to move a few large tests to medium to work around b/3329504. I've also removed the database close step from contacts provider test teardowns, as it doesn't seem to be necessary, and results in almost a 3x performance boost on test runs. Change-Id: I220552c26ad1eb3fbf24fdd865df2fe59fe4a688
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
5fdc17bae46504edebe7285c3dbc7691ef3fbeb9 |
|
07-Apr-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Fix wrong handling in getQueryParameter() ContactsProvider2#getQueryParameter() wrongly interprets long parameter name as shorter one which is substring of the original. (e.g. "longer_param=value" is also treated as "param=value") Bug: 4260119 Change-Id: Ide096589106984a5d99e70f754830d7943a7ac5c
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
3716f1447ceb21180d1301790eabd8b9453f486d |
|
27-Apr-2011 |
Dave Santoro <dsantoro@google.com> |
Move snippet logic from DB to a cursor wrapper. This results in a huge performance boost when doing searches and filters across large Contacts DBs, since the expensive snippet() function (and associated joins necessary for its logic) no longer need to be run for each record returned; instead, the snippetization is only done as each entry is retrieved from the cursor. If the query string entered by the user consists of multiple tokens, the DB snippet() function will still be used. Bug: 4021462 Change-Id: I60ce69b4506bc7f770f139c127f859689b05f2d3
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
7d82ae92714f2132e3a0971d844ae8cdf10d76e7 |
|
05-Apr-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Add "primary account" support. Two query params "PRIMARY_ACCOUNT_NAME" and "PRIMARY_ACCOUNT_TYPE" allow users to supply a primary account associated with the query, which enables contacts provider to optimize query results. For example, in an email composition screen, users may want to promote email addresses related to an account selected as a "from" field. This change allows the client to let the contacts provider know the account. Must be with I2a22be56822226e3ea6b6f2ef23bb77816d0345a Bug: 3510087 Change-Id: Ibce363d336cb3e3a1fca10bddbd912ec96e4b059
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
17a22fae02931ae536f35293ca13a8de53439f72 |
|
26-Feb-2011 |
Dmitri Plotnikov <dplotnikov@google.com> |
Preserving dot in name prefixes like "Mr." and "Prof." Change-Id: Ife9324d8429961468a6ef3074feb374a63b989f0
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
55e5cbf566edd89fc55f4a7f0ef2847084da9b16 |
|
25-Feb-2011 |
Dmitri Plotnikov <dplotnikov@google.com> |
Displaying name prefix in the list and detail panel Bug: 3488074 Change-Id: Ieb13337edbec01dcbd9581500420f47213f972e5
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
0db2cea4e4a8082ca8dd7d2023b9f3025c2768d8 |
|
17-Feb-2011 |
Dmitri Plotnikov <dplotnikov@google.com> |
Added a couple of regression tests Bug: 3423385 Change-Id: I6d8ab5c8669b61d69152a3b2d3ba88ffa3fc6ce0
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
155accbcb95fc13b984cf0ea8e5498a9c619cbf5 |
|
12-Feb-2011 |
Dmitri Plotnikov <dplotnikov@google.com> |
Full text search: email suggestions Also, removing a bunch of dead code Bug: 2078420 Change-Id: I2c0a9ddd8e60624049b39ac018f87bfabc6574c2
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
30cc766756461da8d53933f88ea01dd2272a90eb |
|
11-Feb-2011 |
Dmitri Plotnikov <dplotnikov@google.com> |
Full text search: minor bug fixes and test clean-up. Please note that at this stage QSB cannot search by organization - that index has been removed. Thus a couple of tests will be failing until QSB support is restored. Bug: 2078420 Change-Id: Icb5d4636b18c3fa3e26eca4ed386492cb28db62d
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
a1e177389debb74a51587720464a527a193bffc1 |
|
13-Jan-2011 |
Dmitri Plotnikov <dplotnikov@google.com> |
Adding support for contact search by email address and phone number Bug: 3344700 Change-Id: I832b24bd312d4ce89b1a33678081ad4fc0f74755
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
bf732767b4d4d7104e4723bda7d3b0eb0f909997 |
|
02-Dec-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Moving initialization and callbacks to background Bug: 3228684 Change-Id: I7fab53092dbf55ebb502bc5d4d2012c88842c8b8
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
2a8fefb86282c06a7669f80e1b2b86d87619dfc2 |
|
01-Dec-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Running tests against an in-memory database. The reduces the total run time for the test suite from about 600sec to 90sec. Change-Id: I68b5c17f1710ab7415913f256c925beead4dd825
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
6dd371aea88e09cbe56b8c483021f3bf61527331 |
|
24-Nov-2010 |
Daniel Lehmann <lehmannd@google.com> |
Allow zeroing the primary/super-primary flag Bug:3212270 Change-Id: Iee664d6a13f66f0f38ed5829488e42b57448dad4
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
c039cfb78c40730483fd71178df63ada5826a315 |
|
20-Nov-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Adding support for the new column: Groups.GROUP_IS_READ_ONLY Change-Id: I9dc91a03d7732544cedf439e0c940c035cbfdb39
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
3826a44d8de41e9c148dd6a967392ea5af478085 |
|
18-Nov-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Adding support for a new ProviderStatus Change-Id: I76da184b794ea7727b9109e693fbf8834c9450b6
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
f65b12455184bc69c45634586ab5fd3234ad98d7 |
|
23-Oct-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
resolved conflicts for merge of 47fd3881 to master Change-Id: I35ea513b8f0c0694d9afa6095aa718e1624eab5f
|
47fd3881dfd2a21de29e917b6114974ff0a67b1b |
|
22-Oct-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Fixing unit tests A bunch of tests were broken by the recent change of the aggregation policy, because they relied on the old policy. Some other tests stopped working after we upgraded to a new version of ICU. Updating the tests accordingly. Change-Id: I97a785015834632a896ed4fc6079744962c7a04c
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
8295d4dd0fa0530c095c8cc9fd0791e6be1b53ce |
|
16-Oct-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
resolved conflicts for merge of 117166d0 to master Change-Id: Icc51fb6eff0431fe5f73f2d4dfa7810fa1c8885b
|
093b6446d0c63b8d725324ea41369b76ace153df |
|
14-Oct-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Fixing the trigger for aggregated presence. Aggregated presence was not updated properly when presence was changed to NULL. Added a test that covers the specific situation. Bug: 3069107 Change-Id: I52396db7c9006e9f18ec6b7c51b22ba09c0ae480
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
778d92d4dce5f76c649e2aca9d00d3f214cd7643 |
|
23-Sep-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Adding PHOTO_SUPPORT and SHORTCUT_SUPPORT to projection maps Change-Id: I268debfdfaa635b7564cfa67a98e71800575d367
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
3d67ff829e8acb0f650f155c3c0d377c0f46507a |
|
23-Sep-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Adding support for PHOTO_URI and PHOTO_THUMBNAIL_URI Change-Id: I080c3227164eba6804095a4f0cbd82bb5093e161
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
cf832869bcf91b8037d8b7f510a3a213b30764a3 |
|
14-Sep-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Adding a missing column to projections Also fixing a couple of broken tests. Change-Id: I7e2fef3fd421fe0f6a47a39bbb5b44efb9399b69
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
c918b0d3ab17a45a392748f43956b927c83eb402 |
|
01-Sep-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Improved ordering of email address autocomplete suggestions Change-Id: Id59c2f40400eb7b3394ea6774ce48036859ecc86
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.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/ContactsProvider2Test.java
|
7a3c645fa7db38449d34eb04d4e032fd079c3244 |
|
19-Aug-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
New ContactsProvider query: complete_name We want to allow the UI to switch freely between a single field name and multi-field name. For that we need to expose the name parsing/concatenation machinery we have in the contacts provider. Change-Id: I51586e309e11a90c719d747862b646de7fb8f326
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
ac13ddd04d665442de846b59234bdc936a6699b4 |
|
14-Apr-2010 |
Bjorn Bringert <bringert@android.com> |
Use new public API for memory-backed file descriptors Bug http://b/issue?id=2595601 Change-Id: Ia274e4c5d7098054bec189e28f2172fb864e6e8c
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
d9b5910dcb5cf99c4e4a81a794d5e81e17e4992e |
|
14-Aug-2010 |
Daniel Lehmann <lehmannd@google.com> |
Update flags to be consistent with GTalk's Change-Id: Ia56261e9c6a9378f70faa7c5b36d7586e0750a15
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
892a3d9ded5c64a63ae3d5d5c52c59528b466c93 |
|
13-Aug-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Improved the phone lookup and the phone filter a. Altered the phone_lookup table to allow the rows with the same data_id. b. Added E164 and normalized number for a phone number if it is applicable. c. Improve the phone lookup by using the build in SQLite function. d. Improve the phone filter by using 'Like filterparam%' Change-Id: I1b23d0a10e46ef26467fb72528a7999d23e36c5e
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
09ae48b82b17e24016b14a1ab64706222ab1071f |
|
11-Aug-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Supplying a default projection to Directories Change-Id: Ie0de59b99624252e4688113fcc6ff52ec75ac8e4
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
a549eb3c9627862a3e45d910d5c981191086a949 |
|
30-Jul-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Adding support for all-encompassing contact/entities URI. Change-Id: I65821cf0abe2c8a94abd9168e80a0a098c1e2a1f
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
dd300fe5f5a1071b1c135af7c76e3ae149edda4d |
|
29-Jul-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Fixing two issues with CHAT_CAPABILITY Also, adding tests for all projection maps. Change-Id: Iadf6b534905ad09fc15d799837d60dc8b1e91c3d
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
2d34c281a9b6ebb9db96fc9ac1092c46d5be6b57 |
|
18-Jul-2010 |
Vasu Nori <vnori@google.com> |
resolved conflicts for merge of aabcd1d3 to master Change-Id: I458594d5ea2fd0735499b2d17aa4c35b81cb0077
|
97fd30388bd6530f86679510cd7b43b9c518bcef |
|
17-Jul-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Implementation for new ContactsContract API Change-Id: I91eb0bc2184f65185a342aa3761afe8549b9e640
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
aabcd1d34a71ad06ee0a9395331540484f1ceb17 |
|
15-Jul-2010 |
Vasu Nori <vnori@google.com> |
add chat_mode to presence_db tables: presence, aggregate_presence Change-Id: I62fc49669217a6136e31164713dc25a5296721ef
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
e3e79030101447da07547647bad225686eb9b8df |
|
19-May-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Preventing unnecessary update of contact visibility at boot time Bug: 2511409 Change-Id: I5191cc424adbaa97648db9cedee6573a16b0232c
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
2149ab82f021c204618d0d3644e261fd7a8d8490 |
|
05-May-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Adding support for contact/lookup/*/#/data URIs Change-Id: I941b6e9c7c47a30bbd975881ba755ba0c5862401
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
dd5c25c65f09ada246c826fb6d04f0b6d4cf4388 |
|
13-Apr-2010 |
Fred Quintana <fredq@google.com> |
move favorites and my contacts group handling to the provider and sync adapter Change-Id: Ia2aa3b7d5ede8ce00adbd957a2cae5d89051cf4c
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
45d8626bf586b5c7111fa86324a7201ae8073607 |
|
07-Apr-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Fixing phone number picker in search mode. The phone number picker crashes if you try to search by something that is neither a name nor a phone number, e.g. "&(./" This is a relatively rare use case for people, but very common for monkeys. The main reason to fix it now is to allow monkeys to continue running and discovering other problems. Bug: 2473955 Change-Id: Ib48e324b4d3ced262cc90a67471a35765742eff1
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
33fd566fb6eebdd40a900c0c8a2f6dca894d7829 |
|
31-Mar-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Cleaning up dangling pointers after account removal. An aggregated contact points at a raw contact that contains the contact name. It also points at a photo row. When we remove an account, we should be fixing up those pointers. That's exactly what is done in this CL. Bug:2557771 Change-Id: I04bc6b23be31ed53b27b48bd2f92eaa1a0838387
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
7ceafd016eb07d2de808d18cd5a9463efaee781d |
|
26-Mar-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Reflecting name/phonetic name change in name lookup Bug: 2152608 Change-Id: I56130e9a2ea0a3e7fc62490caf02040591ce6b19
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
3b10d3a1ed1052dcdf529da370cb71b74164b158 |
|
23-Mar-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Adding phonetic given name to contact name lookup Bug: 2536325 Change-Id: I66c03e118cef1ccf9449010752dd6ee76b9305cc
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
e8d2c8276d6331843410c97751e46fc50b257379 |
|
20-Mar-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Support for Data.CONTENT_URI URI for photos Bug: 2530676 Change-Id: Ibad58c047713fe4e9e13fb0d0ce660f3e852f0a8
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
743eac356404195f236ad44379fe9d180beb5bf2 |
|
19-Mar-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Optimizing the "all accounts" query in ContactsProvider2. Change-Id: Ia6f8d36956397757c7c246585e37462d09c20337
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
b2e27298ae54ec2215eadf98ecc100aedba98d1a |
|
18-Mar-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Storing legacy contact status in the database. We have run into this situation: in a low storage case contacts were converted, but then the new database crashed and was recreated as empty. The import process was not retried because the provider was thinking that the upgrade was successful based on a value stored in shared preferences. Now the value is stored in the target database thus forcing the provider to restart the import process if the database gets corrupted after it's complete. Also, addressing an inconsistency in the provider that could lead to compiled SQL statements being detached from their database. Bug: 2498528 Change-Id: I77e864fa98a86918d31123f4d3488ae1b1b44bc2
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
42aff67de3f0f4b8664a74fe6ff63ae191aa51bf |
|
12-Mar-2010 |
Daniel Lehmann <lehmannd@google.com> |
Ability to create VCards containing several contacts Bug:2501468 Change-Id: Ie28f1617d8ca02539eaf7bff90cc9decfa4e4ac6
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
48786768751cdd9868fb3cf3c82d63f277a54b6f |
|
11-Mar-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Enabling search by phonetic name This will not apply to existing contacts yet. I will do a database upgrade in a following CL. Bug: 2443866 Change-Id: Iee844df16e7cd8b0c0bc8cd19c9a13532589cf38
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
60de6f6c3c70e53b603a47b0efc80993353a8368 |
|
10-Mar-2010 |
Daniel Lehmann <lehmannd@google.com> |
Fix lookup of lookup-keys that are encoded (e.g. Exchange) Bug:2497276 Change-Id: Icc503f48bdb96eac077db9b1279485d0a0034340
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
09c6613dd14cb1911da5d62e39a4e54eb8f4666f |
|
09-Mar-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Adding basic support for the new ContactsProvider status URI Bug: 2498528 Change-Id: I3f27ef0c1cc2efaaef4045f0d03271ae92879ed5
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
08768a0f3434130fa46379c1bbfec93a19094939 |
|
06-Mar-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Making two changes: extracting actual address from an RFC 822 address and making matching case-insensitive. Bug: 2254140 Change-Id: I9827f5646664fc2b744c01cc00bd05617ac06fb6
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
0265a180cf027d149f11f8750652ac67ea08ca24 |
|
05-Mar-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Explicitly closing cursors and databases in ContactsProvider2 and related tests. Change-Id: I70549b9517f38ae53fb59f60851f831768b87615
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
9fcf109b56cec0aad05322a3b4594228ea06d859 |
|
04-Mar-2010 |
Daniel Lehmann <lehmannd@google.com> |
Lookup of contacts with known ID and LOOKUP fixed. Used to be a problem for contacts without names Bug: 2179909 Change-Id: I33bb9e5174d7db81b5502c5bb8f38f861720a104
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
0b1eaf562411ffec26fd9113c3209ebdd29202e1 |
|
27-Feb-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Making all contacts provider tests pass on Sholes (which is missing Chinese Locale) Change-Id: Ibc502525a53eff997a99c43dc7b65f7314b300bf
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
9c6ef008d92017108e3d10dcd8e2146eded9e148 |
|
26-Feb-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Reflecting the rename of contact search snippet fields. Change-Id: I0dec0d2b32c099f39f5f74239c9ba397a6fc414f
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
916f2d7104bfba857412a66b40ed60fea6546222 |
|
25-Feb-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Adding support for contact search snippets Bug: 2447965 Change-Id: Id531ca694173751392961510e1207215113b323d
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
ba2c85b4700fbb3ecaf75e1101735f60b5483527 |
|
17-Feb-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Implementing the "count contacts grouped by first letter of sort key" URI. Bug: 2407129 Change-Id: I42a2977650c167cb55a363830503b69feb7ebdb3
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
31168f49a3da9b9a9d5346f3d6a8098b76179c9c |
|
06-Feb-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Fixing contact lookup by company name and title Bug: 1360100 Change-Id: Ic897ee1cb9e1c11c858b85b4c0c1d364fabccaad
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
4cd13c4266d8e476e1a49c4b6bcd5b18c33d0de3 |
|
21-Jan-2010 |
Bai Tao <michaelbai@google.com> |
a. Fix the issue that the FullNameStyle is not updated when user edits the contact or the contacts being synced. b. Add Chinese sort and search. c. Adds a CJK check for each contact at runtime. per discussion with component owner, will tune performance later after Korean and Japanese features are added.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
e246689441b2ff39cb97de277d6caeec95358863 |
|
13-Nov-2009 |
Jeff Sharkey <jsharkey@android.com> |
Require both or neither ACCOUNT_NAME and _TYPE. In places where Accounts are used, this change enforces that both or neither of name and type are provided. It changes behavior of resolveAccount() to throw instead of returning boolean. Fixes http://b/2258771
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
5dd6d5d4acb93adc05f1fde904080787f2397f51 |
|
21-Dec-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Resubmit: Adding support for new Contacts columns for names and sorting This is in preparation for fixing bugs: Bug: 2075641 Bug: 2021660 Bug: 2164422 Bug: 2267198 Change-Id: I7696abe8c8fd17d8854632cc8e818b9e4d2e643c
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
bca1c8b44f99528fc123d5547723e44771e8e934 |
|
21-Dec-2009 |
Mike Lockwood <lockwood@android.com> |
Revert "Merge change Ief95261a" This reverts commit 003009d47e893df100d4020c708296b23c03d28f, reversing changes made to 5b3b3ec368625c07a2c94d2199a75099d4d9b8a9.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
b0812f94fa50c54d06978cdd65651a487c717dff |
|
19-Dec-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Adding support for new Contacts columns for names and sorting This is in preparation for fixing bugs: Bug: 2075641 Bug: 2021660 Bug: 2164422 Bug: 2267198 Change-Id: Ief95261a0f4e2c78b216a842cad47f42ef2935c2
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
635a11c53a532d9b5aba5fd7c51a8d47dcb0aaf2 |
|
16-Dec-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Adding Name Splitter functionality that works for CJK names. - automatic recognition of name language - the "last name first" full name notation - automatic recognition of phonetic name alphabet - handling of the "Last, First Middle" format - now including middle name and suffix in the full name, e.g. "John K. Smith, Jr." - preserving dot after the suffix This is in preparation for fixing bugs: Bug: 2075641 Bug: 2021660 Bug: 2164422 Bug: 2267198 and merge with eclair-china CLs having to do with sorting using pinyin names. This CL was reviewed as change Id2f042a8 on the eclair-mr2 branch (abandoned). Change-Id: I9e63c70a0aa815319bcb28cc6b753acdcf850245
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
62318e1ea8306142a10526534b7d83560ecf5b3a |
|
07-Dec-2009 |
Fred Quintana <fredq@google.com> |
changed to use the new EntityIterator interface
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
b4e61e064b59e8076df81b061add9fb358fd2ed9 |
|
31-Oct-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
resolved conflicts for merge of 62715245 to eclair-mr2
|
627152453c692915ac79191acd1d2d2a4dd6fb0d |
|
30-Oct-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Making the first account "adopt" contacts created on the phone before any accounts Bug: http://b/2222360 Change-Id: If55205305e0673ab3e22f8da5086a772f9990c22
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
f7f747a00f4fa7a9e564507693419a5a8db0eb8f |
|
23-Oct-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
ContactsProvider2 optimization: two hot spots: parsing query parameters and allocation of Account objects Stats: Baseline: 830 yield points, 72 ms per yp, objects: 964 per yp Optimized: 830 yield points, 72 ms per yp, objects: 772 per yp Change-Id: I467ba6de114bb73bd0725c3c1fb534db0c1425d1
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
d076a108d58b30591f197e1b90fa8de60999c499 |
|
23-Oct-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Removing contact aggregation scheduler. The aggregation is no longer running in a separate thread.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
d0f63551e3147babcebde5326b31285d7bdf6739 |
|
20-Oct-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Optimizing ContactsProvide2: reducing the number of "data" queries during contact insert. Stats: Baseline: 851 yield points, 97 ms per yp, objects: 1265 per yp Optimized: 851 yield points, 79 ms per yp, objects: 1132 per yp Bug: http://b/2198728 Change-Id: I6bc4b59f391ec653db7bd6ceb3e6332b3b2cf928
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
9705f5bcb04c4b3012a762fb3ba8620b518587cc |
|
13-Oct-2009 |
Vasu Nori <vnori@google.com> |
add support to update/delete data in status_updates table. update tests.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
732961a5b936d316482f9ded6bfc5fe1c99a65c8 |
|
08-Oct-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
[Issue 2163519] Making ContactsProvider2 honor the super-primary flag on a photo Change-Id: I92d49bcd95922d0393eee48fc9f81f8e288247f6
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
67c9ed1cefa5c084d3f373d7f1ecb7122983ff15 |
|
07-Oct-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
[Issue 2171774] Fixing the fixStructuredNameComponents() method This is effectively a revert of change dd0e0f44fe403ff201d46d5534f7f1148e5ad729 followed by a proper fix for: [Issue 2160728] Fixing full name update when parts of structured name are deleted Change-Id: I96e990820938ee79a87411eb926d774c951fa768
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
dd0e0f44fe403ff201d46d5534f7f1148e5ad729 |
|
05-Oct-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
[Issue 2160728] Fixing full name update when parts of structured name are deleted Change-Id: I3a206a4cfb09be590bf96476d128791129263742
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
4e8ced99f8bbb01abd610a6ca60afcabb6ffe737 |
|
01-Oct-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
[Issue 2156901] Fixing update of the "starred" flag on raw contacts Change-Id: I737a6e1a428edaa16c108bbbf5d4a461035560d4
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.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/ContactsProvider2Test.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/ContactsProvider2Test.java
|
0a185cdcb65d1beb2a295fffbe2ae11a6a2c097f |
|
28-Sep-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Adding support to ContactsProvider2 for status update attribution Change-Id: Ib98a5fc203a9ce5efb4707b9ce015bd497b8ef10
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
82bd858c9911dfbd8dca52dc276333768b0a429e |
|
28-Sep-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Adding columns to support attribution of status updates. Also renaming some columns to better describe their purpose. Change-Id: I2018079e540dedb2be1b61671742bbe99e92619c
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
a23cd5b6f478f6c9dda54173e84bd0098b9f3364 |
|
24-Sep-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Storing social status updates in a persistent table. Change-Id: Ic6be86385a4e456ae164499aeec40900294fb118
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
7d9fdcf8346f789436148eff1f00e8f49b370ef0 |
|
21-Sep-2009 |
Neel Parekh <neel@google.com> |
Allow updating via raw_contacts/#/data
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
bffeabdf3dcf58f963ad1bb4d3e6e51f3ac16cfd |
|
23-Sep-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
[Issue 2110703] Using triggers to update aggregate contact presence status Change-Id: Ib1f55ddb926ebafd43c7776cad1db10217fc1bfc
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
a5d05d90333a70d471d78e82caeb5cfa2e4d4c59 |
|
21-Sep-2009 |
Tadashi G. Takaoka <takaoka@google.com> |
ContactProvider: Make nickname, company and title searchable. If contact entry doesn't have a name, then nickname, company and title are used as display name in order of preference. Internal Bug: 1360100
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
4e3790e646bce315a1b34c9dc474eb8152c8eea2 |
|
21-Sep-2009 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Fix test breakage as per Dmitri's report. I'm not sure Contacts team is happy with this behavior: the result of comparation changes depending on the config. But anyway, this fix should fix the problem...
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
0be993f8ef0078b9825a5ffe6add08a6786d8dac |
|
21-Sep-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
[Issue 2133143] Updating contact visibility as group membership changes Change-Id: I289bb688958c04f2dd6e89cd0096ece9ed279257
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
48828f54daafda2edb122258c4c6a7d2ca704128 |
|
19-Sep-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Adding support for contacts/data/phones/#, contacts/data/emails/# and contacts/data/postals/# Change-Id: I6f22e419d29b08b9d9e136d700cc4bd8f35a2397
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
89c626eb655440c86a2e5df076e83708c1b32c17 |
|
17-Sep-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
[Issue 2125440] Checking account query parameters for all relevant queries Change-Id: Idf0deeacb556b79ef94774a2cb65b7415b1dea5d
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
f6be85f72615168c836b05c03ab5fc80d4794a82 |
|
15-Sep-2009 |
Fred Quintana <fredq@google.com> |
change to use the new CALLER_IS_SYNCADAPTER flag
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
8c4f838f899daadb6f46f8c27ab7636023e39c38 |
|
12-Sep-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
ContactsProvider2: optimizing structured name update Also implementing a (safe and correct) bulk update of Contacts. Change-Id: I2bc1badccfbccf53a9630503e104d11bec0e6396
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
81d6a78dffd57f24f9aaecb6cd54e4084c3c9846 |
|
11-Sep-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Reducing unnecessary triggering of sync adapters by ContactsProvider2 Change-Id: I280cd6d96a76e8df151ddb43b0f1b783501c4373
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
1e530df9f7e496dc47f77d4323c89bd413b79b64 |
|
11-Sep-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
[Issue 2111706] Fixing email filter, which was stopping after an "@" Change-Id: I4b3a00cc79cc6cc3d1351b5a301a36f6a950d688
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
cb144e1429596701603c016f4a078f6331e6481d |
|
10-Sep-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
[Issue 2108974] Deletion of an aggregate contact will now be synched to the server. Confirmed expected behavior with a unit test and a manual test.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
c100221f706afc08409e8317a27d6850b11c54d3 |
|
09-Sep-2009 |
Omari Stephens <xsdg@android.com> |
Fix typo: IMMEDITATE -> IMMEDIATE
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
01911fa9cfa21f198fd767eedde072acbb879f28 |
|
09-Sep-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
[Issue 1789740] Ensuring that organization is used as a contact display name if name itself is unspecified
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
5e99505757457d11d9388f6d04960e97fc776a59 |
|
06-Sep-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Introducing a more advanced email filter, which will do a proper name lookup Also updating the phone filter to allow the use of a phone number itself for lookup, including the use of keypad letters. It uses the normalized name and avoids returning duplicate results.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
0c0adda32be5de3acf392ab715cff468b6b340f8 |
|
05-Sep-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Fixing contact aggregation exception API.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
70d2ff8c87961703351b223ce8b15342fe795a0b |
|
02-Sep-2009 |
Cynthia Wong <cynthiaw@google.com> |
Add an onAccountsUpdated handler, to delete contacts if an account is deleted.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
af088aeb51685eed17580edc04b495d12232ecf9 |
|
04-Sep-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Removing references to deprecated API
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
a5bfaf55790262eea97de432d9e7f313c219c066 |
|
03-Sep-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Adding a trigger to implement the "removeContactIfSingleton" functionality. Also clearing out name lookup and aggregation exception tables upon deletion of a raw contact.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
25abcf949c0dd826a770b437489b83de48975cea |
|
02-Sep-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
[Issue 2084618] Making the contact aggregator favor better display names.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
1b7a7947242bb3b8caaed871775e62d486144c9f |
|
31-Aug-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Implementing live folders in ContactsProvider2
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
5870f2dcc2ac7715b2c078a886ee346622e7887e |
|
31-Aug-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Adding soft identity to Contacts
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
e2579e029472f76b2dfda141444d775c67da0ec8 |
|
28-Aug-2009 |
Cynthia Wong <cynthiaw@google.com> |
Use the account name and type when we are doing update and deletes on contacts in the provider. Added a test for the delete case.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
ff2de103f7e3eeeff4665ef63f07460fef053d6d |
|
27-Aug-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Removing "summary"-style URIs. We will determine whether to include Presence by looking at the requested projection.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
8e45e5f2142db78941b095f7418cc05b71668094 |
|
26-Aug-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Several changes in Contact Aggregation logic: - The first request to aggregate will run immediately. The accumulation will only begin if the following request shows up within 1/2 sec - Reaggregation will no longer remove and reinsert Contacts. Once created, it will keep the aggregate contact record. The only situations when it will be deleted is a join or removal of all constituent raw contacts. - Data updates and deletes will now trigger Contact update to keep names, photos etc in sync with the constituent data.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
653f73c9417ee0d2cf90e9aacd32848016747cf7 |
|
22-Aug-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
[Issue 2065658] Editing a phone number now updates phone lookup table ... and some optimizations
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
4dcd106ccc27dbbfaae86baf0cd57beb42c27ccc |
|
21-Aug-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Cleaning up Presence API
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
3653cf1fa8fb36a96a7e4a6ebd615438877c3183 |
|
21-Aug-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Adding a "Photo" directory under Contacts.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
e46667e641cd1c60998e1ccab4b60531d5b12ef7 |
|
21-Aug-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Introducing AGGREGATED_PRESENCE - thanks to JSharkey for the idea. This new DB table is maintained in memory and summarizes the presence status and custom status for each (aggregate) contact. With the help of this table, we avoid having to do GROUP BY and MAX(status) when running contacts summary queries. An added benefit is that we can now get the latest custom status update as part of the summary query.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
a6def2055f5d12cb6ee5cc3dc1adaf39f2b7c97c |
|
21-Aug-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Support for data_with_presence URI
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
19a0962e62c13a5e5f8e5b4eed5e30d3477894b4 |
|
21-Aug-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Support for phones_with_presence URI
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
074cf38e39d500e92fa851a171d0378ab2c528c2 |
|
20-Aug-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
A test for ContactsContract.Contacts.getPhotoUri
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
e3eb7ef438010c893c429f3031dcc7298171865d |
|
19-Aug-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Completing implementation of phone lookup API.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
f992bfab334b760d36a053fc0b439382dcfb51ad |
|
12-Aug-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Removing handling of primary phone/email on Contact. Adding code to compute HAS_PHONE_NUMBER on a Contact.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
73776ffd5c00e94db987ee30864e9c7a8396d22d |
|
11-Aug-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
DIRTY flag on Contacts will no longer be set if the query has the ?mark_as_dirty=true parameter. Sync adapters should be able to set their own data on the Data row without triggering another round of syncing.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
94021b213e4db367f60b30fcbfe9019e28571784 |
|
10-Aug-2009 |
Fred Quintana <fredq@google.com> |
add the deleted flag to the groups table
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
4a023070dab9a069be4cac5f5ba5554b66238484 |
|
08-Aug-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Hiding security constraints in SQL VIEWS - first cut. This CL serves two purposes: 1. We hide the restriction checking inside SQL VIEWs, which will prevent security attacks like passing ") OR(1" for selection 2. We gain the ability to use unqualified column names in selections - all columns on a VIEW have unique names.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
3cfe8d532d509fbbe605454e3a32b2361b7e1501 |
|
04-Aug-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Adding columns SYNC1-4 and fixing tests.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
a908fb5f39aa2021662a6cc317cc7e4db2d8bfb0 |
|
04-Aug-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Breaking global search support into a separate class and limiting search results to visible contacts only.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
a01e50cb1a5dd21293f8a8fe43f3fe0bf6349164 |
|
31-Jul-2009 |
Jeff Sharkey <jsharkey@android.com> |
Fix IM constants to match framework change.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
c70dc0e38ff82c6e6d6b7458637c54fbdf446aac |
|
31-Jul-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Reimplementing global search integration in ContactsProvider2. Also fixing bugs in the area of logical deletion of raw contacts and their exclusion from further aggregation.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
226c3dc6e93ca76a84c99100caa31045cba06cf6 |
|
28-Jul-2009 |
Fred Quintana <fredq@google.com> |
- test that query entities works - add a view for the contacts entities query to hide the internal column names from user-provided where clauses
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
61d61cb4d13a33c5581765fb4c0f1b3c0b2cdf4c |
|
28-Jul-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
[Issue 2017273] Contacts Aggregator doesn't maintain state of dirty bit...
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
d3fde755e73cd3912a488e7cb7d412d3c5f6ca94 |
|
28-Jul-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
ContactsProvider2: Renaming Aggregates to Contacts
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
373f7d2adc36680c31ff33e9ee12be865af6b5fb |
|
28-Jul-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Implementing Presence query.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
5ef0401c311c62e53bde415b99cbb0ff83b0a9a2 |
|
28-Jul-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
ContactsProvider2: Renaming CONTACT_ID to RAW_CONTACT_ID
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
1fd9b53d9e5d8ea87b69a51fb084c6f0d9f7c93e |
|
27-Jul-2009 |
Fred Quintana <fredq@google.com> |
add unit tests for the contacts dirty and version trigger and fix any bugs found
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
33b41fdb8d7c3c654cb070799c9d6e2b4ab16078 |
|
27-Jul-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Implementing Raw Contact deletion.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
6cffee46a1334d2b3ed19f436b27638451541044 |
|
27-Jul-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Changing Contacts to RawContacts. The renaming will be done in baby steps and in the order of priorities. Step 1: Contacts->RawContacts and deprecate Contacts Step 2: Once all is converted, remove Contacts Step 3: Aggregates->Contacts, including comments in the API Step 4: Tables and fields Step 5: Comments in the implementation code Intermediate steps will be pretty ugly, but the result will be glamorous. I hope you are all still ok with "RawContacts"
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
70b5ee6864cb3368d24a9e876fb93008997b12df |
|
25-Jul-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Compatibility support for Presence
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
20a94c86ede7380c8dd8df2f6a72b3c00ac1bed8 |
|
24-Jul-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Fixing bulk update and delete of contacts data.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
9261b2141aa90a4fed632fd6da03026d4c216280 |
|
14-Jul-2009 |
Fred Quintana <fredq@google.com> |
- add the DIRTY and VERSION columns to the ContactsProvider2 Groups contract - make the CP2 allow adding group membership rows with only a sourceid in which case it will lookup the group row id, creating a group row if necessary - added test cases
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
|
28f8857b1b46bde18b85c6d3c2a63ac44c3c2e1c |
|
08-Jul-2009 |
Evan Millar <emillar@google.com> |
Merge commit 'goog/eclair-dev' into merge3 Merged the new contacts content provider into goog/master. The old and new content providers now live side by side under separate authorities. Conflicts: Android.mk AndroidManifest.xml res/values/strings.xml
|