/hardware/interfaces/usb/1.0/ |
H A D | IUsb.hal | 23 * This function is used to change the port role of a specific port. 25 * This is function is asynchronous. The status of the role switch 29 * @param portName name of the port for which the role has to be changed 30 * @param role the new port role. 32 oneway switchRole(string portName, PortRole role);
|
H A D | types.hal | 33 * error value returned when role string is unrecognized. 39 * Denotes the Port role type. 44 * Denotes the data role of the port. 51 * Denotes the power role of the port. 60 * Or a dual role ports which can either can as a host or 69 * Indicates that the port does not have a data role. 70 * In case of DRP, the current data role of the port is only resolved 91 * Indicates that the port does not have a power role. 92 * In case of DRP, the current power role of the port is only resolved 137 * Used as a container to send port role informatio [all...] |
/hardware/interfaces/usb/1.0/vts/functional/ |
H A D | VtsHalUsbV1_0TargetTest.cpp | 55 // Usb Hal will call this object upon role switch or port query. 84 // Callback method for the status of role switch operation. 146 // Status of the last role switch operation. 149 // Port role information of the last role switch operation. 152 // Flag to indicate the invocation of role switch callback. 196 struct PortRole role; local 197 role.type = PortRoleType::DATA_ROLE; 199 Return<void> ret = usb->switchRole("", role); 216 struct PortRole role; local 263 struct PortRole role; local 309 struct PortRole role; local [all...] |
/hardware/interfaces/usb/1.0/default/ |
H A D | Usb.cpp | 65 std::string convertRoletoString(PortRole role) { argument 66 if (role.type == PortRoleType::POWER_ROLE) { 67 if (role.role == static_cast<uint32_t> (PortPowerRole::SOURCE)) 69 else if (role.role == static_cast<uint32_t> (PortPowerRole::SINK)) 71 } else if (role.type == PortRoleType::DATA_ROLE) { 72 if (role.role == static_cast<uint32_t> (PortDataRole::HOST)) 74 if (role [all...] |
H A D | Usb.h | 36 Return<void> switchRole(const hidl_string& portName, const PortRole& role) override;
|
/hardware/interfaces/media/omx/1.0/ |
H A D | IOmxStore.hal | 149 * Information about nodes provided for a supported node role 153 * Standard OMX node role. 155 string role; 162 * Whether this role is for an encoder or a decoder. 166 * Whether to prefer platform nodes for this role. 170 * List of nodes that support this role, ordered by preference.
|
/hardware/intel/common/wrs_omxil_core/base/inc/ |
H A D | cmodule.h | 68 bool QueryHavingThisRole(const OMX_STRING role);
|
/hardware/intel/common/wrs_omxil_core/base/src/ |
H A D | cmodule.cpp | 161 bool CModule::QueryHavingThisRole(const OMX_STRING role) argument 165 if (!roles || !role) 169 if (!strcmp((OMX_STRING)&roles[i][0], role))
|
/hardware/interfaces/audio/common/2.0/default/ |
H A D | HidlUtils.cpp | 131 config->role = AudioPortRole(halConfig.role); 151 if (halConfig.role == AUDIO_PORT_ROLE_SOURCE) { 153 } else if (halConfig.role == AUDIO_PORT_ROLE_SINK) { 169 halConfig->role = static_cast<audio_port_role_t>(config.role); 189 if (config.role == AudioPortRole::SOURCE) { 192 } else if (config.role == AudioPortRole::SINK) { 226 port->role = AudioPortRole(halPort.role); [all...] |
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/inc/ |
H A D | omx_video_encoder.h | 49 OMX_ERRORTYPE component_init(OMX_STRING role);
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/inc/ |
H A D | omx_video_encoder.h | 50 OMX_ERRORTYPE component_init(OMX_STRING role);
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/inc/ |
H A D | omx_video_encoder.h | 50 OMX_ERRORTYPE component_init(OMX_STRING role);
|
H A D | omx_swvenc_hevc.h | 47 OMX_ERRORTYPE component_init(OMX_STRING role);
|
H A D | omx_swvenc_mpeg4.h | 60 OMX_ERRORTYPE component_init(OMX_STRING role);
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/inc/ |
H A D | omx_video_encoder.h | 46 OMX_ERRORTYPE component_init(OMX_STRING role);
|
H A D | omx_swvenc_hevc.h | 47 OMX_ERRORTYPE component_init(OMX_STRING role);
|
H A D | omx_swvenc_mpeg4.h | 60 OMX_ERRORTYPE component_init(OMX_STRING role);
|
/hardware/intel/common/wrs_omxil_core/core/src/ |
H A D | wrs_omxcore.cpp | 308 OMX_IN OMX_STRING role, 323 having_role = cmodule->QueryHavingThisRole(role); 330 LOGV("%s(): component %s has %s role", __FUNCTION__, 331 cname, role); 374 LOGV("%s(): component %s has %s role", __FUNCTION__, 307 OMX_GetComponentsOfRole( OMX_IN OMX_STRING role, OMX_INOUT OMX_U32 *pNumComps, OMX_INOUT OMX_U8 **compNames) argument
|
/hardware/qcom/media/msm8974/mm-core/inc/ |
H A D | qc_omx_component.h | 179 OMX_U8* role,
|
/hardware/qcom/media/msm8974/mm-core/omxcore/inc/ |
H A D | qc_omx_component.h | 179 OMX_U8* role,
|
/hardware/qcom/media/msm8996/mm-core/inc/ |
H A D | qc_omx_component.h | 179 OMX_U8* role,
|
/hardware/qcom/media/msm8998/mm-core/inc/ |
H A D | qc_omx_component.h | 179 OMX_U8* role,
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/ |
H A D | omx_video_base.cpp | 3769 OMX_OUT OMX_U8* role, 3775 if ((0 == index) && role) { 3776 strlcpy((char *)role, "video_decoder.mpeg4",OMX_MAX_STRINGNAME_SIZE); 3777 DEBUG_PRINT_LOW("component_role_enum: role %s",role); 3782 if ((0 == index) && role) { 3783 strlcpy((char *)role, "video_decoder.h263",OMX_MAX_STRINGNAME_SIZE); 3784 DEBUG_PRINT_LOW("component_role_enum: role %s",role); 3790 if ((0 == index) && role) { 3768 component_role_enum(OMX_IN OMX_HANDLETYPE hComp, OMX_OUT OMX_U8* role, OMX_IN OMX_U32 index) argument [all...] |
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/ |
H A D | omx_video_base.cpp | 4078 OMX_OUT OMX_U8* role, 4084 if ((0 == index) && role) { 4085 strlcpy((char *)role, "video_decoder.mpeg4",OMX_MAX_STRINGNAME_SIZE); 4086 DEBUG_PRINT_LOW("component_role_enum: role %s",role); 4091 if ((0 == index) && role) { 4092 strlcpy((char *)role, "video_decoder.h263",OMX_MAX_STRINGNAME_SIZE); 4093 DEBUG_PRINT_LOW("component_role_enum: role %s",role); 4099 if ((0 == index) && role) { 4077 component_role_enum(OMX_IN OMX_HANDLETYPE hComp, OMX_OUT OMX_U8* role, OMX_IN OMX_U32 index) argument [all...] |
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/ |
H A D | omx_video_base.cpp | 4193 OMX_OUT OMX_U8* role, 4199 if ((0 == index) && role) { 4200 strlcpy((char *)role, "video_decoder.mpeg4",OMX_MAX_STRINGNAME_SIZE); 4201 DEBUG_PRINT_LOW("component_role_enum: role %s",role); 4206 if ((0 == index) && role) { 4207 strlcpy((char *)role, "video_decoder.h263",OMX_MAX_STRINGNAME_SIZE); 4208 DEBUG_PRINT_LOW("component_role_enum: role %s",role); 4214 if ((0 == index) && role) { 4192 component_role_enum(OMX_IN OMX_HANDLETYPE hComp, OMX_OUT OMX_U8* role, OMX_IN OMX_U32 index) argument [all...] |