Home
last modified time | relevance | path

Searched refs:wd (Results 1 – 18 of 18) sorted by relevance

/system/security/keystore2/src/
Dwatchdog.rs36 wd: Arc<Watchdog>, field
42 self.wd.disarm(self.id) in drop()
188 wd: &Arc<Self>, in watch_with_optional()
199 wd.arm(callback, id, deadline.unwrap()); in watch_with_optional()
200 Some(WatchPoint { id, wd: wd.clone(), not_send: Default::default() }) in watch_with_optional()
207 wd: &Arc<Self>, in watch_with()
212 Self::watch_with_optional(wd, Some(Box::new(callback)), id, timeout) in watch_with()
216 pub fn watch(wd: &Arc<Self>, id: &'static str, timeout: Duration) -> Option<WatchPoint> { in watch()
217 Self::watch_with_optional(wd, None, id, timeout) in watch()
307 let wd = Watchdog::new(Watchdog::NOISY_REPORT_TIMEOUT.checked_mul(3).unwrap()); in test_watchdog() localVariable
[all …]
Dmaintenance.rs25 use crate::utils::{check_key_permission, check_keystore_permission, watchdog as wd};
165 let _wp = wd::watch_millis_with("In call_with_watchdog", 500, move || { in call_with_watchdog()
270 let _wp = wd::watch_millis("IKeystoreMaintenance::onUserPasswordChanged", 500); in onUserPasswordChanged()
275 let _wp = wd::watch_millis("IKeystoreMaintenance::onUserAdded", 500); in onUserAdded()
280 let _wp = wd::watch_millis("IKeystoreMaintenance::onUserRemoved", 500); in onUserRemoved()
285 let _wp = wd::watch_millis("IKeystoreMaintenance::clearNamespace", 500); in clearNamespace()
290 let _wp = wd::watch_millis("IKeystoreMaintenance::getState", 500); in getState()
295 let _wp = wd::watch_millis("IKeystoreMaintenance::earlyBootEnded", 500); in earlyBootEnded()
300 let _wp = wd::watch_millis("IKeystoreMaintenance::onDeviceOffBody", 500); in onDeviceOffBody()
309 let _wp = wd::watch_millis("IKeystoreMaintenance::migrateKeyNamespace", 500); in migrateKeyNamespace()
[all …]
Dmetrics.rs20 use crate::utils::{check_keystore_permission, watchdog as wd};
53 let _wp = wd::watch_millis("IKeystoreMetrics::pullMetrics", 500); in pullMetrics()
Dservice.rs25 key_parameters_to_authorizations, watchdog as wd, Asp,
362 let _wp = wd::watch_millis_with("IKeystoreService::getSecurityLevel", 500, move || { in getSecurityLevel()
368 let _wp = wd::watch_millis("IKeystoreService::get_key_entry", 500); in getKeyEntry()
377 let _wp = wd::watch_millis("IKeystoreService::updateSubcomponent", 500); in updateSubcomponent()
385 let _wp = wd::watch_millis("IKeystoreService::listEntries", 500); in listEntries()
389 let _wp = wd::watch_millis("IKeystoreService::deleteKey", 500); in deleteKey()
400 let _wp = wd::watch_millis("IKeystoreService::grant", 500); in grant()
404 let _wp = wd::watch_millis("IKeystoreService::ungrant", 500); in ungrant()
Doperation.rs131 use crate::utils::{watchdog as wd, Asp};
294 let _wp = wd::watch_millis("In Operation::prune: calling abort()", 500); in prune()
376 let _wp = wd::watch_millis("Operation::update_aad: calling updateAad", 500); in update_aad()
403 let _wp = wd::watch_millis("Operation::update: calling update", 500); in update()
436 let _wp = wd::watch_millis("Operation::finish: calling finish", 500); in finish()
469 let _wp = wd::watch_millis("Operation::abort: calling abort", 500); in abort()
845 let _wp = wd::watch_millis("IKeystoreOperation::updateAad", 500); in updateAad()
856 let _wp = wd::watch_millis("IKeystoreOperation::update", 500); in update()
870 let _wp = wd::watch_millis("IKeystoreOperation::finish", 500); in finish()
881 let _wp = wd::watch_millis("IKeystoreOperation::abort", 500); in abort()
Dremote_provisioning.rs47 use crate::utils::{watchdog as wd, Asp};
433 let _wp = wd::watch_millis("IRemoteProvisioning::getPoolStatus", 500); in getPoolStatus()
447 let _wp = wd::watch_millis("IRemoteProvisioning::generateCsr", 500); in generateCsr()
470 let _wp = wd::watch_millis("IRemoteProvisioning::provisionCertChain", 500); in provisionCertChain()
482 let _wp = wd::watch_millis("IRemoteProvisioning::generateKeyPair", 500); in generateKeyPair()
487 let _wp = wd::watch_millis("IRemoteProvisioning::getSecurityLevels", 500); in getImplementationInfo()
492 let _wp = wd::watch_millis("IRemoteProvisioning::deleteAllKeys", 500); in deleteAllKeys()
Dauthorization.rs21 use crate::utils::{check_keystore_permission, watchdog as wd};
237 let _wp = wd::watch_millis("IKeystoreAuthorization::addAuthToken", 500); in addAuthToken()
249 wd::watch_millis_with("IKeystoreAuthorization::onLockScreenEvent", 500, move || { in onLockScreenEvent()
269 let _wp = wd::watch_millis("IKeystoreAuthorization::getAuthTokensForCredStore", 500); in getAuthTokensForCredStore()
Draw_device.rs25 utils::{key_characteristics_to_internal, watchdog as wd, AID_KEYSTORE},
209 let _wp = wd::watch_millis( in lookup_or_generate_key()
264 let _wp = wd::watch_millis( in upgrade_keyblob_if_required_with()
318 let _wp = wd::watch_millis("In use_key_in_one_step: calling: begin", 500); in use_key_in_one_step()
328 let _wp = wd::watch_millis("In use_key_in_one_step: calling: finish", 500); in use_key_in_one_step()
Dapc.rs24 use crate::utils::{compat_2_response_code, ui_opts_2_compat, watchdog as wd};
367 let _wp = wd::watch_millis("IProtectedConfirmation::presentPrompt", 3000); in presentPrompt()
377 let _wp = wd::watch_millis("IProtectedConfirmation::cancelPrompt", 500); in cancelPrompt()
381 let _wp = wd::watch_millis("IProtectedConfirmation::isSupported", 500); in isSupported()
Dlegacy_migrator.rs19 use crate::utils::{uid_to_android_user, watchdog as wd};
199 let _wp = wd::watch_millis("LegacyMigrator::list_uid", 500); in list_uid()
295 let _wp = wd::watch_millis("LegacyMigrator::with_try_migrate", 500); in with_try_migrate()
349 let _wp = wd::watch_millis("LegacyMigrator::with_try_migrate_super_key", 500); in with_try_migrate_super_key()
373 let _wp = wd::watch_millis("LegacyMigrator::bulk_delete_uid", 500); in bulk_delete_uid()
396 let _wp = wd::watch_millis("LegacyMigrator::bulk_delete_user", 500); in bulk_delete_user()
Dglobals.rs23 use crate::utils::watchdog as wd;
171 let _wp = wd::watch_millis("In invalidate key closure: calling deleteKey", 500);
238 let wp = wd::watch_millis("In connect_keymint: calling getHardwareInfo()", 500); in connect_keymint()
Ddatabase.rs52 use crate::utils::{get_current_time_in_milliseconds, watchdog as wd, AID_USER_OFFSET};
843 let _wp = wd::watch_millis("KeystoreDB::new", 500); in new()
1070 let _wp = wd::watch_millis("KeystoreDB::get_storage_stat", 500); in get_storage_stat()
1133 let _wp = wd::watch_millis("KeystoreDB::handle_next_superseded_blob", 500); in handle_next_superseded_blobs()
1221 let _wp = wd::watch_millis("KeystoreDB::cleanup_leftovers", 500); in cleanup_leftovers()
1242 let _wp = wd::watch_millis("KeystoreDB::key_exists", 500); in key_exists()
1269 let _wp = wd::watch_millis("KeystoreDB::store_super_key", 500); in store_super_key()
1314 let _wp = wd::watch_millis("KeystoreDB::load_super_key", 500); in load_super_key()
1355 let _wp = wd::watch_millis("KeystoreDB::get_or_create_key_with", 500); in get_or_create_key_with()
1494 let _wp = wd::watch_millis("KeystoreDB::create_key_entry", 500); in create_key_entry()
[all …]
Dsecurity_level.rs31 key_characteristics_to_internal, uid_to_android_user, watchdog as wd, Asp,
105 fn watch_millis(&self, id: &'static str, millis: u64) -> Option<wd::WatchPoint> { in watch_millis()
107 wd::watch_millis_with(id, millis, move || format!("SecurityLevel {:?}", sec_level)) in watch_millis()
Dsuper_key.rs32 utils::watchdog as wd,
964 let _wp = wd::watch_millis( in lock_screen_lock_bound_key()
/system/bt/embdrv/g722/
Dg722_encode.cc277 int wd; in g722_encode() local
347 wd = (el >= 0) ? el : -(el + 1); in g722_encode()
352 if (wd < wd1) in g722_encode()
364 wd = (s->band[0].nb*127) >> 7; in g722_encode()
365 s->band[0].nb = wd + wl[il4]; in g722_encode()
385 wd = (eh >= 0) ? eh : -(eh + 1); in g722_encode()
387 mih = (wd >= wd1) ? 2 : 1; in g722_encode()
396 wd = (s->band[1].nb*127) >> 7; in g722_encode()
398 nb = wd + wh[ih2]; in g722_encode()
/system/core/libusbhost/
Dusbhost.c236 int wd; in usb_host_read_event() local
243 wd = event->wd; in usb_host_read_event()
244 if (wd == context->wdd) { in usb_host_read_event()
254 } else if (wd == context->wddbus) { in usb_host_read_event()
266 } else if (wd == context->wds[0]) { in usb_host_read_event()
287 if (wd == context->wds[i]) { in usb_host_read_event()
/system/security/keystore2/legacykeystore/
Dlib.rs29 maintenance::Domain, utils::watchdog as wd,
503 let _wp = wd::watch_millis("ILegacyKeystore::get", 500); in get()
507 let _wp = wd::watch_millis("ILegacyKeystore::put", 500); in put()
511 let _wp = wd::watch_millis("ILegacyKeystore::remove", 500); in remove()
515 let _wp = wd::watch_millis("ILegacyKeystore::list", 500); in list()
/system/extras/simpleperf/scripts/inferno/
Dinferno.b641 …ROkKio6yWeZ/PyM/Pm2rJa4mO/WYlGl+89c/NX/cJKFAhiTZ//8fznpEgAAmBjCXwAAAADAUDb+wd/RuZ/545LkXS173hrNV6z…