Home
last modified time | relevance | path

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

12345

/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
/system/vold/
DFsCrypt.h25 bool fscrypt_vold_create_user_key(userid_t user_id, int serial, bool ephemeral);
27 bool fscrypt_add_user_key_auth(userid_t user_id, int serial, const std::string& secret);
28 bool fscrypt_clear_user_key_auth(userid_t user_id, int serial, const std::string& secret);
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,
DFsCrypt.cpp506 bool fscrypt_vold_create_user_key(userid_t user_id, int serial, bool ephemeral) { in fscrypt_vold_create_user_key() argument
507 LOG(DEBUG) << "fscrypt_vold_create_user_key for " << user_id << " serial " << serial; in fscrypt_vold_create_user_key()
514 << " serial " << serial; in fscrypt_vold_create_user_key()
677 static bool fscrypt_rewrap_user_key(userid_t user_id, int serial, in fscrypt_rewrap_user_key() argument
703 bool fscrypt_add_user_key_auth(userid_t user_id, int serial, const std::string& secret_hex) { in fscrypt_add_user_key_auth() argument
704 LOG(DEBUG) << "fscrypt_add_user_key_auth " << user_id << " serial=" << serial; in fscrypt_add_user_key_auth()
708 return fscrypt_rewrap_user_key(user_id, serial, kEmptyAuthentication, *auth); in fscrypt_add_user_key_auth()
711 bool fscrypt_clear_user_key_auth(userid_t user_id, int serial, const std::string& secret_hex) { in fscrypt_clear_user_key_auth() argument
712 LOG(DEBUG) << "fscrypt_clear_user_key_auth " << user_id << " serial=" << serial; in fscrypt_clear_user_key_auth()
716 return fscrypt_rewrap_user_key(user_id, serial, *auth, kEmptyAuthentication); in fscrypt_clear_user_key_auth()
[all …]
/system/security/keystore2/system_property/
Dlib.rs66 serial: keystore2_system_property_bindgen::__uint32_t, field
72 Ok(Self { prop_name: CString::new(name)?, prop_info: null(), serial: 0 }) in new()
178 let mut new_serial = self.serial; in wait()
185 self.serial, in wait()
192 self.serial = new_serial; in wait()
/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/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.cpp113 BIGNUM_Ptr serial(BN_new()); in get_certificate_params() local
114 if (!serial) { in get_certificate_params()
120 if (BN_bin2bn(serial_blob.data, serial_blob.data_length, serial.get()) == nullptr) { in get_certificate_params()
125 BN_one(serial.get()); in get_certificate_params()
127 cert_params->serial = move(serial); in get_certificate_params()
262 !BN_to_ASN1_INTEGER(cert_params.serial.get(), serial_number.get()) || in make_cert_rump()
/system/bt/gd/cert/
Dset_up_and_run_device_cert.sh34 serial=${SERIALS[i]}
36 echo "| $i) $serial $device" 1>&2
/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/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/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/security/keystore2/src/crypto/
Dcertificate_utils.cpp216 makeCertRump(std::optional<std::reference_wrapper<const std::vector<uint8_t>>> serial, in makeCertRump() argument
233 if (serial) { in makeCertRump()
234 bn_serial = BIGNUM_Ptr(BN_bin2bn(serial->get().data(), serial->get().size(), nullptr)); in makeCertRump()
289 std::optional<std::reference_wrapper<const std::vector<uint8_t>>> serial, in makeCert() argument
297 makeCertRump(serial, subject, activeDateTimeMilliSeconds, usageExpireDateTimeMilliSeconds); in makeCert()
/system/extras/boottime_tools/bootanalyze/
Dbootanalyze.py68 if args.serial:
69 ADB_CMD = "%s %s" % ("adb -s", args.serial)
311 t = threading.Thread(target=lambda: (time.sleep(2), reboot(args.serial, args.stressfs != '',\
745 def do_reboot(serial, use_adb_reboot): argument
758 if not serial or (serial and current_devices.find(serial) < 0):
764 def reboot(serial, use_stressfs, permissive, use_adb_reboot, adb_buffersize=None): argument
777 if do_reboot(serial, use_adb_reboot):
/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/security/ondevice-signing/
DCertUtils.cpp222 BIGNUM* serial = BN_new(); in createPkcs7() local
236 BN_set_word(serial, 1); in createPkcs7()
258 !BN_marshal_asn1(&issuer_and_serial, serial) || in createPkcs7()
/system/sepolicy/prebuilts/api/26.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/27.0/private/
Dbinderservicedomain.te9 # Allow dumpsys to work from adb shell or the serial console
/system/sepolicy/prebuilts/api/30.0/private/
Dbinderservicedomain.te9 # Allow dumpsys to work from adb shell or the serial console
/system/sepolicy/prebuilts/api/28.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
/system/sepolicy/prebuilts/api/30.0/public/
Dhal_cas.te8 # Permit reading device's serial number from system properties
/system/sepolicy/prebuilts/api/31.0/private/
Dbinderservicedomain.te9 # Allow dumpsys to work from adb shell or the serial console

12345