History log of /packages/apps/Settings/tests/robotests/src/com/android/settings/search/IntentSearchViewHolderTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ae0dbe3e1355ae81d12fbfd823f3e0b510a11b7d 28-Jul-2017 Fan Zhang <zhfan@google.com> Merge "Query search result intent before launching to avoid crash" into oc-dr1-dev
am: 9f93faf7ae

Change-Id: I596f52f4db123c3df485a1a194966771706650db
add4b5c413fe1125e9efca7c9ee9579dae0d48bb 28-Jul-2017 Fan Zhang <zhfan@google.com> Query search result intent before launching to avoid crash

If intent cannot launch, log error.

Change-Id: Ib6f37da467749be1ef09e6665dcab122e71a52d3
Fix: 64065678
Test: robotests
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/IntentSearchViewHolderTest.java
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/IntentSearchViewHolderTest.java
9f3f5f4fed23eac98cf7441c025fd6100e020ed2 12-Jun-2017 Tony Mak <tonymak@google.com> Fix searching work app in settings

Test: m -j RunSettingsRoboTests
Test: Observe search result with badged icon and showing work app info
when tapping on it.
Test: personal app search result is still working
Test: Non app search result is working

Fix: 62366873
Merged-in: I333372699b263d02cc4083289dc746c7aacd414d


Change-Id: I333372699b263d02cc4083289dc746c7aacd414d
(cherry picked from commit 3bef8ce30a43d068aafd4756dc2db7eb9f869781)
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/IntentSearchViewHolderTest.java
3bef8ce30a43d068aafd4756dc2db7eb9f869781 12-Jun-2017 Tony Mak <tonymak@google.com> Fix searching work app in settings

Test: m -j RunSettingsRoboTests
Test: Observe search result with badged icon and showing work app info
when tapping on it.
Test: personal app search result is still working
Test: Non app search result is working

Fix: 62366873

Change-Id: I333372699b263d02cc4083289dc746c7aacd414d
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/IntentSearchViewHolderTest.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/IntentSearchViewHolderTest.java
71af32a2180de9c297fca0eadc160ee5d077c2bd 06-Jun-2017 Fan Zhang <zhfan@google.com> Fix master build

Caused by bad merge from ag/2360433

Test: make RunSettingsRoboTests
Change-Id: I3fb55768686a6edc56dee60421c116dcf590239f
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/IntentSearchViewHolderTest.java
6ab30cf253b7fe262c3b42d608f4be705dc785be 06-Jun-2017 Matthew Fritze <mfritze@google.com> Merge "Check for dynamic summaries at display time for search" into oc-dev am: 2046c59b77
am: 74eda7150b

Change-Id: Id496fc3d44f5103c65aa7b4de8ebcfab54f5de7b
0b4b7166275294e78d5afea4e24038050cce5205 06-Jun-2017 Matthew Fritze <mfritze@google.com> Check for dynamic summaries at display time for search

In order to hide dynamic summaries which use SettingPref,
we check if the summary is equal to "%s".

This is a temporary, band-aid fix which should be
changed in the next release.

Bug: 36101902
Test: make RunSettingsRoboTests
Change-Id: I6cadb3ba68f09ba18ad9a6d2a817804c5d4a08e5
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/IntentSearchViewHolderTest.java
733bbf7c347d35866668205e5faf24db874f633a 20-Apr-2017 Soroosh Mariooryad <soroosh@google.com> Updating the search ranking API and some improvements:

- Ranking API is modified to run the ranking asynchronous to the main thread.
Therefore, it can now run in parallel to loading the results from DB
which decreases the overall latency.
- Ranking API now supports reporting failure from the ranker
implementation side.
- Settings that are not ranked by the ranker algorithm are now ranked at
the end of the list. This is added for dynamic settings (e.g., apps).
- Failure handling mechanism is added for cases that ranker catches an
exception or it takes a long time to respond.

Bug: 37312700
Fixes: 36866337
Fixes: 36867476
Fixes: 36866736
Fixes: 36866838

Test: RunSettingsRoboTests

Change-Id: I3a2a97e3a07a8d4afbb090061d92172a27588ee7
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/IntentSearchViewHolderTest.java
012028e3a320dd3eeca3c39f0e47c1c40697bdf6 26-May-2017 Fan Zhang <zhfan@google.com> Misc logging changes

- log search result count, rank when clicking search result.
- log app package when default app is changed

Change-Id: Idd11bd67caba2beaa59c65839c40db8c71787388
Fix: 62072727
Test: make RunSettingsRoboTests
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/IntentSearchViewHolderTest.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/IntentSearchViewHolderTest.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/IntentSearchViewHolderTest.java
5416a5992bceb91bd3eda63629ba5420a714747b 03-May-2017 Matthew Fritze <mfritze@google.com> Only add icons to settings items with icons

Currently the icon for the category of setting is used for
each setting result. Change it to only add an icon when
it exists in xml.

Bug: 37858983
Test: make RunSettingsRoboTests
Change-Id: Ib95e76c5a9ba2e73738cea716d72c5994a6aa0ba
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/IntentSearchViewHolderTest.java
9615f82abf4164e153fe45cc5e4b0be306c59200 05-May-2017 Matthew Fritze <mfritze@google.com> Prevent non-blocking whitespaces from showing up in search

When search results use the placeholder summary text,
it becomes non-breaking whitespace. If that is the
summary, set the visibility to gone.

Change-Id: Ic3987a0990c33b6cc5aabffa0782ece6c553784a
Merged-In: Ifefa785b6c56d56da73ca78d874f46efcb9e991f
Fixes: 38029215
Test: make RunSettingsRoboTests
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/IntentSearchViewHolderTest.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/IntentSearchViewHolderTest.java
8fc4e819a272d80bd2e8f2ed305a165154c46783 16-Feb-2017 Fan Zhang <zhfan@google.com> Log search result click and its rank.

Bug: 34975477
Test: RunSettingsRoboTests
Change-Id: I86e72dbd27ac5daeafa4fb35ad55662de7b3eca9
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/IntentSearchViewHolderTest.java
248d95c61809b253eb16fb1d597ed5e2f83ada78 21-Jan-2017 Fan Zhang <zhfan@google.com> Add basic breadcrumb on search result.

- Some line formatting
- Some UI tweak to make it more polished
- Updated the way we generate docid
- Use screen title as leaf level breadcrumb and display on UI (TBD how
to get parent level titles)
- Hardcode breadcrumb for installed app results

Bug: 32936784
Test: make RunSettingsRoboTests
Change-Id: I18e0780f91b1123bbf25cd99adf2e2a5f684a83c
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/IntentSearchViewHolderTest.java
39f4f6ee603d380b324d9697f1e138a2a16722dc 10-Jan-2017 Fan Zhang <zhfan@google.com> Add logging to search fragment.

- User leaves screen without any query
- Number of results clicked before leaving screen
- Event of each result click

Bug: 34204146
Test: RunSettingsRoboTests

Change-Id: I357fbb4cdfd4d02370791b4a2ddeb2127fdddf97
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/IntentSearchViewHolderTest.java
65fb01b520a8eace6c5670c06e6ba5f81ab609af 15-Dec-2016 Matthew Fritze <mfritze@google.com> Add first inline switch result.

Adds gestures as Inline switch results to Settings Search.

Change-Id: Ie9b69ac2a54756d5b756401e348cae0a02c907c9
Fixes: 33669037
Test: make RunSettingsRoboTests
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/IntentSearchViewHolderTest.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/IntentSearchViewHolderTest.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/IntentSearchViewHolderTest.java