History log of /packages/apps/Settings/tests/robotests/src/com/android/settings/search/InstalledAppResultLoaderTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5035f8c5590a8eea7bf372a325a4aa0ee1e96149 03-Aug-2017 Fan Zhang <zhfan@google.com> Move a11y indexing from DynamicContentMonitor to loader

This is necessary to kill DynamicContentMonitor later

- Removed all logic related to indexing accesiblitysetting from the
monitor class and AccessibilitySetting page itself
- Created a loader to search against A11yServices at runtime

I noticed adding a loader in SearchResultsAdapter is rather manual. It's
something we should consider refactor in the future.

Bug: 64310452
Test: robotests
Change-Id: Iff31aff65ce000991229433f294e2ec69af99da2
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/InstalledAppResultLoaderTest.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/InstalledAppResultLoaderTest.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/InstalledAppResultLoaderTest.java
0d8e1f23cbec501eab0f6fc8a287c60aad3c750e 07-Jun-2017 Fan Zhang <zhfan@google.com> Include home app when searching installed apps

Change-Id: I4677307bb23f03ed7fb224c32312be7cb114763d
Fix: 62221174
Test: make RunSettingsRoboTests
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/InstalledAppResultLoaderTest.java
683ccdf97bd8b3ed30b7014f2df17227cff92561 25-May-2017 Soroosh Mariooryad <soroosh@google.com> Move static search ranking from DatabaseResultLoader to Search Adapter.

This will avoid unnecessary static ranking if smart ranking is used.

Since loader does not need to provided sorted collection of results,
the loading data type has changed from List<> to Set<>. This will also
faster lookup in the Adapter.

Fixes: 38447799
Test: make RunSettingsRoboTests

Change-Id: I448b29bd4e8700c8ec4b5766cbeab4b3087ae39a
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/InstalledAppResultLoaderTest.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/InstalledAppResultLoaderTest.java