Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DHalClientUnitTest.java18 import static android.car.test.mocks.CarArgumentMatchers.isProperty;
63 when(mIVehicle.set(isProperty(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()
96 when(mIVehicle.set(isProperty(PROP))).thenReturn(StatusCode.INTERNAL_ERROR); in testSet_otherError()
107 when(mIVehicle.set(isProperty(PROP))).thenReturn(StatusCode.OK); in testSet_ok()
DUserHalServiceTest.java24 import static android.car.test.mocks.CarArgumentMatchers.isProperty;
1455 }).when(mVehicleHal).set(isProperty(prop)); in replySetPropertyWithOnChangeEvent()
1464 "PropId: 0x" + Integer.toHexString(prop))).when(mVehicleHal).set(isProperty(prop)); in replySetPropertyWithTimeoutException()
/packages/services/Car/car-test-lib/src/android/car/test/mocks/
DCarArgumentMatchers.java56 public static VehiclePropValue isProperty(int prop) { in isProperty() method in CarArgumentMatchers