Home
last modified time | relevance | path

Searched refs:mPropValueBuilder (Results 1 – 18 of 18) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DUserHalHelperTest.java90 private HalPropValueBuilder mPropValueBuilder = new HalPropValueBuilder(/*isAidl=*/true); field in UserHalHelperTest
382 mPropValueBuilder, (UserIdentificationGetRequest) null)); in testUserIdentificationGetRequestToHalPropValue_null()
391 () -> UserHalHelper.toHalPropValue(mPropValueBuilder, request)); in testUserIdentificationGetRequestToHalPropValue_nullAssociationTypes()
399 () -> UserHalHelper.toHalPropValue(mPropValueBuilder, request)); in testUserIdentificationGetRequestToHalPropValue_emptyRequest()
408 () -> UserHalHelper.toHalPropValue(mPropValueBuilder, request)); in testUserIdentificationGetRequestToHalPropValue_wrongNumberOfAssociations()
418 () -> UserHalHelper.toHalPropValue(mPropValueBuilder, request)); in testUserIdentificationGetRequestToHalPropValue_invalidType()
430 () -> UserHalHelper.toHalPropValue(mPropValueBuilder, request)); in testUserIdentificationGetRequestToHalPropValue_missingRequestId()
442 HalPropValue propValue = UserHalHelper.toHalPropValue(mPropValueBuilder, request); in testUserIdentificationGetRequestToHalPropValue_ok()
457 HalPropValue prop = mPropValueBuilder.build(/* propId= */ 0, /* areaId= */ 0); in testToUserIdentificationResponse_invalidPropType()
466 HalPropValue prop = mPropValueBuilder.build( in testToUserIdentificationResponse_invalidSize()
[all …]
DInputHalServiceTest.java76 private final HalPropValueBuilder mPropValueBuilder = new HalPropValueBuilder(/*isAidl=*/true); field in InputHalServiceTest
247 HalPropValue v = mPropValueBuilder.build(VehicleProperty.HW_KEY_INPUT, /* areaId= */ 0); in dispatchesInputEvent_invalidInputEvent()
253 v = mPropValueBuilder.build(VehicleProperty.HW_KEY_INPUT, /* areaId= */ 0, in dispatchesInputEvent_invalidInputEvent()
259 v = mPropValueBuilder.build(VehicleProperty.HW_KEY_INPUT, /* areaId= */ 0, in dispatchesInputEvent_invalidInputEvent()
467 HalPropValue v = mPropValueBuilder.build(VehicleProperty.HW_ROTARY_INPUT, /* areaId= */ 0); in dispatchesRotaryEvent_invalidInputEvent()
474 v = mPropValueBuilder.build(VehicleProperty.HW_ROTARY_INPUT, /* areaId= */ 0, in dispatchesRotaryEvent_invalidInputEvent()
480 v = mPropValueBuilder.build(VehicleProperty.HW_ROTARY_INPUT, /* areaId= */ 0, in dispatchesRotaryEvent_invalidInputEvent()
486 v = mPropValueBuilder.build(VehicleProperty.HW_ROTARY_INPUT, /* areaId= */ 0, in dispatchesRotaryEvent_invalidInputEvent()
494 v = mPropValueBuilder.build(VehicleProperty.HW_ROTARY_INPUT, /* areaId= */ 1, in dispatchesRotaryEvent_invalidInputEvent()
501 v = mPropValueBuilder.build(VehicleProperty.HW_ROTARY_INPUT, /* areaId= */ 1, in dispatchesRotaryEvent_invalidInputEvent()
[all …]
DVehicleHalTest.java101 private final HalPropValueBuilder mPropValueBuilder = new HalPropValueBuilder(/*isAidl=*/true); field in VehicleHalTest
112 when(mVehicle.getHalPropValueBuilder()).thenReturn(mPropValueBuilder); in setUp()
614 HalPropValue propValue = mPropValueBuilder.build(SOME_READ_ON_CHANGE_PROPERTY,
634 HalPropValue propValue = mPropValueBuilder.build(SOME_READ_ON_CHANGE_PROPERTY,
657 HalPropValue propValue = mPropValueBuilder.build(UNSUPPORTED_PROPERTY,
752 HalPropValue propValue = mPropValueBuilder.build(SOME_READ_ON_CHANGE_PROPERTY,
783 HalPropValue propValue = mPropValueBuilder.build(SOME_READ_ON_CHANGE_PROPERTY,
825 HalPropValue propValue = mPropValueBuilder.build(SOME_READ_ON_CHANGE_PROPERTY,
839 HalPropValue propValue = mPropValueBuilder.build(SOME_READ_ON_CHANGE_PROPERTY,
865 HalPropValue propValue = mPropValueBuilder.build(SOME_READ_ON_CHANGE_PROPERTY,
[all …]
DDiagnosticHalServiceTest.java57 private final HalPropValueBuilder mPropValueBuilder = new HalPropValueBuilder(/*aidl=*/true); field in DiagnosticHalServiceTest
61 when(mVehicle.getHalPropValueBuilder()).thenReturn(mPropValueBuilder); in setUp()
94 return mPropValueBuilder.build(VehicleProperty.OBD2_FREEZE_FRAME, in getTestFreezeFrame()
111 return mPropValueBuilder.build(VehicleProperty.OBD2_LIVE_FRAME, in getTestLiveFrame()
171 HalPropValue value = mPropValueBuilder.build(VehicleProperty.OBD2_FREEZE_FRAME_INFO, 0, in testGetFreezeFrameTimestamps_ok()
197 HalPropValue value = mPropValueBuilder.build( in testGetFreezeFrame_ok()
220 HalPropValue value = mPropValueBuilder.build( in testClearFreezeFrames_ok()
DVmsHalServiceTest.java84 private final HalPropValueBuilder mPropValueBuilder = new HalPropValueBuilder(/*isAidl=*/true); field in VmsHalServiceTest
107 when(mVehicleHal.getHalPropValueBuilder()).thenReturn(mPropValueBuilder); in initHalService()
161 when(mVehicleHal.getHalPropValueBuilder()).thenReturn(mPropValueBuilder); in testCoreId_IntegerOverflow()
221 HalPropValue message = mPropValueBuilder.build(VehicleProperty.VEHICLE_MAP_SERVICE, in testHandleInvalidEvent()
232 message = mPropValueBuilder.build(VehicleProperty.VEHICLE_MAP_SERVICE, in testHandleInvalidEvent()
243 message = mPropValueBuilder.build(VehicleProperty.VEHICLE_MAP_SERVICE, in testHandleInvalidEvent()
254 message = mPropValueBuilder.build(VehicleProperty.VEHICLE_MAP_SERVICE, in testHandleInvalidEvent()
265 message = mPropValueBuilder.build(VehicleProperty.VEHICLE_MAP_SERVICE, in testHandleInvalidEvent()
1066 HalPropValue vehicleProp = mPropValueBuilder.build(/*propId=*/0, /*areaId=*/0, in testDumpMetrics_NonVendorProperty()
1087 HalPropValue metricsProperty = mPropValueBuilder.build(/*propId=*/0, /*areaId=*/0, in testDumpMetrics_VendorProperty()
[all …]
DEvsHalServiceTest.java65 private final HalPropValueBuilder mPropValueBuilder = new HalPropValueBuilder(/*isAidl=*/true); field in EvsHalServiceTest
126 HalPropValue v = mPropValueBuilder.build(VehicleProperty.EVS_SERVICE_REQUEST, /*areaId=*/0); in handleInvalidHalEvents()
133 v = mPropValueBuilder.build(VehicleProperty.EVS_SERVICE_REQUEST, /*areaId=*/0, in handleInvalidHalEvents()
146 return mPropValueBuilder.build(VehicleProperty.EVS_SERVICE_REQUEST, /*areaId=*/0, in buildEvsServiceRequestProp()
DUserHalServiceTest.java163 private final HalPropValueBuilder mPropValueBuilder = new HalPropValueBuilder(/*isAidl=*/true); field in UserHalServiceTest
177 when(mVehicleHal.getHalPropValueBuilder()).thenReturn(mPropValueBuilder); in setFixtures()
1172 HalPropValue propResponse = mPropValueBuilder.build(USER_IDENTIFICATION_ASSOCIATION, in testGetUserAssociation_invalidResponse()
1209 HalPropValue propResponse = mPropValueBuilder.build(USER_IDENTIFICATION_ASSOCIATION, in testGetUserAssociation_wrongNumberOfAssociationsOnResponse()
1230 HalPropValue propResponse = mPropValueBuilder.build(USER_IDENTIFICATION_ASSOCIATION, in testGetUserAssociation_typesOnResponseMismatchTypesOnRequest()
1249 HalPropValue propResponse = mPropValueBuilder.build(USER_IDENTIFICATION_ASSOCIATION, in testGetUserAssociation_requestIdMismatch()
1268 HalPropValue propResponse = mPropValueBuilder.build(USER_IDENTIFICATION_ASSOCIATION, in testGetUserAssociation_ok()
1388 HalPropValue propResponse = mPropValueBuilder.build(USER_IDENTIFICATION_ASSOCIATION, in testSetUserAssociation_responseWithWrongRequestId()
1410 HalPropValue propResponse = mPropValueBuilder.build(USER_IDENTIFICATION_ASSOCIATION, in testSetUserAssociation_notEnoughValuesOnResponse()
1431 HalPropValue propResponse = mPropValueBuilder.build(USER_IDENTIFICATION_ASSOCIATION, in testSetUserAssociation_wrongNumberOfAssociationsOnResponse()
[all …]
DTimeHalServiceTest.java67 private final HalPropValueBuilder mPropValueBuilder = new HalPropValueBuilder(/*isAidl=*/true); field in TimeHalServiceTest
77 when(mVehicleHal.getHalPropValueBuilder()).thenReturn(mPropValueBuilder); in setUp()
230 return mPropValueBuilder.build(EXTERNAL_CAR_TIME, VehicleArea.GLOBAL, in newExternalCarTimeValue()
DHalClientUnitTest.java57 private final HalPropValueBuilder mPropValueBuilder = new HalPropValueBuilder(/*isAidl=*/true); field in HalClientUnitTest
58 private final HalPropValue mProp = mPropValueBuilder.build(PROP, AREA_ID);
/packages/services/Car/service/src/com/android/car/hal/
DVmsHalService.java105 private final HalPropValueBuilder mPropValueBuilder; field in VmsHalService
116 setPropertyValue(createSubscriptionStateMessage(mPropValueBuilder,
123 setPropertyValue(createAvailableLayersMessage(mPropValueBuilder,
130 setPropertyValue(createDataMessage(mPropValueBuilder, layer, providerId, packet));
151 mPropValueBuilder = vehicleHal.getHalPropValueBuilder(); in VmsHalService()
208 mPropValueBuilder, mCoreId, UNKNOWN_CLIENT_ID))); in init()
409 setPropertyValue(createStartSessionMessage(mPropValueBuilder, mCoreId, clientId)); in handleStartSessionEvent()
536 HalPropValue vehicleProp = createVmsMessage(mPropValueBuilder, in handlePublisherIdRequest()
566 createVmsMessage(mPropValueBuilder, VmsMessageType.PUBLISHER_INFORMATION_RESPONSE, in handlePublisherInfoRequest()
633 setPropertyValue(createAvailableLayersMessage(mPropValueBuilder, in handleAvailabilityRequestEvent()
[all …]
DClusterHalService.java106 private final HalPropValueBuilder mPropValueBuilder; field in ClusterHalService
110 mPropValueBuilder = hal.getHalPropValueBuilder(); in ClusterHalService()
268 HalPropValue request = mPropValueBuilder.build(CLUSTER_REPORT_STATE, in reportState()
285 HalPropValue request = mPropValueBuilder.build(CLUSTER_REQUEST_DISPLAY, in requestDisplay()
301 HalPropValue request = mPropValueBuilder.build(CLUSTER_NAVIGATION_STATE, in sendNavigationState()
DVehicleHal.java96 private final HalPropValueBuilder mPropValueBuilder; field in VehicleHal
151 mPropValueBuilder = vehicle.getHalPropValueBuilder(); in VehicleHal()
326 return mPropValueBuilder; in getHalPropValueBuilder()
498 return mHalClient.getValue(mPropValueBuilder.build(propertyId, areaId)); in get()
522 return get(clazz, mPropValueBuilder.build(propertyId, areaId)); in get()
670 HalPropValue v = createPropValueForInjecting(mPropValueBuilder, property, areaId, in setPropertyFromCommand()
959 HalPropValue v = createPropValueForInjecting(mPropValueBuilder, property, zone, in injectVhalEvent()
979 HalPropValue v = createPropValueForInjecting(mPropValueBuilder, property, zone, in injectContinuousVhalEvent()
1002 HalPropValue v = createPropValueForInjecting(mPropValueBuilder, property, zone, in injectContinuousVhalEvent()
1094 HalPropValue propValue = mPropValueBuilder.build(mPropId, mAreaId, value); in to()
[all …]
DTimeHalService.java60 private final HalPropValueBuilder mPropValueBuilder; field in TimeHalService
102 mPropValueBuilder = hal.getHalPropValueBuilder(); in TimeHalService()
201 HalPropValue propValue = mPropValueBuilder.build(ANDROID_EPOCH_TIME, VehicleArea.GLOBAL, in updateAndroidEpochTimePropertyLocked()
DUserHalService.java137 private final HalPropValueBuilder mPropValueBuilder; field in UserHalService
158 mPropValueBuilder = hal.getHalPropValueBuilder(); in UserHalService()
325 HalPropValue propRequest = mPropValueBuilder.build(INITIAL_USER_INFO, /* areaId= */ 0, in getInitialUserInfo()
397 HalPropValue propRequest = UserHalHelper.toHalPropValue(mPropValueBuilder, request); in switchUser()
428 HalPropValue propRequest = UserHalHelper.toHalPropValue(mPropValueBuilder, request); in removeUser()
466 HalPropValue propRequest = UserHalHelper.toHalPropValue(mPropValueBuilder, request); in createUser()
494 HalPropValue propRequest = UserHalHelper.toHalPropValue(mPropValueBuilder, request); in postSwitchResponse()
524 HalPropValue propRequest = UserHalHelper.toHalPropValue(mPropValueBuilder, request); in legacyUserSwitch()
569 HalPropValue requestAsPropValue = UserHalHelper.toHalPropValue(mPropValueBuilder, in getUserAssociation()
669 HalPropValue propRequest = UserHalHelper.toHalPropValue(mPropValueBuilder, request); in setUserAssociation()
DDiagnosticHalService.java66 private final HalPropValueBuilder mPropValueBuilder; field in DiagnosticHalService
124 mPropValueBuilder = mVehicleHal.getHalPropValueBuilder(); in DiagnosticHalService()
560 HalPropValue getValue = mPropValueBuilder.build( in getFreezeFrame()
578 HalPropValue value = mPropValueBuilder.build( in clearFreezeFrames()
DPropertyHalService.java78 private final HalPropValueBuilder mPropValueBuilder; field in PropertyHalService
134 mPropValueBuilder = vehicleHal.getHalPropValueBuilder(); in PropertyHalService()
289 HalPropValue halPropValue = mPropValueBuilder.build(prop, halPropId, propConfig); in setProperty()
/packages/services/Car/service/src/com/android/car/
DHidlVehicleStub.java58 private final HalPropValueBuilder mPropValueBuilder; field in HidlVehicleStub
67 mPropValueBuilder = new HalPropValueBuilder(/*isAidl=*/false); in HidlVehicleStub()
85 return mPropValueBuilder; in getHalPropValueBuilder()
184 return new HidlSubscriptionClient(callback, mPropValueBuilder); in newSubscriptionClient()
341 HalPropValue propIdsRequestValue = mPropValueBuilder.build( in getAllPropConfigsThroughMultipleRequests()
DAidlVehicleStub.java72 private final HalPropValueBuilder mPropValueBuilder; field in AidlVehicleStub
93 mPropValueBuilder = new HalPropValueBuilder(/*isAidl=*/true); in AidlVehicleStub()
129 return mPropValueBuilder; in getHalPropValueBuilder()
212 return new AidlSubscriptionClient(callback, mPropValueBuilder); in newSubscriptionClient()
256 return mPropValueBuilder.build(result.prop); in get()