Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DHalServiceBaseTest.java59 .isSupportedProperty(HalServiceBase.NOT_SUPPORTED_PROPERTY); in testIsSupportedProperty_withReturnFalse()
66 assertThat(HalServiceBase.ManagerToHalPropIdMap.create(1, 2)).isNotNull(); in testManagerToHalPropIdMap_create_succeedWithEvenNumberOfParams()
72 () -> HalServiceBase.ManagerToHalPropIdMap.create(1, 2, 3)); in testManagerToHalPropIdMap_create_failedWithOddNumberOfParams()
79 HalServiceBase.ManagerToHalPropIdMap halPropIdMap = createIdMap(); in testManagerToHalPropIdMap_getHalPropId()
87 HalServiceBase.ManagerToHalPropIdMap halPropIdMap = createIdMap(); in testManagerToHalPropIdMap_getHalPropId_returnsDefaultHalPropId()
90 .that(halPropIdMap.getHalPropId(HalServiceBase.NOT_SUPPORTED_PROPERTY)) in testManagerToHalPropIdMap_getHalPropId_returnsDefaultHalPropId()
91 .isEqualTo(HalServiceBase.NOT_SUPPORTED_PROPERTY); in testManagerToHalPropIdMap_getHalPropId_returnsDefaultHalPropId()
96 HalServiceBase.ManagerToHalPropIdMap halPropIdMap = createIdMap(); in testManagerToHalPropIdMap_getManagerPropId()
104 HalServiceBase.ManagerToHalPropIdMap halPropIdMap = createIdMap(); in testManagerToHalPropIdMap_getManagerPropId_returnsDefaultManagerPropId()
107 .that(halPropIdMap.getManagerPropId(HalServiceBase.NOT_SUPPORTED_PROPERTY)) in testManagerToHalPropIdMap_getManagerPropId_returnsDefaultManagerPropId()
[all …]
DPropertyHalServiceTest.java1009 List<HalServiceBase> serviceWrap = new ArrayList<>(); in testSetCarPropertyValuesAsync_mixWaitNoWaitForPropertyUpdate()
1410 List<HalServiceBase> serviceWrap = new ArrayList<>(); in testSetCarPropertyValuesAsync_propertyUpdatedThroughEvent()
1473 List<HalServiceBase> serviceWrap = new ArrayList<>(); in testSetCarPropertyValuesAsync_propertyUpdatedThroughEvent_ignoreNonTargetEvent()
2028 List<HalServiceBase> serviceWrap = new ArrayList<>(); in testSetCarPropertyValuesAsync_cancelledBeforePropertyUpdateEvent()
2075 List<HalServiceBase> serviceWrap = new ArrayList<>(); in testSetCarPropertyValuesAsync_timeoutBeforePropertyUpdateEvent()
2129 List<HalServiceBase> serviceWrap = new ArrayList<>(); in testSetCarPropertyValuesAsync_onPropertySetError()
2589 List<HalServiceBase> serviceWrap = new ArrayList<>(); in testOnHalEvnts_unsubscribeAndUpdateSampleRates()
/packages/services/Car/service/src/com/android/car/hal/
DVehicleHal.java129 private final SparseArray<HalServiceBase> mPropertyHandlers = new SparseArray<>();
132 private final List<HalServiceBase> mAllServices;
360 HalServiceBase service = mPropertyHandlers.get(propId); in handleOnPropertyEvent()
377 for (HalServiceBase s : mServicesToDispatch) { in handleOnPropertyEvent()
410 HalServiceBase service; in handleOnPropertySetError()
482 ArrayMap<HalServiceBase, ArrayList<HalPropConfig>> configsForAllServices; in priorityInit()
487 HalServiceBase service = mAllServices.get(i); in priorityInit()
512 for (Map.Entry<HalServiceBase, ArrayList<HalPropConfig>> entry in priorityInit()
514 HalServiceBase service = entry.getKey(); in priorityInit()
592 private void assertServiceOwnerLocked(HalServiceBase service, int property) { in assertServiceOwnerLocked()
[all …]
DHalServiceBase.java37 public abstract class HalServiceBase { class
39 private static final String MY_TAG = HalServiceBase.class.getSimpleName();
DEvsHalService.java47 public class EvsHalService extends HalServiceBase {
DTimeHalService.java48 public final class TimeHalService extends HalServiceBase {
DClusterHalService.java53 public final class ClusterHalService extends HalServiceBase {
DDiagnosticHalService.java53 public class DiagnosticHalService extends HalServiceBase {
DVmsHalService.java81 public class VmsHalService extends HalServiceBase {
DPowerHalService.java65 public class PowerHalService extends HalServiceBase {
DInputHalService.java68 public class InputHalService extends HalServiceBase {
DUserHalService.java86 public final class UserHalService extends HalServiceBase {
DPropertyHalService.java114 public class PropertyHalService extends HalServiceBase {