Home
last modified time | relevance | path

Searched refs:STATUS_AVAILABLE (Results 1 – 25 of 39) sorted by relevance

12

/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarDrivingRestrictionsTest.java138 CarPropertyValue.STATUS_AVAILABLE); in testDrivingStateChange()
144 aidlInjectVehicleSpeedEvent(0.0f, CarPropertyValue.STATUS_AVAILABLE); in testDrivingStateChange()
151 CarPropertyValue.STATUS_AVAILABLE); in testDrivingStateChange()
159 aidlInjectVehicleSpeedEvent(30.0f, CarPropertyValue.STATUS_AVAILABLE); in testDrivingStateChange()
171 aidlInjectVehicleSpeedEvent(0.0f, CarPropertyValue.STATUS_AVAILABLE); in testDrivingStateChange()
183 CarPropertyValue.STATUS_AVAILABLE); in testDrivingStateChange()
187 aidlInjectVehicleSpeedEvent(-10.0f, CarPropertyValue.STATUS_AVAILABLE); in testDrivingStateChange()
201 aidlInjectParkingBrakeEvent(true, CarPropertyValue.STATUS_AVAILABLE); in testDrivingStateChange()
215 CarPropertyValue.STATUS_AVAILABLE); in testDrivingStateChangeForMalformedInputs()
221 aidlInjectVehicleSpeedEvent(0.0f, CarPropertyValue.STATUS_AVAILABLE); in testDrivingStateChangeForMalformedInputs()
[all …]
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DVhalJsonReader.java76 return new CarPropertyValue<>(prop, areaId, CarPropertyValue.STATUS_AVAILABLE, in getEvent()
79 return new CarPropertyValue<>(prop, areaId, CarPropertyValue.STATUS_AVAILABLE, in getEvent()
82 return new CarPropertyValue<>(prop, areaId, CarPropertyValue.STATUS_AVAILABLE, in getEvent()
86 CarPropertyValue.STATUS_AVAILABLE, timestamp, in getEvent()
89 return new CarPropertyValue<>(prop, areaId, CarPropertyValue.STATUS_AVAILABLE, in getEvent()
105 return new CarPropertyValue<>(prop, areaId, CarPropertyValue.STATUS_AVAILABLE, in getEvent()
DCarPropertyTest.java298 /* areaId= */ 0, CarPropertyValue.STATUS_AVAILABLE, /* timestamp= */ 0, in testMixedTypeProperty()
309 CarPropertyValue.STATUS_AVAILABLE, /* timestamp= */ 0, expectedValue); in testMixedTypeProperty()
464 if (carPropertyValue.getStatus() == CarPropertyValue.STATUS_AVAILABLE) { in onChangeEvent()
/packages/services/Car/service/src/com/android/car/hal/
DHalPropValue.java294 } else if (status == CarPropertyValue.STATUS_AVAILABLE) { in toCarPropertyValue()
300 } else if (status == CarPropertyValue.STATUS_AVAILABLE) { in toCarPropertyValue()
306 } else if (status == CarPropertyValue.STATUS_AVAILABLE) { in toCarPropertyValue()
312 } else if (status == CarPropertyValue.STATUS_AVAILABLE) { in toCarPropertyValue()
353 } else if (status == CarPropertyValue.STATUS_AVAILABLE) { in toMixedCarPropertyValue()
414 return CarPropertyValue.STATUS_AVAILABLE; in vehiclePropertyStatusToCarPropertyStatus()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarNightServiceTest.java19 import static android.car.hardware.CarPropertyValue.STATUS_AVAILABLE;
60 new CarPropertyValue<>(VehicleProperty.NIGHT_MODE, 0, STATUS_AVAILABLE, 1000, true);
62 new CarPropertyValue<>(VehicleProperty.NIGHT_MODE, 0, STATUS_AVAILABLE, 1000, false);
64 new CarPropertyValue<>(VehicleProperty.NIGHT_MODE, 0, STATUS_AVAILABLE, 0, false);
/packages/services/Car/car-lib/src/android/car/hardware/
DCarPropertyValue.java63 STATUS_AVAILABLE,
73 public static final int STATUS_AVAILABLE = 0; field in CarPropertyValue
133 this(propertyId, areaId, CarPropertyValue.STATUS_AVAILABLE, timestampNanos, value); in CarPropertyValue()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DWordListPreference.java120 case MetadataDbHelper.STATUS_AVAILABLE: in getSummary()
174 setStatus(MetadataDbHelper.STATUS_AVAILABLE); in disableDict()
190 if (MetadataDbHelper.STATUS_AVAILABLE == mStatus) { in enableDict()
DActionBatch.java123 } else if (MetadataDbHelper.STATUS_AVAILABLE != status in execute()
310 MetadataDbHelper.TYPE_BULK, MetadataDbHelper.STATUS_AVAILABLE, in execute()
455 if (mHasNewerVersion && MetadataDbHelper.STATUS_AVAILABLE != status) { in execute()
DMetadataDbHelper.java98 public static final int STATUS_AVAILABLE = 1; field in MetadataDbHelper
783 Integer.toString(STATUS_AVAILABLE) }, in queryInstalledOrDeletingOrAvailableDictionaryMetadata()
1105 markEntryAs(db, id, version, STATUS_AVAILABLE, NOT_A_DOWNLOAD_ID); in markEntryAsAvailable()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/units/
DUnitsBasePreferenceControllerTest.java247 when(mCarPropertyValue.getStatus()).thenReturn(CarPropertyValue.STATUS_AVAILABLE); in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue()
258 when(mCarPropertyValue.getStatus()).thenReturn(CarPropertyValue.STATUS_AVAILABLE); in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitAbbreviationAsSummary()
DUnitsSpeedPreferenceControllerTest.java112 when(mCarPropertyValue.getStatus()).thenReturn(CarPropertyValue.STATUS_AVAILABLE); in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue()
DUnitsEnergyConsumptionPreferenceControllerTest.java115 when(mCarPropertyValue.getStatus()).thenReturn(CarPropertyValue.STATUS_AVAILABLE); in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue()
DUnitsDistancePreferenceControllerTest.java110 when(mCarPropertyValue.getStatus()).thenReturn(CarPropertyValue.STATUS_AVAILABLE); in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue()
DUnitsPressurePreferenceControllerTest.java112 when(mCarPropertyValue.getStatus()).thenReturn(CarPropertyValue.STATUS_AVAILABLE); in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue()
DUnitsVolumePreferenceControllerTest.java110 when(mCarPropertyValue.getStatus()).thenReturn(CarPropertyValue.STATUS_AVAILABLE); in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue()
DUnitsTemperaturePreferenceControllerTest.java111 when(mCarPropertyValue.getStatus()).thenReturn(CarPropertyValue.STATUS_AVAILABLE); in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue()
DUnitsFuelConsumptionPreferenceControllerTest.java114 when(mCarPropertyValue.getStatus()).thenReturn(CarPropertyValue.STATUS_AVAILABLE); in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue()
/packages/services/Car/car-lib/api/
Dremoved.txt19 …@IntDef({android.car.hardware.CarPropertyValue.STATUS_AVAILABLE, android.car.hardware.CarPropertyV…
/packages/services/Car/car-lib-module/api/
Dremoved.txt19 …@IntDef({android.car.hardware.CarPropertyValue.STATUS_AVAILABLE, android.car.hardware.CarPropertyV…
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/hvac/custom/
DFanDirectionButton.java65 && value.getStatus() == CarPropertyValue.STATUS_AVAILABLE) { in onPropertyChanged()
/packages/apps/Car/Settings/src/com/android/car/settings/units/
DUnitsBasePreferenceController.java79 if (value != null && value.getStatus() == CarPropertyValue.STATUS_AVAILABLE) {
/packages/services/Car/car-lib/src/android/car/
DCarInfoManager.java276 if (carProp != null && carProp.getStatus() == CarPropertyValue.STATUS_AVAILABLE) { in getPropertyWithDefaultValue()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarPropertyValueTest.java218 assertThat(CAR_PROPERTY_VALUE.getStatus()).isEqualTo(CarPropertyValue.STATUS_AVAILABLE); in getStatus_returnsAvailable()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/hvac/
DCarUiPortraitTemperatureControlView.java114 mTemperatureSetAvailable = value.getStatus() == CarPropertyValue.STATUS_AVAILABLE; in onPropertyChanged()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/
DTemperatureControlView.java113 mTemperatureSetAvailable = value.getStatus() == CarPropertyValue.STATUS_AVAILABLE; in onPropertyChanged()

12