Searched refs:writeStringToFile (Results 1 – 2 of 2) sorted by relevance
/system/extras/tests/sdcard/ |
D | sysutil.cpp | 146 int writeStringToFile(const char *filename, const char *start, bool must_exist=true) in writeStringToFile() function 205 return writeStringToFile(filename, buffer); in writeIntToFile() 272 if (writeStringToFile(governor, "performance", kSilentIfMissing) < 0) in disableCpuScaling() 308 retcode = writeStringToFile(kSchedFeatures, kNewFairSleepers); in setNewFairSleepers() 312 retcode = writeStringToFile(kSchedFeatures, kNoNewFairSleepers); in setNewFairSleepers() 338 retcode = writeStringToFile(kSchedFeatures, kNormalizedSleepers); in setNormalizedSleepers() 342 retcode = writeStringToFile(kSchedFeatures, kNoNormalizedSleepers); in setNormalizedSleepers()
|
/system/vold/ |
D | KeyStorage.cpp | 185 static bool writeStringToFile(const std::string& payload, const std::string& filename) { in writeStringToFile() function 251 if (!writeStringToFile(kCurrentVersion, dir + "/" + kFn_version)) return false; in storeKey() 258 if (!writeStringToFile(secdiscardable, dir + "/" + kFn_secdiscardable)) return false; in storeKey() 260 if (!writeStringToFile(stretching, dir + "/" + kFn_stretching)) return false; in storeKey() 267 if (!writeStringToFile(salt, dir + "/" + kFn_salt)) return false; in storeKey() 275 if (!writeStringToFile(kmKey, dir + "/" + kFn_keymaster_key_blob)) return false; in storeKey() 278 if (!writeStringToFile(encryptedKey, dir + "/" + kFn_encrypted_key)) return false; in storeKey()
|