Home | History | Annotate | Download | only in common

Lines Matching refs:filePath

35 String8 ReadWriteUtils::readBytes(const String8& filePath) {
37 file = fopen(filePath.string(), "r");
57 int ReadWriteUtils::readBytes(const String8& filePath, char** buffer) {
59 file = fopen(filePath.string(), "r");
78 void ReadWriteUtils::writeToFile(const String8& filePath, const String8& data) {
80 file = fopen(filePath.string(), "w+");
88 ALOGE("Failed to write the data to: %s", filePath.string());
95 void ReadWriteUtils::appendToFile(const String8& filePath, const String8& data) {
97 file = fopen(filePath.string(), "a+");
104 ALOGE("Failed to write the data to: %s", filePath.string());