Searched refs:HalServiceBase (Results 1 – 13 of 13) sorted by relevance
59 .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 …]
1009 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()
129 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 …]
37 public abstract class HalServiceBase { class39 private static final String MY_TAG = HalServiceBase.class.getSimpleName();
47 public class EvsHalService extends HalServiceBase {
48 public final class TimeHalService extends HalServiceBase {
53 public final class ClusterHalService extends HalServiceBase {
53 public class DiagnosticHalService extends HalServiceBase {
81 public class VmsHalService extends HalServiceBase {
65 public class PowerHalService extends HalServiceBase {
68 public class InputHalService extends HalServiceBase {
86 public final class UserHalService extends HalServiceBase {
114 public class PropertyHalService extends HalServiceBase {