Lines Matching refs:AtomID
32 Algorithm::Algorithm as MetricsAlgorithm, AtomID::AtomID, CrashStats::CrashStats,
75 metrics_store: Mutex<HashMap<AtomID, HashMap<KeystoreAtomPayload, i32>>>,
89 pub fn get_atoms(&self, atom_id: AtomID) -> Result<Vec<KeystoreAtom>> { in get_atoms()
92 if AtomID::STORAGE_STATS == atom_id { in get_atoms()
97 if AtomID::RKP_POOL_STATS == atom_id { in get_atoms()
102 if AtomID::CRASH_STATS == atom_id { in get_atoms()
123 fn insert_atom(&self, atom_id: AtomID, atom: KeystoreAtomPayload) { in insert_atom() argument
134 .entry(AtomID::KEYSTORE2_ATOM_WITH_OVERFLOW) in insert_atom()
164 .insert_atom(AtomID::KEY_CREATION_WITH_GENERAL_INFO, key_creation_with_general_info); in log_key_creation_event_stats()
165 METRICS_STORE.insert_atom(AtomID::KEY_CREATION_WITH_AUTH_INFO, key_creation_with_auth_info); in log_key_creation_event_stats()
167 AtomID::KEY_CREATION_WITH_PURPOSE_AND_MODES_INFO, in log_key_creation_event_stats()
330 .insert_atom(AtomID::KEY_OPERATION_WITH_GENERAL_INFO, key_operation_with_general_info); in log_key_operation_event_stats()
332 AtomID::KEY_OPERATION_WITH_PURPOSE_AND_MODES_INFO, in log_key_operation_event_stats()
598 METRICS_STORE.insert_atom(AtomID::RKP_ERROR_STATS, rkp_error_stats); in log_rkp_error_stats()