Home
last modified time | relevance | path

Searched refs:LockWrap (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/services/mediametrics/
DWrap.h144 class LockWrap {
152 friend LockWrap; variable
189 explicit LockWrap(Args&&... args) : mT(std::forward<Args>(args)...) {} in LockWrap() function
/frameworks/av/services/mediametrics/tests/
Dmediametrics_tests.cpp115 android::mediametrics::LockWrap<std::string> s("123"); in TEST()
121 const android::mediametrics::LockWrap<std::string> s2("345"); in TEST()
125 android::mediametrics::LockWrap<std::string> s3(""); in TEST()
130 android::mediametrics::LockWrap<std::vector<int>> v{std::initializer_list<int>{1, 2}}; in TEST()
160 android::mediametrics::LockWrap<Thunk> s4([&]{ in TEST()
182 android::mediametrics::LockWrap<Accumulator> a{}; // locked accumulator succeeds in TEST()