Lines Matching refs:AtomID
32 Algorithm::Algorithm as MetricsAlgorithm, AtomID::AtomID, CrashStats::CrashStats,
72 metrics_store: Mutex<HashMap<AtomID, HashMap<KeystoreAtomPayload, i32>>>,
86 pub fn get_atoms(&self, atom_id: AtomID) -> Result<Vec<KeystoreAtom>> { in get_atoms()
89 if AtomID::STORAGE_STATS == atom_id { in get_atoms()
94 if AtomID::CRASH_STATS == atom_id { in get_atoms()
118 fn insert_atom(&self, atom_id: AtomID, atom: KeystoreAtomPayload) { in insert_atom() argument
129 metrics_store_guard.entry(AtomID::KEYSTORE2_ATOM_WITH_OVERFLOW).or_default(); in insert_atom()
158 .insert_atom(AtomID::KEY_CREATION_WITH_GENERAL_INFO, key_creation_with_general_info); in log_key_creation_event_stats()
159 METRICS_STORE.insert_atom(AtomID::KEY_CREATION_WITH_AUTH_INFO, key_creation_with_auth_info); in log_key_creation_event_stats()
161 AtomID::KEY_CREATION_WITH_PURPOSE_AND_MODES_INFO, in log_key_creation_event_stats()
325 .insert_atom(AtomID::KEY_OPERATION_WITH_GENERAL_INFO, key_operation_with_general_info); in log_key_operation_event_stats()
327 AtomID::KEY_OPERATION_WITH_PURPOSE_AND_MODES_INFO, in log_key_operation_event_stats()
561 METRICS_STORE.insert_atom(AtomID::RKP_ERROR_STATS, rkp_error_stats); in log_rkp_error_stats()