Home
last modified time | relevance | path

Searched refs:device_serial (Results 1 – 6 of 6) sorted by relevance

/system/core/adb/client/
Dusb_libusb.cpp194 std::string device_serial; in process_device() local
312 device_serial.resize(255); in process_device()
314 reinterpret_cast<unsigned char*>(&device_serial[0]), in process_device()
315 device_serial.length()); in process_device()
324 device_serial.resize(rc); in process_device()
329 LOG(WARNING) << "failed to claim adb interface for device '" << device_serial << "'" in process_device()
337 LOG(WARNING) << "failed to clear halt on device '" << device_serial in process_device()
352 if (!android::base::ReadFileToString(get_device_serial_path(device), &device_serial)) { in process_device()
356 device_serial = "unknown"; in process_device()
358 device_serial = android::base::Trim(device_serial); in process_device()
[all …]
/system/extras/pagecache/
Dpagecache.py175 def add_adb_serial(adb_command, device_serial): argument
176 if device_serial is not None:
177 adb_command.insert(1, device_serial)
181 def construct_adb_shell_command(shell_args, device_serial): argument
183 AdbUtils.add_adb_serial(adb_command, device_serial)
187 def run_adb_shell(shell_args, device_serial): argument
198 adb_command = AdbUtils.construct_adb_shell_command(shell_args, device_serial)
377 options.device_serial)
392 options.device_serial)
/system/core/fastboot/fuzzy_fastboot/
Dfixtures.cpp80 return android::base::StartsWith(device_serial, "tcp:"); in IsFastbootOverTcp()
128 return MatchFastboot(info, device_serial); in SetUp()
188 tcp::Connect(device_serial.substr(4), tcp::kDefaultPort, &error).release()); in ConnectTcpFastbootDevice()
212 return MatchFastboot(info, device_serial); in ReconnectFastbootDevice()
279 std::string FastBootTest::device_serial = ""; member in fastboot::FastBootTest
Dfixtures.h46 static std::string device_serial; variable
Dmain.cpp165 return FastBootTest::MatchFastboot(info, fastboot::FastBootTest::device_serial); in TEST()
1735 fastboot::FastBootTest::device_serial = args.at("serial"); in main()
1743 … return fastboot::FastBootTest::MatchFastboot(info, fastboot::FastBootTest::device_serial); in main()
/system/update_engine/scripts/
Dupdate_device.py312 def __init__(self, device_serial=None): argument
318 self._device_serial = device_serial