Searched refs:role (Results 1 - 25 of 97) sorted by relevance

1234

/hardware/interfaces/usb/1.0/
H A DIUsb.hal23 * 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 Dtypes.hal33 * 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 DVtsHalUsbV1_0TargetTest.cpp55 // 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 DUsb.cpp65 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 DUsb.h36 Return<void> switchRole(const hidl_string& portName, const PortRole& role) override;
/hardware/interfaces/media/omx/1.0/
H A DIOmxStore.hal149 * 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 Dcmodule.h68 bool QueryHavingThisRole(const OMX_STRING role);
/hardware/intel/common/wrs_omxil_core/base/src/
H A Dcmodule.cpp161 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 DHidlUtils.cpp131 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 Domx_video_encoder.h49 OMX_ERRORTYPE component_init(OMX_STRING role);
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/inc/
H A Domx_video_encoder.h50 OMX_ERRORTYPE component_init(OMX_STRING role);
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/inc/
H A Domx_video_encoder.h50 OMX_ERRORTYPE component_init(OMX_STRING role);
H A Domx_swvenc_hevc.h47 OMX_ERRORTYPE component_init(OMX_STRING role);
H A Domx_swvenc_mpeg4.h60 OMX_ERRORTYPE component_init(OMX_STRING role);
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/inc/
H A Domx_video_encoder.h46 OMX_ERRORTYPE component_init(OMX_STRING role);
H A Domx_swvenc_hevc.h47 OMX_ERRORTYPE component_init(OMX_STRING role);
H A Domx_swvenc_mpeg4.h60 OMX_ERRORTYPE component_init(OMX_STRING role);
/hardware/intel/common/wrs_omxil_core/core/src/
H A Dwrs_omxcore.cpp308 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 Dqc_omx_component.h179 OMX_U8* role,
/hardware/qcom/media/msm8974/mm-core/omxcore/inc/
H A Dqc_omx_component.h179 OMX_U8* role,
/hardware/qcom/media/msm8996/mm-core/inc/
H A Dqc_omx_component.h179 OMX_U8* role,
/hardware/qcom/media/msm8998/mm-core/inc/
H A Dqc_omx_component.h179 OMX_U8* role,
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
H A Domx_video_base.cpp3769 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 Domx_video_base.cpp4078 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 Domx_video_base.cpp4193 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...]

Completed in 335 milliseconds

1234