Migrate disk directory from /data/system/ to /data/misc/

Test: statsd, statsd_test
Change-Id: I6d2fe97afd79fb9b36d180d5e6e6a7a166a228b7
This commit is contained in:
yro
2017-12-12 00:17:50 -08:00
parent 54edf5df21
commit 03faf09330
4 changed files with 4 additions and 4 deletions

View File

@@ -58,7 +58,7 @@ const int FIELD_ID_NAME = 2;
const int FIELD_ID_METRICS = 1;
const int FIELD_ID_UID_MAP = 2;
#define STATS_DATA_DIR "/data/system/stats-data"
#define STATS_DATA_DIR "/data/misc/stats-data"
StatsLogProcessor::StatsLogProcessor(const sp<UidMap>& uidMap,
const sp<AnomalyMonitor>& anomalyMonitor,

View File

@@ -46,7 +46,7 @@ namespace os {
namespace statsd {
constexpr const char* kPermissionDump = "android.permission.DUMP";
#define STATS_SERVICE_DIR "/data/system/stats-service"
#define STATS_SERVICE_DIR "/data/misc/stats-service"
// ======================================================================
/**

View File

@@ -29,7 +29,7 @@ namespace android {
namespace os {
namespace statsd {
#define STATS_SERVICE_DIR "/data/system/stats-service"
#define STATS_SERVICE_DIR "/data/misc/stats-service"
using android::base::StringPrintf;
using std::unique_ptr;

View File

@@ -30,7 +30,7 @@ namespace android {
namespace os {
namespace statsd {
#define STATS_SERVICE_DIR "/data/system/stats-service"
#define STATS_SERVICE_DIR "/data/misc/stats-service"
// for ConfigMetricsReportList
const int FIELD_ID_REPORTS = 2;