Home
last modified time | relevance | path

Searched refs:local_serial (Results 1 – 3 of 3) sorted by relevance

/system/core/fastboot/fuzzy_fastboot/
Dfixtures.cpp64 int FastBootTest::MatchFastboot(usb_ifc_info* info, const std::string& local_serial) { in MatchFastboot() argument
73 if (!local_serial.empty() && local_serial != info->serial_number && in MatchFastboot()
74 local_serial != info->device_path) in MatchFastboot()
Dfixtures.h50 static int MatchFastboot(usb_ifc_info* info, const std::string& local_serial = "");
/system/core/fastboot/
Dfastboot.cpp242 static int match_fastboot_with_serial(usb_ifc_info* info, const char* local_serial) { in match_fastboot_with_serial() argument
249 if (local_serial && (strcmp(local_serial, info->serial_number) != 0 && in match_fastboot_with_serial()
250 strcmp(local_serial, info->device_path) != 0)) in match_fastboot_with_serial()
255 static ifc_match_func match_fastboot(const char* local_serial = serial) { in match_fastboot() argument
256 return [local_serial](usb_ifc_info* info) -> int { in match_fastboot()
257 return match_fastboot_with_serial(info, local_serial); in match_fastboot()
262 static void PrintDevice(const char* local_serial, const char* status = nullptr, in PrintDevice() argument
264 if (local_serial == nullptr || strlen(local_serial) == 0) { in PrintDevice()
269 printf("%-22s", local_serial); in PrintDevice()
271 printf("%s\t", local_serial); in PrintDevice()
[all …]