Home
last modified time | relevance | path

Searched refs:stringValue (Results 1 – 3 of 3) sorted by relevance

/tools/apksig/src/apksigner/java/com/android/apksigner/
DOptionsParser.java158 String stringValue = mLastOptionValue; in getOptionalBooleanValue() local
160 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() local
176 if ("true".equals(stringValue)) { in getOptionalBooleanValue()
179 } else if ("false".equals(stringValue)) { in getOptionalBooleanValue()
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/
DLogcatTimingMetricCollectorTest.java110 String stringValue = metric1.getMeasurements().getSingleString(); in testCollect_oneDevice_perRun() local
111 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() local
180 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()
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/
DLogcatTimingMetricCollector.java222 String stringValue = in createMetric() local
228 .setMeasurements(Measurements.newBuilder().setSingleString(stringValue)); in createMetric()