History log of /packages/apps/Settings/tests/robotests/src/com/android/settings/search/SearchResultBuilderTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4e7bd693b20b471f1d170909e9609fe5c97a72f0 14-Jul-2017 Fan Zhang <zhfan@google.com> Misc search fix

- Remove incorrect summary from set date/time
- Remove some unused resources
- Remove ability to clear individual search history
- Add remove all query history menu item

Change-Id: I4383d075310297163fd2206d1a5b9c8f4ed94078
Fix: 62741488
Fix: 31589605
Test: robotests
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/SearchResultBuilderTest.java
9f1e911759dc6fedaac9fa65afb79f6a93022bf4 09-Jun-2017 Andrew Sapperstein <asapperstein@google.com> Refactor test runner to use static list of resource paths

Previously everything lived in an inner class method of
SettingsRobolectricTestRunner. That method has now been turned into
a static method so that it can be called by other runners.

Bug: 62460102
Test: robotests
Change-Id: I6612b1f26404587301c534c8ba60e39d59d6c840
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/SearchResultBuilderTest.java
6efea1e624bb4b48290000cfdb82df224a31b81d 13-May-2017 Matthew Fritze <mfritze@google.com> Update Settings search result unique ids

- SearchResult stableIds are now DocIds from the database
- DocIds are data reference key's hash, when the key is not
empty or null
- Otherwise, DocIds are a hashcode from a set of fields.

Change-Id: Id36f7bf4ceaaa3a2bd326ecafbfe97fd0b247df2
Fixes: 37327194
Test: make RunSettingsRoboTest
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/SearchResultBuilderTest.java
2078bc2358031ef3a191900d9036daf4251911c1 22-May-2017 Matthew Fritze <mfritze@google.com> Remove search2 package and put everything into search

Change-Id: Ie8651c79ef023f154cd7120a88a20f3481abce2b
Fixes: 38502743
Test: make RunSettingsRoboTests
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/SearchResultBuilderTest.java
3746d9e25f2805b16b69eb7420a629fc66f6a788 17-Mar-2017 Matthew Fritze <mfritze@google.com> Build Intents at index time

In order to index Intents into Icing, they need to be
built at Index time rather than at Search time.

Test: make RunSettingsRoboTests
Bug: 36443380
Change-Id: Ia731b5038380bb658232e2e175f52a81d86d7e02
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/SearchResultBuilderTest.java
d5b48454a38cbc21efce91736ebd2895c6deae58 13-Dec-2016 Fan Zhang <zhfan@google.com> Build a new FooterPreference UI.

- Create a new layout for footer prefs.
- Create a new FooterPreference type to use the layout
- Create a Mixin to create and add the pref to screen
- Create a new lifecycle observer type to invoke mixin at right time
- Switch SettingsPreferenceFragment to use footer mixin.
- Switch FingerprintSettings to use the new footer pref.

Bug: 33579394
Test: RunSettingsRoboTests
Change-Id: I548ac39a0d120196a7ffed09b4f98bd9a80bae90
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/SearchResultBuilderTest.java
12daf6830de241cc86408f904300ff0bdee02a9c 09-Dec-2016 Fan Zhang <zhfan@google.com> Handle tap on intent based search results.

Also fix how icon is loaded. IconResId is specific to the package of the
indexed result. If result comes from external app, icon needs to be
decoded against the external app's package context.

Bug: 33432310
Test: RunSettingsRoboTests
Change-Id: Ia0c53e63be757405dfaeceb2d865e7d8de87c5ee
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/SearchResultBuilderTest.java
36d0d143be78e234e7c92897cb63458279d6549b 07-Dec-2016 Fan Zhang <zhfan@google.com> Add search loader for installed apps.

- The loader filters out system apps.
- Loader performs case-insensitive match with app names.
- SearchResultAdapter combines results from multiple loaders into a
single list.

Fixes: 33347966
Test: make RunSettingsRoboTests
Change-Id: I228ca6fb82f0ac5151b2346c079c2de41104a4df
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/SearchResultBuilderTest.java
0ed37c351333429f58e1561fcb8e6af9c2041507 24-Oct-2016 Matthew Fritze <mfritze@google.com> Fork Search code to independantly develop and test search.

This is the start of the new search in Settings. It is a nearly complete
replacement of the old search code in a more modular and flexible
architecture. It is expanding the datasources that it queries, including
the same Settings database, which will now include more first party apps
and be extended to support inline results where the user can change
settings directly from the search view. Search will also fan out to
query new sources (local or remote), and is built in a way
such that adding additional sources is roughly the same amount of work
had they been added in the initial writing of this code.

Query interpretation will now be source-dependant, allowing for future
upgrades to fuzzy search where it is applicable.

Change-Id: Ib0bac1fe92bf8a662d33abf9a99bb6ee2090ec8f
Fixes: 32115225, 32378927
Test: make RunSettingsRoboTests
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/SearchResultBuilderTest.java