Home
last modified time | relevance | path

Searched refs:dt_content (Results 1 – 2 of 2) sorted by relevance

/system/core/init/
Dutil.cpp383 bool read_android_dt_file(const std::string& sub_path, std::string* dt_content) { in read_android_dt_file() argument
385 if (android::base::ReadFileToString(file_name, dt_content)) { in read_android_dt_file()
386 if (!dt_content->empty()) { in read_android_dt_file()
387 dt_content->pop_back(); // Trims the trailing '\0' out. in read_android_dt_file()
395 std::string dt_content; in is_android_dt_value_expected() local
396 if (read_android_dt_file(sub_path, &dt_content)) { in is_android_dt_value_expected()
397 if (dt_content == expected_content) { in is_android_dt_value_expected()
Dutil.h61 bool read_android_dt_file(const std::string& sub_path, std::string* dt_content);