blob: 0ac5845146725eabb95c7701e6452af7667be552 [file] [log] [blame]
Valerie Haud251afb2019-03-29 14:19:02 -07001/*
2 * Copyright 2019 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
Ady Abrahamb0dbdaa2020-01-06 16:19:42 -080017
Valerie Haud251afb2019-03-29 14:19:02 -070018#undef LOG_TAG
19#define LOG_TAG "CompositionTest"
20
21#include <compositionengine/Display.h>
22#include <compositionengine/mock/DisplaySurface.h>
23#include <gmock/gmock.h>
24#include <gtest/gtest.h>
25#include <gui/SurfaceComposerClient.h>
26#include <log/log.h>
27#include <utils/String8.h>
28
29#include "TestableScheduler.h"
30#include "TestableSurfaceFlinger.h"
Valerie Haud251afb2019-03-29 14:19:02 -070031#include "mock/MockEventThread.h"
32#include "mock/MockMessageQueue.h"
Ady Abraham8cb21882020-08-26 18:22:05 -070033#include "mock/MockVsyncController.h"
Valerie Haud251afb2019-03-29 14:19:02 -070034
35namespace android {
36
37using testing::_;
38using testing::Return;
39
40using FakeHwcDisplayInjector = TestableSurfaceFlinger::FakeHwcDisplayInjector;
41
42class TransactionApplicationTest : public testing::Test {
43public:
44 TransactionApplicationTest() {
45 const ::testing::TestInfo* const test_info =
46 ::testing::UnitTest::GetInstance()->current_test_info();
47 ALOGD("**** Setting up for %s.%s\n", test_info->test_case_name(), test_info->name());
48
49 mFlinger.mutableEventQueue().reset(mMessageQueue);
50 setupScheduler();
51 }
52
53 ~TransactionApplicationTest() {
54 const ::testing::TestInfo* const test_info =
55 ::testing::UnitTest::GetInstance()->current_test_info();
56 ALOGD("**** Tearing down after %s.%s\n", test_info->test_case_name(), test_info->name());
57 }
58
59 void setupScheduler() {
60 auto eventThread = std::make_unique<mock::EventThread>();
61 auto sfEventThread = std::make_unique<mock::EventThread>();
62
63 EXPECT_CALL(*eventThread, registerDisplayEventConnection(_));
64 EXPECT_CALL(*eventThread, createEventConnection(_, _))
Ady Abraham62f216c2020-10-13 19:07:23 -070065 .WillOnce(Return(new EventThreadConnection(eventThread.get(), /*callingUid=*/0,
66 ResyncCallback())));
Valerie Haud251afb2019-03-29 14:19:02 -070067
68 EXPECT_CALL(*sfEventThread, registerDisplayEventConnection(_));
69 EXPECT_CALL(*sfEventThread, createEventConnection(_, _))
Ady Abraham62f216c2020-10-13 19:07:23 -070070 .WillOnce(Return(new EventThreadConnection(sfEventThread.get(), /*callingUid=*/0,
71 ResyncCallback())));
Valerie Haud251afb2019-03-29 14:19:02 -070072
Ady Abraham8cb21882020-08-26 18:22:05 -070073 EXPECT_CALL(*mVSyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0));
74 EXPECT_CALL(*mVSyncTracker, currentPeriod())
Valerie Haud251afb2019-03-29 14:19:02 -070075 .WillRepeatedly(Return(FakeHwcDisplayInjector::DEFAULT_REFRESH_RATE));
76
Ady Abraham8cb21882020-08-26 18:22:05 -070077 mFlinger.setupScheduler(std::unique_ptr<mock::VsyncController>(mVsyncController),
78 std::unique_ptr<mock::VSyncTracker>(mVSyncTracker),
Valerie Haud251afb2019-03-29 14:19:02 -070079 std::move(eventThread), std::move(sfEventThread));
80 }
81
82 TestableScheduler* mScheduler;
83 TestableSurfaceFlinger mFlinger;
84
85 std::unique_ptr<mock::EventThread> mEventThread = std::make_unique<mock::EventThread>();
Valerie Haud251afb2019-03-29 14:19:02 -070086
87 mock::MessageQueue* mMessageQueue = new mock::MessageQueue();
Ady Abraham8cb21882020-08-26 18:22:05 -070088 mock::VsyncController* mVsyncController = new mock::VsyncController();
89 mock::VSyncTracker* mVSyncTracker = new mock::VSyncTracker();
Valerie Haud251afb2019-03-29 14:19:02 -070090
91 struct TransactionInfo {
92 Vector<ComposerState> states;
93 Vector<DisplayState> displays;
94 uint32_t flags = 0;
95 sp<IBinder> applyToken = IInterface::asBinder(TransactionCompletedListener::getIInstance());
96 InputWindowCommands inputWindowCommands;
Ady Abrahamf0c56492020-12-17 18:04:15 -080097 int64_t desiredPresentTime = 0;
98 bool isAutoTimestamp = true;
Siarhei Vishniakoufc434ac2021-01-13 10:28:00 -100099 FrameTimelineInfo frameTimelineInfo;
Valerie Haud251afb2019-03-29 14:19:02 -0700100 client_cache_t uncacheBuffer;
Siarhei Vishniakoufc434ac2021-01-13 10:28:00 -1000101 uint64_t id = static_cast<uint64_t>(-1);
102 static_assert(0xffffffffffffffff == static_cast<uint64_t>(-1));
Valerie Haud251afb2019-03-29 14:19:02 -0700103 };
104
105 void checkEqual(TransactionInfo info, SurfaceFlinger::TransactionState state) {
Siarhei Vishniakoufc434ac2021-01-13 10:28:00 -1000106 EXPECT_EQ(0u, info.states.size());
107 EXPECT_EQ(0u, state.states.size());
Valerie Haud251afb2019-03-29 14:19:02 -0700108
Siarhei Vishniakoufc434ac2021-01-13 10:28:00 -1000109 EXPECT_EQ(0u, info.displays.size());
110 EXPECT_EQ(0u, state.displays.size());
Valerie Haud251afb2019-03-29 14:19:02 -0700111 EXPECT_EQ(info.flags, state.flags);
112 EXPECT_EQ(info.desiredPresentTime, state.desiredPresentTime);
113 }
114
115 void setupSingle(TransactionInfo& transaction, uint32_t flags, bool syncInputWindows,
Ady Abrahamf0c56492020-12-17 18:04:15 -0800116 int64_t desiredPresentTime, bool isAutoTimestamp,
Siarhei Vishniakoufc434ac2021-01-13 10:28:00 -1000117 const FrameTimelineInfo& frameTimelineInfo) {
Valerie Haud251afb2019-03-29 14:19:02 -0700118 mTransactionNumber++;
119 transaction.flags |= flags; // ISurfaceComposer::eSynchronous;
120 transaction.inputWindowCommands.syncInputWindows = syncInputWindows;
121 transaction.desiredPresentTime = desiredPresentTime;
Ady Abrahamf0c56492020-12-17 18:04:15 -0800122 transaction.isAutoTimestamp = isAutoTimestamp;
Siarhei Vishniakoufc434ac2021-01-13 10:28:00 -1000123 transaction.frameTimelineInfo = frameTimelineInfo;
Valerie Haud251afb2019-03-29 14:19:02 -0700124 }
125
126 void NotPlacedOnTransactionQueue(uint32_t flags, bool syncInputWindows) {
Siarhei Vishniakoufc434ac2021-01-13 10:28:00 -1000127 ASSERT_EQ(0u, mFlinger.getTransactionQueue().size());
Valerie Haud251afb2019-03-29 14:19:02 -0700128 // called in SurfaceFlinger::signalTransaction
129 EXPECT_CALL(*mMessageQueue, invalidate()).Times(1);
Ady Abraham8cb21882020-08-26 18:22:05 -0700130 EXPECT_CALL(*mVSyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillOnce(Return(systemTime()));
Valerie Haud251afb2019-03-29 14:19:02 -0700131 TransactionInfo transaction;
132 setupSingle(transaction, flags, syncInputWindows,
Ady Abrahamf0c56492020-12-17 18:04:15 -0800133 /*desiredPresentTime*/ systemTime(), /*isAutoTimestamp*/ true,
Siarhei Vishniakoufc434ac2021-01-13 10:28:00 -1000134 FrameTimelineInfo{});
Valerie Haud251afb2019-03-29 14:19:02 -0700135 nsecs_t applicationTime = systemTime();
Siarhei Vishniakoufc434ac2021-01-13 10:28:00 -1000136 mFlinger.setTransactionState(transaction.frameTimelineInfo, transaction.states,
Ady Abraham22c7b5c2020-09-22 19:33:40 -0700137 transaction.displays, transaction.flags,
Valerie Haud251afb2019-03-29 14:19:02 -0700138 transaction.applyToken, transaction.inputWindowCommands,
Ady Abrahamf0c56492020-12-17 18:04:15 -0800139 transaction.desiredPresentTime, transaction.isAutoTimestamp,
140 transaction.uncacheBuffer, mHasListenerCallbacks, mCallbacks,
141 transaction.id);
Valerie Haud251afb2019-03-29 14:19:02 -0700142
Valerie Haud251afb2019-03-29 14:19:02 -0700143 // If transaction is synchronous or syncs input windows, SF
144 // applyTransactionState should time out (5s) wating for SF to commit
145 // the transaction or to receive a signal that syncInputWindows has
146 // completed. If this is animation, it should not time out waiting.
147 nsecs_t returnedTime = systemTime();
148 if (flags & ISurfaceComposer::eSynchronous || syncInputWindows) {
149 EXPECT_GE(returnedTime, applicationTime + s2ns(5));
150 } else {
151 EXPECT_LE(returnedTime, applicationTime + s2ns(5));
152 }
Arthur Hung58144272021-01-16 03:43:53 +0000153 // Each transaction should have been placed on the transaction queue
Zhuoyao Zhang3d3540d2021-01-14 05:14:54 +0000154 auto transactionQueue = mFlinger.getTransactionQueue();
Arthur Hung58144272021-01-16 03:43:53 +0000155 EXPECT_EQ(1u, transactionQueue.size());
Valerie Haud251afb2019-03-29 14:19:02 -0700156 }
157
158 void PlaceOnTransactionQueue(uint32_t flags, bool syncInputWindows) {
Siarhei Vishniakoufc434ac2021-01-13 10:28:00 -1000159 ASSERT_EQ(0u, mFlinger.getTransactionQueue().size());
Valerie Haud251afb2019-03-29 14:19:02 -0700160 // called in SurfaceFlinger::signalTransaction
161 EXPECT_CALL(*mMessageQueue, invalidate()).Times(1);
162
163 // first check will see desired present time has not passed,
164 // but afterwards it will look like the desired present time has passed
165 nsecs_t time = systemTime();
Ady Abraham8cb21882020-08-26 18:22:05 -0700166 EXPECT_CALL(*mVSyncTracker, nextAnticipatedVSyncTimeFrom(_))
Valerie Haud251afb2019-03-29 14:19:02 -0700167 .WillOnce(Return(time + nsecs_t(5 * 1e8)));
168 TransactionInfo transaction;
169 setupSingle(transaction, flags, syncInputWindows,
Siarhei Vishniakoufc434ac2021-01-13 10:28:00 -1000170 /*desiredPresentTime*/ time + s2ns(1), false, FrameTimelineInfo{});
Valerie Haud251afb2019-03-29 14:19:02 -0700171 nsecs_t applicationSentTime = systemTime();
Siarhei Vishniakoufc434ac2021-01-13 10:28:00 -1000172 mFlinger.setTransactionState(transaction.frameTimelineInfo, transaction.states,
Ady Abraham22c7b5c2020-09-22 19:33:40 -0700173 transaction.displays, transaction.flags,
Valerie Haud251afb2019-03-29 14:19:02 -0700174 transaction.applyToken, transaction.inputWindowCommands,
Ady Abrahamf0c56492020-12-17 18:04:15 -0800175 transaction.desiredPresentTime, transaction.isAutoTimestamp,
176 transaction.uncacheBuffer, mHasListenerCallbacks, mCallbacks,
177 transaction.id);
Valerie Haud251afb2019-03-29 14:19:02 -0700178
179 nsecs_t returnedTime = systemTime();
180 EXPECT_LE(returnedTime, applicationSentTime + s2ns(5));
181 // This transaction should have been placed on the transaction queue
Zhuoyao Zhang3d3540d2021-01-14 05:14:54 +0000182 auto transactionQueue = mFlinger.getTransactionQueue();
Siarhei Vishniakoufc434ac2021-01-13 10:28:00 -1000183 EXPECT_EQ(1u, transactionQueue.size());
Valerie Haud251afb2019-03-29 14:19:02 -0700184 }
185
186 void BlockedByPriorTransaction(uint32_t flags, bool syncInputWindows) {
Siarhei Vishniakoufc434ac2021-01-13 10:28:00 -1000187 ASSERT_EQ(0u, mFlinger.getTransactionQueue().size());
Valerie Haud251afb2019-03-29 14:19:02 -0700188 // called in SurfaceFlinger::signalTransaction
189 nsecs_t time = systemTime();
190 EXPECT_CALL(*mMessageQueue, invalidate()).Times(1);
Ady Abraham8cb21882020-08-26 18:22:05 -0700191 EXPECT_CALL(*mVSyncTracker, nextAnticipatedVSyncTimeFrom(_))
Valerie Haud251afb2019-03-29 14:19:02 -0700192 .WillOnce(Return(time + nsecs_t(5 * 1e8)));
193 // transaction that should go on the pending thread
194 TransactionInfo transactionA;
195 setupSingle(transactionA, /*flags*/ 0, /*syncInputWindows*/ false,
Siarhei Vishniakoufc434ac2021-01-13 10:28:00 -1000196 /*desiredPresentTime*/ time + s2ns(1), false, FrameTimelineInfo{});
Valerie Haud251afb2019-03-29 14:19:02 -0700197
198 // transaction that would not have gone on the pending thread if not
199 // blocked
200 TransactionInfo transactionB;
201 setupSingle(transactionB, flags, syncInputWindows,
Ady Abrahamf0c56492020-12-17 18:04:15 -0800202 /*desiredPresentTime*/ systemTime(), /*isAutoTimestamp*/ true,
Siarhei Vishniakoufc434ac2021-01-13 10:28:00 -1000203 FrameTimelineInfo{});
Valerie Haud251afb2019-03-29 14:19:02 -0700204
205 nsecs_t applicationSentTime = systemTime();
Siarhei Vishniakoufc434ac2021-01-13 10:28:00 -1000206 mFlinger.setTransactionState(transactionA.frameTimelineInfo, transactionA.states,
Ady Abraham22c7b5c2020-09-22 19:33:40 -0700207 transactionA.displays, transactionA.flags,
Valerie Haud251afb2019-03-29 14:19:02 -0700208 transactionA.applyToken, transactionA.inputWindowCommands,
Ady Abrahamf0c56492020-12-17 18:04:15 -0800209 transactionA.desiredPresentTime, transactionA.isAutoTimestamp,
210 transactionA.uncacheBuffer, mHasListenerCallbacks, mCallbacks,
211 transactionA.id);
Valerie Haud251afb2019-03-29 14:19:02 -0700212
213 // This thread should not have been blocked by the above transaction
214 // (5s is the timeout period that applyTransactionState waits for SF to
215 // commit the transaction)
216 EXPECT_LE(systemTime(), applicationSentTime + s2ns(5));
Arthur Hung58144272021-01-16 03:43:53 +0000217 // transaction that would goes to pending transaciton queue.
218 mFlinger.flushTransactionQueues();
Valerie Haud251afb2019-03-29 14:19:02 -0700219
220 applicationSentTime = systemTime();
Siarhei Vishniakoufc434ac2021-01-13 10:28:00 -1000221 mFlinger.setTransactionState(transactionB.frameTimelineInfo, transactionB.states,
Ady Abraham22c7b5c2020-09-22 19:33:40 -0700222 transactionB.displays, transactionB.flags,
Valerie Haud251afb2019-03-29 14:19:02 -0700223 transactionB.applyToken, transactionB.inputWindowCommands,
Ady Abrahamf0c56492020-12-17 18:04:15 -0800224 transactionB.desiredPresentTime, transactionB.isAutoTimestamp,
225 transactionB.uncacheBuffer, mHasListenerCallbacks, mCallbacks,
226 transactionB.id);
Valerie Haud251afb2019-03-29 14:19:02 -0700227
228 // this thread should have been blocked by the above transaction
229 // if this is an animation, this thread should be blocked for 5s
230 // in setTransactionState waiting for transactionA to flush. Otherwise,
231 // the transaction should be placed on the pending queue
232 if (flags & ISurfaceComposer::eAnimation) {
233 EXPECT_GE(systemTime(), applicationSentTime + s2ns(5));
234 } else {
235 EXPECT_LE(systemTime(), applicationSentTime + s2ns(5));
236 }
237
Arthur Hung58144272021-01-16 03:43:53 +0000238 // transaction that would goes to pending transaciton queue.
239 mFlinger.flushTransactionQueues();
240
Valerie Haud251afb2019-03-29 14:19:02 -0700241 // check that there is one binder on the pending queue.
Arthur Hung58144272021-01-16 03:43:53 +0000242 auto transactionQueue = mFlinger.getPendingTransactionQueue();
Siarhei Vishniakoufc434ac2021-01-13 10:28:00 -1000243 EXPECT_EQ(1u, transactionQueue.size());
Valerie Haud251afb2019-03-29 14:19:02 -0700244
245 auto& [applyToken, transactionStates] = *(transactionQueue.begin());
Siarhei Vishniakoufc434ac2021-01-13 10:28:00 -1000246 EXPECT_EQ(2u, transactionStates.size());
Valerie Haud251afb2019-03-29 14:19:02 -0700247
248 auto& transactionStateA = transactionStates.front();
249 transactionStates.pop();
250 checkEqual(transactionA, transactionStateA);
251 auto& transactionStateB = transactionStates.front();
252 checkEqual(transactionB, transactionStateB);
253 }
254
255 bool mHasListenerCallbacks = false;
256 std::vector<ListenerCallbacks> mCallbacks;
257 int mTransactionNumber = 0;
258};
259
260TEST_F(TransactionApplicationTest, Flush_RemovesFromQueue) {
Siarhei Vishniakoufc434ac2021-01-13 10:28:00 -1000261 ASSERT_EQ(0u, mFlinger.getTransactionQueue().size());
Valerie Haud251afb2019-03-29 14:19:02 -0700262 // called in SurfaceFlinger::signalTransaction
263 EXPECT_CALL(*mMessageQueue, invalidate()).Times(1);
264
265 // nsecs_t time = systemTime();
Ady Abraham8cb21882020-08-26 18:22:05 -0700266 EXPECT_CALL(*mVSyncTracker, nextAnticipatedVSyncTimeFrom(_))
Valerie Haud251afb2019-03-29 14:19:02 -0700267 .WillOnce(Return(nsecs_t(5 * 1e8)))
268 .WillOnce(Return(s2ns(2)));
269 TransactionInfo transactionA; // transaction to go on pending queue
270 setupSingle(transactionA, /*flags*/ 0, /*syncInputWindows*/ false,
Siarhei Vishniakoufc434ac2021-01-13 10:28:00 -1000271 /*desiredPresentTime*/ s2ns(1), false, FrameTimelineInfo{});
272 mFlinger.setTransactionState(transactionA.frameTimelineInfo, transactionA.states,
Ady Abraham22c7b5c2020-09-22 19:33:40 -0700273 transactionA.displays, transactionA.flags, transactionA.applyToken,
274 transactionA.inputWindowCommands, transactionA.desiredPresentTime,
Ady Abrahamf0c56492020-12-17 18:04:15 -0800275 transactionA.isAutoTimestamp, transactionA.uncacheBuffer,
276 mHasListenerCallbacks, mCallbacks, transactionA.id);
Valerie Haud251afb2019-03-29 14:19:02 -0700277
Zhuoyao Zhang3d3540d2021-01-14 05:14:54 +0000278 auto& transactionQueue = mFlinger.getTransactionQueue();
Siarhei Vishniakoufc434ac2021-01-13 10:28:00 -1000279 ASSERT_EQ(1u, transactionQueue.size());
Valerie Haud251afb2019-03-29 14:19:02 -0700280
Arthur Hung58144272021-01-16 03:43:53 +0000281 auto& transactionState = transactionQueue.front();
Valerie Haud251afb2019-03-29 14:19:02 -0700282 checkEqual(transactionA, transactionState);
283
284 // because flushing uses the cached expected present time, we send an empty
285 // transaction here (sending a null applyToken to fake it as from a
286 // different process) to re-query and reset the cached expected present time
287 TransactionInfo empty;
288 empty.applyToken = sp<IBinder>();
Siarhei Vishniakoufc434ac2021-01-13 10:28:00 -1000289 mFlinger.setTransactionState(empty.frameTimelineInfo, empty.states, empty.displays, empty.flags,
290 empty.applyToken, empty.inputWindowCommands,
Ady Abrahamf0c56492020-12-17 18:04:15 -0800291 empty.desiredPresentTime, empty.isAutoTimestamp,
292 empty.uncacheBuffer, mHasListenerCallbacks, mCallbacks, empty.id);
Valerie Haud251afb2019-03-29 14:19:02 -0700293
Zhuoyao Zhang3d3540d2021-01-14 05:14:54 +0000294 // flush transaction queue should flush as desiredPresentTime has
Valerie Haud251afb2019-03-29 14:19:02 -0700295 // passed
Zhuoyao Zhang3d3540d2021-01-14 05:14:54 +0000296 mFlinger.flushTransactionQueues();
Valerie Haud251afb2019-03-29 14:19:02 -0700297
Siarhei Vishniakoufc434ac2021-01-13 10:28:00 -1000298 EXPECT_EQ(0u, transactionQueue.size());
Valerie Haud251afb2019-03-29 14:19:02 -0700299}
300
301TEST_F(TransactionApplicationTest, NotPlacedOnTransactionQueue_Synchronous) {
302 NotPlacedOnTransactionQueue(ISurfaceComposer::eSynchronous, /*syncInputWindows*/ false);
303}
304
305TEST_F(TransactionApplicationTest, NotPlacedOnTransactionQueue_Animation) {
306 NotPlacedOnTransactionQueue(ISurfaceComposer::eAnimation, /*syncInputWindows*/ false);
307}
308
309TEST_F(TransactionApplicationTest, NotPlacedOnTransactionQueue_SyncInputWindows) {
310 NotPlacedOnTransactionQueue(/*flags*/ 0, /*syncInputWindows*/ true);
311}
312
313TEST_F(TransactionApplicationTest, PlaceOnTransactionQueue_Synchronous) {
314 PlaceOnTransactionQueue(ISurfaceComposer::eSynchronous, /*syncInputWindows*/ false);
315}
316
317TEST_F(TransactionApplicationTest, PlaceOnTransactionQueue_Animation) {
318 PlaceOnTransactionQueue(ISurfaceComposer::eAnimation, /*syncInputWindows*/ false);
319}
320
321TEST_F(TransactionApplicationTest, PlaceOnTransactionQueue_SyncInputWindows) {
322 PlaceOnTransactionQueue(/*flags*/ 0, /*syncInputWindows*/ true);
323}
324
325TEST_F(TransactionApplicationTest, BlockWithPriorTransaction_Synchronous) {
326 BlockedByPriorTransaction(ISurfaceComposer::eSynchronous, /*syncInputWindows*/ false);
327}
328
329TEST_F(TransactionApplicationTest, BlockWithPriorTransaction_Animation) {
330 BlockedByPriorTransaction(ISurfaceComposer::eSynchronous, /*syncInputWindows*/ false);
331}
332
333TEST_F(TransactionApplicationTest, BlockWithPriorTransaction_SyncInputWindows) {
334 BlockedByPriorTransaction(/*flags*/ 0, /*syncInputWindows*/ true);
335}
336
Valerie Hau09e60052019-12-15 14:51:15 -0800337TEST_F(TransactionApplicationTest, FromHandle) {
338 sp<IBinder> badHandle;
339 auto ret = mFlinger.fromHandle(badHandle);
Alec Mouri9a02eda2020-04-21 17:39:34 -0700340 EXPECT_EQ(nullptr, ret.promote().get());
Valerie Hau09e60052019-12-15 14:51:15 -0800341}
Valerie Haud251afb2019-03-29 14:19:02 -0700342} // namespace android