/hardware/interfaces/media/omx/1.0/vts/functional/component/ |
D | VtsHalMediaOmxV1_0TargetComponentTest.cpp | 251 msgin.data.eventData.event = OMX_EventError; in TEST_F() 252 msgin.data.eventData.data1 = 0xdeaf; in TEST_F() 253 msgin.data.eventData.data2 = 0xd00d; in TEST_F() 254 msgin.data.eventData.data3 = 0x01ce; in TEST_F() 255 msgin.data.eventData.data4 = 0xfa11; in TEST_F() 261 EXPECT_EQ(msgout.data.eventData.event, msgin.data.eventData.event); in TEST_F() 262 EXPECT_EQ(msgout.data.eventData.data1, msgin.data.eventData.data1); in TEST_F() 263 EXPECT_EQ(msgout.data.eventData.data2, msgin.data.eventData.data2); in TEST_F() 264 EXPECT_EQ(msgout.data.eventData.data3, msgin.data.eventData.data3); in TEST_F() 265 EXPECT_EQ(msgout.data.eventData.data4, msgin.data.eventData.data4); in TEST_F() [all …]
|
/hardware/interfaces/cas/1.0/default/ |
D | CasImpl.cpp | 71 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()
|
D | CasImpl.h | 77 const HidlCasData& eventData) override;
|
/hardware/interfaces/media/omx/1.0/vts/functional/common/ |
D | media_hidl_test_common.cpp | 410 ASSERT_EQ(msg.data.eventData.event, OMX_EventCmdComplete); in changeStateLoadedtoIdle() 411 ASSERT_EQ(msg.data.eventData.data1, OMX_CommandStateSet); in changeStateLoadedtoIdle() 412 ASSERT_EQ(msg.data.eventData.data2, OMX_StateIdle); in changeStateLoadedtoIdle() 454 ASSERT_EQ(msg.data.eventData.event, OMX_EventCmdComplete); in changeStateIdletoLoaded() 455 ASSERT_EQ(msg.data.eventData.data1, OMX_CommandStateSet); in changeStateIdletoLoaded() 456 ASSERT_EQ(msg.data.eventData.data2, OMX_StateLoaded); in changeStateIdletoLoaded() 476 ASSERT_EQ(msg.data.eventData.event, OMX_EventCmdComplete); in changeStateIdletoExecute() 477 ASSERT_EQ(msg.data.eventData.data1, OMX_CommandStateSet); in changeStateIdletoExecute() 478 ASSERT_EQ(msg.data.eventData.data2, OMX_StateExecuting); in changeStateIdletoExecute() 499 ASSERT_EQ(msg.data.eventData.event, OMX_EventCmdComplete); in changeStateExecutetoIdle() [all …]
|
D | media_hidl_test_common.h | 143 if (msg->data.eventData.event == OMX_EventBufferFlag)
|
/hardware/interfaces/cas/1.0/vts/functional/ |
D | VtsHalCasV1_0TargetTest.cpp | 178 hidl_vec<uint8_t>& eventData); 190 hidl_vec<uint8_t>& eventData) { in testEventEcho() argument 192 auto returnStatus = mediaCas->sendEvent(event, eventArg, eventData); in testEventEcho() 206 EXPECT_TRUE(mEventData == eventData); in testEventEcho() 450 uint8_t eventData[] = {'e', 'v', 'e', 'n', 't', 'd', 'a', 't', 'a'}; in TEST_F() local 452 hidlEventData.setToExternal(static_cast<uint8_t*>(eventData), sizeof(eventData)); in TEST_F()
|
/hardware/interfaces/media/omx/1.0/vts/functional/video/ |
D | VtsHalMediaOmxV1_0TargetVideoDecTest.cpp | 302 if (msg.data.eventData.event == OMX_EventPortSettingsChanged) { in handleMessage() 303 if ((msg.data.eventData.data2 == OMX_IndexParamPortDefinition || in handleMessage() 304 msg.data.eventData.data2 == 0)) { in handleMessage() 447 if (msg.data.eventData.event == OMX_EventPortSettingsChanged) { in portReconfiguration() 448 ASSERT_EQ(msg.data.eventData.data1, kPortIndexOutput); in portReconfiguration() 449 if (msg.data.eventData.data2 == OMX_IndexParamPortDefinition || in portReconfiguration() 450 msg.data.eventData.data2 == 0) { 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() [all …]
|
D | VtsHalMediaOmxV1_0TargetVideoEncTest.cpp | 1012 if (msg.data.eventData.event == OMX_EventPortSettingsChanged) { in encodeNFrames() 1013 ASSERT_EQ(msg.data.eventData.data1, portIndexOutput); in encodeNFrames() 1014 ASSERT_EQ(msg.data.eventData.data2, in encodeNFrames() 1016 } else if (msg.data.eventData.event == OMX_EventError) { in encodeNFrames() 1018 } else if (msg.data.eventData.event == OMX_EventDataSpaceChanged) { in encodeNFrames()
|
/hardware/interfaces/media/omx/1.0/vts/functional/audio/ |
D | VtsHalMediaOmxV1_0TargetAudioDecTest.cpp | 529 if (msg.data.eventData.event == OMX_EventPortSettingsChanged) { in portReconfiguration() 530 ASSERT_EQ(msg.data.eventData.data1, kPortIndexOutput); in portReconfiguration() 552 ASSERT_EQ(msg.data.eventData.event, OMX_EventCmdComplete); in portReconfiguration() 553 ASSERT_EQ(msg.data.eventData.data1, OMX_CommandPortDisable); in portReconfiguration() 554 ASSERT_EQ(msg.data.eventData.data2, kPortIndexOutput); in portReconfiguration() 592 ASSERT_EQ(msg.data.eventData.data1, OMX_CommandPortEnable); in portReconfiguration() 593 ASSERT_EQ(msg.data.eventData.data2, kPortIndexOutput); in portReconfiguration()
|
/hardware/interfaces/cas/1.0/ |
D | ICas.hal | 93 sendEvent(int32_t event, int32_t arg, vec<uint8_t> eventData)
|
/hardware/interfaces/media/omx/1.0/ |
D | types.hal | 99 EventData eventData;
|