| Bertrand SIMONNET | bd3505e | 2015-08-04 14:04:51 -0700 | [diff] [blame] | 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 |  | 
|  | 20 | namespace metrics { | 
| Bertrand SIMONNET | 9d3a4ae | 2015-11-25 13:49:12 -0800 | [diff] [blame] | 21 | static const char kSharedMetricsDirectory[] = "/data/misc/metrics/"; | 
|  | 22 | static const char kMetricsdDirectory[] = "/data/misc/metricsd/"; | 
|  | 23 | static const char kMetricsCollectorDirectory[] = | 
|  | 24 | "/data/misc/metrics_collector/"; | 
| Bertrand SIMONNET | 2765d0a | 2015-09-09 10:38:20 -0700 | [diff] [blame] | 25 | static const char kMetricsGUIDFileName[] = "Sysinfo.GUID"; | 
| Bertrand SIMONNET | 10fe60d | 2015-08-20 10:40:55 -0700 | [diff] [blame] | 26 | static const char kMetricsServer[] = "https://clients4.google.com/uma/v2"; | 
| Bertrand SIMONNET | 2765d0a | 2015-09-09 10:38:20 -0700 | [diff] [blame] | 27 | static const char kConsentFileName[] = "enabled"; | 
| Bertrand SIMONNET | 1df10c4 | 2015-09-09 10:39:51 -0700 | [diff] [blame] | 28 | static const char kStagedLogName[] = "staged_log"; | 
| Bertrand SIMONNET | 0586504 | 2015-12-15 12:33:01 -0800 | [diff] [blame] | 29 | static const char kSavedLogName[] = "saved_log"; | 
| Bertrand SIMONNET | 1df10c4 | 2015-09-09 10:39:51 -0700 | [diff] [blame] | 30 | static const char kFailedUploadCountName[] = "failed_upload_count"; | 
| Bertrand SIMONNET | bae5dcc | 2015-08-04 14:12:10 -0700 | [diff] [blame] | 31 | static const char kDefaultVersion[] = "0.0.0.0"; | 
| Bertrand SIMONNET | 2699362 | 2015-08-20 14:08:41 -0700 | [diff] [blame] | 32 |  | 
| Bertrand SIMONNET | eb697ab | 2015-10-14 13:26:42 -0700 | [diff] [blame] | 33 | // Build time properties name. | 
|  | 34 | static const char kProductId[] = "product_id"; | 
|  | 35 | static const char kProductVersion[] = "product_version"; | 
| Bertrand SIMONNET | e6b96d6 | 2015-10-30 13:04:40 -0700 | [diff] [blame] | 36 |  | 
|  | 37 | // Weave configuration. | 
|  | 38 | static const char kWeaveConfigurationFile[] = "/system/etc/weaved/weaved.conf"; | 
|  | 39 | static const char kModelManifestId[] = "model_id"; | 
| Bertrand SIMONNET | bd3505e | 2015-08-04 14:04:51 -0700 | [diff] [blame] | 40 | }  // namespace metrics | 
|  | 41 |  | 
|  | 42 | #endif  // METRICS_CONSTANTS_H_ |