/tools/tradefederation/core/src/com/android/tradefed/device/ |
DeviceUtilStatsMonitor.java | 100 public Integer getUtilForDevice(String serial) { 101 Integer util = mDeviceUtil.get(serial); 139 * @param serial device serial number 143 public boolean addMissingSample(String serial) { 168 String serial = goneSerialEntry.getKey(); local 169 if (!goneSerialEntry.getValue().addMissingSample(serial)) { 170 CLog.d("Forgetting device %s", serial); 171 mDeviceUtilMap.remove(serial); 179 /** a map of device serial to device records * [all...] |
IDeviceMonitor.java | 58 public void notifyDeviceStateChange(String serial, DeviceAllocationState oldState,
|
/cts/apps/CameraITS/tools/ |
rotation_rig.py | 18 import serial 37 """Wrapper for sending serial command. 46 relay_ser = serial.Serial(relay_port, RELAY_BAUDRATE, 48 parity=serial.PARITY_EVEN, 49 stopbits=serial.STOPBITS_ONE, 50 bytesize=serial.EIGHTBITS)
|
/external/libcxx/utils/libcxx/android/ |
executors.py | 10 def __init__(self, serial=None): 14 self.serial = serial 31 if self.serial: 32 adb_cmd.extend(['-s', self.serial])
|
/hardware/interfaces/radio/1.0/vts/functional/ |
radio_hidl_hal_test.cpp | 42 EXPECT_EQ(serial, radioRsp->rspInfo.serial); 51 if (serial == receivedSerial) { 73 serial = GetRandomSerialNumber(); 74 radio->getIccCardStatus(serial);
|
/hardware/interfaces/radio/1.1/vts/functional/ |
radio_hidl_hal_test.cpp | 47 EXPECT_EQ(serial, radioRsp_v1_1->rspInfo.serial); 56 if (serial == receivedSerial) { 78 serial = GetRandomSerialNumber(); 79 radio_v1_1->getIccCardStatus(serial);
|
/hardware/interfaces/radio/1.2/vts/functional/ |
radio_hidl_hal_test.cpp | 47 EXPECT_EQ(serial, radioRsp_v1_2->rspInfo.serial); 59 if (serial == receivedSerial) { 84 serial = GetRandomSerialNumber(); 85 radio_v1_2->getIccCardStatus(serial);
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
fastboot.py | 42 >> fb = FastbootProxy(<serial>) 46 def __init__(self, serial="", ssh_connection=None): 47 self.serial = serial 48 if serial: 49 self.fastboot_str = "fastboot -s {}".format(serial)
|
/tools/test/connectivity/acts/framework/acts/test_utils/car/ |
tel_telecom_utils.py | 41 ad.serial, uri)) 62 log.info("Call ID: {} dev {}".format(call_id, ad.serial)) 92 call_id, state, ad.serial)) 103 state, ad.serial)) 122 ad.serial, call_id)) 125 log.info("We are not in-call {}".format(ad.serial)) 171 calls, ad.serial)) 185 ad.serial)) 232 log.info("call id {} droid {}".format(call_id, ad.serial)) 248 " " + str(ad.serial)) [all...] |
/external/boringssl/src/crypto/x509v3/ |
v3_akey.c | 101 if (akeyid->serial) { 102 tmp = hex_to_string(akeyid->serial->data, akeyid->serial->length); 103 X509V3_add_value("serial", tmp, &extlist); 112 * key id. issuer: use the issuers cert issuer and serial number. The default 129 ASN1_INTEGER *serial = NULL; local 172 serial = M_ASN1_INTEGER_dup(X509_get_serialNumber(cert)); 173 if (!isname || !serial) { 194 akeyid->serial = serial; [all...] |
v3_akeya.c | 69 ASN1_IMP_OPT(AUTHORITY_KEYID, serial, ASN1_INTEGER, 2)
|
/development/tools/privapp_permissions/ |
privapp_permissions.py | 79 def __init__(self, path, serial=None): 81 self.serial = serial 84 """A wrapper for `adb -s <SERIAL> pull <src> <dst>`. 108 command = '%s -s %s %s' % (self.path, self.serial, cmdline) 133 adb: A wrapper class around ADB with a default serial. Only needed when 139 serial=None, apks=None): 145 use_device = use_device or serial or \ 148 self.adb.serial = self._resolve_serial(use_device, serial) [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
TestData.java | 123 + " <serial>"; 125 + "</serial>\n" 129 + " <serial>10000</serial>\n" 164 public static byte[] getCertXmlWithSerial(long serial) { 165 String xml = THM_CERT_XML_BEFORE_SERIAL + serial + THM_CERT_XML_AFTER_SERIAL; 187 + " <serial>\n"; 189 + " </serial>\n" 197 + " <serial>\n" 199 + " </serial>\n [all...] |
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
AdaptableX509CertSelector.java | 63 // The serial number 64 private BigInteger serial; field in class:AdaptableX509CertSelector 106 public void setSerialNumber(BigInteger serial) { 129 serial = null; 136 serial = asn.getNumber(); 173 if (serial != null && version > 2) { 174 if (!serial.equals(xcert.getSerialNumber())) {
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
UserManagerCompatVL.java | 52 Long serial = mUserToSerialMap.get(user); local 53 return serial == null ? 0 : serial; 102 long serial = mUserManager.getSerialNumberForUser(user); local 103 mUsers.put(serial, user); 104 mUserToSerialMap.put(user, serial);
|
/tools/test/connectivity/acts/framework/acts/libs/ota/ota_runners/ |
ota_runner_factory.py | 96 'both be lists. Device with serial "%s" has mismatched types.' % 97 android_device.serial) 155 'both be lists. Device with serial "%s" has requested mismatched ' 156 'types.' % android_device.serial) 185 if android_device.serial in config['ota_map']: 186 suffix = '_%s' % config['ota_map'][android_device.serial] 195 'ACTS config.' % (android_device.serial, suffix[1:], 200 '"ota_map" does not exist or have a key for serial "%s", and ' 202 'config.' % (android_device.serial, ota_package_key))
|
/tools/tradefederation/core/python-lib/tradefed_py/ |
tf_main.py | 32 verbosity=1, failfast=None, catchbreak=None, buffer=None, serial=None): 33 self.serial = None 43 'serial=', 'extra_options='] 65 if opt in ('-s', '--serial'): 66 if self.serial is None: 67 self.serial = value 90 serial=self.serial,
|
/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/ |
DeviceDescriptor.java | 43 public DeviceDescriptor(String serial, boolean isStubDevice, DeviceAllocationState state, 46 this(serial, isStubDevice, state, product, productVariant, sdkVersion, buildId, 50 public DeviceDescriptor(String serial, boolean isStubDevice, DeviceAllocationState state, 55 serial, 72 String serial, 86 mSerial = serial;
|
RemoteClient.java | 140 public void sendAllocateDevice(String serial) throws RemoteException { 141 sendOperation(new AllocateDeviceOp(serial)); 148 public void sendFreeDevice(String serial) throws RemoteException { 149 sendOperation(new FreeDeviceOp(serial)); 214 public void sendExecCommand(String serial, String[] commandArgs) throws RemoteException { 215 sendOperation(new ExecCommandOp(serial, commandArgs)); 222 public void sendGetLastCommandResult(String serial, ICommandResultHandler handler) 224 CommandResult r = sendOperation(new GetLastCommandResultOp(serial));
|
/external/deqp/scripts/android/ |
install_apk.py | 42 def __init__(self, serial, product, model, device): 43 self.serial = serial 49 return "%s: {product: %s, model: %s, device: %s}" % (self.serial, self.product, self.model, self.device) 137 print "Installing to %s (%s)...\n" % (device.serial, device.model), 139 print printPrefix + "Installing to %s\n" % device.serial, 141 uninstall(adbPath, packageName, ['-s', device.serial], printPrefix) 142 install(adbPath, apkPath, ['-s', device.serial], printPrefix) 202 parser.add_argument('-s', '--serial', 203 dest='serial', [all...] |
/bionic/libc/system_properties/include/system_properties/ |
prop_info.h | 45 // Read only properties will not set anything but the bottom most bit of serial and the top byte. 58 atomic_uint_least32_t serial; member in struct:prop_info 71 return (load_const_atomic(&serial, memory_order_relaxed) & kLongFlag) != 0;
|
/bionic/libc/system_properties/ |
prop_info.cpp | 41 atomic_init(&this->serial, valuelen << 24); 51 atomic_init(&this->serial, error_value_len << 24 | kLongFlag);
|
/device/google/accessory/arduino/AndroidAccessory/ |
AndroidAccessory.h | 29 const char *serial; member in class:AndroidAccessory 59 const char *serial);
|
/external/minijail/ |
gen_constants-inl.h | 8 #include <linux/serial.h>
|
/hardware/interfaces/radio/config/1.0/default/ |
RadioConfig.h | 48 Return<void> getSimSlotsStatus(int32_t serial) override; 49 Return<void> setSimSlotsMapping(int32_t serial, const hidl_vec<uint32_t>& slotMap) override;
|