Home
last modified time | relevance | path

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

/system/chre/util/tests/
Doptional_test.cc122 class MovableButNonCopyable : public chre::NonCopyable { class
124 MovableButNonCopyable() = default;
125 MovableButNonCopyable(int value) : mValue(value) {} in MovableButNonCopyable() function in MovableButNonCopyable
126 MovableButNonCopyable(MovableButNonCopyable&& other) { in MovableButNonCopyable() function in MovableButNonCopyable
131 MovableButNonCopyable& operator=(MovableButNonCopyable&& other) { in operator =()
138 ~MovableButNonCopyable() { in ~MovableButNonCopyable()
158 MovableButNonCopyable transferee1(kValue1); in TEST()
159 MovableButNonCopyable transferee2(kValue2); in TEST()
161 Optional<MovableButNonCopyable> container; in TEST()
Ddynamic_vector_test.cc116 class MovableButNonCopyable : public chre::NonCopyable { class
118 MovableButNonCopyable(int value) : mValue(value) {} in MovableButNonCopyable() function in MovableButNonCopyable
120 MovableButNonCopyable(MovableButNonCopyable&& other) { in MovableButNonCopyable() function in MovableButNonCopyable
125 MovableButNonCopyable& operator=(MovableButNonCopyable&& other) { in operator =()
142 DynamicVector<MovableButNonCopyable> vector; in TEST()
145 MovableButNonCopyable mbnc(0xcafe); in TEST()
148 MovableButNonCopyable mbnc2(0xd00d); in TEST()