summaryrefslogtreecommitdiffstats
path: root/packages/DocumentsUI/tests
Commit message (Collapse)AuthorAgeFilesLines
* Enable apps to exclude their own roots from the DocumentsUI roots list.Ben Kwa2015-06-101-0/+25
| | | | | | | | | | - Add DocumentsContract.EXTRA_EXCLUDE_SELF (boolean extra) - Add code to DocumentsActivity to cache the providers of the calling app if EXTRA_EXCLUDE_SELF is set on incoming Intents. - Add code to RootsCache to exclude roots from the calling app. - Add code to allow only system apps to use EXTRA_PACKAGE_NAME. Change-Id: Ia7cc2a1a297676c7b26f6e583042a4607d8c9a4e
* Cherry pick beefed-up error handling in the CopyService from master. DO NOT ↵Ben Kwa2015-05-042-146/+244
| | | | | | | | | | | | | MERGE Send copy errors to the destination provider. Big overhaul of tests to make them simpler. Test that errors during copying are detected and partial copies are cleaned up. Test that copying empty directories works properly. Change-Id: I3fe0e73bdc92c2b6f522857ca5631f6d03d5a666 (cherry picked from commit dae8c378d6c680ae9efa8e1202d9bc92fb0dfb11)
* Implement some tests for com.android.documentsui.CopyService.Ben Kwa2015-04-213-60/+482
| | | | | | | | - Add a unit test for CopyService. - Make some changes to StubProvider to make it more configurable, for testing. Change-Id: I3d726099feaf6b7a3fdd40bf2449f4ee3e848d77
* Add support for notifying about child changes in StubProvider.Tomasz Mikolajewski2015-04-131-12/+21
| | | | Change-Id: I256856a2bbefa6d831e6b912583eca86eeb03ba7
* Add support for opening files in StubProvider.Tomasz Mikolajewski2015-04-131-47/+58
| | | | Change-Id: Ia3df58850cc3df24dc310b29035a41fb75eadeff
* Add support for removing files and directories in StubProvider.Tomasz Mikolajewski2015-04-131-2/+30
| | | | | | Along the way it updates clients about changes in used storage. Change-Id: I02fb1333e1f97f1476b87310a27b75d99fa00854
* Simulate running out of space in StubProvider.Tomasz Mikolajewski2015-04-131-5/+76
| | | | Change-Id: I0a069c07bcf8784aeb5c5993d90d0a6db6e2afb1
* Add StubProvider::isChildDocument().Tomasz Mikolajewski2015-04-081-1/+17
| | | | Change-Id: Ib17df4307c1f658c42468f86e1f66d4469eefe58
* Add an initial version for a StubProvider for DocumentsUI.Tomasz Mikolajewski2015-04-082-0/+192
| | | | | | It will be used for testing as well as for development. Change-Id: I1556836e1070d9e4483d2574bba40aa2fdfde229
* Fix broken tests in DocumentsUI.Tomasz Mikolajewski2015-04-081-1/+1
| | | | Change-Id: Ia41eda4d9f500882ca7eb62b13a4bca60978bc33
* Disabled states, more UX work, bug fixes.Jeff Sharkey2013-09-091-1/+1
| | | | | | | | | | | | | | | | | | | Fix drawable state to correctly show dimmed disabled state. Update disabled state for all children to grey out text. Block multi-selection of documents not matching MIME filter. Load thumbnails in parallel. Show thumbnails in list mode based on MIME type to match spec. Give each footer a unique view type to avoid recycler crashes. Show breadcrumb icons in recent create paths. Fix timestamp bug when querying/updating recent paths. Make ContentProviderClient.closeQuietly() really be quiet. Bug: 10668364, 10510022, 10668701, 10534224, 10667726 Change-Id: I3c705412fb211519f15ad41a273a7533b878e9e5
* Another asset drop, provider icons, tests.Jeff Sharkey2013-09-063-0/+152
Latest asset update, including provider icons which are treated as special cases for now instead of checking into separate apps. Add tests for MIME type matching of roots. Remove unused XML. Bug: 10510022 Change-Id: Id567a9e06ba241f60ac011823e550253c6c797fb