Home
last modified time | relevance | path

Searched refs:state_variable_key (Results 1 – 3 of 3) sorted by relevance

/system/update_engine/
Dmetrics_utils_unittest.cc81 const std::string state_variable_key = "test-prefs"; in TEST() local
92 &fake_system_state, state_variable_key, &duration)); in TEST()
96 &fake_system_state, state_variable_key, &duration)); in TEST()
102 &fake_system_state, state_variable_key, &duration)); in TEST()
105 &fake_system_state, state_variable_key, &duration)); in TEST()
112 &fake_system_state, state_variable_key, &duration)); in TEST()
115 &fake_system_state, state_variable_key, &duration)); in TEST()
121 &fake_system_state, state_variable_key, &duration)); in TEST()
124 &fake_system_state, state_variable_key, &duration)); in TEST()
132 &fake_system_state, state_variable_key, &duration)); in TEST()
[all …]
Dmetrics_utils.cc295 const std::string& state_variable_key, in WallclockDurationHelper() argument
301 if (system_state->prefs()->GetInt64(state_variable_key, &stored_value)) { in WallclockDurationHelper()
304 LOG(ERROR) << "Stored time-stamp used for " << state_variable_key in WallclockDurationHelper()
312 if (!system_state->prefs()->SetInt64(state_variable_key, in WallclockDurationHelper()
314 LOG(ERROR) << "Error storing time-stamp in " << state_variable_key; in WallclockDurationHelper()
Dmetrics_utils.h60 const std::string& state_variable_key,