Searched refs:writeStringToFile (Results 1 – 4 of 4) sorted by relevance
/system/vold/ |
D | KeyStorage.cpp | 188 if (!writeStringToFile(secdiscardable, filename)) return false; in createSecdiscardable() 357 if (!writeStringToFile(*opHandle.getUpgradedBlob(), upgraded_blob_file)) in BeginKeystoreOp() 574 if (!writeStringToFile(kCurrentVersion, dir + "/" + kFn_version)) return false; in storeKey() 578 if (!writeStringToFile(stretching, dir + "/" + kFn_stretching)) return false; in storeKey() 587 if (!writeStringToFile(ksKey, dir + "/" + kFn_keymaster_key_blob)) return false; in storeKey() 599 if (!writeStringToFile(encryptedKey, dir + "/" + kFn_encrypted_key)) return false; in storeKey()
|
D | FsCrypt.cpp | 80 using android::vold::writeStringToFile; 455 if (!android::vold::writeStringToFile(options_string, options_filename)) return false; in fscrypt_initialize_systemwide_keys() 458 if (!android::vold::writeStringToFile(device_policy.key_raw_ref, ref_filename)) return false; in fscrypt_initialize_systemwide_keys() 466 if (!android::vold::writeStringToFile(per_boot_policy.key_raw_ref, per_boot_ref_filename)) in fscrypt_initialize_systemwide_keys() 547 if (!writeStringToFile("2", "/proc/sys/vm/drop_caches")) { in drop_caches_if_needed()
|
D | Utils.h | 194 bool writeStringToFile(const std::string& payload, const std::string& filename);
|
D | Utils.cpp | 1423 bool writeStringToFile(const std::string& payload, const std::string& filename) { in writeStringToFile() function 1467 bool ret = writeStringToFile("1", abortPath); in AbortFuseConnections()
|