57a0e98eed836b72dd3dc3540b9cac029266ed7c |
|
25-Mar-2017 |
Wenyi Wang <wenyiw@google.com> |
Add isLoggable checks to all verbose and debug log outputs (1/2) Bug: 6813854 Test: built apk and verified log is seen in logcat Change-Id: Ib17cac0d2d9553276c4271221110305ab2d70a46
/packages/apps/Contacts/tests/src/com/android/contacts/tests/testauth/TestSyncAdapter.java
|
574601f587dbc33bdd3cd5ea9faec72e9161bac3 |
|
18-Sep-2016 |
Walter Jang <wjang@google.com> |
Add basic ContactsDataKind to ContactsTest (1/2) * Use the same icons for the test app as the regular app so that custom QuickContacts actions have it. * Make a copy of the fallback xml and add a ContactsDataKind to it * Update the TestSyncAdapter to add the custom mimetype data row for null contacts that it sweeps up. Test: Add null contacts, add test accounts, grant contacts permission to test account, toggle contacts sync for test account Bug: 31549157 Change-Id: I59f0798c286e7043e0b40ca02f4336533534fae7
/packages/apps/Contacts/tests/src/com/android/contacts/tests/testauth/TestSyncAdapter.java
|
98d41d714f8631e0988624df5b566eb62d63a8e5 |
|
15-Sep-2016 |
Walter Jang <wjang@google.com> |
Fix the ContactsTest account type and sync adapter (1/2) * Add TestSyncService$Basic to the AndroidManifest and give it the fallback account type unit test contacts.xml. * Remove "common" from the testauth package name * Change the test accountType to end with testauth.basic instead of authtest.basic since it's testauth everywhere else. * UI changes - Give the test account type the same name as the app - Remove the ic_contact_picture test account type icon since it just looks like a black square and we can just use the default (after we add a guard against null icons in the DrawerActivity) Test: manually add a user of the test account type and toggle sync, then add a contact of the test account type in the app. Bug: 30759296 Bug: 31549157 Change-Id: I363fff8dfbce3d2d1b888e23abe6e20a40da2d1c
/packages/apps/Contacts/tests/src/com/android/contacts/tests/testauth/TestSyncAdapter.java
|
428f008513d1591cc08fcfe2cf0c9237fb313241 |
|
14-Nov-2012 |
Chiao Cheng <chiaocheng@google.com> |
Move dependencies of AccountTypeManager into ContactsCommon. Moving dependencies in preparation to move AccountTypeManager. Bug: 6993891 Change-Id: I804cdbe64b9b8111ed286037943d593e11dc4044
/packages/apps/Contacts/tests/src/com/android/contacts/tests/testauth/TestSyncAdapter.java
|
dcf751d75ad5d31620a4216d8c53fd59525e8bd8 |
|
18-Oct-2011 |
Makoto Onuki <omakoto@google.com> |
EditSchema parser for ExternalAccountType This also includes: - Removed getHeaderColor/getSideBarColor from AccountType - Implemented a test authenticator/sync adapter in the test apk. This defines a test account type "com.android.contacts.tests.authtest.basic". We could potentially add more account types to the test apk to test different edit schema variations, but at this point this is impossible, as ExternalAccountType doesn't have a way to tell which contacts.xml belongs to which account type. The current contacts.xml defined here builds the fallback account type equivalent. The sync adapter is pretty rudimentary; it doesn't clear the isDirty flag on modified raw contacts or delete raw contacts with isDeleted set. At this point this doesn't seem to be necessary to test EditSchema. Note: For now it's still not meant to be public API. Right now it's only manually tested with the edit schema defition in the test apk described above. Bug 5381810 Change-Id: Ifefdb969b4e08775125924b1366d24effc4db2f2
/packages/apps/Contacts/tests/src/com/android/contacts/tests/testauth/TestSyncAdapter.java
|