Home
last modified time | relevance | path

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

123

/system/core/fastboot/
Dfastboot.bash27 local where i cur serial
30 serial="${ANDROID_SERIAL:-none}"
47 serial=${cur}
84 _fastboot_cmd_flash "$serial" $i
93 _fastboot_cmd_update "$serial" $i
104 local serial i cur
107 serial=$1
120 local serial i cur
122 serial=$1
Dfastboot_test.cpp206 static void ParseNetworkSerialTest(const std::string& description, const std::string& serial, in ParseNetworkSerialTest() argument
210 const Result<NetworkSerial, FastbootError> parsed = ParseNetworkSerial(serial); in ParseNetworkSerialTest()
221 const std::string& serial, in ParseNetworkSerialNegativeTest() argument
223 const Result<NetworkSerial, FastbootError> parsed = ParseNetworkSerial(serial); in ParseNetworkSerialNegativeTest()
Dfastboot.cpp96 static const char* serial = nullptr; variable
256 static ifc_match_func match_fastboot(const char* local_serial = serial) { in match_fastboot()
290 std::string serial = info->serial_number; in list_devices_callback() local
296 serial = UsbNoPermissionsShortHelpText(); in list_devices_callback()
298 if (!serial[0]) { in list_devices_callback()
299 serial = "????????????"; in list_devices_callback()
302 PrintDevice(serial.c_str(), interface.c_str(), info->device_path); in list_devices_callback()
308 Result<NetworkSerial, FastbootError> ParseNetworkSerial(const std::string& serial) { in ParseNetworkSerial() argument
313 if (android::base::StartsWith(serial, "tcp:")) { in ParseNetworkSerial()
315 net_address = serial.c_str() + strlen("tcp:"); in ParseNetworkSerial()
[all …]
/system/keymaster/include/keymaster/km_openssl/
Dcertificate_utils.h40 BIGNUM_Ptr serial; member
59 keymaster_error_t make_cert_rump(const uint32_t serial, const X509_NAME* issuer,
/system/keymaster/km_openssl/
Dcertificate_utils.cpp115 BIGNUM_Ptr serial(BN_new()); in get_certificate_params() local
116 if (!serial) { in get_certificate_params()
122 if (BN_bin2bn(serial_blob.data, serial_blob.data_length, serial.get()) == nullptr) { in get_certificate_params()
127 BN_one(serial.get()); in get_certificate_params()
129 cert_params->serial = std::move(serial); in get_certificate_params()
256 !BN_to_ASN1_INTEGER(cert_params.serial.get(), serial_number.get()) || in make_cert_rump()
/system/librustutils/
Dsystem_properties.rs40 serial: c_uint, field
46 Ok(Self { prop_name: CString::new(name)?, prop_info: null(), serial: 0 }) in new()
170 let mut new_serial = self.serial; in wait_for_property_change_until()
176 self.serial, in wait_for_property_change_until()
187 self.serial = new_serial; in wait_for_property_change_until()
/system/core/trusty/keymaster/set_attestation_ids/
Dset_attestation_ids.cpp115 buf2string(req.base.product).c_str(), buf2string(req.base.serial).c_str(), in print_usage()
136 set_from_prop(&req->serial, "ro.serialno"); in populate_base_ids()
179 req.base.serial.Reinitialize(optarg, strlen(optarg)); in main()
226 buf2string(req.base.product).c_str(), buf2string(req.base.serial).c_str(), in main()
/system/core/libsystem/include/system/
Dradio.h139 char serial[RADIO_STRING_LEN_MAX]; /* serial number (for subscription services) */ member
155 char serial[RADIO_STRING_LEN_MAX]; member
/system/extras/tools/
Dgraph_lockdep_chains96 --serial | -s)
106 --serial=*)
/system/tools/hidl/
DMethod.h80 void setSerialId(size_t serial);
86 size_t serial,
DMethod.cpp46 size_t serial, in fillImplementation() argument
50 mSerial = serial; in fillImplementation()
146 void Method::setSerialId(size_t serial) { in setSerialId() argument
148 mSerial = serial; in setSerialId()
DInterface.cpp465 size_t serial = hardware::IBinder::FIRST_CALL_TRANSACTION; in resolveInheritance() local
467 serial += ancestor->mUserMethods.size(); in resolveInheritance()
471 if (serial > hardware::IBinder::LAST_CALL_TRANSACTION) { in resolveInheritance()
478 method->setSerialId(serial); in resolveInheritance()
479 serial++; in resolveInheritance()
/system/logging/liblog/
Dproperties.cpp58 uint32_t serial; member
67 return cache->pinfo && __system_property_serial(cache->pinfo) != cache->serial; in check_cache()
82 cache->cache.serial = __system_property_serial(cache->cache.pinfo); in refresh_cache()
/system/libbase/
Dproperties.cpp145 static void WaitForPropertyCallback(void* data_ptr, const char*, const char* value, unsigned serial in WaitForPropertyCallback() argument
150 data->last_read_serial = serial; in WaitForPropertyCallback()
257 [](void* data, const char*, const char* value, uint32_t serial) { in Get() argument
259 instance->cached_property_serial_ = serial; in Get()
/system/security/keystore2/src/crypto/
Dcertificate_utils.cpp217 makeCertRump(std::optional<std::reference_wrapper<const std::vector<uint8_t>>> serial, in makeCertRump() argument
234 if (serial) { in makeCertRump()
235 bn_serial = BIGNUM_Ptr(BN_bin2bn(serial->get().data(), serial->get().size(), nullptr)); in makeCertRump()
290 std::optional<std::reference_wrapper<const std::vector<uint8_t>>> serial, in makeCert() argument
298 makeCertRump(serial, subject, activeDateTimeMilliSeconds, usageExpireDateTimeMilliSeconds); in makeCert()
/system/extras/app-launcher/
DREADME18 app-launcher -a|-b|-u [-c|-v|-s <serial number>] num-iterations
25 -s <serial number>:Optional, specify serial number if multiple devices are
/system/extras/boottime_tools/bootanalyze/
Dbootanalyze.py70 if args.serial:
71 ADB_CMD = "%s %s" % ("adb -s", args.serial)
333 t = threading.Thread(target=lambda: (time.sleep(2), reboot(args.serial, args.stressfs != '',\
813 def do_reboot(serial, use_adb_reboot): argument
829 if not serial or (serial and current_devices.find(serial) < 0):
835 def reboot(serial, use_stressfs, permissive, use_adb_reboot, adb_buffersize=None): argument
848 if do_reboot(serial, use_adb_reboot):
/system/sepolicy/private/
Dbinderservicedomain.te10 # Allow dumpsys to work from adb shell or the serial console
Dhal_cas.te13 # Permit reading device's serial number from system properties
Dhal_drm.te14 # Permit reading device's serial number from system properties
Dfastbootd.te9 # Read serial number of the device from system properties
66 # Log to serial
/system/security/keystore2/src/crypto/include/
Dcertificate_utils.h96 std::optional<std::reference_wrapper<const std::vector<uint8_t>>> serial, //
/system/tools/aidl/
Daidl_language_y.yy647 int32_t serial = 0;
648 if (!android::base::ParseInt($7->GetText(), &serial)) {
652 $$ = new AidlMethod(loc(@2), false, $1, $2->GetText(), $4, $2->GetComments(), serial);
658 int32_t serial = 0;
659 if (!android::base::ParseInt($9->GetText(), &serial)) {
663 $$ = new AidlMethod(loc(@4), true, $3, $4->GetText(), $6, $4->GetComments(), serial);
/system/extras/ANRdaemon/
DREADME14 Use ANRdaemon_get_trace.sh [device serial] to dump and fetch the compressed trace file.
/system/extras/pagecache/
Dpagecache.py221 def do_preprocess_adb_cmd(command, serial): argument
223 dump, ret_code = AdbUtils.run_adb_shell(args, serial)

123