Home
last modified time | relevance | path

Searched refs:serial (Results 1 – 14 of 14) sorted by relevance

/cts/apps/CameraITS/tools/
Drotation_rig.py18 import serial
46 relay_ser = serial.Serial(relay_port, RELAY_BAUDRATE,
48 parity=serial.PARITY_EVEN,
49 stopbits=serial.STOPBITS_ONE,
50 bytesize=serial.EIGHTBITS)
/cts/suite/audio_quality/executable/src/
Dmain.cpp65 char* serial = NULL; in main() local
73 serial = optarg; in main()
98 if (serial != NULL) { in main()
99 android::String8 strSerial(serial); in main()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/scripts/
Dca.conf14 serial = $dir/serial
43 serial = $dir/serial
Dgenerate-client-cert-chain.sh23 echo '1000' > serial
40 echo '1000' > intermediate/serial
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DNotificationListenerTest.java178 String serial = arguments.getString(key); in getParam() local
179 if (serial == null) { in getParam()
182 return Integer.parseInt(serial); in getParam()
/cts/common/device-side/test-app/
Drun_tests.sh42 java $RDBG_FLAG -cp ${JAR_PATH} ${TF_CONSOLE} run singleCommand instrument --serial ${SERIAL} --pac…
/cts/hostsidetests/theme/
Dandroid_device.py31 def __init__(self, serial): argument
32 self._serial = serial
/cts/hostsidetests/devicepolicy/app/WidgetProvider/src/com/android/cts/widgetprovider/
DSimpleAppWidgetHostService.java176 int serial = intent.getIntExtra(key, 0); in getUserHandleArgument() local
177 Log.d(TAG, "userId=" + serial); in getUserHandleArgument()
178 return um.getUserForSerialNumber(serial); in getUserHandleArgument()
/cts/apps/CtsVerifier/
Dcreate_test_certs.sh28 && echo '01' > "$tmpdir"/"$CA_DIR"/serial \
/cts/tests/sensor/src/android/hardware/cts/
DSensorDirectReportTest.java916 counter = events.get(events.size() - 1).serial; in runReconfigureTest()
1203 if (e.serial == 0) { in checkSharedMemoryContent()
1212 assertTrue("incorrect serial " + e.serial + " at offset " + offset, in checkSharedMemoryContent()
1213 e.serial == nextSerial); in checkSharedMemoryContent()
1540 public long serial;
1584 event.serial = e.serial;
1616 e.serial = -1;
1646 if (e.serial == 0) {
1653 assertTrue("incorrect serial " + e.serial + " at offset " + offset,
1654 e.serial == nextSerial);
[all …]
/cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/
DLauncherAppsTests.java231 String serial = arguments.getString(key); in getUserHandleArgument() local
232 if (serial == null) { in getUserHandleArgument()
235 int serialNo = Integer.parseInt(serial); in getUserHandleArgument()
/cts/apps/CtsVerifier/assets/scripts/power_monitors/
Dmonsoon.py32 import serial # http://pyserial.sourceforge.net/
100 if isinstance( device, serial.Serial ):
137 self.ser = serial.Serial(device, timeout= TIMEOUT_SERIAL)
208 ser = serial.Serial( dev, timeout=TIMEOUT_SERIAL)
/cts/tools/utils/
Dmonsoon.py59 import serial # http://pyserial.sourceforge.net/
90 self.ser = serial.Serial(device, timeout=1)
109 self.ser = serial.Serial("/dev/%s" % dev, timeout=1)
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DCreateAndManageUserTest.java100 long serial = intent.getLongExtra(SERIAL_EXTRA, 0); in onEnabled() local
101 UserHandle handle = userManager.getUserForSerialNumber(serial); in onEnabled()