Home
last modified time | relevance | path

Searched refs:getUnit (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/calmmode/
DTemperatureDataTest.java46 assertEquals(MeasureUnit.CELSIUS, temp.getUnit()); in testBuilder_celsius_objectCreated()
57 assertEquals(MeasureUnit.FAHRENHEIT, temp.getUnit()); in testBuilder_fahrenheit_objectCreated()
67 assertEquals(MeasureUnit.CELSIUS, temp.getUnit()); in testBuilder_noValue_defaultsToZeroCelsius()
79 assertEquals(MeasureUnit.FAHRENHEIT, temp.getUnit()); in testConversion_celsiusDecimalPositive_convertsToF()
91 assertEquals(temp.getUnit(), MeasureUnit.FAHRENHEIT); in testConversion_celsiusRoundPositive_convertsToF()
104 assertEquals(MeasureUnit.FAHRENHEIT, temp.getUnit()); in testConversion_celsiusNegative_convertsToF()
116 assertEquals(MeasureUnit.CELSIUS, temp.getUnit()); in testConversion_celsiusConvertToC_NoOp()
129 assertEquals(MeasureUnit.CELSIUS, temp.getUnit()); in testConversion_fahrenheitPositive_convertsToC()
142 assertEquals(MeasureUnit.CELSIUS, temp.getUnit()); in testBuilder_fahrenheitNegative_convertsToC()
154 assertEquals(MeasureUnit.FAHRENHEIT, temp.getUnit()); in testBuilder_fahrenheit_convertsToFNoOp()
DTemperatureViewModelTest.java172 mTemperatureViewModel.getTemperatureData().getValue().getUnit()); in testHandleUnitChange_changeUnitFromCtoF_dataChanged()
189 mTemperatureViewModel.getTemperatureData().getValue().getUnit()); in testHandleUnitChange_changeUnitFromFtoC_dataChanged()
204 mTemperatureViewModel.getTemperatureData().getValue().getUnit()); in testHandleUnitChange_changeUnitFromCtoC_dataSame()
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/calmmode/
DTemperatureData.java59 .unit(showUnit ? temperatureData.getUnit() : MeasureUnit.GENERIC_TEMPERATURE) in buildTemperatureString()
89 public MeasureUnit getUnit() { in getUnit() method in TemperatureData
146 return new Builder(data.getValue(), data.getUnit()); in from()
/packages/modules/AdServices/shared/libraries/side-less/java/com/android/adservices/shared/testing/concurrency/
DSyncCallbackTimeoutException.java63 public TimeUnit getUnit() { in getUnit() method in SyncCallbackTimeoutException
/packages/modules/AdServices/shared/tests/side-less/java/com/android/adservices/shared/testing/concurrency/
DSyncCallbackTimeoutExceptionTest.java48 expect.withMessage("unit").that(mException.getUnit()).isEqualTo(MILLISECONDS); in testCustomGetters()
DSyncCallbackTestCase.java277 expect.withMessage("e.getUnit()()").that(thrown.getUnit()).isEqualTo(TimeUnit.MILLISECONDS); in testAssertCalled_neverCalled()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/util/
DStringUtil.java105 if (measureArray.length == 1 && MeasureUnit.MINUTE.equals(measureArray[0].getUnit())) { in formatElapsedTime()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMediaDetails.java108 public int getUnit(int index) { in getUnit() method in MediaDetails
/packages/apps/Camera2/src/com/android/camera/data/
DMediaDetails.java107 public int getUnit(int index) { in getUnit() method in MediaDetails
/packages/apps/Camera2/src/com/android/camera/ui/
DDetailsDialog.java189 context, key), value, context.getString(details.getUnit(key)));
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DDialogDetailsView.java237 context, key), value, context.getString(details.getUnit(key))); in setDetails()
/packages/services/Car/tests/BugReportApp/libs/
Dopencensus-api-0.21.0.jarMETA-INF/ META-INF/MANIFEST.MF io/ io/opencensus/ io/ ...
/packages/apps/Car/DebuggingRestrictionController/libs/
Dopencensus-api-0.24.0.jarMETA-INF/ META-INF/MANIFEST.MF io/ io/opencensus/ io/ ...