Home
last modified time | relevance | path

Searched refs:sDisabledBy (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/base/android/java/src/org/chromium/base/metrics/
DRecordHistogram.java30 private static Throwable sDisabledBy; field in RecordHistogram
43 if (disabled && sDisabledBy != null) { in setDisabledForTests()
44 throw new IllegalStateException("Histograms are already disabled.", sDisabledBy); in setDisabledForTests()
46 sDisabledBy = disabled ? new Throwable() : null; in setDisabledForTests()
66 if (sDisabledBy != null) return; in recordBooleanHistogram()
82 if (sDisabledBy != null) return; in recordEnumeratedHistogram()
129 if (sDisabledBy != null) return; in recordCustomCountHistogram()
146 if (sDisabledBy != null) return; in recordLinearCountHistogram()
159 if (sDisabledBy != null) return; in recordPercentageHistogram()
172 if (sDisabledBy != null) return; in recordSparseSlowlyHistogram()
[all …]
DRecordUserAction.java23 private static Throwable sDisabledBy; field in RecordUserAction
31 if (disabled && sDisabledBy != null) { in setDisabledForTests()
32 throw new IllegalStateException("UserActions are already disabled.", sDisabledBy); in setDisabledForTests()
34 sDisabledBy = disabled ? new Throwable() : null; in setDisabledForTests()
38 if (sDisabledBy != null) return; in record()