Home
last modified time | relevance | path

Searched refs:MetricConsts (Results 1 – 18 of 18) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/
DMetrics.java82 MetricConsts.MIME_UNKNOWN, sanitizeRoot(rootUri)); in logLaunchAtLocation()
91 public static void logRootVisited(@MetricConsts.ContextScope int scope, RootInfo info) { in logRootVisited()
122 MetricConsts.PICKER_SCOPE, sanitizeRoot(info)); in logAppVisited()
145 logInterProviderFileOps(MetricConsts.PROVIDER_SYSTEM, dst, operationType); in logFileOperation()
149 logInterProviderFileOps(MetricConsts.PROVIDER_EXTERNAL, dst, operationType); in logFileOperation()
154 @OpType int operationType, @MetricConsts.FileOpMode int approach) { in logFileOperated()
158 MetricConsts.FILEOP_COPY, approach); in logFileOperated()
162 MetricConsts.FILEOP_MOVE, approach); in logFileOperated()
174 MetricConsts.PROVIDER_SYSTEM, MetricConsts.FILEOP_CREATE_DIR); in logCreateDirOperation()
184 MetricConsts.PROVIDER_SYSTEM, MetricConsts.FILEOP_RENAME); in logRenameFileOperation()
[all …]
DBaseActivity.java218 Metrics.logUserAction(MetricConsts.USER_ACTION_SEARCH_CHIP); in onCreate()
672 ? MetricConsts.USER_ACTION_SHOW_HIDDEN_FILES in onClickedShowHiddenFiles()
673 : MetricConsts.USER_ACTION_HIDE_HIDDEN_FILES); in onClickedShowHiddenFiles()
686 Metrics.logUserAction(MetricConsts.USER_ACTION_GRID); in setViewMode()
688 Metrics.logUserAction(MetricConsts.USER_ACTION_LIST); in setViewMode()
DScopedAccessMetrics.java25 public static void logInvalidScopedAccessRequest(@MetricConsts.InvalidScopedAccess int type) { in logInvalidScopedAccessRequest()
DScopedAccessActivity.java19 import static com.android.documentsui.MetricConsts.SCOPED_DIRECTORY_ACCESS_DEPRECATED;
DDragAndDropManager.java458 localState == null ? MetricConsts.USER_ACTION_DRAG_N_DROP_MULTI_WINDOW in dropChecked()
459 : MetricConsts.USER_ACTION_DRAG_N_DROP); in dropChecked()
DAbstractActionHandler.java232 Metrics.logUserAction(MetricConsts.USER_ACTION_NEW_WINDOW); in openInNewWindow()
294 Metrics.logUserAction(MetricConsts.USER_ACTION_SELECT_ALL); in selectAllFiles()
327 Metrics.logUserAction(MetricConsts.USER_ACTION_CREATE_DIR); in showCreateDirectoryDialog()
DMetricConsts.java28 public class MetricConsts { class
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
DSortController.java26 import com.android.documentsui.MetricConsts;
69 int sortType = MetricConsts.USER_ACTION_UNKNOWN; in create()
72 sortType = MetricConsts.USER_ACTION_SORT_NAME; in create()
75 sortType = MetricConsts.USER_ACTION_SORT_SIZE; in create()
78 sortType = MetricConsts.USER_ACTION_SORT_DATE; in create()
81 sortType = MetricConsts.USER_ACTION_SORT_TYPE; in create()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickResult.java23 import com.android.documentsui.MetricConsts;
30 private @MetricConsts.Root int mRoot;
31 private @MetricConsts.Mime int mMimeType;
133 public void setRoot(@MetricConsts.Root int root) { in setRoot()
151 public void setMimeType(@MetricConsts.Mime int mimeType) { in setMimeType()
DActionHandler.java47 import com.android.documentsui.MetricConsts;
262 Metrics.logRootVisited(MetricConsts.PICKER_SCOPE, root); in openRoot()
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DCopyJob.java77 import com.android.documentsui.MetricConsts;
359 Metrics.logFileOperated(operationType, MetricConsts.OPMODE_PROVIDER); in processDocument()
370 appContext, MetricConsts.SUBFILEOP_QUICK_COPY, src.derivedUri); in processDocument()
406 appContext, MetricConsts.SUBFILEOP_OBTAIN_STREAM_TYPE, src.derivedUri); in byteCopyDocument()
419 appContext, MetricConsts.SUBFILEOP_OBTAIN_STREAM_TYPE, src.derivedUri); in byteCopyDocument()
439 appContext, MetricConsts.SUBFILEOP_CREATE_DOCUMENT, dest.derivedUri); in byteCopyDocument()
447 appContext, MetricConsts.SUBFILEOP_CREATE_DOCUMENT, dest.derivedUri); in byteCopyDocument()
459 appContext, MetricConsts.SUBFILEOP_QUERY_DOCUMENT, dstUri); in byteCopyDocument()
501 appContext, MetricConsts.SUBFILEOP_QUERY_CHILDREN, srcDir.derivedUri); in copyDirectoryHelper()
563 appContext, MetricConsts.SUBFILEOP_OPEN_FILE, src.derivedUri); in copyFileHelper()
[all …]
DMoveJob.java35 import com.android.documentsui.MetricConsts;
153 Metrics.logFileOperated(operationType, MetricConsts.OPMODE_PROVIDER); in processDocument()
162 appContext, MetricConsts.SUBFILEOP_QUICK_MOVE, src.derivedUri); in processDocument()
DDeleteJob.java29 import com.android.documentsui.MetricConsts;
123 appContext, MetricConsts.SUBFILEOP_DELETE_DOCUMENT, doc.derivedUri); in start()
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchChipViewManager.java35 import com.android.documentsui.MetricConsts;
69 private static final int TYPE_IMAGES = MetricConsts.TYPE_CHIP_IMAGES;
70 private static final int TYPE_DOCUMENTS = MetricConsts.TYPE_CHIP_DOCS;
71 private static final int TYPE_AUDIO = MetricConsts.TYPE_CHIP_AUDIOS;
72 private static final int TYPE_VIDEOS = MetricConsts.TYPE_CHIP_VIDEOS;
73 private static final int TYPE_LARGE_FILES = MetricConsts.TYPE_CHIP_LARGE_FILES;
74 private static final int TYPE_FROM_THIS_WEEK = MetricConsts.TYPE_CHIP_FROM_THIS_WEEK;
188 if (data.getChipType() == MetricConsts.TYPE_CHIP_LARGE_FILES) { in getCheckedChipQueryArgs()
191 } else if (data.getChipType() == MetricConsts.TYPE_CHIP_FROM_THIS_WEEK) { in getCheckedChipQueryArgs()
DSearchViewManager.java46 import com.android.documentsui.MetricConsts;
620 ? MetricConsts.USER_ACTION_SEARCH_HISTORY : MetricConsts.USER_ACTION_SEARCH);
622 ? MetricConsts.TYPE_SEARCH_HISTORY : MetricConsts.TYPE_SEARCH_STRING);
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DActionHandler.java49 import com.android.documentsui.MetricConsts;
154 Metrics.logUserAction(MetricConsts.USER_ACTION_SETTINGS); in openSettings()
194 Metrics.logRootVisited(MetricConsts.FILES_SCOPE, root); in openRoot()
244 Metrics.logUserAction(MetricConsts.USER_ACTION_CUT_CLIPBOARD); in cutToClipboard()
265 Metrics.logUserAction(MetricConsts.USER_ACTION_COPY_CLIPBOARD); in copyToClipboard()
280 Metrics.logUserAction(MetricConsts.USER_ACTION_VIEW_IN_APPLICATION); in viewInOwner()
352 Metrics.logUserAction(MetricConsts.USER_ACTION_SHARE); in shareSelectedDocuments()
557 Metrics.logUserAction(MetricConsts.USER_ACTION_INSPECTOR); in showInspector()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryFragment.java85 import com.android.documentsui.MetricConsts;
992 Metrics.logUserAction(MetricConsts.USER_ACTION_OPEN); in openDocuments()
1008 Metrics.logUserAction(MetricConsts.USER_ACTION_OPEN); in showChooserForDoc()
1029 Metrics.logUserAction(MetricConsts.USER_ACTION_COPY_TO); in transferDocuments()
1032 Metrics.logUserAction(MetricConsts.USER_ACTION_COMPRESS); in transferDocuments()
1035 Metrics.logUserAction(MetricConsts.USER_ACTION_EXTRACT_TO); in transferDocuments()
1038 Metrics.logUserAction(MetricConsts.USER_ACTION_MOVE_TO); in transferDocuments()
1127 Metrics.logUserAction(MetricConsts.USER_ACTION_RENAME); in renameDocuments()
1150 Metrics.logUserAction(MetricConsts.USER_ACTION_PASTE_CLIPBOARD); in pasteFromClipboard()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/
DSearchViewManagerTest.java49 import com.android.documentsui.MetricConsts;
483 chipDataList.add(new SearchChipData(MetricConsts.TYPE_CHIP_IMAGES, in getFakeSearchChipDataList()
485 chipDataList.add(new SearchChipData(MetricConsts.TYPE_CHIP_LARGE_FILES, in getFakeSearchChipDataList()
487 chipDataList.add(new SearchChipData(MetricConsts.TYPE_CHIP_FROM_THIS_WEEK, in getFakeSearchChipDataList()