Home
last modified time | relevance | path

Searched refs:fullPathName (Results 1 – 1 of 1) sorted by relevance

/packages/modules/StatsD/statsd/src/storage/
DStorageManager.cpp575 auto fullPathName = StringPrintf("%s/%s", STATS_DATA_DIR, fileName.c_str()); in appendConfigMetricsReport() local
576 int fd = open(fullPathName.c_str(), O_RDONLY | O_CLOEXEC); in appendConfigMetricsReport()
589 remove(fullPathName.c_str()); in appendConfigMetricsReport()
595 if (rename(fullPathName.c_str(), (fullPathName + "_history").c_str())) { in appendConfigMetricsReport()
596 ALOGE("Failed to rename file %s", fullPathName.c_str()); in appendConfigMetricsReport()
840 string fullPathName = StringPrintf("%s/%s", path, name); in enforceDbGuardrails() local
843 if (stat(fullPathName.c_str(), &fileInfo) != 0) { in enforceDbGuardrails()
846 remove(fullPathName.c_str()); in enforceDbGuardrails()
853 remove(fullPathName.c_str()); in enforceDbGuardrails()
857 remove(fullPathName.c_str()); in enforceDbGuardrails()
[all …]