Searched refs:modestring (Results 1 – 2 of 2) sorted by relevance
112 std::string modestring; in set_system_de_policy_on() local113 if (!android::base::ReadFileToString(type_filename, &modestring)) { in set_system_de_policy_on()117 std::vector<std::string> modes = android::base::Split(modestring, ":"); in set_system_de_policy_on()120 LOG(ERROR) << "Invalid encryption mode string: " << modestring; in set_system_de_policy_on()
352 std::string modestring = device_ref.contents_mode + ":" + device_ref.filenames_mode; in fscrypt_initialize_global_de() local354 if (!android::vold::writeStringToFile(modestring, mode_filename)) return false; in fscrypt_initialize_global_de()