History log of /packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6b5e7c9e1fee8afafaf8fde00684b5de3eb6784e 06-Jul-2017 Julian Mancini <dooper@google.com> Merge "Add metric title for inspector" into arc-apps
am: 950a5a7ddc

Change-Id: I148d3102d542534ec547a422096a4ca428579efe
4e242f7fda5f415cafcccab720e89fc27eb07545 06-Jul-2017 Julian Mancini <dooper@google.com> Add metric title for inspector

Bug: 62957185
Change-Id: I41452a059c4886ceb152b1c06655e284401a1803
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
0930d4ca4b5161a22b0ddeca86c06533624ad610 02-Jun-2017 Dooper <dooper@google.com> Add menu to show properties, add feature flag.

Bug: 62293172
Test: upcoming
Change-Id: Idb0de7ad2b41472fc7b0b762d88dda5f512d5ce2
(cherry picked from commit 3975fa2e90c0322ecf70f350422b83dabda58c5e)
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
3975fa2e90c0322ecf70f350422b83dabda58c5e 02-Jun-2017 Dooper <dooper@google.com> Add menu to show properties, add feature flag.

Bug: 62293172
Test: upcoming
Change-Id: Idb0de7ad2b41472fc7b0b762d88dda5f512d5ce2
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
4b839c4d98b1c631b1ec3ada2f2861cc59eaa4ff 21-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Resolve a metrics conflict." into arc-apps
8454e04c2f91094456dd69e20b7c818617a3195d 20-Apr-2017 Garfield Tan <xutan@google.com> Add some basic metrics for file operations on virtual files.

Test: It builds.
Bug: 36571722
Change-Id: I88324cdfee1352ba7f92dca9b357cbac02438b2c
(cherry picked from commit 331de98fb893bcc56a3a310ca711b0d2fc2a83c1)
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
2014ca3ba24d0387786da797daff5c9c834353c4 21-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add some basic metrics for file operations on virtual files." into oc-dev
bea864bc50679250c26a073f13f2086f967c7db2 21-Apr-2017 Garfield Tan <xutan@google.com> Resolve a metrics conflict.

Also adjust orders of metrics to match their values.

Test: It builds.
Bug: 37547295
Change-Id: Ifab41fe471aa629872f5c73990e2c75aba578ff2
(cherry picked from commit 8d1443a06019b94e513d2d188ec2510e111ba944)
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
331de98fb893bcc56a3a310ca711b0d2fc2a83c1 20-Apr-2017 Garfield Tan <xutan@google.com> Add some basic metrics for file operations on virtual files.

Test: It builds.
Bug: 36571722
Change-Id: I88324cdfee1352ba7f92dca9b357cbac02438b2c
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
8d1443a06019b94e513d2d188ec2510e111ba944 21-Apr-2017 Garfield Tan <xutan@google.com> Resolve a metrics conflict.

Also adjust orders of metrics to match their values.

Test: It builds.
Bug: 37547295
Change-Id: Ifab41fe471aa629872f5c73990e2c75aba578ff2
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
f4ed293e8d8f9bf5e7a9a228896b6ffc88410d3b 31-Mar-2017 Garfield Tan <xutan@google.com> Deprecate DrawerOpened metric.

Test: Builds.
Bug: 32704901
Change-Id: I705d457ddd178710708a4970380dd92baae7f3e3
(cherry picked from commit 3f54c9c5c593deb8ef33761cae5e52385263dc6a)
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
3f54c9c5c593deb8ef33761cae5e52385263dc6a 31-Mar-2017 Garfield Tan <xutan@google.com> Deprecate DrawerOpened metric.

Test: Builds.
Bug: 32704901
Change-Id: I705d457ddd178710708a4970380dd92baae7f3e3
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
c54ad10ba5d480a91f1021ed05425101c2cb020b 24-Mar-2017 Jon Mann <jonmann@google.com> Refactor RootsCache+RootsAccess to ProvdersCache+ProvdersAccess
am: 9bd4099ee2

Change-Id: I1900b00a76256011250622ada816e280055566e4
9bd4099ee27f8302a06fc66980079f29127318f8 24-Mar-2017 Jon Mann <jonmann@google.com> Refactor RootsCache+RootsAccess to ProvdersCache+ProvdersAccess

Test: verified success
Bug: 34219584
Change-Id: I16d5e7d70240626efc9020bd11b13c778fc2d95e
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
6ae649873da2464cdc836c45fbb8abd830e00a2f 23-Mar-2017 Jon Mann <jonmann@google.com> Merge "Implement support for viewing document settings in external applications" into arc-apps
am: 77e0120246

Change-Id: I8d3d1dfe557d52064d96713700239af1f06324f8
253a99248f1f3d50cd357d902bfc52e7b9367446 22-Mar-2017 Jon Mann <jonmann@google.com> Implement support for viewing document settings in external applications

Makes DocumentsUI respect the Documents#FLAG_SUPPORTS_SETTINGS flag and invoke the DocumentsContract#ACTION_DOCUMENT_SETTINGS intent.

Test: Added unit testing.
Bug: 34219584
Change-Id: Ib1e8e1362e694ec973db20dd52ea229ba182520a
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
9515f327fd024ada4894a1e40eba6e07c4c655c4 23-Mar-2017 Jon Mann <jonmann@google.com> Merge "Revert "Implement support for viewing document settings in external applications"" into arc-apps
am: 5a7a015520

Change-Id: I8d08eef49f56fd57165efb88bf0f664f89d8d172
92f4104e74c8e5663fc552555c9efcfe2fdad88d 23-Mar-2017 Jon Mann <jonmann@google.com> Merge "Implement support for viewing document settings in external applications" into arc-apps
am: ce97e1f3ff

Change-Id: I257d515097b811934d3df157848bbee3e4ed8164
e8c484d8aa5215ec5331909513a0a7aec8fe2143 23-Mar-2017 Jon Mann <jonmann@google.com> Revert "Implement support for viewing document settings in external applications"

This reverts commit 8856ef45ac24e5f7ef539e3c32427c155970bf3d.

Reason for revert: <INSERT REASONING HERE>

Change-Id: Ice474cf9b6f79246c59a0d5f4ed350bb80d9cdfd
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
8856ef45ac24e5f7ef539e3c32427c155970bf3d 22-Mar-2017 Jon Mann <jonmann@google.com> Implement support for viewing document settings in external applications

Makes DocumentsUI respect the Documents#FLAG_SUPPORTS_SETTINGS flag and invoke the DocumentsContract#ACTION_DOCUMENT_SETTINGS intent.

Test: Added unit testing.
Bug: 34219584
Change-Id: I996dc1d80044c9d14086dc036c9950d9c2efa87e
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
2e8acf01cb7620f365bdc5b6bfbd92eb8eee768a 09-Feb-2017 Tomasz Mikolajewski <mtomasz@google.com> Remove "Compress To".

Test: Unit tests.
Bug: 35180990
Change-Id: I57d9164e012f842f90e8a8140df6d839261a1432
(cherry picked from commit 49cd92dd21209036dc7c8d9f74f86fd3e5b4625a)
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
49cd92dd21209036dc7c8d9f74f86fd3e5b4625a 09-Feb-2017 Tomasz Mikolajewski <mtomasz@google.com> Remove "Compress To".

Test: Unit tests.
Bug: 35180990
Change-Id: I57d9164e012f842f90e8a8140df6d839261a1432
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
e5b4e393783a2f1f013cdeaeee45a22605734901 04-Feb-2017 Garfield Tan <xutan@google.com> Add capability to launch to a document in file manager.
am: f8969d63aa

Change-Id: I1dfe669245bfa110e4f3a6d016781408982da0eb
f8969d63aa9e6d67e594997080f883ec84dfac71 03-Feb-2017 Garfield Tan <xutan@google.com> Add capability to launch to a document in file manager.

Bug: 34944388
Change-Id: I45a93c99eb16560e489950f75b7fb539908e1cc5
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
bc7eb5fc39b5555eedc7d7b3591687343ecda18d 27-Jan-2017 Tomasz Mikolajewski <mtomasz@google.com> Add boilerplate for compressing in DocumentsUI.

This CL adds strings, constants, and classes for compressing, which
for now do the same as copying.

Along the way it does the same to extracting.

Test: Tested manually.
Bug: 20822019
Change-Id: I9866166c635befae59b3fff13125bd563f71936a
(cherry picked from commit 4f2254941c4e495e0653bd2773fc8a2ecc6daef3)
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
4f2254941c4e495e0653bd2773fc8a2ecc6daef3 27-Jan-2017 Tomasz Mikolajewski <mtomasz@google.com> Add boilerplate for compressing in DocumentsUI.

This CL adds strings, constants, and classes for compressing, which
for now do the same as copying.

Along the way it does the same to extracting.

Test: Tested manually.
Bug: 20822019
Change-Id: I9866166c635befae59b3fff13125bd563f71936a
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
2a8719c801c36ccda36971b7626fd4ebb9993577 20-Jan-2017 Garfield Tan <xutan@google.com> Separate rootVisited metrics into 2 categories

...for file managers and file pickers respectively.

Test: Automatic tests pass. Smoke manual tests.

Bug: 34157898
Change-Id: Iad861fff1a5fdebaa2ad6742ef3bb26d60df70b6
(cherry picked from commit 045ce6bc82a5a10dfcaf462481c4643b68ab343c)
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
045ce6bc82a5a10dfcaf462481c4643b68ab343c 20-Jan-2017 Garfield Tan <xutan@google.com> Separate rootVisited metrics into 2 categories

...for file managers and file pickers respectively.

Test: Automatic tests pass. Smoke manual tests.

Bug: 34157898
Change-Id: Iad861fff1a5fdebaa2ad6742ef3bb26d60df70b6
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
5e1fd5e987b5a46cd885a9c335c9979c1a5cb994 14-Jan-2017 Garfield Tan <xutan@google.com> Refine metrics for file operation failure.

* Report failures for each individual provider
* Report failures at sub-operations level
* Separate failures for external storage from internal storage

Note: It doesn't report failures when available bytes check fails or
moving cursor index fails. Delete failures also don't include failures
of cleanup after copy/move failures.

This cherry-pick also includes changes made in ag/1625532.

Test: Manual tests on file operations.
Bug: 33413461

Change-Id: I1713413f9498e8a264f8f54bffbfbad55f708b59
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
02fd92f8ba2738e2f7ee281d2557d72215f50709 14-Jan-2017 Garfield Tan <xutan@google.com> Refine metrics for file operation failure.

* Report failures for each individual provider
* Report failures at sub-operations level
* Separate failures for external storage from internal storage

Note: It doesn't report failures when available bytes check fails or
moving cursor index fails. Delete failures also don't include failures
of cleanup after copy/move failures.

Test: Manual tests on file operations.
Bug: 33413461

Change-Id: I1713413f9498e8a264f8f54bffbfbad55f708b59
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
e3be6a45493c43ff4d14d692fc636a6b7e020bc1 12-Jan-2017 Garfield Tan <xutan@google.com> Report metrics for pick w/ initial location.

Report the initial locations by its roots. If DocumentsUI cannot
determine its root either because the provider doesn't support
getDocumentPath() or error occurs, report ROOT_NONE to indicate the
default root is loaded.

Test: Manual test that it doesn't crash the app.

Bug: 32412499
Change-Id: I1736101f1ef962e31a41658444b6c2b1b5096859
(cherry picked from commit 935c5136469d8641bf5a38c6b1501522092fcaee)
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
ae28e0ea59fd45e390a6d52f9cce93e897c3a19c 13-Jan-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Report metrics for pick w/ initial location."
935c5136469d8641bf5a38c6b1501522092fcaee 12-Jan-2017 Garfield Tan <xutan@google.com> Report metrics for pick w/ initial location.

Report the initial locations by its roots. If DocumentsUI cannot
determine its root either because the provider doesn't support
getDocumentPath() or error occurs, report ROOT_NONE to indicate the
default root is loaded.

Test: Manual test that it doesn't crash the app.

Bug: 32412499
Change-Id: I1736101f1ef962e31a41658444b6c2b1b5096859
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
a956799ec6ca777fcd437b8a2f10f34d6143ada6 10-Jan-2017 Steve McKay <smckay@google.com> Improve error handling.
am: 99f1dc3da6

Change-Id: I01341a7fc1932f6208d0c433716b57f32cd68806
99f1dc3da6defec0596864934bfe76adc96a1d62 30-Dec-2016 Steve McKay <smckay@google.com> Improve error handling.

Recover gracefully when a uri cannot be resolved.
Include Uris in information presented in error dialog.
Update DeleteJob and CopyJob to have shared uri resolution code.
Break out error handling to provide clearer and more granular error info.
Update Metrics to be sure we including error information about URIs we failed to resolve.

Bug: 33938336
Test: New coverage in JobErrorHandlingTest.

Change-Id: Idf34882a561ec5cb90170f291683bdc752188b57
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
0245e6deac744d8fa8a41c70265f04aad1e37072 22-Sep-2016 Tamas Berghammer <tberghammer@google.com> Update package names to work with the proto3 compiler

Bug: b/28974522
Change-Id: I615f26c55e5abc03711c37b6b485639816da5a98
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
8659cbccc6fbab79fb6855abe9cb31ee8171b37e 31-Oct-2016 Steve McKay <smckay@google.com> Move roots constants to a shared location.

Include URIs in debug output.
Don't cancel search after dbg: input.

Change-Id: Id0eeb0f2ee2d847c0e88c18320977ed99d3e49bb
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
b6006b2ef723fdbb3fef3b4a350c8d363b127d0f 29-Sep-2016 Steve McKay <smckay@google.com> manager/ManageActivity back to files/FilesActivity.

The "mange" rename resulted in a disturbance in the force.

Change-Id: I0f057ba7621912f173e47a472bfc6e23a5a6d54a
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
d9caa6ab53aa784acaf241c0ded3c4ae2d342bf8 16-Sep-2016 Steve McKay <smckay@google.com> Move State to base and root stuff to roots.

And move Shared to base.
And lots more to base.

Change-Id: I8b01264a329473c13c59f0cd25a320ba73dbd82d
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
d080506e3aa8547605cd4783eb660775d7d2b8ee 15-Sep-2016 Steve McKay <smckay@google.com> Move more classes to more specific locations.

Moved .model classes to .base.
Deleted some unused classes.
Moved functional tests into a new .funcitonal package.
Followup to 1450250.

Change-Id: Ic087fe4a014d9179fab3dc6f833aaf73373f9452
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
16e0c1fcf2be1ac7daafa6cb2c1c97d751ca3e66 15-Sep-2016 Steve McKay <smckay@google.com> Move Activity classes to own packages.

FilesActivity > manager/ManageActivity
DocumentsActivity > picker/PickActivity

Change-Id: If2efb07fbebbd6ef84aa744af17c8cbeac05d770
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
9e177b7dd167f6f5598bbd674dce7bb0ddf569b8 06-Jun-2016 Ben Lin <linben@google.com> Merge "Adding docsui prefix to access metric tags." into nyc-dev am: de862e1cc8
am: 8454626813

* commit '84546268130f2d59d2844c14fb078db36bc61ceb':
Adding docsui prefix to access metric tags.

Change-Id: If3cb86215a2242de13e1d241cfb1f404c896aad4
5e5cae118fda428a693e6c062ae9643aeb1afe05 27-May-2016 Ben Lin <linben@google.com> Adding docsui prefix to access metric tags.

Bug: 28934495
Change-Id: I44291b887e8aa9f4412ee1e7e1826ea68ffb40b9
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
9ba0106cf1a87984607939174238545b26100a8a 11-May-2016 Ben Lin <linben@google.com> Merge "Removed duplicate call to Metric log, and using private logging method." into nyc-dev am: f2413b79c6
am: 10601fa8bd

* commit '10601fa8bd71be9e69fa7642ee286436368e8e81':
Removed duplicate call to Metric log, and using private logging method.

Change-Id: I0afca8d4c05e73db0557f114b1aa665bb9676e65
804133e4ca98ffa168cd547793054b594cf6d9cc 21-Apr-2016 Garfield, Tan <xutan@google.com> Add capability to spring load a root or directory.

Bug: 28242270
Change-Id: I5cbdb7734af8d78015a82fd7b38b1266576c9914
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
6e5a77b29ad1b3b2334196ce0a6ace2fda613c02 06-May-2016 Ben Lin <linben@google.com> Removed duplicate call to Metric log, and using private logging method.

Bug: 28554140
Change-Id: I071c50ef5b51de65e71b85453cf83acae5ad6af7
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
ff4d5846f8de51d51b87116cd07e559d75de2642 18-Apr-2016 Ben Lin <linben@google.com> Enable Ctrl+X cut operations, along with some code refactor.

Bug: 27451823
Change-Id: I062dcbd065434c22a3ffeb33d4cac2b4f9da104b
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
94e53e4228f176a62187e2b2dd5c781773f8e453 07-Apr-2016 Aga Wronska <agawronska@google.com> Consolidate user actions metrics into one histogram.

Bug: 27301081
Change-Id: Ib2ac46dd268e492c576bc082dc349c4a6826897f
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
ea4f5c9ee4bb31d2c890eca2bbdd73c660e339fe 04-Apr-2016 Aga Wronska <agawronska@google.com> Make Metrics.logKeyboardAction() method take @KeyboardAction type
instead of KeyEvent

Change-Id: Ib9a19532612b679141b6d611e448247d3b0bab23

Fixing: b/27942360
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
fa1832e469b544015e141d7be44e4d5b38708bb5 01-Apr-2016 Aga Wronska <agawronska@google.com> Add metrics for keyboard shortcuts

Change-Id: I3a63efd856f25cc33d61b734970675b77645a26d
Fixed: 27942360
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
4972d71090b4e98951102ddd37fad95052525786 30-Mar-2016 Aga Wronska <agawronska@google.com> Add metrics for menu actions

Change-Id: Ic20802730e6068cfe49c277c3378c15ee0ba09fe
Fixed: 27921699
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
b028905bd9a7df082f0f5f7017f07a47b026ee8b 01-Apr-2016 Aga Wronska <agawronska@google.com> Add metrics for drag and drop.
Add metrics for search.

Change-Id: I77cb1d13360d764556730303eeb44e14e917b0fa
Fixed: 27940726
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
95d7b5fce708d5a151fd69410cc6975227169872 31-Mar-2016 Aga Wronska <agawronska@google.com> Merge "Add metrics for create directory and rename file operations" into nyc-dev
441b9be25e9818f57c9f9911e4a6cdacc3def82d 30-Mar-2016 Aga Wronska <agawronska@google.com> Add metrics for opening the drawer

Change-Id: I1315463c5217ce47aa7fa40ddd8b8773c7038208
Fixed: 27905111
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
46a868a96931a097d098ce3b76068b4946e38662 30-Mar-2016 Aga Wronska <agawronska@google.com> Add metrics for create directory and rename file operations

Change-Id: I4814673b4066efa840e1fb52a7549d8c7ebc4f63
Fixed: 27908149
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
6d50bcc90e6f8b3c16e23b3fc2d63f57804dd805 29-Mar-2016 Aga Wronska <agawronska@google.com> Action OPEN_DOCUMENT_TREE shows advanced roots ignoring config flag
Fixed: 27856396

Change-Id: I2dc135ac6aa66452edf8bd8439d5e54bcc387070
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
320a08fd5d2a0a8adbf3e0ac3ddabe9554b4ab18 25-Mar-2016 Daichi Hirono <hirono@google.com> Add new metric to DocumentsUI to record launch time.

BUG=27255964

Change-Id: I0bebdb95a0008ce087550849b4ca5fc5ead5c664
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
b59a8a66c8e5ff2c6cf1680fa9696db92e832e0e 18-Mar-2016 Felipe Leme <felipeal@google.com> Allow Scoped Directory Access on whole volume.

There are some scenarios where an app needs access to the whole SD Card,
not subdirectories. For example, user might have a SDCard with
directories like vacation_pictures (instead of Pictures/vacation);
another example is a file management app.

BUG: 27676858
Change-Id: I20ef713de7e4dfa7e2d7d07bab11898af186d673
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
0bdb7c3bd8070868030b29eede28f791a1e9106a 10-Mar-2016 Felipe Leme <felipeal@google.com> Add a "Do not ask again" checkbox.

When an app request access to a scoped directory which the user already
denied access, it will display a "Do not ask again" checkbox; if the
user checks that option, further requests will be automatically
rejected.

The history of denials is stored in the shared property file.

The UI is not polished yet, the style will be fixed in a future change.

BUG: 26750152

Change-Id: I181923adfb6a1c7c1c17e305d6838314280417fc
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
15b92781281f685f660990e9409d08697550b275 10-Mar-2016 Steve McKay <smckay@google.com> Delete downloads activity.

Delete "MANAGE_ROOT" activity.
Add intent filter for "BROWSE_DOWNLOADS".
Open by default on Downloads directory.

Bug: 27563427
Change-Id: I1f85dc17a0bc94b439a272847e4ab3bb347ead23
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
e4b601232d5354d3878aff104763d87f81dfe7e6 24-Feb-2016 Felipe Leme <felipeal@google.com> Created metric events for scoped directory access API.

BUG: 27334821
Change-Id: I8a1bfc328dcd26b42bb66884d14b34ad11aa232f
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
0af8afd3309538dec784ed0c9c35b252a8213123 25-Feb-2016 Steve McKay <smckay@google.com> Update preconditions to be asserts...

Which are now supported by Jack.
Retain a few preconditions checks that enforce contract.
Disable the one assert we had...because it failed in tests.

Change-Id: I2f6cb01e1af1534be4428ce4a3ee625a163dd163
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
b41a5ed11625f7758f474bd850ebdc681109774b 18-Feb-2016 Ben Kwa <kenobi@google.com> Renumber UMA constants.

Clearcut does not like negative or zero values for its histograms.

Also, consolidate all metrics constants in the Metrics.java file. In
cases where values are being obtained from elsewhere (e.g. State.action
constants), map those constants to constants defined in Metrics.java.
This will reduce occurrences of constants changes accidentally screwing
up metrics data.

BUG=26737132

Change-Id: Ia9fb88a49c3102afc2464d20653e2ee21cfc591f
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
63e2aae0465d38d7d9cb35e781fcf5691b0d8392 31-Jan-2016 Tomasz Mikolajewski <mtomasz@google.com> Fix tapping on more than one failure notification.

Bug: 26809248
Change-Id: I4e52b7e7a9e09d57b8a2231a09c9121b5fd19e51
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
4377f58b933f10fc1f4a14d0b9c199b81db534d4 29-Jan-2016 Ben Kwa <kenobi@google.com> Fix a crash in Metrics code.

Check for null URIs when logging metrics for DocsUI launches. This
prevents a NPE caused if DocsUI is started by an intent with a null URI.

BUG=26848462

Change-Id: Iea02488581f582f60eabf61deec1e89c13449d78
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
ebaaea49118a005f43bd1edb23b45f0eaae463fb 29-Jan-2016 Ben Kwa <kenobi@google.com> Add logging for MTP roots.

BUG=26737132

Change-Id: I09d7f644edd775ce54a06dbed9f4b716eeb662d3
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
faa2720258fd4da3bbc636597e5344c77401a5ee 29-Jan-2016 Ben Kwa <kenobi@google.com> Add metrics logging for file operations.

Log to two new histograms - one for operations originating from system
providers, the other for operations originating from external providers.

Events in these histograms are bucketed by
- type (copy, move, delete, etc)
- destination (system vs external provider, with a special bucket for
intra-provider operations)
- result (success vs failure)

BUG=26737132

Change-Id: Ic24c7a22fa3c1227e23cfbd42ae80ca1f70a19ba
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java
1c0a389fe3b290906f9d3e4e579ed8c4d5d641a3 26-Jan-2016 Ben Kwa <kenobi@google.com> Add MetricsLogger calls to DocumentsUI.

- Create new categories in MetricsLogger for DocumentsUI events.
- Add logging code to DocumentsUI for launch events and viewing roots.

BUG=26737132

Change-Id: Ib703878a39dd03b57e68a4d5a1d6cf8fe2936c5a
/packages/apps/DocumentsUI/src/com/android/documentsui/Metrics.java