• Home
  • History
  • Annotate
  • only in /packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
History log of /packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cb43f107170eaabe4a14bf4046262745c628ac73 04-Jan-2017 Marcus Hagerott <mhagerott@google.com> Remove getGroupWritableAccounts method

This method would block on accounts loading. Replaced with asynchronous
loading of the group writable accounts.

Test: manually verify that labels are still shown in nav drawer

Bug 33627801

Change-Id: If1b344d5bfee59dd5b8cc5446b02742ceec1f459
ockAccountTypeManager.java
107cd7a225eccad56dfe12ca6d32908e651b27ac 22-Dec-2016 Marcus Hagerott <mhagerott@google.com> Replace getAccounts method with blockForWritableAccounts

This makes it more explicit that the method may block and should be
avoided.

Test: ran GoogleContactsTests

Bug 33627801

Change-Id: Idaffc3f0f6c986e21701f661d46b39ee8cbcc0a1
ockAccountTypeManager.java
8e07bb51dd5ac57c87d4ce4ec2aa6712b88d0182 27-Dec-2016 Arthur Wang <wuwang@google.com> Fix the ContactsTests building errors at google3 side.

bug:33665717
Change-Id: Idf25e85105df5a6c248d6e9c30fdfee26a495c0d
ockContentProvider.java
2054306415223d2f68972d8f663334c2956edd38 20-Dec-2016 Marcus Hagerott <mhagerott@google.com> Unsuppress SIM import UI test

Test: ran GoogleContactsTests
Change-Id: I52e286c35a7b3f95bc2d8ed469b9e4bf473f8f64
orwardingContentProvider.java
75895e73379aa26a3d4135c772af4ecb8a79b4c9 13-Dec-2016 Marcus Hagerott <mhagerott@google.com> Add AccountInfo class

This holds the AccountWithDataSet, AccountType and AccountDisplayInfo
for an account because many usages of accounts need all three of these.

Test: manually verify that accounts in nav drawer are correct

Bug 33627801

Change-Id: I39962f9945714aa7ce48aca97f220f119a1741cd
ockAccountTypeManager.java
e7a71cbbe8929a9d8a7ca0a3b5668646d49a611a 10-Dec-2016 Marcus Hagerott <mhagerott@google.com> Load accounts in background for SIM import

Test: manually verify SIM import screen displays accounts and preserve
checked state after rotation

Bug 33627801
Change-Id: Ie6545785db95febacff8c4fab2734ff7cdbb351c
ockAccountTypeManager.java
04be88c2bec8d0a0cc9e1f4f0af3b3a2ff8ac4e7 07-Dec-2016 Marcus Hagerott <mhagerott@google.com> Query for accounts on-demand in AccountTypeManager

This ensures that the list of accounts will be up-to-date.

Test: ran unit tests

Bug 33627801
Change-Id: I9ab87cde44dd6ec642db0a84781439898b18b86a
ockAccountTypeManager.java
881ffc06e71730db2e6f8e306333241d8ca64bf8 09-Dec-2016 Marcus Hagerott <mhagerott@google.com> Remove support for invitable account types

This is no longer being used and reduces the complexity in
AccountTypeManager significantly.

Test: ran the unit tests
Change-Id: I03bbd1a2cd232316d2787d64373f65ad3308bd9d
ockAccountTypeManager.java
f0e140aec2f5832a517243084bea626011be9c39 06-Dec-2016 Marcus Hagerott <mhagerott@google.com> Remove some methods from AccountTypeManager

This will make it simpler to do additional refactoring.
Test: built GoogleContacts app

Bug: 32028702

Change-Id: I51939d1b841eaf250cb75e198ea561b944deff1f
ockAccountTypeManager.java
0a49afa2ad697307cc04ef4cb86570574fa720f2 06-Dec-2016 Gary Mai <garymai@google.com> Collapse common package (2/2)

Ran optimize imports on the project as well to re-order everything
which would have changed because of removing common.

Test: Built GoogleContacts, GoogleContactsTests, Contacts,
ContactsTests and ran unit tests.

Bug: 33252370
Change-Id: I881f0ba8b8fef002b6eeefa9a16b34f15b2fd2a9
ontactsMockContext.java
ontactsMockPackageManager.java
ockAccountTypeManager.java
ockContactPhotoManager.java
ockContentProvider.java
ockSharedPreferences.java