Lines Matching refs:names
163 Status getTypeCPortNamesHelper(std::vector<std::string>& names) { in getTypeCPortNamesHelper() argument
185 names.resize(ports); in getTypeCPortNamesHelper()
195 names[current++] = ep->d_name; in getTypeCPortNamesHelper()
241 std::vector<std::string> names; in getPortStatusHelper() local
242 Status result = getTypeCPortNamesHelper(names); in getPortStatusHelper()
245 currentPortStatus.resize(names.size()); in getPortStatusHelper()
246 for(std::vector<std::string>::size_type i = 0; i < names.size(); i++) { in getPortStatusHelper()
247 ALOGI("%s", names[i].c_str()); in getPortStatusHelper()
248 currentPortStatus[i].portName = names[i]; in getPortStatusHelper()
251 if (getCurrentRoleHelper(names[i], PortRoleType::POWER_ROLE, in getPortStatusHelper()
260 if (getCurrentRoleHelper(names[i], in getPortStatusHelper()
269 if (getCurrentRoleHelper(names[i], PortRoleType::MODE, in getPortStatusHelper()
279 canSwitchRoleHelper(names[i], PortRoleType::MODE); in getPortStatusHelper()
281 canSwitchRoleHelper(names[i], PortRoleType::DATA_ROLE); in getPortStatusHelper()
283 canSwitchRoleHelper(names[i], PortRoleType::POWER_ROLE); in getPortStatusHelper()
290 if (getPortModeHelper(names[i], currentPortStatus[i].supportedModes) in getPortStatusHelper()