Home
last modified time | relevance | path

Searched refs:PROP (Results 1 – 6 of 6) sorted by relevance

/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
H A DHalClientUnitTest.java43 private static final int PROP = 42; field in HalClientUnitTest
57 mProp.prop = PROP; in setFixtures()
63 when(mIVehicle.set(isProperty(PROP))) in testSet_remoteExceptionThenFail()
70 assertThat(actualException).hasMessageThat().contains(Integer.toHexString(PROP)); in testSet_remoteExceptionThenFail()
76 when(mIVehicle.set(isProperty(PROP))) in testSet_remoteExceptionThenOk()
85 when(mIVehicle.set(isProperty(PROP))).thenReturn(StatusCode.INVALID_ARG); in testSet_invalidArgument()
90 assertThat(actualException).hasMessageThat().contains(Integer.toHexString(PROP)); in testSet_invalidArgument()
96 when(mIVehicle.set(isProperty(PROP))).thenReturn(StatusCode.INTERNAL_ERROR); in testSet_otherError()
101 assertThat(actualException).hasMessageThat().contains(Integer.toHexString(PROP)); in testSet_otherError()
107 when(mIVehicle.set(isProperty(PROP))).thenReturn(StatusCode.OK); in testSet_ok()
/aosp12/hardware/interfaces/automotive/vehicle/2.0/default/tests/
H A DVehicleHalManager_test.cpp288 subscribedValue->prop = PROP; in TEST_F()
390 expectedValue->prop = PROP; in TEST_F()
396 invokeGet(PROP, 0); in TEST_F()
398 ASSERT_EQ(PROP, actualValue.prop); in TEST_F()
411 expectedValue1->prop = PROP; in TEST_F()
417 expectedValue2->prop = PROP; in TEST_F()
424 invokeGet(PROP, AREA1); in TEST_F()
426 ASSERT_EQ(PROP, actualValue.prop); in TEST_F()
430 invokeGet(PROP, AREA2); in TEST_F()
442 v->prop = PROP; in TEST_F()
[all …]
/aosp12/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
H A DE2ePerformanceTest.java150 final int PROP = CarHvacManager.ID_WINDOW_DEFROSTER_ON; in benchmarkSetGetFromSingleClient() local
161 mgr.setBooleanProperty(PROP, 1, value); in benchmarkSetGetFromSingleClient()
162 boolean actualValue = mgr.getBooleanProperty(PROP, 1); in benchmarkSetGetFromSingleClient()
175 final int PROP = CarHvacManager.ID_ZONED_TEMP_SETPOINT; in benchmarkSetGetFromSingleClientMultipleThreads() local
179 CarPropertyConfig<Float> cfg = findHvacPropConfig(Float.class, PROP, mgr); in benchmarkSetGetFromSingleClientMultipleThreads()
181 assertTrue("Expected at least 2 zones for 0x" + Integer.toHexString(PROP) in benchmarkSetGetFromSingleClientMultipleThreads()
/aosp12/packages/services/Car/tests/carservice_test/src/com/android/car/
H A DCarCabinManagerTest.java114 final int PROP = VehicleProperty.DOOR_LOCK; in testError() local
135 mCarCabinManager.setBooleanProperty(PROP, AREA, true); in testError()
136 getMockedVehicleHal().injectError(ERR_CODE, PROP, AREA); in testError()
138 assertEquals(PROP, propertyIdReceived.value); in testError()
H A DCarHvacManagerTest.java156 final int PROP = VehicleProperty.HVAC_DEFROSTER; in testError() local
177 mCarHvacManager.setBooleanProperty(PROP, AREA, true); in testError()
178 getMockedVehicleHal().injectError(ERR_CODE, PROP, AREA); in testError()
180 assertEquals(PROP, propertyIdReceived.value); in testError()
/aosp12/frameworks/opt/setupwizard/tools/docs/
H A Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ ...