Home
last modified time | relevance | path

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

12

/frameworks/base/tests/JankBench/scripts/
Dadbutil.py11 def am(serial, cmd, args): argument
15 __call_adb(serial, full_args, False)
17 def pm(serial, cmd, args): argument
21 __call_adb(serial, full_args, False)
23 def dumpsys(serial, topic): argument
24 return __call_adb(serial, ["dumpsys"] + [topic], True)
26 def trace(serial, argument
29 args = [ATRACE_PATH, "-e", serial, "-t" + time, "-b32768"] + tags
32 def wake(serial): argument
33 output = dumpsys(serial, "power")
[all …]
Ditr_collect.py60 def score_device(name, serial, pull = False, verbose = False): argument
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)
Dcollect.py91 def score_device(name, serial, pull = False, verbose = False): argument
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)
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DTestData.java164 public static byte[] getCertXmlWithSerial(long serial) { in getCertXmlWithSerial() argument
165 String xml = THM_CERT_XML_BEFORE_SERIAL + serial + THM_CERT_XML_AFTER_SERIAL; in getCertXmlWithSerial()
428 public static byte[] getInsecureCertXmlBytesWithEndpoint1(int serial) { in getInsecureCertXmlBytesWithEndpoint1() argument
430 str += serial; in getInsecureCertXmlBytesWithEndpoint1()
437 public static byte[] getInsecureCertXmlBytesWithEndpoint2(int serial) { in getInsecureCertXmlBytesWithEndpoint2() argument
439 str += serial; in getInsecureCertXmlBytesWithEndpoint2()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/
DCertXml.java46 private final long serial; field in CertXml
51 long serial, in CertXml() argument
54 this.serial = serial; in CertXml()
61 return serial; in getSerial()
/frameworks/av/media/libstagefright/foundation/
DADebug.cpp159 static char serial[PROPERTY_VALUE_MAX]; in getExperimentFlag() local
160 property_get("ro.serialno", serial, "0"); in getExperimentFlag()
162 for (size_t i = 0; i < NELEM(serial) && serial[i] != '\0'; ++i) { in getExperimentFlag()
163 const char &c = serial[i]; in getExperimentFlag()
/frameworks/opt/net/wifi/libwifi_system/
Dsupplicant_manager.cpp44 unsigned serial = 0; in StartSupplicant() local
61 serial = __system_property_serial(pi); in StartSupplicant()
76 if (__system_property_serial(pi) != serial) { in StartSupplicant()
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
Dsp_dec.cpp630 Word16 *serial, /* i : serial bit stream */ in GSMFrameDecode() argument
650 Bits2prm(MRDTX, serial, parm); in GSMFrameDecode()
654 Bits2prm(mode, serial, parm); in GSMFrameDecode()
Dsp_dec.h103 Word16 *serial, /* i : serial bit stream */
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/deviceinfo/
DSerialNumberPreferenceControllerTest.java80 final String serial = "123"; in testDisplay_hasSerial_shouldSetSummary() local
82 mController = new TestPreferenceController(mContext, serial); in testDisplay_hasSerial_shouldSetSummary()
86 assertThat(mPreference.getSummary()).isEqualTo(serial); in testDisplay_hasSerial_shouldSetSummary()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dsp_enc.cpp719 Word16 *serial, /* o : serial bit stream */ in GSMEncodeFrame() argument
734 serial[i] = 0; in GSMEncodeFrame()
751 Prm2bits(*usedMode, prm, &serial[0]); in GSMEncodeFrame()
Dsp_enc.h145 Word16 *serial, /* o : serial bit stream */
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioConfig.java239 private RILRequest findAndRemoveRequestFromList(int serial) { in findAndRemoveRequestFromList() argument
242 rr = mRequestList.get(serial); in findAndRemoveRequestFromList()
244 mRequestList.remove(serial); in findAndRemoveRequestFromList()
258 int serial = responseInfo.serial; in processResponse() local
266 RILRequest rr = findAndRemoveRequestFromList(serial); in processResponse()
268 loge("processResponse: Unexpected response! serial: " + serial + " error: " + error); in processResponse()
/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/
DUsbDeviceStateController.java154 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_SERIAL, request.serial); in doHandleAoapStart()
316 public final String serial; field in UsbDeviceStateController.AoapSwitchRequest
319 String description, String version, String uri, String serial) { in AoapSwitchRequest() argument
326 this.serial = serial; in AoapSwitchRequest()
/frameworks/base/core/java/android/hardware/
DSensorAdditionalInfo.java51 public final int serial; field in SensorAdditionalInfo
251 serial = aSerial; in SensorAdditionalInfo()
DSystemSensorManager.java770 int handle, int type, int serial, float[] floatValues, int[] intValues) { in dispatchAdditionalInfoEvent() argument
859 int handle, int type, int serial, float[] floatValues, int[] intValues) { in dispatchAdditionalInfoEvent() argument
867 new SensorAdditionalInfo(sensor, type, serial, intValues, floatValues); in dispatchAdditionalInfoEvent()
/frameworks/base/packages/SystemUI/docs/
Dclock-plugins.md37 serial = '84TY004MS' # serial number for the device
44 …os.system("adb -s %s shell 'date %s ; am broadcast -a android.intent.action.TIME_SET'" % (serial, …
45 os.system('adb -s %s shell screencap -p > %s/screencap_%06d.png' % (serial, OUTPUT_FOLDER, count))
/frameworks/base/core/jni/
Dandroid_hardware_UsbDeviceConnection.cpp277 char* serial = usb_device_get_serial(device, in android_hardware_UsbDeviceConnection_get_serial() local
279 if (!serial) in android_hardware_UsbDeviceConnection_get_serial()
281 jstring result = env->NewStringUTF(serial); in android_hardware_UsbDeviceConnection_get_serial()
282 free(serial); in android_hardware_UsbDeviceConnection_get_serial()
Dandroid_hardware_SensorManager.cpp372 int serial = buffer[i].additional_info.serial; in handleEvent() local
376 type, serial, in handleEvent()
/frameworks/compile/libbcc/gdb_plugin/
Dandroid-commands.py256 def set_current_device(self, serial): argument
257 if self.current_device == str(serial):
258 print "Current device already is: " + str(serial)
262 self.current_device = str(serial)
740 serial = str(arg)
742 if serial in devices:
743 adb.set_current_device(serial)
/frameworks/base/services/core/java/com/android/server/pm/
DUserDataPreparer.java325 final String serial = new String(buf); in getSerialNumber() local
327 return Integer.parseInt(serial); in getSerialNumber()
329 throw new IOException("Bad serial number: " + serial); in getSerialNumber()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbHostManager.java319 String serial = "<unknown>"; in logUsbDevice() local
328 serial = deviceDescriptor.getSerialString(descriptorParser); in logUsbDevice()
341 mfg, product, version, serial); in logUsbDevice()
/frameworks/native/include/android/
Dsensor.h421 int32_t serial; member
/frameworks/native/include_sensor/android/
Dsensor.h421 int32_t serial; member
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DRILTest.java1264 private static void verifyRILResponse(RIL ril, int serial, int requestType) { in verifyRILResponse() argument
1266 createFakeRadioResponseInfo(serial, RadioError.NONE, RadioResponseType.SOLICITED); in verifyRILResponse()
1271 assertEquals(serial, rr.getSerial()); in verifyRILResponse()
1280 private static void verifyRILErrorResponse(RIL ril, int serial, int requestType, int error) { in verifyRILErrorResponse() argument
1282 createFakeRadioResponseInfo(serial, error, RadioResponseType.SOLICITED); in verifyRILErrorResponse()
1287 assertEquals(serial, rr.getSerial()); in verifyRILErrorResponse()
1296 private static void verifyRILUnsupportedResponse(RIL ril, int serial, int requestType, in verifyRILUnsupportedResponse() argument
1299 createFakeRadioResponseInfo(serial, RadioError.REQUEST_NOT_SUPPORTED, in verifyRILUnsupportedResponse()
1305 assertEquals(serial, rr.getSerial()); in verifyRILUnsupportedResponse()
1317 private static RadioResponseInfo createFakeRadioResponseInfo(int serial, int error, int type) { in createFakeRadioResponseInfo() argument
[all …]

12