Home
last modified time | relevance | path

Searched refs:NAME_MAX_LENGTH (Results 1 – 4 of 4) sorted by relevance

/external/opencensus-java/api/src/main/java/io/opencensus/stats/
DMeasure.java33 @DefaultVisibilityForTesting static final int NAME_MAX_LENGTH = 255; field in Measure
36 + NAME_MAX_LENGTH
110 StringUtils.isPrintableString(name) && name.length() <= NAME_MAX_LENGTH, in create()
155 StringUtils.isPrintableString(name) && name.length() <= NAME_MAX_LENGTH, in create()
DView.java45 @DefaultVisibilityForTesting static final int NAME_MAX_LENGTH = 255; field in View
192 StringUtils.isPrintableString(name) && name.length() <= NAME_MAX_LENGTH, in create()
/external/opencensus-java/api/src/test/java/io/opencensus/stats/
DMeasureTest.java43 assertThat(Measure.NAME_MAX_LENGTH).isEqualTo(255); in testConstants()
48 char[] chars = new char[Measure.NAME_MAX_LENGTH + 1]; in preventTooLongMeasureName()
DViewTest.java44 assertThat(View.NAME_MAX_LENGTH).isEqualTo(255); in testConstants()
117 char[] chars = new char[View.NAME_MAX_LENGTH + 1]; in preventTooLongViewName()