/packages/services/Car/car-lib/src/android/car/storagemonitoring/ |
D | IoStatsEntry.java | 72 public final IoStatsEntry.Metrics foreground; 77 public final IoStatsEntry.Metrics background; 80 long runtimeMillis, IoStatsEntry.Metrics foreground, IoStatsEntry.Metrics background) { in IoStatsEntry() 90 foreground = in.readParcelable(IoStatsEntry.Metrics.class.getClassLoader()); in IoStatsEntry() 91 background = in.readParcelable(IoStatsEntry.Metrics.class.getClassLoader()); in IoStatsEntry() 97 foreground = new IoStatsEntry.Metrics(record.foreground_rchar, in IoStatsEntry() 102 background = new IoStatsEntry.Metrics(record.background_rchar, in IoStatsEntry() 140 foreground = new IoStatsEntry.Metrics(in.getJSONObject("foreground")); in IoStatsEntry() 141 background = new IoStatsEntry.Metrics(in.getJSONObject("background")); in IoStatsEntry() 209 public static final class Metrics implements Parcelable { class in IoStatsEntry [all …]
|
D | IoStats.java | 19 import android.car.storagemonitoring.IoStatsEntry.Metrics; 135 public IoStatsEntry.Metrics getForegroundTotals() { in getForegroundTotals() 150 return new Metrics(bytesRead, in getForegroundTotals() 161 public IoStatsEntry.Metrics getBackgroundTotals() { in getBackgroundTotals() 176 return new Metrics(bytesRead, in getBackgroundTotals() 187 public IoStatsEntry.Metrics getTotals() { in getTotals() 188 IoStatsEntry.Metrics foreground = getForegroundTotals(); in getTotals() 189 IoStatsEntry.Metrics background = getBackgroundTotals(); in getTotals() 191 return new IoStatsEntry.Metrics(foreground.bytesRead + background.bytesRead, in getTotals()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/storagemonitoring/ |
D | CarStorageMonitoringTest.java | 434 new IoStatsEntry.Metrics(10, 20, 30, 40, 50), in testUidIoStatEntryEquality() 435 new IoStatsEntry.Metrics(100, 200, 300, 400, 500)); in testUidIoStatEntryEquality() 437 new IoStatsEntry.Metrics(10, 20, 30, 40, 50), in testUidIoStatEntryEquality() 438 new IoStatsEntry.Metrics(100, 200, 300, 400, 500)); in testUidIoStatEntryEquality() 440 new IoStatsEntry.Metrics(1, 20, 30, 42, 50), in testUidIoStatEntryEquality() 441 new IoStatsEntry.Metrics(10, 200, 300, 420, 500)); in testUidIoStatEntryEquality() 443 new IoStatsEntry.Metrics(10, 20, 30, 40, 50), in testUidIoStatEntryEquality() 444 new IoStatsEntry.Metrics(100, 200, 300, 400, 500)); in testUidIoStatEntryEquality() 446 new IoStatsEntry.Metrics(10, 20, 30, 40, 0), in testUidIoStatEntryEquality() 447 new IoStatsEntry.Metrics(100, 200, 300, 400, 500)); in testUidIoStatEntryEquality() [all …]
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | MetricsTest.java | 32 new Metrics(); in testConstructor() 43 Metrics.logScan(volumeName, MediaScanner.REASON_UNKNOWN, 42, 42, 42, 42, 42); in testSimple() 44 Metrics.logDeletionPersistent(volumeName, "scanReason", new int[] { 42 }); in testSimple() 45 Metrics.logDeletion(volumeName, 42, packageName, 42, new int[] { 42 }); in testSimple() 46 Metrics.logPermissionGranted(volumeName, 42, packageName, 42); in testSimple() 47 Metrics.logPermissionDenied(volumeName, 42, packageName, 42); in testSimple() 48 Metrics.logSchemaChange(volumeName, 42, 42, 42, 42, "UUID"); in testSimple() 49 Metrics.logIdleMaintenance(volumeName, 42, 42, 42, 42); in testSimple()
|
/packages/apps/Dialer/java/com/android/dialer/calllog/ |
D | RefreshAnnotatedCallLogWorker.java | 35 import com.android.dialer.metrics.Metrics; 163 String eventName = String.format(Metrics.IS_DIRTY_TEMPLATE, dataSource.getLoggingName()); in isDirty() 169 futureTimer.applyTiming(isDirtyFuture, Metrics.IS_DIRTY_EVENT_NAME, LogCatMode.LOG_VALUES); in isDirty() 255 !isBuilt ? Metrics.INITIAL_FILL_TEMPLATE : Metrics.FILL_TEMPLATE, 260 return !isBuilt ? Metrics.INITIAL_FILL_EVENT_NAME : Metrics.FILL_EVENT_NAME; 267 ? Metrics.INITIAL_ON_SUCCESSFUL_FILL_TEMPLATE 268 : Metrics.ON_SUCCESSFUL_FILL_TEMPLATE, 274 ? Metrics.INITIAL_ON_SUCCESSFUL_FILL_EVENT_NAME 275 : Metrics.ON_SUCCESSFUL_FILL_EVENT_NAME; 280 ? Metrics.INITIAL_APPLY_MUTATIONS_EVENT_NAME [all …]
|
D | RefreshAnnotatedCallLogReceiver.java | 32 import com.android.dialer.metrics.Metrics; 163 return Metrics.ANNOTATED_CALL_LOG_NOT_DIRTY; // NOT_DIRTY implies forceRefresh is false in apply() 166 ? Metrics.ANNOTATED_LOG_NO_CHANGES_NEEDED in apply() 167 : Metrics.NEW_CALL_LOG_FORCE_REFRESH_NO_CHANGES_NEEDED; in apply() 170 ? Metrics.ANNOTATED_CALL_LOG_CHANGES_NEEDED in apply() 171 : Metrics.ANNOTATED_CALL_LOG_FORCE_REFRESH_CHANGES_NEEDED; in apply()
|
/packages/apps/Dialer/java/com/android/dialer/phonelookup/composite/ |
D | CompositePhoneLookup.java | 31 import com.android.dialer.metrics.Metrics; 92 String.format(Metrics.LOOKUP_FOR_CALL_TEMPLATE, phoneLookup.getLoggingName()); in lookup() 97 String eventName = String.format(Metrics.LOOKUP_FOR_CALL_TEMPLATE, getLoggingName()); in lookup() 116 String.format(Metrics.LOOKUP_FOR_NUMBER_TEMPLATE, phoneLookup.getLoggingName()); in lookup() 121 String eventName = String.format(Metrics.LOOKUP_FOR_NUMBER_TEMPLATE, getLoggingName()); in lookup() 153 String eventName = String.format(Metrics.IS_DIRTY_TEMPLATE, phoneLookup.getLoggingName()); in isDirty() 160 String eventName = String.format(Metrics.IS_DIRTY_TEMPLATE, getLoggingName()); in isDirty() 284 ? Metrics.INITIAL_GET_MOST_RECENT_INFO_TEMPLATE 285 : Metrics.GET_MOST_RECENT_INFO_TEMPLATE, 292 ? Metrics.INITIAL_ON_SUCCESSFUL_BULK_UPDATE_TEMPLATE [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
D | CopyJob.java | 78 import com.android.documentsui.Metrics; 251 Metrics.logFileOperation(operationType, mResolvedDocs, mDstInfo); in start() 359 Metrics.logFileOperated(operationType, MetricConsts.OPMODE_PROVIDER); in processDocument() 369 Metrics.logFileOperationFailure( in processDocument() 405 Metrics.logFileOperationFailure( in byteCopyDocument() 418 Metrics.logFileOperationFailure( in byteCopyDocument() 438 Metrics.logFileOperationFailure( in byteCopyDocument() 446 Metrics.logFileOperationFailure( in byteCopyDocument() 458 Metrics.logFileOperationFailure( in byteCopyDocument() 500 Metrics.logFileOperationFailure( in copyDirectoryHelper() [all …]
|
D | DeleteJob.java | 30 import com.android.documentsui.Metrics; 122 Metrics.logFileOperationFailure( in start() 134 Metrics.logFileOperation(operationType, mResolvedDocs, null); in start()
|
D | MoveJob.java | 36 import com.android.documentsui.Metrics; 153 Metrics.logFileOperated(operationType, MetricConsts.OPMODE_PROVIDER); in processDocument() 161 Metrics.logFileOperationFailure( in processDocument()
|
D | Job.java | 50 import com.android.documentsui.Metrics; 168 Metrics.logFileOperationErrors(operationType, failedDocs, failedUris); in run() 241 Metrics.logFileOperationCancelled(operationType); in cancel()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | ActionHandler.java | 50 import com.android.documentsui.Metrics; 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/Dialer/java/com/android/dialer/metrics/jank/ |
D | RecyclerViewJankLogger.java | 21 import com.android.dialer.metrics.Metrics; 26 private final Metrics metrics; 31 public RecyclerViewJankLogger(Metrics metrics, String eventName) { in RecyclerViewJankLogger()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | MetricsTest.java | 27 Metrics.logActivityLaunch(state, intent); in logActivityLaunch_storageAuthority_shouldNotCrash() 36 Metrics.logActivityLaunch(state, intent); in logActivityLaunch_mediaAuthority_shouldNotCrash() 41 Metrics.logDragInitiated(true); in logDragInitiated_shouldNotCrash()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | UpdatePickResultTask.java | 24 import com.android.documentsui.Metrics; 53 Metrics.sanitizeMime(mContext.getContentResolver().getType(fileUri))); in doInBackground() 63 Metrics.logPickResult(mPickResult); in onPostExecute()
|
D | ActionHandler.java | 48 import com.android.documentsui.Metrics; 262 Metrics.logRootVisited(MetricConsts.PICKER_SCOPE, root); in openRoot() 269 Metrics.logAppVisited(info); in openRoot() 297 Metrics.logLaunchOtherApp(!UserId.CURRENT_USER.equals(userId)); in openRoot() 422 intent, mSearchMgr.isSearching(), Metrics.sanitizeRoot(mState.stack.getRoot())); in onPickFinished()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | BaseActivity.java | 155 Metrics.logActivityLaunch(mState, intent); in onCreate() 184 Metrics.logSearchMode(query != null, mSearchManager.hasCheckedChip()); in onCreate() 218 Metrics.logUserAction(MetricConsts.USER_ACTION_SEARCH_CHIP); in onCreate() 219 Metrics.logSearchType(item.getChipType()); in onCreate() 671 Metrics.logUserAction(showHiddenFiles in onClickedShowHiddenFiles() 686 Metrics.logUserAction(MetricConsts.USER_ACTION_GRID); in setViewMode() 688 Metrics.logUserAction(MetricConsts.USER_ACTION_LIST); in setViewMode() 950 Metrics.logStartupMs((int) (new Date().getTime() - mStartTime)); in addListenerForLaunchCompletion()
|
/packages/apps/Dialer/java/com/android/dialer/metrics/ |
D | StubMetricsModule.java | 30 Metrics bindMetrics(StubMetrics stub); in bindMetrics() 33 Metrics.Initializer bindMetricsInitializer(StubMetricsInitializer stub); in bindMetricsInitializer()
|
D | MetricsComponent.java | 28 public abstract Metrics metrics(); in metrics() 30 public abstract Metrics.Initializer metricsInitializer(); in metricsInitializer()
|
D | FutureTimer.java | 39 private final Metrics metrics; 62 Metrics metrics, @LightweightExecutor ListeningExecutorService lightweightExecutorService) { in FutureTimer()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | RenameDocumentFragment.java | 42 import com.android.documentsui.Metrics; 220 Metrics.logRenameFileOperation(); in onPostExecute() 223 Metrics.logRenameFileError(); in onPostExecute()
|
D | DirectoryFragment.java | 86 import com.android.documentsui.Metrics; 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()
|
D | DragHost.java | 33 import com.android.documentsui.Metrics; 115 Metrics.logDragInitiated(dragInitiatedFromDocsUI); in canHandleDragEvent()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/ |
D | SortController.java | 27 import com.android.documentsui.Metrics; 85 Metrics.logUserAction(sortType); in create()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaUpgradeReceiver.java | 27 import com.android.providers.media.util.Metrics; 78 false, false, Column.class, Metrics::logSchemaChange, null, in tryMigratingDatabases()
|