History log of /packages/apps/Contacts/tests/src/com/android/contacts/ContactsLaunchPerformance.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e0b2f1e2d01d1ac52ba207dc7ce76971d853298e 12-Jun-2012 Chiao Cheng <chiaocheng@google.com> Global import order fix.

Changed import order to be in accordance with style guide:
http://source.android.com/source/code-style.html#order-import-statements

Static imports will be placed at the top since most existing files used that
convention. It is also a style that can be handled by both eclipse and intellij.

Change-Id: Ia7013c7a2d88e5fefb8f4975d121f7fcd3fcc462
/packages/apps/Contacts/tests/src/com/android/contacts/ContactsLaunchPerformance.java
3b61694370e6a4e657178fae266a6f486b1ed6b0 01-Apr-2010 Guang Zhu <guangzhu@google.com> revive contacts launch performance tests & also add the test for dialer UI

this is part of a larger effort to collect app launch performance for the platform.

Change-Id: Id8f881f81a32acdcfc930e214d2910f79508c4cb
/packages/apps/Contacts/tests/src/com/android/contacts/ContactsLaunchPerformance.java
309e89f36aeca6d6a81e13ea95b7e4af6e491073 28-Jul-2009 Jeff Sharkey <jsharkey@android.com> Add AugmentedEntity.buildDiff() code, with unit tests.

Another step along the way to editing contacts, this change
implements building the ContentProviderOperations needed
to "diff" an existing Entity to match an edited state.

Most work is done by AugmentedValues.buildDiff(), which
builds the insert, update, or delete operation needed to
match its internal "after" state. AugmentedEntity builds
up the list of all operations from its direct values and
any children.

When changes are made, an "enforcement" action is added to
verify that the RawContacts.VERSION matches the "before"
Entity. If this test fails, someone else (probably a sync)
has touched the Contact, and our entire operation is rolled
back, allowing us to re-read the base Entity and retry.

This approach also handles inserting an entirely new
RawContact, which removes the need for separate create() and
save() methods in our edit UI.

Finally, two batches of unit tests have been added. The
first batch verifies the Parcel'ing of AugmentedEntity
objects, which is used across configuration changes, and
when applying changes over a re-read Entity. The second
batch verifies the expected ContentProviderOperations that
various buildDiff() calls should produce.
/packages/apps/Contacts/tests/src/com/android/contacts/ContactsLaunchPerformance.java
7aa0e4cb91c869108238733ca107d18ccb888df7 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/packages/apps/Contacts/tests/src/com/android/contacts/ContactsLaunchPerformance.java
cefa28cded1cd8d1af1a27ee934aedc65394b8dd 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/packages/apps/Contacts/tests/src/com/android/contacts/ContactsLaunchPerformance.java
5dc3b4f80f38c0d48601f66c2c0e551474a7f8ad 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/packages/apps/Contacts/tests/src/com/android/contacts/ContactsLaunchPerformance.java