1// 2// Copyright (C) 2015 The Android Open Source Project 3// 4// Licensed under the Apache License, Version 2.0 (the "License"); 5// you may not use this file except in compliance with the License. 6// You may obtain a copy of the License at 7// 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// See the License for the specific language governing permissions and 14// limitations under the License. 15// 16 17#ifndef METRICS_CONSTANTS_H_ 18#define METRICS_CONSTANTS_H_ 19 20namespace metrics { 21static const char kSharedMetricsDirectory[] = "/data/misc/metrics/"; 22static const char kMetricsdDirectory[] = "/data/misc/metricsd/"; 23static const char kMetricsCollectorDirectory[] = 24 "/data/misc/metrics_collector/"; 25static const char kMetricsGUIDFileName[] = "Sysinfo.GUID"; 26static const char kMetricsServer[] = "https://clients4.google.com/uma/v2"; 27static const char kConsentFileName[] = "enabled"; 28static const char kStagedLogName[] = "staged_log"; 29static const char kSavedLogName[] = "saved_log"; 30static const char kFailedUploadCountName[] = "failed_upload_count"; 31static const char kDefaultVersion[] = "0.0.0.0"; 32 33// Build time properties name. 34static const char kProductId[] = "product_id"; 35static const char kProductVersion[] = "product_version"; 36 37// Weave configuration. 38static const char kWeaveConfigurationFile[] = "/system/etc/weaved/weaved.conf"; 39static const char kModelManifestId[] = "model_id"; 40} // namespace metrics 41 42#endif // METRICS_CONSTANTS_H_ 43