History log of /packages/apps/Dialer/tests/src/com/android/dialer/calllog/CallLogGroupBuilderTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a46ed83a7ccba16bbfd791a3a6588d5f0add9526 31-Mar-2016 Brad Ebinger <breadley@google.com> Add via number to CallLog Account entry

Call Log now provides the phone number that an incoming call was
received on if that number is different than the SIM subscription
number. This "via number" is appended to the Phone Account of the Call
Log entry in Dialer if it exists.

Screenshots:
- One PhoneAccount: http://screen/HuCSL0U6jU6.png
- Multiple PhoneAccounts: http://screen/pDg8F9zpMei.png

Bug: 25594198
Change-Id: I8c05ea98409e54d20493fbdb20096bf851480719
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/CallLogGroupBuilderTest.java
17df9323e45ae5984b6df25b788a9cbffb51e8ab 11-Mar-2016 Brandon Maxwell <maxwelb@google.com> Removing hardcoded database column name

+ We were previously hardcoding the post_dial_digits column name.
This code was written before we had src-N and src-pre-N folders.
+ This CL converts the hard coded column name to follow the pattern
we have for new stuff in the SDK.
+ Additionally, this CL removes an unneeded method which checks the
SDK version, instead using the CompatUtils class.

Bug: 25021389
Change-Id: I017d47f7efd323254e616a64d7ac824c5cfb8902
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/CallLogGroupBuilderTest.java
6b0056f348e1f9ecf0f91b53b51d240961bc8313 18-Feb-2016 Sarmad Hashmi <mhashmi@google.com> Update call log adapter and related files for archived voicemails.

+ Populate CallLogAdapter items with different data depending on
whether it is in the voicemail archive activity or not
+ Added addVoicemailGroups method to CallLogGroupBuilder so that every
voicemail is put into an individual group
+ Voicemails grouped differently than regular calls, so added
changeCursorVoicemail in GroupingListAdapter
+Fix CallLogAdapter tests and add test for archive adapter

BUG=22797391

Change-Id: Ib8387c5b3ab8c5e39876cfaf20fde5a44295f152
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/CallLogGroupBuilderTest.java
b2e474522fb943a1703875ca45e9cb2b0a303f63 01-Dec-2015 Hall Liu <hallliu@google.com> Add checks for post-dial functionality to avoid breaking tests

Bug: 25929524
Change-Id: I21b00d18e06960add576f8f3a2d01583abadaa17
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/CallLogGroupBuilderTest.java
35e44d4b757427a240e8764467bdd220e2124473 15-Oct-2015 Hall Liu <hallliu@google.com> Added support for displaying/redialing post-dial

Append dialed post-dial digits(if any exist) to the displayed number
and changes the intent sent by the redial button to include the
post-dial digits.

Bug: 24955678
Change-Id: I0ec2cb2d5504f7fd715132eba7d969ff284e23d1
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/CallLogGroupBuilderTest.java
42e25341043525b7f9bc991dfe1afba7846b4f5f 03-Oct-2015 Andrew Lee <anwlee@google.com> Group blocked calls separately in call log.

+ Group blocked calls separately from other call types, but group
adjacent blocked calls together.
+ Add unit tests.

Bug: 23943480
Change-Id: Iffe6fac800007f6b88e0feb15d91c63515e496f8
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/CallLogGroupBuilderTest.java
838988bf34229b33ed39bb7dc7109427da264c81 26-Sep-2015 Andrew Lee <anwlee@google.com> Add BLOCKED call type and util to mark in call log.

To support call blocking, added BLOCKED call type.

Also added utility to be able to mark the most recent call from a
number as BLOCKEd in the call log database.

Added REJECTED call type as well. This is not presently used within
our application, but we want to reserve the integer, anticipating
changes in the framework to add this constant.

Introduced AppCompConstants, because BLOCKED and REJECTED call type
values will not be defined as part of the API on M devices. Change
existing call type constants to reference this compatability class.

Bug: 24341350
Change-Id: I523ebd8dd1844a3b71a69a14bd38073be5940804
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/CallLogGroupBuilderTest.java
b64e0936146393d55398f008d09c06b8ddf7ae7f 15-Sep-2015 Andrew Lee <anwlee@google.com> Fix GroupBuilder Tests.

There was a change in assumptions where groups are added for
standalone elements, but missed updating the unit tests for the
GroupBuilder to reflect those changes.

Bug: 23640774
Change-Id: I89576bd003119ce1da675181adbf557e7b996057
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/CallLogGroupBuilderTest.java
0599e880630892becf1a1991e6712e0e6d9df3c8 25-Aug-2015 Andrew Lee <anwlee@google.com> Rewrite grouping logic in Dialer.

- Remove expand/collapse and item type logic in GroupingListAdapter.
Losing some potential functionality, but it does not adversely
affect how we currently group, and makes grouping easier to
understanding.
+ Rewrite GroupingListAdapter to provide O(1) lookup for group size
and getItem. This requires maintaining a SparseIntArray of metadata
for each list item. Cut metadata storage from long to int, to help
adjust for the larger memory overhead.
+ Simplify the logic for building and maintaing the metadata in the
GroupingListAdapter, offloading much of it to the SparseIntArray.
+ Explictily add all groups, including groups with single items,
in the CallLogBroupBuilder.
+ Tidied up logic in CallLogGroupBuilder to make it more intuitive
what cases it's handling and what's happening.
+ Updated tests to work and pass with new tests.

Bug: 23422274
Change-Id: Ia7a00c4b580813cade87fdc054ffdd702f59c12c
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/CallLogGroupBuilderTest.java
8600473ba2ebdeb90c52545c42ef910054a810d4 16-May-2014 Tyler Gunn <tgunn@google.com> Fixing build error caused by missing implementation in test class.

Bug: 13962594
Change-Id: I92b3da51069f4299ef056fdfa6abdcf63c5549c1
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/CallLogGroupBuilderTest.java
f517e7bb367d1ed749b500959d0a0a1ba8c3d5e5 03-Jul-2013 Christine Chen <christinech@google.com> Remove CallLog New and Old sectioning.

Bug: <5751629>
Change-Id: I1689fa10f285bc66fc69b6a9b9da139ce5461d83
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/CallLogGroupBuilderTest.java
94b10b530c0fc297e2974e57e094c500d3ee6003 18-Aug-2012 Chiao Cheng <chiaocheng@google.com> Initial move of dialer features from contacts app.

Bug: 6993891
Change-Id: I758ce359ca7e87a1d184303822979318be171921
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/CallLogGroupBuilderTest.java