Home
last modified time | relevance | path

Searched refs:i64 (Results 1 – 25 of 33) sorted by relevance

12

/system/security/keystore2/src/
Dauthorization.rs133 unlocking_sids: Option<&[i64]>, in on_lock_screen_event() argument
212 challenge: i64, in get_auth_tokens_for_credstore() argument
213 secure_user_id: i64, in get_auth_tokens_for_credstore() argument
214 auth_token_max_age_millis: i64, in get_auth_tokens_for_credstore() argument
246 unlocking_sids: Option<&[i64]>, in onLockScreenEvent() argument
265 challenge: i64, in getAuthTokensForCredStore() argument
266 secure_user_id: i64, in getAuthTokensForCredStore() argument
267 auth_token_max_age_millis: i64, in getAuthTokensForCredStore() argument
Ddatabase.rs129 fn load_from_db(key_id: i64, tx: &Transaction) -> Result<Self> { in load_from_db() argument
137 let mut metadata: HashMap<i64, KeyMetaEntry> = Default::default(); in load_from_db()
142 let db_tag: i64 = row.get(0).context("Failed to read tag.")?; in load_from_db()
155 fn store_in_db(&self, key_id: i64, tx: &Transaction) -> Result<()> { in store_in_db() argument
204 fn load_from_db(blob_id: i64, tx: &Transaction) -> Result<Self> { in load_from_db() argument
212 let mut metadata: HashMap<i64, BlobMetaEntry> = Default::default(); in load_from_db()
217 let db_tag: i64 = row.get(0).context("Failed to read tag.")?; in load_from_db()
230 fn store_in_db(&self, blob_id: i64, tx: &Transaction) -> Result<()> { in store_in_db() argument
273 match i64::column_result(value)? { in column_result()
312 return Err(FromSqlError::OutOfRange(blob.len() as i64)); in column_result()
[all …]
Denforcements.rs150 key_usage_limited: Option<i64>,
162 map_and_cleanup_counter: Mutex<(HashMap<i64, TokenReceiver>, u8)>,
192 pub fn add_receiver(&self, challenge: i64, recv: TokenReceiver) { in add_receiver() argument
221 fn get_timestamp_token(challenge: i64) -> Result<TimeStampToken, Error> { in get_timestamp_token()
232 fn timestamp_token_request(challenge: i64, sender: Sender<Result<TimeStampToken, Error>>) { in timestamp_token_request() argument
248 pub fn finalize_create_authorization(&mut self, challenge: i64) -> Option<OperationChallenge> { in finalize_create_authorization()
411 key_properties: Option<&(i64, Vec<KeyParameter>)>, in authorize_create() argument
479 let mut user_secure_ids = Vec::<i64>::new(); in authorize_create()
480 let mut key_time_out: Option<i64> = None; in authorize_create()
483 let mut key_usage_limited: Option<i64> = None; in authorize_create()
[all …]
Dremote_provisioning.rs135 .retrieve_attestation_key_and_cert_chain(key.domain, caller_uid as i64, &self.km_uuid) in get_rem_prov_attest_key_helper()
143 db.assign_attestation_key(key.domain, caller_uid as i64, &self.km_uuid) in get_rem_prov_attest_key_helper()
342 expiration_date: i64, in provision_cert_chain() argument
399 pub fn delete_all_keys(&self) -> Result<i64> { in delete_all_keys() argument
400 DB.with::<_, Result<i64>>(|db| { in delete_all_keys()
410 pub fn get_pool_status(expired_by: i64, sec_level: SecurityLevel) -> Result<AttestationPoolStatus> { in get_pool_status() argument
430 expired_by: i64, in getPoolStatus() argument
467 expiration_date: i64, in provisionCertChain() argument
491 fn deleteAllKeys(&self) -> binder::public_api::Result<i64> { in deleteAllKeys() argument
Dkey_parameter.rs174 implement_associate_primitive_identity! {i64}
182 I64(i64),
189 impl From<i64> for Primitive {
190 fn from(v: i64) -> Self { in from()
216 impl TryInto<i64> for Primitive {
219 fn try_into(self) -> Result<i64, Self::Error> { in try_into() argument
814 RSAPublicExponent(i64),
833 ActiveDateTime(i64),
836 OriginationExpireDateTime(i64),
839 UsageExpireDateTime(i64),
[all …]
Daudit_log.rs30 const FLAG_NAMESPACE: i64 = 0x80000000;
33 fn key_owner(domain: Domain, nspace: i64, uid: i32) -> i32 { in key_owner() argument
Dgc.rs85 deleted_blob_ids: Vec<i64>,
86 superseded_blobs: Vec<(i64, Vec<u8>, BlobMetaData)>,
Dutils.rs191 pub fn get_current_time_in_milliseconds() -> i64 { in get_current_time_in_milliseconds()
196 current_time.tv_sec as i64 * 1000 + (current_time.tv_nsec as i64 / 1_000_000) in get_current_time_in_milliseconds()
Dservice.rs229 nspace: ThreadState::get_calling_uid() as i64, in update_subcomponent()
256 fn list_entries(&self, domain: Domain, namespace: i64) -> Result<Vec<KeyDescriptor>> { in list_entries()
260 nspace: ThreadState::get_calling_uid() as u64 as i64, in list_entries()
383 namespace: i64, in listEntries() argument
Dmaintenance.rs47 fn delete_namespace(&self, domain: Domain, namespace: i64) -> Result<()>; in delete_namespace()
124 fn clear_namespace(&self, domain: Domain, nspace: i64) -> Result<()> { in clear_namespace()
284 fn clearNamespace(&self, domain: Domain, nspace: i64) -> BinderResult<()> { in clearNamespace()
Dlegacy_migrator.rs86 const WIFI_NAMESPACE: i64 = 102;
198 pub fn list_uid(&self, domain: Domain, namespace: i64) -> Result<Vec<KeyDescriptor>> { in list_uid()
372 pub fn bulk_delete_uid(&self, domain: Domain, nspace: i64) -> Result<()> { in bulk_delete_uid()
448 key.nspace = uid as i64; in check_and_migrate()
Dsuper_key.rs120 DatabaseId(i64),
231 sids: Vec<i64>,
260 key_index: HashMap<i64, Weak<SuperKey>>,
400 user as u64 as i64, in unlock_user_key()
504 .key_exists(Domain::APP, user_id as u64 as i64, &USER_SUPER_KEY.alias, KeyType::Super) in super_key_exists_in_db_for_user()
922 unlocking_sids: &[i64], in lock_screen_lock_bound_key() argument
Dpermission.rs51 fn lookup_keystore2_key_context(namespace: i64) -> anyhow::Result<selinux::Context> { in lookup_keystore2_key_context()
527 if caller_uid as i64 != key.nspace { in check_key_permission()
724 nspace: namespace as i64, in check_grant_permission_selinux()
852 nspace: namespace as i64, in check_key_permission_domain_selinux()
906 nspace: namespace as i64, in check_key_permission_domain_blob()
Dsecurity_level.rs77 const UNDEFINED_NOT_AFTER: i64 = 253402300799000i64;
481 nspace: caller_uid as i64, in generate_key()
598 nspace: caller_uid as i64, in import_key()
677 nspace: caller_uid as i64, in import_wrapped_key()
/system/core/libstats/pull_rust/
Dstats_pull.rs47 pub fn set_cooldown_millis(&mut self, cooldown_millis: i64) { in set_cooldown_millis() argument
53 pub fn get_cooldown_millis(&self) -> i64 { in get_cooldown_millis() argument
59 pub fn set_timeout_millis(&mut self, timeout_millis: i64) { in set_timeout_millis() argument
65 pub fn get_timeout_millis(&self) -> i64 { in get_timeout_millis() argument
/system/security/keystore2/src/database/
Dutils.rs153 const $n: i64 = $nid;
176 fn db_tag(&self) -> i64 {
182 fn new_from_sql(db_tag: i64, data: &SqlField) -> anyhow::Result<Self> {
214 data: std::collections::HashMap<i64, $entry>,
Dperboot.rs30 user_id: i64,
31 auth_id: i64,
/system/media/camera/tests/
Dcamera_metadata_tests.cpp309 EXPECT_EQ(exposure_time, *entry.data.i64); in TEST()
421 EXPECT_EQ(exposure_time, *entry.data.i64); in TEST()
1121 EXPECT_EQ(exposureTime, *e.data.i64); in TEST()
1182 EXPECT_EQ(exposureTime, *e2.data.i64); in TEST()
1228 EXPECT_EQ(exposureTime, *e2.data.i64); in TEST()
1262 EXPECT_EQ(newExposureTime, *e.data.i64); in TEST()
1272 EXPECT_EQ(newExposureTime, *e.data.i64); in TEST()
1282 EXPECT_EQ(exposureTime, *e2.data.i64); in TEST()
1299 EXPECT_EQ(newExposures[0], e.data.i64[0]); in TEST()
1300 EXPECT_EQ(newExposures[1], e.data.i64[1]); in TEST()
[all …]
/system/bt/gd/rust/shim/src/
Dmessage_loop_thread.rs27 delay_ms: i64, in main_message_loop_thread_do_delayed() argument
62 delay_ms: i64, in main_message_loop_thread_do_delayed() argument
/system/tools/aidl/tests/golden_output/aidl-test-interface-rust-source/gen/android/aidl/tests/
DLongEnum.rs3 declare_binder_enum! { LongEnum : i64 {
DITestService.rs22 fn RepeatLong(&self, _arg_token: i64) -> binder::public_api::Result<i64>; in RepeatLong() argument
33 …fn ReverseLong(&self, _arg_input: &[i64], _arg_repeated: &mut Vec<i64>) -> binder::public_api::Res… in ReverseLong() argument
95 fn RepeatLong(&self, _arg_token: i64) -> binder::public_api::Result<i64> { in RepeatLong() argument
128 …fn ReverseLong(&self, _arg_input: &[i64], _arg_repeated: &mut Vec<i64>) -> binder::public_api::Res… in ReverseLong() argument
299 pub const LONG_TEST_CONSTANT: i64 = 1099511627776;
475 fn RepeatLong(&self, _arg_token: i64) -> binder::public_api::Result<i64> { in RepeatLong() argument
489 let _aidl_return: i64 = _aidl_reply.read()?; in RepeatLong()
670 …fn ReverseLong(&self, _arg_input: &[i64], _arg_repeated: &mut Vec<i64>) -> binder::public_api::Res… in ReverseLong() argument
685 let _aidl_return: Vec<i64> = _aidl_reply.read()?; in ReverseLong()
1256 …fn RepeatLong(&self, _arg_token: i64) -> binder::public_api::Result<i64> { self.0.RepeatLong(_arg_… in RepeatLong() argument
[all …]
DStructuredParcelable.rs15 pub longDefaultsToNegativeSeven: i64,
25 pub longDefault: i64,
33 pub int64_max: i64,
37 pub int64_1: Vec<i64>,
DParcelableForToString.rs5 pub longValue: i64,
6 pub longArray: Vec<i64>,
/system/media/camera/include/system/
Dcamera_metadata.h89 int64_t *i64; member
108 const int64_t *i64; member
/system/extras/libjsonpb/verify/
Dtest.proto55 int64 i64 = 3; field

12