Home
last modified time | relevance | path

Searched refs:eventData (Results 1 – 22 of 22) sorted by relevance

/hardware/interfaces/cas/1.1/default/
DCasImpl.cpp75 HidlCasData eventData; in onEvent() local
77 eventData.setToExternal(data, size); in onEvent()
80 mListener->onEvent(event, arg, eventData); in onEvent()
89 HidlCasData eventData; in onEvent() local
91 eventData.setToExternal(data, size); in onEvent()
95 mListener->onSessionEvent(*sessionId, event, arg, eventData); in onEvent()
97 mListener->onEvent(event, arg, eventData); in onEvent()
165 Return<Status> CasImpl::sendEvent(int32_t event, int32_t arg, const HidlCasData& eventData) { in sendEvent() argument
172 status_t err = holder->sendEvent(event, arg, eventData); in sendEvent()
177 int32_t arg, const HidlCasData& eventData) { in sendSessionEvent() argument
[all …]
DCasImpl.h71 const HidlCasData& eventData) override;
74 int32_t arg, const HidlCasData& eventData) override;
/hardware/interfaces/media/omx/1.0/vts/functional/component/
DVtsHalMediaOmxV1_0TargetComponentTest.cpp198 msgin.data.eventData.event = OMX_EventError; in TEST_P()
199 msgin.data.eventData.data1 = 0xdeaf; in TEST_P()
200 msgin.data.eventData.data2 = 0xd00d; in TEST_P()
201 msgin.data.eventData.data3 = 0x01ce; in TEST_P()
202 msgin.data.eventData.data4 = 0xfa11; in TEST_P()
208 EXPECT_EQ(msgout.data.eventData.event, msgin.data.eventData.event); in TEST_P()
209 EXPECT_EQ(msgout.data.eventData.data1, msgin.data.eventData.data1); in TEST_P()
210 EXPECT_EQ(msgout.data.eventData.data2, msgin.data.eventData.data2); in TEST_P()
211 EXPECT_EQ(msgout.data.eventData.data3, msgin.data.eventData.data3); in TEST_P()
212 EXPECT_EQ(msgout.data.eventData.data4, msgin.data.eventData.data4); in TEST_P()
[all …]
/hardware/interfaces/cas/1.2/default/
DCasImpl.cpp86 HidlCasData eventData; in onEvent() local
88 eventData.setToExternal(data, size); in onEvent()
91 mListener->onEvent(event, arg, eventData); in onEvent()
100 HidlCasData eventData; in onEvent() local
102 eventData.setToExternal(data, size); in onEvent()
106 mListener->onSessionEvent(*sessionId, event, arg, eventData); in onEvent()
108 mListener->onEvent(event, arg, eventData); in onEvent()
214 Return<Status> CasImpl::sendEvent(int32_t event, int32_t arg, const HidlCasData& eventData) { in sendEvent() argument
221 status_t err = holder->sendEvent(event, arg, eventData); in sendEvent()
226 int32_t arg, const HidlCasData& eventData) { in sendSessionEvent() argument
[all …]
DCasImpl.h84 const HidlCasData& eventData) override;
87 int32_t arg, const HidlCasData& eventData) override;
/hardware/qcom/display/msm8909/hdmi_cec/
Dqhdmi_cec.h53 struct eventData;
79 std::vector<eventData> event_data_list = {};
82 struct eventData { struct
Dqhdmi_cec.cpp81 static int populate_event_data(cec_context_t* ctx, std::vector<eventData> *event_data_list);
82 static int set_event_params(cec_context_t* ctx, uint32_t node_event, eventData *event_data);
563 static int populate_event_data(cec_context_t* ctx, std::vector<eventData> *event_data_list) { in populate_event_data()
569 eventData event_data; in populate_event_data()
583 static int set_event_params(cec_context_t* ctx, uint32_t node_event, eventData *event_data) { in set_event_params()
/hardware/qcom/display/msm8909w_3100/hdmi_cec/
Dqhdmi_cec.h53 struct eventData;
79 std::vector<eventData> event_data_list = {};
82 struct eventData { struct
Dqhdmi_cec.cpp81 static int populate_event_data(cec_context_t* ctx, std::vector<eventData> *event_data_list);
82 static int set_event_params(cec_context_t* ctx, uint32_t node_event, eventData *event_data);
563 static int populate_event_data(cec_context_t* ctx, std::vector<eventData> *event_data_list) { in populate_event_data()
569 eventData event_data; in populate_event_data()
583 static int set_event_params(cec_context_t* ctx, uint32_t node_event, eventData *event_data) { in set_event_params()
/hardware/interfaces/cas/1.0/default/
DCasImpl.cpp71 HidlCasData eventData; in onEvent() local
73 eventData.setToExternal(data, size); in onEvent()
76 mListener->onEvent(event, arg, eventData); in onEvent()
149 const HidlCasData& eventData) { in sendEvent() argument
156 status_t err = holder->sendEvent(event, arg, eventData); in sendEvent()
DCasImpl.h77 const HidlCasData& eventData) override;
/hardware/interfaces/cas/1.1/vts/functional/
DVtsHalCasV1_1TargetTest.cpp198 hidl_vec<uint8_t>& eventData);
201 int32_t& event, int32_t& eventArg, hidl_vec<uint8_t>& eventData);
214 hidl_vec<uint8_t>& eventData) { in testEventEcho() argument
216 auto returnStatus = mediaCas->sendEvent(event, eventArg, eventData); in testEventEcho()
230 EXPECT_TRUE(mEventData == eventData); in testEventEcho()
235 hidl_vec<uint8_t>& eventData) { in testSessionEventEcho() argument
237 auto returnStatus = mediaCas->sendSessionEvent(sessionId, event, eventArg, eventData); in testSessionEventEcho()
252 EXPECT_TRUE(mEventData == eventData); in testSessionEventEcho()
499 uint8_t eventData[] = {'e', 'v', 'e', 'n', 't', 'd', 'a', 't', 'a'}; in TEST_P() local
501 hidlEventData.setToExternal(static_cast<uint8_t*>(eventData), sizeof(eventData)); in TEST_P()
/hardware/interfaces/media/omx/1.0/vts/functional/common/
Dmedia_hidl_test_common.cpp462 ASSERT_EQ(msg.data.eventData.event, OMX_EventCmdComplete); in changeStateLoadedtoIdle()
463 ASSERT_EQ(msg.data.eventData.data1, OMX_CommandStateSet); in changeStateLoadedtoIdle()
464 ASSERT_EQ(msg.data.eventData.data2, OMX_StateIdle); in changeStateLoadedtoIdle()
517 ASSERT_EQ(msg.data.eventData.event, OMX_EventCmdComplete); in changeStateIdletoLoaded()
518 ASSERT_EQ(msg.data.eventData.data1, OMX_CommandStateSet); in changeStateIdletoLoaded()
519 ASSERT_EQ(msg.data.eventData.data2, OMX_StateLoaded); in changeStateIdletoLoaded()
539 ASSERT_EQ(msg.data.eventData.event, OMX_EventCmdComplete); in changeStateIdletoExecute()
540 ASSERT_EQ(msg.data.eventData.data1, OMX_CommandStateSet); in changeStateIdletoExecute()
541 ASSERT_EQ(msg.data.eventData.data2, OMX_StateExecuting); in changeStateIdletoExecute()
562 ASSERT_EQ(msg.data.eventData.event, OMX_EventCmdComplete); in changeStateExecutetoIdle()
[all …]
Dmedia_hidl_test_common.h172 if (msg->data.eventData.event == OMX_EventBufferFlag)
/hardware/interfaces/cas/1.2/vts/functional/
DVtsHalCasV1_2TargetTest.cpp212 hidl_vec<uint8_t>& eventData);
215 int32_t& event, int32_t& eventArg, hidl_vec<uint8_t>& eventData);
232 hidl_vec<uint8_t>& eventData) { in testEventEcho() argument
234 auto returnStatus = mediaCas->sendEvent(event, eventArg, eventData); in testEventEcho()
248 EXPECT_TRUE(mEventData == eventData); in testEventEcho()
253 hidl_vec<uint8_t>& eventData) { in testSessionEventEcho() argument
255 auto returnStatus = mediaCas->sendSessionEvent(sessionId, event, eventArg, eventData); in testSessionEventEcho()
270 EXPECT_TRUE(mEventData == eventData); in testSessionEventEcho()
543 uint8_t eventData[] = {'e', 'v', 'e', 'n', 't', 'd', 'a', 't', 'a'}; in TEST_P() local
545 hidlEventData.setToExternal(static_cast<uint8_t*>(eventData), sizeof(eventData)); in TEST_P()
/hardware/interfaces/cas/1.0/vts/functional/
DVtsHalCasV1_0TargetTest.cpp181 hidl_vec<uint8_t>& eventData);
193 hidl_vec<uint8_t>& eventData) { in testEventEcho() argument
195 auto returnStatus = mediaCas->sendEvent(event, eventArg, eventData); in testEventEcho()
209 EXPECT_TRUE(mEventData == eventData); in testEventEcho()
525 uint8_t eventData[] = {'e', 'v', 'e', 'n', 't', 'd', 'a', 't', 'a'}; in TEST_P() local
527 hidlEventData.setToExternal(static_cast<uint8_t*>(eventData), sizeof(eventData)); in TEST_P()
/hardware/interfaces/media/omx/1.0/vts/functional/video/
DVtsHalMediaOmxV1_0TargetVideoDecTest.cpp233 if (msg.data.eventData.event == OMX_EventPortSettingsChanged) { in handleMessage()
234 if ((msg.data.eventData.data2 == OMX_IndexParamPortDefinition || in handleMessage()
235 msg.data.eventData.data2 == 0)) { in handleMessage()
382 if (msg.data.eventData.event == OMX_EventPortSettingsChanged) { in portReconfiguration()
383 ASSERT_EQ(msg.data.eventData.data1, kPortIndexOutput); in portReconfiguration()
384 if (msg.data.eventData.data2 == OMX_IndexParamPortDefinition || in portReconfiguration()
385 msg.data.eventData.data2 == 0) { in portReconfiguration()
423 ASSERT_EQ(msg.data.eventData.event, OMX_EventCmdComplete); in portReconfiguration()
424 ASSERT_EQ(msg.data.eventData.data1, OMX_CommandPortDisable); in portReconfiguration()
425 ASSERT_EQ(msg.data.eventData.data2, kPortIndexOutput); in portReconfiguration()
[all …]
DVtsHalMediaOmxV1_0TargetVideoEncTest.cpp1009 if (msg.data.eventData.event == OMX_EventPortSettingsChanged) { in encodeNFrames()
1010 ASSERT_EQ(msg.data.eventData.data1, portIndexOutput); in encodeNFrames()
1011 ASSERT_EQ(msg.data.eventData.data2, in encodeNFrames()
1013 } else if (msg.data.eventData.event == OMX_EventError) { in encodeNFrames()
1015 } else if (msg.data.eventData.event == OMX_EventDataSpaceChanged) { in encodeNFrames()
/hardware/interfaces/cas/1.1/
DICas.hal40 vec<uint8_t> eventData)
/hardware/interfaces/media/omx/1.0/vts/functional/audio/
DVtsHalMediaOmxV1_0TargetAudioDecTest.cpp465 if (msg.data.eventData.event == OMX_EventPortSettingsChanged) { in portReconfiguration()
466 ASSERT_EQ(msg.data.eventData.data1, kPortIndexOutput); in portReconfiguration()
488 ASSERT_EQ(msg.data.eventData.event, OMX_EventCmdComplete); in portReconfiguration()
489 ASSERT_EQ(msg.data.eventData.data1, OMX_CommandPortDisable); in portReconfiguration()
490 ASSERT_EQ(msg.data.eventData.data2, kPortIndexOutput); in portReconfiguration()
528 ASSERT_EQ(msg.data.eventData.data1, OMX_CommandPortEnable); in portReconfiguration()
529 ASSERT_EQ(msg.data.eventData.data2, kPortIndexOutput); in portReconfiguration()
/hardware/interfaces/cas/1.0/
DICas.hal93 sendEvent(int32_t event, int32_t arg, vec<uint8_t> eventData)
/hardware/interfaces/media/omx/1.0/
Dtypes.hal99 EventData eventData;