/tools/test/connectivity/acts/framework/acts/controllers/ |
android_device.py | 96 ads[0].log.info('The primary device under test is "%s".' % ads[0].serial) 101 " but is not attached.") % ad.serial) 130 info = {"serial": ad.serial, "model": ad.model} 185 A list of android device serial numbers. 230 Each config should have the required key-value pair "serial". 242 serial = c.pop("serial") 245 "Required value 'serial' is missing in AndroidDevice config %s." 252 ad = AndroidDevice(serial, ssh_connection=ssh_connection [all...] |
adb.py | 28 # (N and above add the serial to the error msg). 68 >> adb = AdbProxy(<serial>) 75 def __init__(self, serial="", ssh_connection=None): 79 serial: str serial number of Android device from `adb devices` 83 self.serial = serial 86 if serial: 87 adb_cmd.append("-s %s" % serial) 96 remote_adb_cmd = "%s/adb %s root" % (temp_dir, "-s %s" % serial [all...] |
/art/runtime/ |
indirect_reference_table.h | 85 // serial number in the extra bits, and keep a copy of the serial number in the table. This requires 133 // the table when expanding it (so realloc() is out), and tricks like serial number checking to 155 // since the serial stored in the indirect ref wont match. 359 static constexpr uintptr_t EncodeSerial(uint32_t serial) { 360 DCHECK_LE(MinimumBitsToStore(serial), kSerialBits); 361 return serial << kKindBits; 367 constexpr uintptr_t EncodeIndirectRef(uint32_t table_index, uint32_t serial) const { 369 return EncodeIndex(table_index) | EncodeSerial(serial) | EncodeIndirectRefKind(kind_); 381 uint32_t serial = table_[table_index].GetSerial() local [all...] |
/external/adhd/cras/src/server/ |
cras_dbus_control.c | 142 dbus_uint32_t serial = 0; local 148 dbus_connection_send(conn, reply, &serial); 159 dbus_uint32_t serial = 0; local 168 dbus_connection_send(conn, reply, &serial); 381 dbus_uint32_t serial = 0; local 404 dbus_connection_send(conn, reply, &serial); 536 dbus_uint32_t serial = 0; local 544 dbus_connection_send(conn, reply, &serial); 874 dbus_uint32_t serial = 0; local 885 dbus_connection_send(control->conn, msg, &serial); 893 dbus_uint32_t serial = 0; local 913 dbus_uint32_t serial = 0; local 930 dbus_uint32_t serial = 0; local 947 dbus_uint32_t serial = 0; local 964 dbus_uint32_t serial = 0; local 984 dbus_uint32_t serial = 0; local 1004 dbus_uint32_t serial = 0; local 1024 dbus_uint32_t serial = 0; local 1044 dbus_uint32_t serial = 0; local [all...] |
/frameworks/base/tests/JankBench/scripts/ |
collect.py | 91 def score_device(name, serial, pull = False, verbose = False): 95 adbutil.root(serial) 96 adbutil.pull(serial, DB_PATH, dbpath) 103 adbutil.root(serial) 104 adbutil.pull(serial, DB_PATH, dbpath) 215 for name, serial in DEVICES.iteritems(): 217 result = score_device(name, serial, options.pull, options.verbose)
|
itr_collect.py | 60 def score_device(name, serial, pull = False, verbose = False): 64 adbutil.root(serial) 65 adbutil.pull(serial, DB_PATH, dbpath) 72 adbutil.root(serial) 73 adbutil.pull(serial, DB_PATH, dbpath) 149 for name, serial in DEVICES.iteritems(): 151 score_device(name, serial, options.pull, options.verbose)
|
/system/core/adb/ |
transport_test.cpp | 130 std::string serial = "foo"; local 137 t.serial = &serial[0]; 147 EXPECT_TRUE(t.MatchesTarget(serial)); 161 std::string serial = "100.100.100.100:5555"; local 164 t.serial = &serial[0];
|
/tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/ |
sl4a_manager.py | 81 if adb.serial in _all_sl4a_managers: 82 _all_sl4a_managers[adb.serial].log.warning( 85 return _all_sl4a_managers[adb.serial] 88 _all_sl4a_managers[adb.serial] = manager 113 lambda msg: '[SL4A Manager|%s] %s' % (adb.serial, msg)) 117 'SL4A %s' % adb.serial) 220 'SL4A is not installed on device %s' % self.adb.serial)
|
/external/autotest/client/common_lib/ |
powerplay_util.py | 5 import error, logging, os, serial, shutil, threading, time 10 """Class to record serial over USB data from Power Play (go/powerplay). 13 serial port to start receiving powerplay data. It also opens a text file to 52 Get a list of connected USB devices and try to establish a serial 54 start reading serial data and write it to the text file after some 64 self.ser = serial.Serial(device_link, 115200) 67 except serial.SerialException, e:
|
/external/boringssl/src/crypto/x509/ |
x509_set.c | 79 int X509_set_serialNumber(X509 *x, ASN1_INTEGER *serial) 86 if (in != serial) { 87 in = M_ASN1_INTEGER_dup(serial);
|
x509cset.c | 121 * sort the data so it will be written in serial number order 155 int X509_REVOKED_set_serialNumber(X509_REVOKED *x, ASN1_INTEGER *serial) 162 if (in != serial) { 163 in = M_ASN1_INTEGER_dup(serial);
|
/external/devlib/devlib/utils/ |
serial_port.py | 21 import serial 36 """Set the DTR line of the specified serial connection to the specified state 48 conn = serial.Serial(*args, **kwargs) 49 except serial.SerialException as e: 60 # chacters are sent to the serial. If two sendline s are issued 62 # into the serial device before the first one has finished, causing 75 """Write a single line out to serial charcter-by-character. This will ensure that nothing will 88 Opens a serial connection to a device. 95 All arguments are passed into the __init__ of serial.Serial. Se [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/ |
XKBlib.h | 35 unsigned long serial; /* # of last req processed by server */ member in struct:_XkbAnyEvent 45 unsigned long serial; /* of last req processed by server */ member in struct:_XkbNewKeyboardNotify 63 unsigned long serial; /* of last req processed by server */ member in struct:_XkbMapNotifyEvent 92 unsigned long serial; /* # of last req processed by server */ member in struct:_XkbStateNotifyEvent 121 unsigned long serial; /* of last req processed by server */ member in struct:_XkbControlsNotify 139 unsigned long serial; /* of last req processed by server */ member in struct:_XkbIndicatorNotify 151 unsigned long serial; /* of last req processed by server */ member in struct:_XkbNamesNotify 173 unsigned long serial; /* of last req processed by server */ member in struct:_XkbCompatMapNotify 187 unsigned long serial; /* of last req processed by server */ member in struct:_XkbBellNotify 205 unsigned long serial; /* of last req processed by server * member in struct:_XkbActionMessage 222 unsigned long serial; \/* of last req processed by server *\/ member in struct:_XkbAccessXNotify 236 unsigned long serial; \/* of last req processed by server *\/ member in struct:_XkbExtensionDeviceNotify [all...] |
/test/vts/harnesses/tradefed/src/com/android/tradefed/device/metric/ |
VtsCoverageCollector.java | 68 String serial = device.getSerialNumber(); local 69 if (serial == null) { 70 CLog.e("Could not get device serial number."); 87 + " -m vts.utils.python.coverage.coverage_utils get_coverage --serial " + serial
|
/tools/test/connectivity/acts/framework/acts/test_utils/bt/ |
BtMetricsBaseTest.py | 85 serial = ad.serial 86 out_name = "{}_{}".format(serial, "bluetooth_metrics.txt")
|
/tools/test/connectivity/acts/framework/tests/libs/ota/ |
ota_updater_test.py | 24 def __init__(self, serial): 25 self.serial = serial 63 device = MockAndroidDevice('serial') 73 device = MockAndroidDevice('serial') 79 device = MockAndroidDevice('serial') 87 device = MockAndroidDevice('serial') 97 device = MockAndroidDevice('serial')
|
/tools/test/connectivity/acts/tests/google/tel/live/ |
TelLivePostflightTest.py | 55 msg += "%s find new crash reports %s " % (ad.serial, 76 message = "%s dialer crash: %s " % (ad.serial, tombstone) 94 msg += "%s %s" % (ad.serial, dict(ad.data_accounting))
|
/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/ |
ListDevicesOp.java | 34 private static final String SERIAL = "serial"; 82 final String serial = deviceStateJson.getString(SERIAL); local 91 deviceList.add(new DeviceDescriptor(serial, isStubDevice, DeviceAllocationState 96 serial); 112 deviceStateJson.put(SERIAL, descriptor.getSerial());
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
FastbootHelper.java | 117 * @param serial a device serial. 121 public String executeCommand(String serial, String command) { 123 mFastbootPath, "-s", serial, command); 125 CLog.w("'fastboot -s %s %s' failed. Result: %s, stderr: %s", serial, command,
|
/test/vts/utils/python/coverage/ |
coverage_utils.py | 75 _device_resource_dict: a map from device serial number to host resources directory. 132 serial = device.get(keys.ConfigKeys.IKEY_SERIAL) 135 if not serial: 136 logging.error("Missing serial information in device: %s", 143 self._device_resource_dict[str(serial)] = str( 233 def _ClearTargetGcov(self, dut, serial, path_suffix=None): 244 self._ExecuteOneAdbShellCommand(dut, serial, _CLEAN_TRACE_COMMAND) 246 def InitializeDeviceCoverage(self, dut=None, serial=None): 255 self._ExecuteOneAdbShellCommand(dut, serial, _FLUSH_COMMAND) 257 self._ClearTargetGcov(dut, serial) [all...] |
/external/mesa3d/src/gallium/auxiliary/rbug/ |
rbug_context.h | 104 uint32_t serial; member in struct:rbug_proto_context_list_reply 112 uint32_t serial; member in struct:rbug_proto_context_info_reply 167 uint32_t serial, 173 uint32_t serial,
|
/external/mesa3d/src/glx/windows/ |
xwindowsdri.h | 33 unsigned long serial; /* # of last request processed by server */ member in struct:__anon30313
|
/external/syslinux/com32/gplinclude/dmi/ |
dmi_battery.h | 38 char serial[BATTERY_SERIAL_SIZE]; member in struct:__anon36967
|
/frameworks/base/core/java/android/hardware/usb/ |
UsbAccessory.java | 34 * The accessory may optionally provide a unique serial number 78 @Nullable String serial) { 84 mSerial = serial; 144 * Returns the unique serial number for the accessory. 145 * This is an optional serial number that can be used to differentiate 148 * @return the unique serial number, or {@code null} if not set 199 String serial = in.readString(); 200 return new UsbAccessory(manufacturer, model, description, version, uri, serial);
|
/libcore/ojluni/src/test/java/time/tck/java/time/serial/ |
TCKInstantSerialization.java | 60 package tck.java.time.serial;
|