Searched refs:writeStringToFile (Results 1 – 4 of 4) sorted by relevance
/system/vold/ |
D | KeyStorage.cpp | 202 if (!writeStringToFile(secdiscardable, filename)) return false; in createSecdiscardable() 365 if (!writeStringToFile(*opHandle.getUpgradedBlob(), upgraded_blob_file)) in BeginKeymasterOp() 580 if (!writeStringToFile(kCurrentVersion, dir + "/" + kFn_version)) return false; in storeKey() 584 if (!writeStringToFile(stretching, dir + "/" + kFn_stretching)) return false; in storeKey() 593 if (!writeStringToFile(kmKey, 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; 451 if (!android::vold::writeStringToFile(options_string, options_filename)) return false; in fscrypt_initialize_systemwide_keys() 454 if (!android::vold::writeStringToFile(device_policy.key_raw_ref, ref_filename)) return false; in fscrypt_initialize_systemwide_keys() 462 if (!android::vold::writeStringToFile(per_boot_policy.key_raw_ref, per_boot_ref_filename)) in fscrypt_initialize_systemwide_keys() 540 if (!writeStringToFile("2", "/proc/sys/vm/drop_caches")) { in drop_caches_if_needed()
|
D | Utils.h | 190 bool writeStringToFile(const std::string& payload, const std::string& filename);
|
D | Utils.cpp | 1414 bool writeStringToFile(const std::string& payload, const std::string& filename) { in writeStringToFile() function 1447 bool ret = writeStringToFile("1", abortPath); in AbortFuseConnections()
|