Searched refs:sDisabledBy (Results 1 – 2 of 2) sorted by relevance
30 private static Throwable sDisabledBy; field in RecordHistogram43 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 …]
23 private static Throwable sDisabledBy; field in RecordUserAction31 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()