Yao Chen | 44cf27c | 2017-09-14 22:32:50 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2017 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 | |
Yao Chen | 44cf27c | 2017-09-14 22:32:50 -0700 | [diff] [blame] | 17 | #define DEBUG true // STOPSHIP if true |
Joe Onorato | 9fc9edf | 2017-10-15 20:08:52 -0700 | [diff] [blame] | 18 | #include "Log.h" |
Yao Chen | 44cf27c | 2017-09-14 22:32:50 -0700 | [diff] [blame] | 19 | |
Yang Lu | 3eba621 | 2017-10-25 19:54:45 -0700 | [diff] [blame^] | 20 | #include "../anomaly/DiscreteAnomalyTracker.h" |
Yao Chen | 729093d | 2017-10-16 10:33:26 -0700 | [diff] [blame] | 21 | #include "CountMetricProducer.h" |
| 22 | #include "stats_util.h" |
Yao Chen | 44cf27c | 2017-09-14 22:32:50 -0700 | [diff] [blame] | 23 | |
Yao Chen | 44cf27c | 2017-09-14 22:32:50 -0700 | [diff] [blame] | 24 | #include <limits.h> |
| 25 | #include <stdlib.h> |
| 26 | |
yro | 2b0f886 | 2017-11-06 14:27:31 -0800 | [diff] [blame] | 27 | using android::util::FIELD_TYPE_BOOL; |
| 28 | using android::util::FIELD_TYPE_FLOAT; |
| 29 | using android::util::FIELD_TYPE_INT32; |
| 30 | using android::util::FIELD_TYPE_INT64; |
| 31 | using android::util::FIELD_TYPE_MESSAGE; |
yro | 24809bd | 2017-10-31 23:06:53 -0700 | [diff] [blame] | 32 | using android::util::ProtoOutputStream; |
Yao Chen | 729093d | 2017-10-16 10:33:26 -0700 | [diff] [blame] | 33 | using std::map; |
| 34 | using std::string; |
Yao Chen | 44cf27c | 2017-09-14 22:32:50 -0700 | [diff] [blame] | 35 | using std::unordered_map; |
Yao Chen | 729093d | 2017-10-16 10:33:26 -0700 | [diff] [blame] | 36 | using std::vector; |
Yao Chen | 44cf27c | 2017-09-14 22:32:50 -0700 | [diff] [blame] | 37 | |
| 38 | namespace android { |
| 39 | namespace os { |
| 40 | namespace statsd { |
| 41 | |
yro | 24809bd | 2017-10-31 23:06:53 -0700 | [diff] [blame] | 42 | // for StatsLogReport |
| 43 | const int FIELD_ID_METRIC_ID = 1; |
| 44 | const int FIELD_ID_START_REPORT_NANOS = 2; |
| 45 | const int FIELD_ID_END_REPORT_NANOS = 3; |
| 46 | const int FIELD_ID_COUNT_METRICS = 5; |
| 47 | // for CountMetricDataWrapper |
| 48 | const int FIELD_ID_DATA = 1; |
| 49 | // for CountMetricData |
| 50 | const int FIELD_ID_DIMENSION = 1; |
| 51 | const int FIELD_ID_BUCKET_INFO = 2; |
| 52 | // for KeyValuePair |
| 53 | const int FIELD_ID_KEY = 1; |
| 54 | const int FIELD_ID_VALUE_STR = 2; |
| 55 | const int FIELD_ID_VALUE_INT = 3; |
| 56 | const int FIELD_ID_VALUE_BOOL = 4; |
| 57 | const int FIELD_ID_VALUE_FLOAT = 5; |
| 58 | // for CountBucketInfo |
| 59 | const int FIELD_ID_START_BUCKET_NANOS = 1; |
| 60 | const int FIELD_ID_END_BUCKET_NANOS = 2; |
| 61 | const int FIELD_ID_COUNT = 3; |
| 62 | |
Yao Chen | 729093d | 2017-10-16 10:33:26 -0700 | [diff] [blame] | 63 | // TODO: add back AnomalyTracker. |
Yang Lu | 3eba621 | 2017-10-25 19:54:45 -0700 | [diff] [blame^] | 64 | |
Yao Chen | 729093d | 2017-10-16 10:33:26 -0700 | [diff] [blame] | 65 | CountMetricProducer::CountMetricProducer(const CountMetric& metric, const int conditionIndex, |
Yao Chen | 93fe3a3 | 2017-11-02 13:52:59 -0700 | [diff] [blame] | 66 | const sp<ConditionWizard>& wizard, |
| 67 | const uint64_t startTimeNs) |
| 68 | : MetricProducer(startTimeNs, conditionIndex, wizard), mMetric(metric) { |
Yao Chen | 44cf27c | 2017-09-14 22:32:50 -0700 | [diff] [blame] | 69 | // TODO: evaluate initial conditions. and set mConditionMet. |
| 70 | if (metric.has_bucket() && metric.bucket().has_bucket_size_millis()) { |
Yao Chen | 729093d | 2017-10-16 10:33:26 -0700 | [diff] [blame] | 71 | mBucketSizeNs = metric.bucket().bucket_size_millis() * 1000 * 1000; |
Yao Chen | 44cf27c | 2017-09-14 22:32:50 -0700 | [diff] [blame] | 72 | } else { |
Yao Chen | 729093d | 2017-10-16 10:33:26 -0700 | [diff] [blame] | 73 | mBucketSizeNs = LLONG_MAX; |
Yao Chen | 44cf27c | 2017-09-14 22:32:50 -0700 | [diff] [blame] | 74 | } |
| 75 | |
Bookatz | d3606c7 | 2017-10-19 10:13:49 -0700 | [diff] [blame] | 76 | mAnomalyTrackers.reserve(metric.alerts_size()); |
| 77 | for (int i = 0; i < metric.alerts_size(); i++) { |
| 78 | const Alert& alert = metric.alerts(i); |
| 79 | if (alert.trigger_if_sum_gt() > 0 && alert.number_of_buckets() > 0) { |
Yang Lu | 3eba621 | 2017-10-25 19:54:45 -0700 | [diff] [blame^] | 80 | mAnomalyTrackers.push_back(std::make_unique<DiscreteAnomalyTracker>(alert)); |
Bookatz | d3606c7 | 2017-10-19 10:13:49 -0700 | [diff] [blame] | 81 | } else { |
| 82 | ALOGW("Ignoring invalid count metric alert: threshold=%lld num_buckets= %d", |
| 83 | alert.trigger_if_sum_gt(), alert.number_of_buckets()); |
| 84 | } |
| 85 | } |
| 86 | |
Yao Chen | 729093d | 2017-10-16 10:33:26 -0700 | [diff] [blame] | 87 | // TODO: use UidMap if uid->pkg_name is required |
| 88 | mDimension.insert(mDimension.begin(), metric.dimension().begin(), metric.dimension().end()); |
| 89 | |
| 90 | if (metric.links().size() > 0) { |
| 91 | mConditionLinks.insert(mConditionLinks.begin(), metric.links().begin(), |
| 92 | metric.links().end()); |
| 93 | mConditionSliced = true; |
| 94 | } |
| 95 | |
yro | 24809bd | 2017-10-31 23:06:53 -0700 | [diff] [blame] | 96 | startNewProtoOutputStream(mStartTimeNs); |
| 97 | |
Yao Chen | 729093d | 2017-10-16 10:33:26 -0700 | [diff] [blame] | 98 | VLOG("metric %lld created. bucket size %lld start_time: %lld", metric.metric_id(), |
| 99 | (long long)mBucketSizeNs, (long long)mStartTimeNs); |
Yao Chen | 44cf27c | 2017-09-14 22:32:50 -0700 | [diff] [blame] | 100 | } |
| 101 | |
Yao Chen | 44cf27c | 2017-09-14 22:32:50 -0700 | [diff] [blame] | 102 | CountMetricProducer::~CountMetricProducer() { |
| 103 | VLOG("~CountMetricProducer() called"); |
| 104 | } |
| 105 | |
yro | 24809bd | 2017-10-31 23:06:53 -0700 | [diff] [blame] | 106 | void CountMetricProducer::startNewProtoOutputStream(long long startTime) { |
| 107 | mProto = std::make_unique<ProtoOutputStream>(); |
| 108 | mProto->write(FIELD_TYPE_INT32 | FIELD_ID_METRIC_ID, mMetric.metric_id()); |
| 109 | mProto->write(FIELD_TYPE_INT64 | FIELD_ID_START_REPORT_NANOS, startTime); |
| 110 | mProtoToken = mProto->start(FIELD_TYPE_MESSAGE | FIELD_ID_COUNT_METRICS); |
Yao Chen | 44cf27c | 2017-09-14 22:32:50 -0700 | [diff] [blame] | 111 | } |
| 112 | |
yro | 24809bd | 2017-10-31 23:06:53 -0700 | [diff] [blame] | 113 | void CountMetricProducer::finish() { |
Yao Chen | 729093d | 2017-10-16 10:33:26 -0700 | [diff] [blame] | 114 | } |
| 115 | |
Yao Chen | 5154a37 | 2017-10-30 22:57:06 -0700 | [diff] [blame] | 116 | void CountMetricProducer::onSlicedConditionMayChange(const uint64_t eventTime) { |
Yao Chen | 729093d | 2017-10-16 10:33:26 -0700 | [diff] [blame] | 117 | VLOG("Metric %lld onSlicedConditionMayChange", mMetric.metric_id()); |
| 118 | } |
| 119 | |
| 120 | StatsLogReport CountMetricProducer::onDumpReport() { |
Yao Chen | 93fe3a3 | 2017-11-02 13:52:59 -0700 | [diff] [blame] | 121 | long long endTime = time(nullptr) * NS_PER_SEC; |
Yao Chen | 729093d | 2017-10-16 10:33:26 -0700 | [diff] [blame] | 122 | |
| 123 | // Dump current bucket if it's stale. |
| 124 | // If current bucket is still on-going, don't force dump current bucket. |
| 125 | // In finish(), We can force dump current bucket. |
yro | 24809bd | 2017-10-31 23:06:53 -0700 | [diff] [blame] | 126 | flushCounterIfNeeded(endTime); |
Yao Chen | 93fe3a3 | 2017-11-02 13:52:59 -0700 | [diff] [blame] | 127 | VLOG("metric %lld dump report now...", mMetric.metric_id()); |
Yao Chen | 729093d | 2017-10-16 10:33:26 -0700 | [diff] [blame] | 128 | |
Yao Chen | 93fe3a3 | 2017-11-02 13:52:59 -0700 | [diff] [blame] | 129 | for (const auto& counter : mPastBuckets) { |
yro | 24809bd | 2017-10-31 23:06:53 -0700 | [diff] [blame] | 130 | const HashableDimensionKey& hashableKey = counter.first; |
Yao Chen | 93fe3a3 | 2017-11-02 13:52:59 -0700 | [diff] [blame] | 131 | VLOG(" dimension key %s", hashableKey.c_str()); |
Yao Chen | 729093d | 2017-10-16 10:33:26 -0700 | [diff] [blame] | 132 | auto it = mDimensionKeyMap.find(hashableKey); |
| 133 | if (it == mDimensionKeyMap.end()) { |
| 134 | ALOGE("Dimension key %s not found?!?! skip...", hashableKey.c_str()); |
| 135 | continue; |
| 136 | } |
yro | 24809bd | 2017-10-31 23:06:53 -0700 | [diff] [blame] | 137 | long long wrapperToken = mProto->start(FIELD_TYPE_MESSAGE | FIELD_ID_DATA); |
Yao Chen | 729093d | 2017-10-16 10:33:26 -0700 | [diff] [blame] | 138 | |
yro | 24809bd | 2017-10-31 23:06:53 -0700 | [diff] [blame] | 139 | // First fill dimension (KeyValuePairs). |
| 140 | for (const auto& kv : it->second) { |
| 141 | long long dimensionToken = mProto->start(FIELD_TYPE_MESSAGE | FIELD_ID_DIMENSION); |
| 142 | mProto->write(FIELD_TYPE_INT32 | FIELD_ID_KEY, kv.key()); |
| 143 | if (kv.has_value_str()) { |
| 144 | mProto->write(FIELD_TYPE_INT32 | FIELD_ID_VALUE_STR, kv.value_str()); |
| 145 | } else if (kv.has_value_int()) { |
| 146 | mProto->write(FIELD_TYPE_INT64 | FIELD_ID_VALUE_INT, kv.value_int()); |
| 147 | } else if (kv.has_value_bool()) { |
| 148 | mProto->write(FIELD_TYPE_BOOL | FIELD_ID_VALUE_BOOL, kv.value_bool()); |
| 149 | } else if (kv.has_value_float()) { |
| 150 | mProto->write(FIELD_TYPE_FLOAT | FIELD_ID_VALUE_FLOAT, kv.value_float()); |
| 151 | } |
| 152 | mProto->end(dimensionToken); |
| 153 | } |
| 154 | |
| 155 | // Then fill bucket_info (CountBucketInfo). |
Yao Chen | 93fe3a3 | 2017-11-02 13:52:59 -0700 | [diff] [blame] | 156 | for (const auto& bucket : counter.second) { |
| 157 | long long bucketInfoToken = mProto->start(FIELD_TYPE_MESSAGE | FIELD_ID_BUCKET_INFO); |
| 158 | mProto->write(FIELD_TYPE_INT64 | FIELD_ID_START_BUCKET_NANOS, |
| 159 | (long long)bucket.mBucketStartNs); |
| 160 | mProto->write(FIELD_TYPE_INT64 | FIELD_ID_END_BUCKET_NANOS, |
| 161 | (long long)bucket.mBucketEndNs); |
| 162 | mProto->write(FIELD_TYPE_INT64 | FIELD_ID_COUNT, (long long)bucket.mCount); |
| 163 | mProto->end(bucketInfoToken); |
| 164 | VLOG("\t bucket [%lld - %lld] count: %lld", (long long)bucket.mBucketStartNs, |
| 165 | (long long)bucket.mBucketEndNs, (long long)bucket.mCount); |
yro | 24809bd | 2017-10-31 23:06:53 -0700 | [diff] [blame] | 166 | } |
yro | 24809bd | 2017-10-31 23:06:53 -0700 | [diff] [blame] | 167 | mProto->end(wrapperToken); |
Yao Chen | 729093d | 2017-10-16 10:33:26 -0700 | [diff] [blame] | 168 | } |
yro | 24809bd | 2017-10-31 23:06:53 -0700 | [diff] [blame] | 169 | |
| 170 | mProto->end(mProtoToken); |
| 171 | mProto->write(FIELD_TYPE_INT64 | FIELD_ID_END_REPORT_NANOS, |
| 172 | (long long)mCurrentBucketStartTimeNs); |
| 173 | |
yro | 2b0f886 | 2017-11-06 14:27:31 -0800 | [diff] [blame] | 174 | VLOG("metric %lld dump report now...", mMetric.metric_id()); |
| 175 | std::unique_ptr<uint8_t[]> buffer = serializeProto(); |
yro | 24809bd | 2017-10-31 23:06:53 -0700 | [diff] [blame] | 176 | |
| 177 | startNewProtoOutputStream(endTime); |
Yao Chen | 93fe3a3 | 2017-11-02 13:52:59 -0700 | [diff] [blame] | 178 | mPastBuckets.clear(); |
yro | 24809bd | 2017-10-31 23:06:53 -0700 | [diff] [blame] | 179 | mByteSize = 0; |
| 180 | |
| 181 | // TODO: Once we migrate all MetricProducers to use ProtoOutputStream, we should return this: |
| 182 | // return std::move(buffer); |
| 183 | return StatsLogReport(); |
| 184 | |
| 185 | // TODO: Clear mDimensionKeyMap once the report is dumped. |
Yao Chen | 44cf27c | 2017-09-14 22:32:50 -0700 | [diff] [blame] | 186 | } |
| 187 | |
Yao Chen | 5154a37 | 2017-10-30 22:57:06 -0700 | [diff] [blame] | 188 | void CountMetricProducer::onConditionChanged(const bool conditionMet, const uint64_t eventTime) { |
Yao Chen | 729093d | 2017-10-16 10:33:26 -0700 | [diff] [blame] | 189 | VLOG("Metric %lld onConditionChanged", mMetric.metric_id()); |
Yao Chen | caf339d | 2017-10-06 16:01:10 -0700 | [diff] [blame] | 190 | mCondition = conditionMet; |
| 191 | } |
| 192 | |
Yao Chen | b704177 | 2017-10-20 16:59:25 -0700 | [diff] [blame] | 193 | void CountMetricProducer::onMatchedLogEventInternal( |
| 194 | const size_t matcherIndex, const HashableDimensionKey& eventKey, |
| 195 | const map<string, HashableDimensionKey>& conditionKey, bool condition, |
Chenjie Yu | b3dda41 | 2017-10-24 13:41:59 -0700 | [diff] [blame] | 196 | const LogEvent& event, bool scheduledPull) { |
Yao Chen | 729093d | 2017-10-16 10:33:26 -0700 | [diff] [blame] | 197 | uint64_t eventTimeNs = event.GetTimestampNs(); |
Yao Chen | 44cf27c | 2017-09-14 22:32:50 -0700 | [diff] [blame] | 198 | |
Yao Chen | 729093d | 2017-10-16 10:33:26 -0700 | [diff] [blame] | 199 | flushCounterIfNeeded(eventTimeNs); |
| 200 | |
Yao Chen | b704177 | 2017-10-20 16:59:25 -0700 | [diff] [blame] | 201 | if (condition == false) { |
| 202 | return; |
Yao Chen | 44cf27c | 2017-09-14 22:32:50 -0700 | [diff] [blame] | 203 | } |
Yao Chen | 729093d | 2017-10-16 10:33:26 -0700 | [diff] [blame] | 204 | |
Yang Lu | 3eba621 | 2017-10-25 19:54:45 -0700 | [diff] [blame^] | 205 | auto it = mCurrentSlicedCounter->find(eventKey); |
Yao Chen | 729093d | 2017-10-16 10:33:26 -0700 | [diff] [blame] | 206 | |
Yang Lu | 3eba621 | 2017-10-25 19:54:45 -0700 | [diff] [blame^] | 207 | if (it == mCurrentSlicedCounter->end()) { |
Yao Chen | 729093d | 2017-10-16 10:33:26 -0700 | [diff] [blame] | 208 | // create a counter for the new key |
Yang Lu | 3eba621 | 2017-10-25 19:54:45 -0700 | [diff] [blame^] | 209 | (*mCurrentSlicedCounter)[eventKey] = 1; |
Yao Chen | 729093d | 2017-10-16 10:33:26 -0700 | [diff] [blame] | 210 | } else { |
| 211 | // increment the existing value |
| 212 | auto& count = it->second; |
| 213 | count++; |
| 214 | } |
| 215 | |
Yao Chen | b704177 | 2017-10-20 16:59:25 -0700 | [diff] [blame] | 216 | VLOG("metric %lld %s->%d", mMetric.metric_id(), eventKey.c_str(), |
Yang Lu | 3eba621 | 2017-10-25 19:54:45 -0700 | [diff] [blame^] | 217 | (*mCurrentSlicedCounter)[eventKey]); |
Yao Chen | 44cf27c | 2017-09-14 22:32:50 -0700 | [diff] [blame] | 218 | } |
| 219 | |
Yao Chen | 729093d | 2017-10-16 10:33:26 -0700 | [diff] [blame] | 220 | // When a new matched event comes in, we check if event falls into the current |
| 221 | // bucket. If not, flush the old counter to past buckets and initialize the new bucket. |
| 222 | void CountMetricProducer::flushCounterIfNeeded(const uint64_t eventTimeNs) { |
| 223 | if (mCurrentBucketStartTimeNs + mBucketSizeNs > eventTimeNs) { |
Yao Chen | 44cf27c | 2017-09-14 22:32:50 -0700 | [diff] [blame] | 224 | return; |
| 225 | } |
| 226 | |
Yao Chen | 44cf27c | 2017-09-14 22:32:50 -0700 | [diff] [blame] | 227 | // adjust the bucket start time |
Yang Lu | 3eba621 | 2017-10-25 19:54:45 -0700 | [diff] [blame^] | 228 | // TODO: This (and addPastBucket to which it goes) doesn't really need to be an int64. |
| 229 | uint64_t numBucketsForward = (eventTimeNs - mCurrentBucketStartTimeNs) / mBucketSizeNs; |
Bookatz | a4bc9c4 | 2017-10-04 11:45:57 -0700 | [diff] [blame] | 230 | |
Yao Chen | 93fe3a3 | 2017-11-02 13:52:59 -0700 | [diff] [blame] | 231 | CountBucket info; |
| 232 | info.mBucketStartNs = mCurrentBucketStartTimeNs; |
| 233 | info.mBucketEndNs = mCurrentBucketStartTimeNs + mBucketSizeNs; |
Yang Lu | 3eba621 | 2017-10-25 19:54:45 -0700 | [diff] [blame^] | 234 | for (const auto& counter : *mCurrentSlicedCounter) { |
Yao Chen | 93fe3a3 | 2017-11-02 13:52:59 -0700 | [diff] [blame] | 235 | info.mCount = counter.second; |
| 236 | auto& bucketList = mPastBuckets[counter.first]; |
| 237 | bucketList.push_back(info); |
Yao Chen | 729093d | 2017-10-16 10:33:26 -0700 | [diff] [blame] | 238 | VLOG("metric %lld, dump key value: %s -> %d", mMetric.metric_id(), counter.first.c_str(), |
| 239 | counter.second); |
Yao Chen | 93fe3a3 | 2017-11-02 13:52:59 -0700 | [diff] [blame] | 240 | mByteSize += sizeof(info); |
Yao Chen | 729093d | 2017-10-16 10:33:26 -0700 | [diff] [blame] | 241 | } |
| 242 | |
Yang Lu | 3eba621 | 2017-10-25 19:54:45 -0700 | [diff] [blame^] | 243 | for (auto& tracker : mAnomalyTrackers) { |
| 244 | tracker->addOrUpdateBucket(mCurrentSlicedCounter, mCurrentBucketNum); |
| 245 | tracker->declareAndDeclareAnomaly(); |
| 246 | } |
Bookatz | d3606c7 | 2017-10-19 10:13:49 -0700 | [diff] [blame] | 247 | |
Yang Lu | 3eba621 | 2017-10-25 19:54:45 -0700 | [diff] [blame^] | 248 | // Reset counters (do not clear, since the old one is still referenced in mAnomalyTrackers). |
| 249 | mCurrentSlicedCounter = std::make_shared<DimToValMap>(); |
Yao Chen | 729093d | 2017-10-16 10:33:26 -0700 | [diff] [blame] | 250 | |
| 251 | mCurrentBucketStartTimeNs = mCurrentBucketStartTimeNs + numBucketsForward * mBucketSizeNs; |
Yang Lu | 3eba621 | 2017-10-25 19:54:45 -0700 | [diff] [blame^] | 252 | mCurrentBucketNum += numBucketsForward; |
Yao Chen | 729093d | 2017-10-16 10:33:26 -0700 | [diff] [blame] | 253 | VLOG("metric %lld: new bucket start time: %lld", mMetric.metric_id(), |
| 254 | (long long)mCurrentBucketStartTimeNs); |
Yao Chen | 44cf27c | 2017-09-14 22:32:50 -0700 | [diff] [blame] | 255 | } |
| 256 | |
yro | 24809bd | 2017-10-31 23:06:53 -0700 | [diff] [blame] | 257 | // Rough estimate of CountMetricProducer buffer stored. This number will be |
| 258 | // greater than actual data size as it contains each dimension of |
| 259 | // CountMetricData is duplicated. |
yro | 69007c8 | 2017-10-26 20:42:57 -0700 | [diff] [blame] | 260 | size_t CountMetricProducer::byteSize() { |
yro | 24809bd | 2017-10-31 23:06:53 -0700 | [diff] [blame] | 261 | return mByteSize; |
yro | 69007c8 | 2017-10-26 20:42:57 -0700 | [diff] [blame] | 262 | } |
| 263 | |
Yao Chen | 44cf27c | 2017-09-14 22:32:50 -0700 | [diff] [blame] | 264 | } // namespace statsd |
| 265 | } // namespace os |
yro | 69007c8 | 2017-10-26 20:42:57 -0700 | [diff] [blame] | 266 | } // namespace android |