Home
last modified time | relevance | path

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

123456

/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()
/system/vold/
DFsCrypt.h26 bool fscrypt_vold_create_user_key(userid_t user_id, int serial, bool ephemeral);
32 bool fscrypt_unlock_user_key(userid_t user_id, int serial, const std::string& secret);
35 bool fscrypt_prepare_user_storage(const std::string& volume_uuid, userid_t user_id, int serial,
/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()
280 uint32_t serial; member
300 if (current_serial != self->serial) { in do_cache2_char()
306 self->serial = current_serial; in do_cache2_char()
/system/core/trusty/keymaster/set_attestation_ids/
Dset_attestation_ids.cpp60 buf2string(req.product).c_str(), buf2string(req.serial).c_str(), in print_usage()
76 set_from_prop(&req->serial, "ro.serialno"); in populate_ids()
106 req.serial.Reinitialize(optarg, strlen(optarg)); in main()
149 buf2string(req.product).c_str(), buf2string(req.serial).c_str(), in main()
/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.cpp114 BIGNUM_Ptr serial(BN_new()); in get_certificate_params() local
115 if (!serial) { in get_certificate_params()
121 if (BN_bin2bn(serial_blob.data, serial_blob.data_length, serial.get()) == nullptr) { in get_certificate_params()
126 BN_one(serial.get()); in get_certificate_params()
128 cert_params->serial = std::move(serial); in get_certificate_params()
255 !BN_to_ASN1_INTEGER(cert_params.serial.get(), serial_number.get()) || in make_cert_rump()
/system/librustutils/
Dsystem_properties.rs69 serial: c_uint, field
78 serial: 0, in new()
197 let mut new_serial = self.serial; in wait()
204 self.serial, in wait()
211 self.serial = new_serial; in wait()
/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()
254 [](void* data, const char*, const char* value, uint32_t serial) { in Get() argument
256 instance->cached_property_serial_ = serial; in Get()
/system/extras/tools/
Dgraph_lockdep_chains96 --serial | -s)
106 --serial=*)
/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/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()
/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/prebuilts/api/30.0/private/
Dbinderservicedomain.te9 # Allow dumpsys to work from adb shell or the serial console
/system/sepolicy/prebuilts/api/29.0/private/
Dbinderservicedomain.te9 # Allow dumpsys to work from adb shell or the serial console
/system/sepolicy/prebuilts/api/30.0/public/
Dhal_cas.te8 # Permit reading device's serial number from system properties
/system/sepolicy/prebuilts/api/33.0/private/
Dbinderservicedomain.te9 # Allow dumpsys to work from adb shell or the serial console
/system/sepolicy/prebuilts/api/29.0/public/
Dhal_cas.te8 # Permit reading device's serial number from system properties
Dfastbootd.te18 # Log to serial
29 # Read serial number of the device from system properties
/system/sepolicy/prebuilts/api/31.0/private/
Dbinderservicedomain.te9 # Allow dumpsys to work from adb shell or the serial console
/system/sepolicy/prebuilts/api/32.0/private/
Dbinderservicedomain.te9 # Allow dumpsys to work from adb shell or the serial console
/system/sepolicy/private/
Dbinderservicedomain.te9 # Allow dumpsys to work from adb shell or the serial console

123456