Searched refs:state_variable_key (Results 1 – 3 of 3) sorted by relevance
/system/update_engine/ |
D | metrics_utils_unittest.cc | 81 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 …]
|
D | metrics_utils.cc | 295 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()
|
D | metrics_utils.h | 60 const std::string& state_variable_key,
|