Home
last modified time | relevance | path

Searched refs:messageType (Results 1 – 7 of 7) sorted by relevance

/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DEmulatedUserHal.cpp176 auto messageType = getSwitchUserMessageType(value); in onSetSwitchUserResponse() local
177 if (!messageType.ok()) { in onSetSwitchUserResponse()
179 messageType.error().message().c_str()); in onSetSwitchUserResponse()
180 return messageType.error(); in onSetSwitchUserResponse()
184 if (*messageType == SwitchUserMessageType::VEHICLE_REQUEST) { in onSetSwitchUserResponse()
203 if (*messageType == SwitchUserMessageType::LEGACY_ANDROID_SWITCH || in onSetSwitchUserResponse()
204 *messageType == SwitchUserMessageType::ANDROID_POST_SWITCH) { in onSetSwitchUserResponse()
205 ALOGI("request is %s; ignoring it", toString(*messageType).c_str()); in onSetSwitchUserResponse()
212 .messageType = SwitchUserMessageType::VEHICLE_RESPONSE, in onSetSwitchUserResponse()
/hardware/interfaces/automotive/vehicle/2.0/utils/
DUserHalHelper.cpp188 auto messageType = verifyAndCast<SwitchUserMessageType>(propValue.value.int32Values[1]); in toSwitchUserRequest() local
189 if (!messageType.ok()) { in toSwitchUserRequest()
190 return Error() << "Invalid SwitchUserMessageType: " << messageType.error(); in toSwitchUserRequest()
192 if (*messageType != SwitchUserMessageType::LEGACY_ANDROID_SWITCH && in toSwitchUserRequest()
193 *messageType != SwitchUserMessageType::ANDROID_SWITCH && in toSwitchUserRequest()
194 *messageType != SwitchUserMessageType::ANDROID_POST_SWITCH) { in toSwitchUserRequest()
195 return Error() << "Invalid " << toString(*messageType) in toSwitchUserRequest()
199 request.messageType = *messageType; in toSwitchUserRequest()
291 if (request.messageType != SwitchUserMessageType::VEHICLE_REQUEST) { in toVehiclePropValue()
293 toString(request.messageType).c_str()); in toVehiclePropValue()
[all …]
/hardware/interfaces/renderscript/1.0/vts/functional/
DVtsMiscellaneousTests.cpp280 MessageToClientType messageType; in TEST_P() local
284 messageType = _type; size = (uint32_t)_size; subID = _subID; }); in TEST_P()
288 messageType = _type; size = (uint32_t)_size; }); in TEST_P()
/hardware/interfaces/automotive/vehicle/2.0/utils/tests/
DUserHalHelper_test.cpp216 .messageType = SwitchUserMessageType::LEGACY_ANDROID_SWITCH, in TEST()
592 .messageType = SwitchUserMessageType::VEHICLE_REQUEST, in TEST()
615 .messageType = SwitchUserMessageType::VEHICLE_RESPONSE, in TEST()
651 .messageType = SwitchUserMessageType::VEHICLE_RESPONSE, in TEST()
/hardware/interfaces/renderscript/1.0/default/
DContext.cpp437 MessageToClientType messageType = static_cast<MessageToClientType>(_messageType); in contextGetMessage() local
439 _hidl_cb(messageType, receiveLen); in contextGetMessage()
447 MessageToClientType messageType = static_cast<MessageToClientType>(_messageType); in contextPeekMessage() local
450 _hidl_cb(messageType, receiveLen, subID); in contextPeekMessage()
/hardware/interfaces/renderscript/1.0/
DIContext.hal667 * @return messageType Type of message sent to the client
672 generates (MessageToClientType messageType, Size receiveLen);
681 * @return messageType Type of message sent to the client
687 generates (MessageToClientType messageType, Size receiveLen,
/hardware/interfaces/automotive/vehicle/2.0/
Dtypes.hal2810 * int32[1]: 3 // messageType = SwitchUserMessageType::VEHICLE_RESPONSE
2816 * int32[1]: 3 // messageType = SwitchUserMessageType::VEHICLE_RESPONSE
2842 * int32[1]: 4 // messageType = SwitchUserMessageType::VEHICLE_REQUEST
2848 * int32[1]: 5 // messageType = SwitchUserMessageType::ANDROID_POST_SWITCH
4953 SwitchUserMessageType messageType;
4998 SwitchUserMessageType messageType;