Home
last modified time | relevance | path

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

/system/chre/util/include/chre/util/
Ddynamic_vector_impl.h47 if (owns_data()) { in ~DynamicVector()
139 CHRE_ASSERT_LOG(owns_data(), "Wrapped buffers can't be resized"); in reserve()
142 } else if (owns_data()) { in reserve()
208 CHRE_ASSERT(owns_data()); in copy_array()
211 if (owns_data() && reserve(elementCount)) { in copy_array()
283 bool DynamicVector<ElementType>::owns_data() const { in owns_data() function
Ddynamic_vector.h266 bool owns_data() const;
/system/chre/util/tests/
Ddynamic_vector_test.cc716 EXPECT_TRUE(vector.owns_data()); in TEST()
718 EXPECT_FALSE(vector.owns_data()); in TEST()
753 EXPECT_TRUE(vector1.owns_data()); in TEST()
758 EXPECT_FALSE(vector2.owns_data()); in TEST()
773 ASSERT_FALSE(vec.owns_data()); in TEST()
776 EXPECT_TRUE(vec.owns_data()); in TEST()
793 EXPECT_TRUE(vec.owns_data()); in TEST()