/frameworks/base/libs/hwui/tests/unit/ |
H A D | MatrixTests.cpp | 30 // non-zero empty rect, so sorting x/y would make rect non-empty 31 Rect empty(15, 20, 15, 100); 32 ASSERT_TRUE(empty.isEmpty()); 33 scaleMatrix.mapRect(empty); 34 EXPECT_EQ(Rect(170, 215, 250, 1015), empty); 35 EXPECT_FALSE(empty.isEmpty()) 36 << "Empty 'line' rect doesn't remain empty when skewed."; 44 // non-zero empty rect, so sorting x/y would make rect non-empty [all...] |
H A D | SkiaDisplayListTests.cpp | 50 ASSERT_FALSE(skiaDL.mChildNodes.empty()); 51 ASSERT_FALSE(skiaDL.mChildFunctors.empty()); 52 ASSERT_FALSE(skiaDL.mMutableImages.empty()); 53 ASSERT_FALSE(skiaDL.mVectorDrawables.empty()); 59 ASSERT_TRUE(skiaDL.mChildNodes.empty()); 60 ASSERT_TRUE(skiaDL.mChildFunctors.empty()); 61 ASSERT_TRUE(skiaDL.mMutableImages.empty()); 62 ASSERT_TRUE(skiaDL.mVectorDrawables.empty());
|
/frameworks/native/libs/vr/libpdx/ |
H A D | status_tests.cpp | 11 EXPECT_TRUE(status.empty()); 18 EXPECT_FALSE(status_int.empty()); 22 EXPECT_FALSE(status_int.empty()); 26 EXPECT_FALSE(status_int.empty()); 31 EXPECT_FALSE(status_str.empty()); 38 EXPECT_FALSE(status_int.empty()); 44 EXPECT_FALSE(status_str.empty()); 63 EXPECT_FALSE(status1.empty()); 64 EXPECT_FALSE(status2.empty()); 73 EXPECT_FALSE(status1.empty()); [all...] |
/frameworks/compile/mclinker/lib/Core/ |
H A D | LinkerScript.cpp | 31 return !sysroot().empty(); 43 return !m_Entry.empty(); 55 return !m_OutputFile.empty();
|
/frameworks/compile/mclinker/include/mcld/Target/ |
H A D | OutputRelocSection.h | 42 bool empty() { return m_pRelocData->empty(); } function in class:mcld::OutputRelocSection
|
/frameworks/native/libs/binder/tests/ |
H A D | binderValueTypeTest.cpp | 42 ASSERT_FALSE(value.empty()); \ 50 ASSERT_TRUE(value.empty()); \ 63 ASSERT_FALSE(value.empty()); \ 71 ASSERT_TRUE(value.empty()); \ 93 ASSERT_TRUE(value.empty()); 95 ASSERT_FALSE(value.empty()); 97 ASSERT_TRUE(value.empty()); 104 ASSERT_FALSE(value_a.empty()); 105 ASSERT_TRUE(value_b.empty()); 107 ASSERT_FALSE(value_b.empty()); [all...] |
/frameworks/base/libs/androidfw/ |
H A D | ResourceUtils.cpp | 44 return !(has_package_separator && out_package->empty()) && 45 !(has_type_separator && out_type->empty());
|
/frameworks/native/libs/ui/ |
H A D | GraphicsEnv.cpp | 39 if (!mDriverPath.empty()) { 51 if (mDriverPath.empty())
|
/frameworks/native/libs/vr/libpdx/private/pdx/ |
H A D | status.h | 28 // Default constructor so an empty Status object can be created. 41 // Copy/move constructors. Move constructor leaves |other| object in empty 55 T empty; local 56 std::swap(other.value_, empty); 67 T empty; local 68 std::swap(value_, empty); 75 if (!other.ok() && !other.empty()) { 83 // This means, the object is not empty and does not contain an error code. 86 // Checks if the object is empty (doesn't contain a valid value nor an error). 87 bool empty() cons function in class:android::pdx::Status 153 bool empty() const { return false; } function in class:android::pdx::Status [all...] |
/frameworks/native/cmds/installd/ |
H A D | file_parsing.h | 39 // Is the line empty? Simplifies the next check. 40 if (line.empty()) {
|
/frameworks/av/media/libstagefright/webm/ |
H A D | LinkedBlockingQueue.h | 34 while (mList.empty()) { 53 bool empty() { function in class:android::LinkedBlockingQueue 55 return mList.empty();
|
/frameworks/base/tools/aapt2/java/ |
H A D | ClassDefinition.cpp | 42 bool ClassDefinition::empty() const { function in class:aapt::ClassDefinition 44 if (!member->empty()) { 53 if (members_.empty() && !create_if_empty_) {
|
H A D | AnnotationProcessor.cpp | 42 if (util::TrimWhitespace(comment).empty()) { 58 if (!line.empty()) {
|
/frameworks/compile/mclinker/unittests/ |
H A D | FactoriesTest.cpp | 42 ASSERT_FALSE(m_pNodeAlloc->empty()); 45 ASSERT_FALSE(m_pNodeAlloc->empty()); 48 ASSERT_FALSE(m_pNodeAlloc->empty()); 112 ASSERT_TRUE(delegatee->empty()); 138 ASSERT_FALSE(m_pNodeAlloc->empty()); 148 ASSERT_TRUE(delegatee->empty()); 162 ASSERT_FALSE(m_pNodeAlloc->empty()); 170 ASSERT_FALSE(m_pFileAlloc->empty()); 184 ASSERT_FALSE(m_pFileAlloc->empty()); 202 ASSERT_FALSE(m_pFileAlloc->empty()); [all...] |
/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaDisplayList.h | 75 bool isEmpty() const override { return mDisplayList.empty(); } 80 bool hasFunctor() const override { return !mChildFunctors.empty(); } 85 bool hasVectorDrawables() const override { return !mVectorDrawables.empty(); }
|
/frameworks/base/tests/Camera2Tests/CameraToo/tests/src/com/example/android/camera2/cameratoo/ |
H A D | CameraTooTest.java | 57 Size empty = new Size(0, 0), fatAndFlat = new Size(100, 0), tallAndThin = new Size(0, 100); 62 assertComparatorEq(empty, fatAndFlat, rel); 63 assertComparatorEq(empty, tallAndThin, rel); 64 assertComparatorEq(fatAndFlat, empty, rel); 66 assertComparatorEq(tallAndThin, empty, rel); 76 assertComparatorLt(empty, smallSquare, rel); 77 assertComparatorLt(empty, horizRect, rel); 78 assertComparatorLt(empty, vertRect, rel); 88 assertComparatorLt(empty, largeSquare, rel); 104 Size empty [all...] |
/frameworks/opt/net/wifi/libwifi_system/tests/ |
H A D | hostapd_manager_unittest.cpp | 101 EXPECT_FALSE(config.empty()); 108 EXPECT_FALSE(config.empty()); 115 EXPECT_FALSE(config.empty());
|
/frameworks/base/core/jni/ |
H A D | android_app_Activity.cpp | 36 return msg.empty() ? nullptr : env->NewStringUTF(msg.c_str());
|
/frameworks/base/tools/aapt2/compile/ |
H A D | XmlIdCollector_test.cpp | 64 EXPECT_TRUE(doc->file.exported_symbols.empty());
|
/frameworks/compile/mclinker/lib/MC/ |
H A D | MCLDDirectory.cpp | 23 if (!Directory::m_Path.empty()) 37 if (!Directory::m_Path.empty()) 51 if (!Directory::m_Path.empty()) 65 if (!Directory::m_Path.empty())
|
H A D | SymbolCategory.cpp | 77 if (!current->empty()) { 118 if (!current->empty()) { 130 if (current->end == pos || current->empty()) { 257 bool SymbolCategory::empty() const { function in class:mcld::SymbolCategory 258 return m_OutputSymbols.empty(); 262 return m_pFile->empty(); 266 return m_pLocal->empty(); 270 return m_pLocalDyn->empty(); 274 return m_pCommon->empty(); 278 return m_pDynamic->empty(); [all...] |
/frameworks/compile/mclinker/lib/Target/ |
H A D | ELFAttributeValue.cpp | 41 if (isStringValue() && !m_StringValue.empty()) 45 // for int type, empty string for string type), but we need to check whether
|
/frameworks/rs/script_api/ |
H A D | GenerateHeaderFiles.cpp | 87 if (briefComment.empty() && comment.size() == 0) { 91 if (!briefComment.empty()) { 102 if (!s.empty()) { 148 if (!name.empty()) { 161 if (valueComments.size() > i && !valueComments[i].empty()) { 172 if (!name.empty()) { 181 if (fieldComments.size() > i && !fieldComments[i].empty()) { 243 if (!p->specName.empty() && p->rsType != "...") { 268 if (inlineCodeLines[ct].empty()) { 293 if (!p->documentation.empty()) { [all...] |
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
H A D | CharSequencesTest.java | 43 String empty = toString(forAsciiBytes(bytes, 0, 3).subSequence(3, 3)); 44 assertTrue("".equals(empty));
|
/frameworks/base/tools/aapt2/link/ |
H A D | PrivateAttributeMover.cpp | 78 if (private_attr_entries.empty()) { 84 CHECK(priv_attr_type->entries.empty());
|