Home
last modified time | relevance | path

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

/frameworks/av/services/mediametrics/include/mediametricsservice/
DWrap.h144 class LockWrap {
152 friend LockWrap; variable
189 explicit LockWrap(Args&&... args) : mT(std::forward<Args>(args)...) {} in LockWrap() function
DValidateId.h68 using LockedValidateId = mediametrics::LockWrap<ValidateId>;
/frameworks/av/services/mediametrics/tests/
Dmediametrics_tests.cpp146 android::mediametrics::LockWrap<std::string> s("123"); in TEST()
152 const android::mediametrics::LockWrap<std::string> s2("345"); in TEST()
156 android::mediametrics::LockWrap<std::string> s3(""); in TEST()
161 android::mediametrics::LockWrap<std::vector<int>> v{std::initializer_list<int>{1, 2}}; in TEST()
191 android::mediametrics::LockWrap<Thunk> s4([&]{ in TEST()
213 android::mediametrics::LockWrap<Accumulator> a{}; // locked accumulator succeeds in TEST()