Lines Matching refs:components
1046 std::vector<std::string> components = android::base::Split(service, "-"); in wait_for_device() local
1047 if (components.size() < 3 || components.size() > 4) { in wait_for_device()
1054 if (components.size() == 3) { in wait_for_device()
1055 auto it = components.begin() + 2; in wait_for_device()
1057 components.insert(it, "usb"); in wait_for_device()
1059 components.insert(it, "local"); in wait_for_device()
1061 components.insert(it, "any"); in wait_for_device()
1063 } else if (components[2] != "any" && components[2] != "local" && components[2] != "usb") { in wait_for_device()
1065 components[2].c_str()); in wait_for_device()
1069 if (components[3] != "any" && components[3] != "bootloader" && components[3] != "device" && in wait_for_device()
1070 components[3] != "recovery" && components[3] != "sideload") { in wait_for_device()
1074 components[3].c_str()); in wait_for_device()
1078 std::string cmd = format_host_command(android::base::Join(components, "-").c_str(), t, serial); in wait_for_device()