/hardware/interfaces/media/omx/1.0/vts/functional/video/ |
D | VtsHalMediaOmxV1_0TargetVideoDecTest.cpp | 140 portMode[0] = portMode[1] = PortMode::PRESET_BYTE_BUFFER; in SetUp() 223 portMode[1] == PortMode::PRESET_BYTE_BUFFER) { in handleMessage() 263 PortMode portMode[2]; member in VideoDecHidlTest 803 portMode[0] = PortMode::PRESET_BYTE_BUFFER; in TEST_P() 804 portMode[1] = PortMode::DYNAMIC_ANW_BUFFER; in TEST_P() 805 status = omxNode->setPortMode(kPortIndexInput, portMode[0]); in TEST_P() 807 status = omxNode->setPortMode(kPortIndexOutput, portMode[1]); in TEST_P() 809 portMode[1] = PortMode::PRESET_BYTE_BUFFER; in TEST_P() 810 status = omxNode->setPortMode(kPortIndexOutput, portMode[1]); in TEST_P() 820 getDefaultColorFormat(omxNode, kPortIndexOutput, portMode[1], in TEST_P() [all …]
|
D | VtsHalMediaOmxV1_0TargetVideoEncTest.cpp | 1040 PortMode portMode[2]; in TEST_P() local 1041 portMode[0] = PortMode::DYNAMIC_ANW_BUFFER; in TEST_P() 1042 portMode[1] = PortMode::PRESET_BYTE_BUFFER; in TEST_P() 1043 status = omxNode->setPortMode(kPortIndexInput, portMode[0]); in TEST_P() 1045 status = omxNode->setPortMode(kPortIndexOutput, portMode[1]); in TEST_P() 1051 kPortIndexInput, kPortIndexOutput, portMode)); in TEST_P() 1062 kPortIndexOutput, portMode)); in TEST_P() 1140 PortMode portMode[2]; in TEST_P() local 1141 portMode[0] = portMode[1] = PortMode::PRESET_BYTE_BUFFER; in TEST_P() 1142 status = omxNode->setPortMode(kPortIndexInput, portMode[0]); in TEST_P() [all …]
|
/hardware/interfaces/media/omx/1.0/vts/functional/component/ |
D | VtsHalMediaOmxV1_0TargetComponentTest.cpp | 514 PortMode portMode[2]; in TEST_P() local 515 initPortMode(portMode, isSecure, compClass); in TEST_P() 516 status = omxNode->setPortMode(kPortIndexInput, portMode[0]); in TEST_P() 518 status = omxNode->setPortMode(kPortIndexOutput, portMode[1]); in TEST_P() 524 kPortIndexInput, kPortIndexOutput, portMode)); in TEST_P() 530 dispatchOutputBuffer(omxNode, &oBuffer, i, portMode[1])); in TEST_P() 544 dispatchInputBuffer(omxNode, &iBuffer, i, 0, 0, 0, portMode[0])); in TEST_P() 585 PortMode portMode[2]; in TEST_P() local 586 initPortMode(portMode, isSecure, compClass); in TEST_P() 587 status = omxNode->setPortMode(kPortIndexInput, portMode[0]); in TEST_P() [all …]
|
/hardware/interfaces/media/omx/1.0/vts/functional/common/ |
D | media_hidl_test_common.cpp | 233 OMX_U32 nBufferSize, PortMode portMode) { in allocateBuffer() argument 236 if (portMode == PortMode::PRESET_SECURE_BUFFER) { in allocateBuffer() 249 } else if (portMode == PortMode::PRESET_BYTE_BUFFER || in allocateBuffer() 250 portMode == PortMode::DYNAMIC_ANW_BUFFER) { in allocateBuffer() 259 if (portMode != PortMode::PRESET_BYTE_BUFFER) { in allocateBuffer() 273 if (portMode == PortMode::DYNAMIC_ANW_BUFFER) { in allocateBuffer() 288 } else if (portMode == PortMode::PRESET_ANW_BUFFER) { in allocateBuffer() 314 OMX_U32 portIndex, PortMode portMode, bool allocGrap) { in allocatePortBuffers() argument 327 portDef.nBufferSize, portMode)); in allocatePortBuffers() 328 if (allocGrap && portMode == PortMode::DYNAMIC_ANW_BUFFER) { in allocatePortBuffers() [all …]
|
D | media_hidl_test_common.h | 325 OMX_U32 nBufferSize, PortMode portMode); 330 PortMode portMode = PortMode::PRESET_BYTE_BUFFER, 333 void freePortBuffers(android::Vector<BufferInfo>* buffArray, PortMode portMode, 340 PortMode* portMode = nullptr, 346 OMX_U32 kPortIndexOutput, PortMode* portMode = nullptr, 360 PortMode portMode = PortMode::PRESET_BYTE_BUFFER); 366 PortMode portMode = PortMode::PRESET_BYTE_BUFFER); 382 bool& eosFlag, PortMode* portMode = nullptr,
|
/hardware/interfaces/usb/1.0/default/ |
D | Usb.cpp | 218 Status getPortModeHelper(const std::string portName, PortMode& portMode) { in getPortModeHelper() argument 229 portMode = PortMode::DRP; in getPortModeHelper() 231 portMode = PortMode::UFP; in getPortModeHelper() 233 portMode = PortMode::DFP; in getPortModeHelper()
|