Searched refs:backup_root (Results 1 – 2 of 2) sorted by relevance
/system/core/healthd/ |
D | healthd_mode_charger.cpp | 850 void set_resource_root_for(const std::string& root, const std::string& backup_root, in set_resource_root_for() argument 859 if (!backup_root.empty() && access(new_value.data(), F_OK) == -1) { in set_resource_root_for() 860 new_value = backup_root + *value + ".png"; in set_resource_root_for() 866 void animation::set_resource_root(const std::string& root, const std::string& backup_root) { in set_resource_root() argument 869 CHECK(backup_root.empty() || (android::base::StartsWith(backup_root, "/") && in set_resource_root() 870 android::base::EndsWith(backup_root, "/"))) in set_resource_root() 871 << "animation backup root " << backup_root << " must start and end with /"; in set_resource_root() 872 set_resource_root_for(root, backup_root, &animation_file); in set_resource_root() 873 set_resource_root_for(root, backup_root, &fail_file); in set_resource_root() 874 set_resource_root_for(root, backup_root, &text_clock.font_file); in set_resource_root() [all …]
|
D | animation.h | 60 void set_resource_root(const std::string& root, const std::string& backup_root = "");
|