Home
last modified time | relevance | path

Searched defs:UniquePtr (Results 1 – 2 of 2) sorted by relevance

/system/chre/util/include/chre/util/
Dunique_ptr_impl.h32 UniquePtr<ObjectType>::UniquePtr() : mObject(nullptr) {} in UniquePtr() function
35 UniquePtr<ObjectType>::UniquePtr(ObjectType *object) : mObject(object) {} in UniquePtr() function
38 UniquePtr<ObjectType>::UniquePtr(UniquePtr<ObjectType> &&other) { in UniquePtr() function
45 UniquePtr<ObjectType>::UniquePtr(UniquePtr<OtherObjectType> &&other) { in UniquePtr() function
/system/chre/util/tests/
Dunique_ptr_test.cc31 TEST(UniquePtr, Construct) { in TEST() argument
44 TEST(UniquePtr, MakeUniqueZeroFill) { in TEST() argument
55 TEST(UniquePtr, MoveConstruct) { in TEST() argument
65 TEST(UniquePtr, Move) { in TEST() argument
85 TEST(UniquePtr, Release) { in TEST() argument
107 TEST(UniquePtr, Reset) { in TEST() argument
133 TEST(UniquePtr, EqualityOperator) { in TEST() argument