Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DPropertyHalServiceTest.java131 private PropertyHalService mPropertyHalService; field in PropertyHalServiceTest
194 mPropertyHalService = new PropertyHalService(mVehicleHal); in setUp()
195 mPropertyHalService.setPropertyHalServiceConfigs(PropertyHalServiceConfigs.newConfigs()); in setUp()
196 mPropertyHalService.init(); in setUp()
224 mPropertyHalService.takeProperties(List.of(mockPropConfig1, mockPropConfig2, in setUp()
226 mPropertyHalService.getPropertyList(); in setUp()
231 mPropertyHalService.release(); in tearDown()
232 mPropertyHalService = null; in tearDown()
237 .that(mPropertyHalService.countPendingAsyncRequests()).isEqualTo(0); in verifyNoPendingRequest()
239 .that(mPropertyHalService.countHalPropIdToWaitForUpdateRequests()).isEqualTo(0); in verifyNoPendingRequest()
[all …]
DVehicleHalTest.java114 @Mock private PropertyHalService mPropertyHalService; field in VehicleHalTest
168 when(mPropertyHalService.getAllSupportedProperties()).thenReturn(propIds); in initHalServices()
269 mPropertyHalService, mInputHalService, mVmsHalService, mUserHalService,
380 .when(mPropertyHalService).takeProperties(any());
394 verify(mPropertyHalService).init();
413 when(mPropertyHalService.getAllSupportedProperties()).thenReturn(new int[]{});
414 when(mPropertyHalService.isSupportedProperty(eq(SOME_READ_WRITE_STATIC_PROPERTY)))
416 when(mPropertyHalService.isSupportedProperty(not(eq(SOME_READ_WRITE_STATIC_PROPERTY))))
451 when(mPropertyHalService.getAllSupportedProperties()).thenReturn(
468 .when(mPropertyHalService).takeProperties(any());
[all …]
/packages/services/Car/service/src/com/android/car/
DCarPropertyService.java172 private final PropertyHalService mPropertyHalService; field in CarPropertyService
196 private PropertyHalService mPropertyHalService; field in CarPropertyService.Builder
209 mPropertyHalService = propertyHalService; in setPropertyHalService()
243 mPropertyHalService = Objects.requireNonNull(builder.mPropertyHalService); in CarPropertyService()
265 mPropertyIdToCarPropertyConfig = mPropertyHalService.getPropertyList(); in init()
270 mPropertyHalService.setPropertyHalListener(this); in init()
278 mPropertyHalService.setPropertyHalListener(null); in release()
537 mPropertyHalService.subscribeProperty(filteredSubscriptions); in applyStagedChangesLocked()
548 mPropertyHalService.unsubscribeProperty(propertyIdsToUnsubscribe.get(i)); in applyStagedChangesLocked()
731 if (!mPropertyHalService.isReadable(mContext, propId) in getPropertyConfigList()
[all …]