blob: 4815888cd4e6a8b0f1fa4eafc0dd6fda03985f34 [file] [log] [blame]
Bertrand SIMONNETbd3505e2015-08-04 14:04:51 -07001//
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 {
Bertrand SIMONNET9d3a4ae2015-11-25 13:49:12 -080021static const char kSharedMetricsDirectory[] = "/data/misc/metrics/";
22static const char kMetricsdDirectory[] = "/data/misc/metricsd/";
23static const char kMetricsCollectorDirectory[] =
24 "/data/misc/metrics_collector/";
Bertrand SIMONNET2765d0a2015-09-09 10:38:20 -070025static const char kMetricsGUIDFileName[] = "Sysinfo.GUID";
Bertrand SIMONNET10fe60d2015-08-20 10:40:55 -070026static const char kMetricsServer[] = "https://clients4.google.com/uma/v2";
Bertrand SIMONNET2765d0a2015-09-09 10:38:20 -070027static const char kConsentFileName[] = "enabled";
Bertrand SIMONNET1df10c42015-09-09 10:39:51 -070028static const char kStagedLogName[] = "staged_log";
29static const char kFailedUploadCountName[] = "failed_upload_count";
Bertrand SIMONNETbae5dcc2015-08-04 14:12:10 -070030static const char kDefaultVersion[] = "0.0.0.0";
Bertrand SIMONNET26993622015-08-20 14:08:41 -070031
Bertrand SIMONNETeb697ab2015-10-14 13:26:42 -070032// Build time properties name.
33static const char kProductId[] = "product_id";
34static const char kProductVersion[] = "product_version";
Bertrand SIMONNETe6b96d62015-10-30 13:04:40 -070035
36// Weave configuration.
37static const char kWeaveConfigurationFile[] = "/system/etc/weaved/weaved.conf";
38static const char kModelManifestId[] = "model_id";
Bertrand SIMONNETbd3505e2015-08-04 14:04:51 -070039} // namespace metrics
40
41#endif // METRICS_CONSTANTS_H_