Searched refs:writeStringToFile (Results 1 – 4 of 4) sorted by relevance
| /system/vold/ |
| D | KeyStorage.cpp | 185 if (!writeStringToFile(secdiscardable, filename)) return false; in createSecdiscardable() 357 if (!writeStringToFile(*opHandle.getUpgradedBlob(), upgraded_blob_file)) in BeginKeystoreOp() 549 if (!writeStringToFile(kCurrentVersion, dir + "/" + kFn_version)) return false; in storeKey() 561 if (!writeStringToFile(ksKey, dir + "/" + kFn_keymaster_key_blob)) return false; in storeKey() 573 if (!writeStringToFile(encryptedKey, dir + "/" + kFn_encrypted_key)) return false; in storeKey()
|
| D | FsCrypt.cpp | 79 using android::vold::writeStringToFile; 500 if (!android::vold::writeStringToFile(options_string, options_filename)) return false; in fscrypt_initialize_systemwide_keys() 503 if (!android::vold::writeStringToFile(s_device_policy.key_raw_ref, ref_filename)) return false; in fscrypt_initialize_systemwide_keys() 512 if (!android::vold::writeStringToFile(per_boot_policy.key_raw_ref, per_boot_ref_filename)) in fscrypt_initialize_systemwide_keys() 652 if (!writeStringToFile("2", "/proc/sys/vm/drop_caches")) { in drop_caches_if_needed()
|
| D | Utils.h | 196 bool writeStringToFile(const std::string& payload, const std::string& filename);
|
| D | Utils.cpp | 1421 bool writeStringToFile(const std::string& payload, const std::string& filename) { in writeStringToFile() function 1468 bool ret = writeStringToFile("1", abortPath); in AbortFuseConnections()
|