Home
last modified time | relevance | path

Searched refs:writeStringToFile (Results 1 – 4 of 4) sorted by relevance

/system/vold/
DKeyStorage.cpp196 if (!writeStringToFile(secdiscardable, filename)) return false; in createSecdiscardable()
250 if (!writeStringToFile(newKey, newKeyPath)) return KeymasterOperation(); in begin()
488 if (!writeStringToFile(kCurrentVersion, dir + "/" + kFn_version)) return false; in storeKey()
492 if (!writeStringToFile(stretching, dir + "/" + kFn_stretching)) return false; in storeKey()
499 if (!writeStringToFile(salt, dir + "/" + kFn_salt)) return false; in storeKey()
509 if (!writeStringToFile(kmKey, dir + "/" + kFn_keymaster_key_blob)) return false; in storeKey()
519 if (!writeStringToFile(encryptedKey, dir + "/" + kFn_encrypted_key)) return false; in storeKey()
DFsCrypt.cpp74 using android::vold::writeStringToFile;
444 if (!android::vold::writeStringToFile(options_string, options_filename)) return false; in fscrypt_initialize_systemwide_keys()
447 if (!android::vold::writeStringToFile(device_policy.key_raw_ref, ref_filename)) return false; in fscrypt_initialize_systemwide_keys()
455 if (!android::vold::writeStringToFile(per_boot_policy.key_raw_ref, per_boot_ref_filename)) in fscrypt_initialize_systemwide_keys()
534 if (!writeStringToFile("2", "/proc/sys/vm/drop_caches")) { in drop_caches_if_needed()
DUtils.h149 bool writeStringToFile(const std::string& payload, const std::string& filename);
DUtils.cpp993 bool writeStringToFile(const std::string& payload, const std::string& filename) { in writeStringToFile() function