Searched refs:stringValue (Results 1 – 3 of 3) sorted by relevance
158 String stringValue = mLastOptionValue; in getOptionalBooleanValue() local160 if ("true".equals(stringValue)) { in getOptionalBooleanValue()162 } else if ("false".equals(stringValue)) { in getOptionalBooleanValue()166 "Unsupported value for " + mLastOptionOriginalForm + ": " + stringValue in getOptionalBooleanValue()175 String stringValue = mParams[mIndex]; in getOptionalBooleanValue() local176 if ("true".equals(stringValue)) { in getOptionalBooleanValue()179 } else if ("false".equals(stringValue)) { in getOptionalBooleanValue()
110 String stringValue = metric1.getMeasurements().getSingleString(); in testCollect_oneDevice_perRun() local111 assertThat(stringValue).isEqualTo("1.0"); in testCollect_oneDevice_perRun()115 stringValue = metric2.getMeasurements().getSingleString(); in testCollect_oneDevice_perRun()116 assertThat(stringValue).isEqualTo("1.0,2.0"); in testCollect_oneDevice_perRun()179 String stringValue = metric1.getMeasurements().getSingleString(); in testCollect_onDevice_twoTests() local180 assertThat(stringValue).isEqualTo("1.0"); in testCollect_onDevice_twoTests()184 stringValue = metric2.getMeasurements().getSingleString(); in testCollect_onDevice_twoTests()185 assertThat(stringValue).isEqualTo("1.0,2.0"); in testCollect_onDevice_twoTests()
222 String stringValue = in createMetric() local228 .setMeasurements(Measurements.newBuilder().setSingleString(stringValue)); in createMetric()