Home
last modified time | relevance | path

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

/system/core/adb/client/
Dusb_libusb.cpp180 std::string device_serial; in poll_for_devices() local
295 device_serial.resize(255); in poll_for_devices()
298 reinterpret_cast<unsigned char*>(&device_serial[0]), device_serial.length()); in poll_for_devices()
307 device_serial.resize(rc); in poll_for_devices()
312 LOG(WARNING) << "failed to reset opened device '" << device_serial in poll_for_devices()
320 LOG(WARNING) << "failed to claim adb interface for device '" << device_serial << "'" in poll_for_devices()
328 LOG(WARNING) << "failed to clear halt on device '" << device_serial in poll_for_devices()
337 std::make_unique<usb_handle>(device_address, device_serial, std::move(handle), in poll_for_devices()
346 … register_usb_transport(usb_handle_raw, device_serial.c_str(), device_address.c_str(), 1); in poll_for_devices()
348 LOG(INFO) << "registered new usb device '" << device_serial << "'"; in poll_for_devices()
/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/tools/aidl/tests/
Dintegration-test.py60 def __init__(self, device_serial=None, verbose=None): argument
67 self._device_serial = device_serial
/system/update_engine/scripts/
Dupdate_device.py209 def __init__(self, device_serial=None): argument
215 self._device_serial = device_serial