/frameworks/base/tests/JankBench/scripts/ |
H A D | adbutil.py | 11 def am(serial, cmd, args): 15 __call_adb(serial, full_args, False) 17 def pm(serial, cmd, args): 21 __call_adb(serial, full_args, False) 23 def dumpsys(serial, topic): 24 return __call_adb(serial, ["dumpsys"] + [topic], True) 26 def trace(serial, 29 args = [ATRACE_PATH, "-e", serial, "-t" + time, "-b32768"] + tags 32 def wake(serial): 33 output = dumpsys(serial, "powe [all...] |
H A D | 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)
|
H A D | 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)
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
H A D | TestData.java | 123 + " <serial>"; 125 + "</serial>\n" 129 + " <serial>10000</serial>\n" 164 public static byte[] getCertXmlWithSerial(long serial) { argument 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>\ 428 getInsecureCertXmlBytesWithEndpoint1(int serial) argument 437 getInsecureCertXmlBytesWithEndpoint2(int serial) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | sp_dec.h | 103 Word16 *serial, /* i : serial bit stream */
|
H A D | sp_dec.cpp | 513 serial = pointer to the serial bit stream buffer (unsigned char) 535 parameters are parsed from the buffer pointed to by serial according to 561 Word16 *serial, // i : serial bit stream 582 Bits2prm (MRDTX, serial, parm); 584 Bits2prm (mode, serial, parm); 636 Word16 *serial, /* i : serial bit stream */ 656 Bits2prm(MRDTX, serial, par 633 GSMFrameDecode( Speech_Decode_FrameState *st, enum Mode mode, Word16 *serial, enum RXFrameType frame_type, Word16 *synth) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | sp_enc.h | 145 Word16 *serial, /* o : serial bit stream */
|
H A D | sp_enc.cpp | 602 serial = pointer to the serial bit stream of type Word16 606 serial -> encoded serial bit stream 627 generated parameters are then converted to serial bits. 648 Word16 *serial, // o : serial bit stream 662 // initialize the serial output frame to zero 665 serial[i] = 0; 683 // Parameters to serial bit 715 GSMEncodeFrame( void *state_data, enum Mode mode, Word16 *new_speech, Word16 *serial, enum Mode *usedMode ) argument [all...] |
/frameworks/opt/net/wifi/libwifi_system/ |
H A D | supplicant_manager.cpp | 44 unsigned serial = 0; local 61 serial = __system_property_serial(pi); 73 * property serial updated means that init process is scheduled 76 if (__system_property_serial(pi) != serial) {
|
/frameworks/base/tools/preload2/src/com/android/preload/ |
H A D | DeviceUtils.java | 99 * Find the device with the given serial. Give up after the given timeout (in milliseconds). 101 public static IDevice findDevice(String serial, int timeout) { argument 102 WaitForDevice wfd = new WaitForDevice(serial, timeout); 280 private String serial; field in class:DeviceUtils.WaitForDevice 284 public WaitForDevice(String serial, long timeout) { argument 285 this.serial = serial; 292 WaitForDeviceListener wfdl = new WaitForDeviceListener(serial); 298 if (serial != null) { 300 if (serial 352 private String serial; field in class:DeviceUtils.WaitForDevice.WaitForDeviceListener 355 WaitForDeviceListener(String serial) argument [all...] |
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/deviceinfo/ |
H A D | SerialNumberPreferenceControllerTest.java | 79 final String serial = "123"; 81 mController = new TestPreferenceController(mContext, serial); 85 assertThat(mPreference.getSummary()).isEqualTo(serial);
|
/frameworks/base/core/java/android/hardware/ |
H A D | SensorAdditionalInfo.java | 51 public final int serial; field in class:SensorAdditionalInfo 213 serial = aSerial;
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | ADebug.cpp | 158 // calculate initial counter value based on serial number 159 static char serial[PROPERTY_VALUE_MAX]; 160 property_get("ro.serialno", serial, "0"); 162 for (size_t i = 0; i < NELEM(serial) && serial[i] != '\0'; ++i) { 163 const char &c = serial[i]; 178 ALOGD("serial: %llu, time: %lld", (long long unsigned)serialNum, (long long)time(NULL));
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/ |
H A D | CertXml.java | 40 private static final String METADATA_SERIAL_NODE_TAG = "serial"; 47 private final long serial; field in class:CertXml 53 long serial, 57 this.serial = serial; 63 /** Gets the serial number of the XML file containing public-key certificates. */ 65 return serial; 52 CertXml( long serial, long refreshInterval, List<X509Certificate> intermediateCerts, List<X509Certificate> endpointCerts) argument
|
/frameworks/base/core/java/android/hardware/usb/ |
H A D | 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); 76 UsbAccessory(@onNull String manufacturer, @NonNull String model, @Nullable String description, @Nullable String version, @Nullable String uri, @Nullable String serial) argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | RadioConfig.java | 204 private RILRequest findAndRemoveRequestFromList(int serial) { argument 207 rr = mRequestList.get(serial); 209 mRequestList.remove(serial); 223 int serial = responseInfo.serial; 231 RILRequest rr = findAndRemoveRequestFromList(serial); 233 loge("processResponse: Unexpected response! serial: " + serial + " error: " + error);
|
/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/ |
H A D | UsbDeviceStateController.java | 154 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_SERIAL, request.serial); 316 public final String serial; field in class:UsbDeviceStateController.AoapSwitchRequest 319 String description, String version, String uri, String serial) { 326 this.serial = serial; 318 AoapSwitchRequest(UsbDevice device, String manufacturer, String model, String description, String version, String uri, String serial) argument
|
/frameworks/base/core/jni/ |
H A D | android_hardware_UsbDeviceConnection.cpp | 277 char* serial = usb_device_get_serial(device, local 279 if (!serial) 281 jstring result = env->NewStringUTF(serial); 282 free(serial);
|
H A D | android_hardware_SensorManager.cpp | 372 int serial = buffer[i].additional_info.serial; local 376 type, serial,
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | UserDataPreparer.java | 52 private static final String XATTR_SERIAL = "user.serial"; 81 // Prepare storage and verify that serial numbers are consistent; if 214 + " because we failed to enforce serial number: " + e); 269 * Enforce that serial number stored in user directory inode matches the 270 * given expected value. Gracefully sets the serial number if currently 273 * @throws IOException when problem extracting serial number, or serial 279 // 000'ed, meaning we can't read the serial number to enforce it; 281 Slog.w(TAG, "Device is emulating FBE; assuming current serial number is valid"); 286 Slog.v(TAG, "Found " + file + " with serial numbe [all...] |
/frameworks/compile/libbcc/gdb_plugin/ |
H A D | android-commands.py | 134 # Prepare serial number option from current_device 245 # Returns the list of serial numbers of connected devices 256 def set_current_device(self, serial): 257 if self.current_device == str(serial): 258 print "Current device already is: " + str(serial) 261 # TODO: this function should probably check the serial is valid. 262 self.current_device = str(serial) 734 return "Usage: set-android-device <serial>" 740 serial = str(arg) 742 if serial i [all...] |
/frameworks/native/include/android/ |
H A D | sensor.h | 346 int32_t serial; member in struct:__anon1421
|
/frameworks/native/include_sensor/android/ |
H A D | sensor.h | 346 int32_t serial; member in struct:__anon1531
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbHostManager.java | 310 String serial = "<unknown>"; 319 serial = deviceDescriptor.getSerialString(descriptorParser); 331 attachedString += String.format(" mfg/product/ver/serial %s/%s/%s/%s", 332 mfg, product, version, serial);
|
/frameworks/base/cmds/statsd/src/ |
H A D | StatsService.h | 160 uint32_t serial);
|