Home
last modified time | relevance | path

Searched refs:open_device (Results 1 – 2 of 2) sorted by relevance

/system/core/toolbox/
Dgetevent.c311 static int open_device(const char *device, int print_flags) in open_device() function
459 open_device(devname, print_flags); in read_notify()
490 open_device(devname, print_flags); in scan_dir()
619 res = open_device(device, print_flags); in getevent_main()
/system/core/fastboot/
Dfastboot.cpp348 static std::unique_ptr<Transport> open_device(const char* local_serial, bool wait_for_device = true, in open_device() function
402 transport = open_device(device.c_str(), false, false); in NetworkDeviceConnected()
427 static std::unique_ptr<Transport> open_device() { in open_device() function
429 return open_device(serial); in open_device()
464 if (!open_device(local_serial, false)) { in Connect()
1560 fb->set_transport(open_device()); in reboot_to_userspace_fastboot()
2373 std::unique_ptr<Transport> transport = open_device(); in Main()