/frameworks/base/core/jni/ |
android_hardware_UsbDeviceConnection.cpp | 241 char* serial = usb_device_get_serial(device); local 242 if (!serial) 244 jstring result = env->NewStringUTF(serial); 245 free(serial);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/X11/extensions/ |
Xfixes.h | 63 unsigned long serial; member in struct:__anon38070 76 unsigned long serial; member in struct:__anon38071
|
multibuf.h | 53 unsigned long serial; /* # of last request processed by server */ member in struct:__anon38133 62 unsigned long serial; /* # of last request processed by server */ member in struct:__anon38134
|
sync.h | 192 unsigned long serial; /* # of last request processed by server */ member in struct:__anon38174 205 unsigned long serial; /* # of last request processed by server */ member in struct:__anon38175 223 unsigned long serial; /* serial number of failed request */ member in struct:__anon38176 233 unsigned long serial; /* serial number of failed request */ member in struct:__anon38177
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/extensions/ |
Xfixes.h | 63 unsigned long serial; member in struct:__anon39928 76 unsigned long serial; member in struct:__anon39929 278 unsigned long serial; member in struct:__anon39932
|
multibuf.h | 50 unsigned long serial; /* # of last request processed by server */ member in struct:__anon39992 59 unsigned long serial; /* # of last request processed by server */ member in struct:__anon39993
|
sync.h | 194 unsigned long serial; /* # of last request processed by server */ member in struct:__anon40033 207 unsigned long serial; /* # of last request processed by server */ member in struct:__anon40034 225 unsigned long serial; /* serial number of failed request */ member in struct:__anon40035 235 unsigned long serial; /* serial number of failed request */ member in struct:__anon40036
|
/system/core/adb/ |
transport.h | 85 char* serial = nullptr; member in class:atransport 116 // * <serial> 122 // If this is a local transport, serial will also match [tcp:|udp:]<hostname>[:port] targets. 123 // For example, serial "100.100.100.100:5555" would match any of: 148 * If serial is non-null then only the device with that serial will be chosen. 153 atransport* acquire_one_transport(TransportType type, const char* serial, 160 atransport* find_transport(const char* serial); 163 void register_usb_transport(usb_handle* h, const char* serial, 167 int register_socket_transport(int s, const char* serial, int port, int local) [all...] |
/bionic/libc/kernel/uapi/linux/ |
capi.h | 75 __u8 serial[CAPI_SERIAL_LEN]; member in union:capi_ioctl_struct
|
/cts/apps/CtsVerifier/assets/scripts/power_monitors/ |
monsoon.py | 32 import serial # http://pyserial.sourceforge.net/ namespace 100 if isinstance( device, serial.Serial ): 109 logging.info("No power monitor serial devices found. Retrying...") 111 logging.error("No power monitor serial devices found. Exiting") 113 sys.exit("No power monitor serial devices found") 137 self.ser = serial.Serial(device, timeout= TIMEOUT_SERIAL) 208 ser = serial.Serial( dev, timeout=TIMEOUT_SERIAL [all...] |
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
CreateAndManageUserTest.java | 84 long serial = intent.getLongExtra(SERIAL_EXTRA, 0); local 85 UserHandle handle = userManager.getUserForSerialNumber(serial); 123 // // contain an action and a serial (for user handle) to broadcast to notify the test that the
|
/development/ndk/platforms/android-21/include/linux/ |
capi.h | 75 __u8 serial[CAPI_SERIAL_LEN]; member in union:capi_ioctl_struct
|
media.h | 30 char serial[40]; member in struct:media_device_info
|
/development/ndk/platforms/android-3/include/linux/ |
capi.h | 72 __u8 serial[CAPI_SERIAL_LEN]; member in union:capi_ioctl_struct
|
/external/chromium-trace/catapult/common/battor/battor/ |
battor_wrapper_unittest.py | 14 import serial namespace 15 from serial.tools import list_ports 39 self._comports = serial.tools.list_ports.comports 40 serial.tools.list_ports.comports = lambda: self._serial_tools_return 62 serial.tools.list_ports.comports = self._comports 120 self._serial_tools_return = [('COM4', 'USB Serial Port', '')] 144 self._serial_tools = serial.tools.list_ports.comports 154 serial.tools.list_ports.comports = lambda: [('COM4', 'USB Serial Port', '')] 165 serial.tools.list_ports.comports = self._serial_tool [all...] |
/external/chromium-trace/catapult/devil/devil/utils/ |
find_usb_devices.py | 141 def __init__(self, bus_num=0, device_num=0, serial=None, info=None): 147 serial: [string] Serial number. 153 self._serial = serial 177 def serial(self): member in class:USBDeviceNode 180 @serial.setter 181 def serial(self, serial): member in class:USBDeviceNode 182 self._serial = serial 202 serial: [string] Serial number [all...] |
/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/tools/ |
list_ports_windows.py | 9 import serial namespace 10 from serial.win32 import ULONG_PTR, is_64bit 127 Ports = serial.to_bytes([80, 111, 114, 116, 115]) # "Ports" 128 PortName = serial.to_bytes([80, 111, 114, 116, 78, 97, 109, 101]) # "PortName" 175 # and hope that other "unknown" names are serial ports... 181 # try to get ID that includes serial number 237 import serial namespace
|
miniterm.py | 3 # Very simple serial terminal 11 import sys, os, serial, threading namespace 13 from serial.tools.list_ports import comports 17 EXITCHARCTER = serial.to_bytes([0x1d]) # GS/CTRL+] 18 MENUCHARACTER = serial.to_bytes([0x14]) # Menu: CTRL+T 62 'version': getattr(serial, 'VERSION', 'unknown version'), 84 LF = serial.to_bytes([10]) 85 CR = serial.to_bytes([13]) 86 CRLF = serial.to_bytes([13, 10]) 88 X00 = serial.to_bytes([0] [all...] |
/external/kernel-headers/original/uapi/linux/ |
capi.h | 113 __u8 serial[CAPI_SERIAL_LEN]; member in union:capi_ioctl_struct
|
/external/libpcap/ |
pcap-canusb-linux.c | 150 unsigned char serial[65]; local 169 n = libusb_get_string_descriptor_ascii(dh,desc.iSerialNumber,serial,64); 170 serial[n] = 0; 172 if ((devserial) && (strcmp((char *)serial,devserial) != 0)) 313 cmd[3] = 0; //Not a write to serial number 344 char *serial; local 370 serial = handle->opt.source + strlen(CANUSB_IFACE); 372 canusb->dev = canusb_opendevice(canusb->ctx, serial);
|
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
nv50_ir_print.cpp | 568 PrintPass() : serial(0) { } 575 int serial; member in class:nv50_ir::PrintPass 618 INFO("%3i: ", serial++);
|
/external/tlsdate/src/ |
dbus.c | 277 dbus_uint32_t serial = dbus_message_get_serial (message); local 286 if (!dbus_message_set_reply_serial (reply, serial)) 288 error ("[dbus] no memory to set serial for reply to SetTime"); 301 if (!dbus_connection_send (connection, reply, &serial)) 320 dbus_uint32_t serial = dbus_message_get_serial (message); local 329 if (!dbus_message_set_reply_serial (reply, serial)) 331 error ("[dbus] no memory to set serial for reply to CanSetTime"); 344 if (!dbus_connection_send (connection, reply, &serial)) 430 dbus_uint32_t serial = dbus_message_get_serial (message); local 443 if (!dbus_message_set_reply_serial (reply, serial)) [all...] |
/frameworks/base/services/core/jni/ |
com_android_server_UsbHostManager.cpp | 75 char *serial = usb_device_get_serial(device); local 80 jstring serialNumber = AndroidRuntime::NewStringLatin1(env, serial); 93 free(serial);
|
/frameworks/base/tools/preload2/src/com/android/preload/ |
DeviceUtils.java | 82 * Find the device with the given serial. Give up after the given timeout (in milliseconds). 84 public static IDevice findDevice(String serial, int timeout) { 85 WaitForDevice wfd = new WaitForDevice(serial, timeout); 250 private String serial; field in class:DeviceUtils.WaitForDevice 254 public WaitForDevice(String serial, long timeout) { 255 this.serial = serial; 262 WaitForDeviceListener wfdl = new WaitForDeviceListener(serial); 268 if (serial != null) { 270 if (serial.equals(d.getSerialNumber())) 322 private String serial; field in class:DeviceUtils.WaitForDevice.WaitForDeviceListener [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
capi.h | 111 __u8 serial[CAPI_SERIAL_LEN]; member in union:capi_ioctl_struct
|