/frameworks/native/libs/vr/libpdx/ |
D | status_tests.cpp | 13 EXPECT_TRUE(status.empty()); in TEST() 20 EXPECT_FALSE(status_int.empty()); in TEST() 24 EXPECT_FALSE(status_int.empty()); in TEST() 28 EXPECT_FALSE(status_int.empty()); in TEST() 33 EXPECT_FALSE(status_str.empty()); in TEST() 40 EXPECT_FALSE(status_int.empty()); in TEST() 46 EXPECT_FALSE(status_str.empty()); in TEST() 65 EXPECT_FALSE(status1.empty()); in TEST() 66 EXPECT_FALSE(status2.empty()); in TEST() 75 EXPECT_FALSE(status1.empty()); in TEST() [all …]
|
/frameworks/native/services/gpuservice/tests/unittests/ |
D | GpuStatsTest.cpp | 119 ASSERT_TRUE(inputCommand(InputCommand::DUMP_ALL).empty()); in TEST_F() 204 EXPECT_TRUE(inputCommand(InputCommand::DUMP_APP).empty()); in TEST_F() 230 EXPECT_FALSE(inputCommand(InputCommand::DUMP_ALL_THEN_CLEAR).empty()); in TEST_F() 231 EXPECT_TRUE(inputCommand(InputCommand::DUMP_ALL).empty()); in TEST_F() 240 EXPECT_FALSE(inputCommand(InputCommand::DUMP_GLOBAL_THEN_CLEAR).empty()); in TEST_F() 241 EXPECT_TRUE(inputCommand(InputCommand::DUMP_GLOBAL).empty()); in TEST_F() 242 EXPECT_FALSE(inputCommand(InputCommand::DUMP_APP).empty()); in TEST_F() 251 EXPECT_FALSE(inputCommand(InputCommand::DUMP_APP_THEN_CLEAR).empty()); in TEST_F() 252 EXPECT_TRUE(inputCommand(InputCommand::DUMP_APP).empty()); in TEST_F() 253 EXPECT_FALSE(inputCommand(InputCommand::DUMP_GLOBAL).empty()); in TEST_F() [all …]
|
/frameworks/base/services/incremental/ |
D | path.cpp | 49 while (!path.empty() && path.front() == '/' && in preparePathComponent() 60 preparePathComponent(path, !target.empty()); in append_next_path() 61 if (path.empty()) { in append_next_path() 64 if (!target.empty() && !target.ends_with('/')) { in append_next_path() 88 return !path.empty() && path[0] == '/'; in isAbsolute() 92 if (path.empty()) { in normalize() 116 if (part.empty() || part == "."sv) { in normalize() 120 if (result.empty()) { in normalize() 139 if (path.empty()) { in basename() 146 while (!path.empty() && pos == path.size() - 1) { in basename() [all …]
|
/frameworks/base/libs/hwui/tests/unit/ |
D | MatrixTests.cpp | 31 Rect empty(15, 20, 15, 100); in TEST() local 32 ASSERT_TRUE(empty.isEmpty()); in TEST() 33 scaleMatrix.mapRect(empty); in TEST() 34 EXPECT_EQ(Rect(170, 215, 250, 1015), empty); in TEST() 35 EXPECT_FALSE(empty.isEmpty()) << "Empty 'line' rect doesn't remain empty when skewed."; in TEST()
|
/frameworks/proto_logging/stats/stats_log_api_gen/ |
D | main.cpp | 181 if (cppFilename.empty() && headerFilename.empty() in run() 182 && javaFilename.empty() && rustFilename.empty() in run() 183 && rustHeaderFilename.empty()) { in run() 234 if (!cppFilename.empty()) { in run() 257 if (!headerFilename.empty()) { in run() 273 if (!javaFilename.empty()) { in run() 274 if (javaClass.empty()) { in run() 279 if (javaPackage.empty()) { in run() 284 if (moduleName.empty()) { in run() 303 if (!rustFilename.empty()) { in run() [all …]
|
/frameworks/native/libs/vr/libpdx/private/pdx/ |
D | status.h | 58 T empty; variable 59 std::swap(other.value_, empty); 70 T empty; in SetError() local 71 std::swap(value_, empty); in SetError() 78 if (!other.ok() && !other.empty()) { in PropagateError() 90 bool empty() const { return error_ < 0; } in empty() function 148 if (!other.ok() && !other.empty()) { in PropagateError() 156 bool empty() const { return false; } in empty() function
|
/frameworks/compile/mclinker/unittests/ |
D | FactoriesTest.cpp | 42 ASSERT_FALSE(m_pNodeAlloc->empty()); in TEST_F() 45 ASSERT_FALSE(m_pNodeAlloc->empty()); in TEST_F() 48 ASSERT_FALSE(m_pNodeAlloc->empty()); in TEST_F() 112 ASSERT_TRUE(delegatee->empty()); in TEST_F() 138 ASSERT_FALSE(m_pNodeAlloc->empty()); in TEST_F() 148 ASSERT_TRUE(delegatee->empty()); in TEST_F() 162 ASSERT_FALSE(m_pNodeAlloc->empty()); in TEST_F() 170 ASSERT_FALSE(m_pFileAlloc->empty()); in TEST_F() 184 ASSERT_FALSE(m_pFileAlloc->empty()); in TEST_F() 202 ASSERT_FALSE(m_pFileAlloc->empty()); in TEST_F() [all …]
|
D | HashTableTest.cpp | 72 EXPECT_FALSE(hashTable->empty()); in TEST_F() 84 EXPECT_TRUE(hashTable.empty()); in TEST_F() 98 EXPECT_FALSE(hashTable->empty()); in TEST_F() 116 EXPECT_FALSE(hashTable->empty()); in TEST_F() 123 EXPECT_FALSE(hashTable->empty()); in TEST_F() 139 EXPECT_FALSE(hashTable->empty()); in TEST_F() 150 EXPECT_TRUE(hashTable->empty()); in TEST_F() 173 EXPECT_TRUE(hashTable->empty()); in TEST_F() 187 EXPECT_FALSE(hashTable->empty()); in TEST_F()
|
/frameworks/base/tests/Camera2Tests/CameraToo/tests/src/com/example/android/camera2/cameratoo/ |
D | CameraTooTest.java | 57 Size empty = new Size(0, 0), fatAndFlat = new Size(100, 0), tallAndThin = new Size(0, 100); in compareSizesByArea() local 62 assertComparatorEq(empty, fatAndFlat, rel); in compareSizesByArea() 63 assertComparatorEq(empty, tallAndThin, rel); in compareSizesByArea() 64 assertComparatorEq(fatAndFlat, empty, rel); in compareSizesByArea() 66 assertComparatorEq(tallAndThin, empty, rel); in compareSizesByArea() 76 assertComparatorLt(empty, smallSquare, rel); in compareSizesByArea() 77 assertComparatorLt(empty, horizRect, rel); in compareSizesByArea() 78 assertComparatorLt(empty, vertRect, rel); in compareSizesByArea() 88 assertComparatorLt(empty, largeSquare, rel); in compareSizesByArea() 104 Size empty = new Size(0, 0), fatAndFlat = new Size(100, 0), tallAndThin = new Size(0, 100); in chooseBigEnoughSize() local [all …]
|
/frameworks/av/cmds/stagefright/ |
D | audioloop.cpp | 95 if ((name.empty() && !mediaType.empty()) || (!name.empty() && mediaType.empty())) { in main() 100 if (!name.empty() && fileOut != NULL) { in main() 105 int32_t sampleRate = !name.empty() ? 44100 : outputWBAMR ? 16000 : 8000; in main() 128 if (name.empty()) { in main()
|
/frameworks/native/cmds/installd/ |
D | execv_helper.cpp | 37 CHECK(!args_.empty()); in PrepareArgs() 38 CHECK(args_[0].empty()); in PrepareArgs() 54 if (!arg.empty()) { in AddArg() 60 if (!arg.empty()) { in AddRuntimeArg()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | Serializer.cpp | 359 if (!mode.empty()) { in deserialize() 364 if (!channelsLiteral.empty()) { in deserialize() 370 if (!minValueMBLiteral.empty() && convertTo(minValueMBLiteral, minValueMB)) { in deserialize() 376 if (!maxValueMBLiteral.empty() && convertTo(maxValueMBLiteral, maxValueMB)) { in deserialize() 382 if (!defaultValueMBLiteral.empty() && convertTo(defaultValueMBLiteral, defaultValueMB)) { in deserialize() 388 if (!stepValueMBLiteral.empty() && convertTo(stepValueMBLiteral, stepValueMB)) { in deserialize() 394 if (!minRampMsLiteral.empty() && convertTo(minRampMsLiteral, minRampMs)) { in deserialize() 400 if (!maxRampMsLiteral.empty() && convertTo(maxRampMsLiteral, maxRampMs)) { in deserialize() 405 if (!useForVolumeLiteral.empty() && convertTo(useForVolumeLiteral, useForVolume)) { in deserialize() 439 profile->setDynamicChannels(profile->getChannels().empty()); in deserialize() [all …]
|
/frameworks/minikin/tests/unittest/ |
D | StringPieceTest.cpp | 28 EXPECT_TRUE(s.empty()); in TEST() 34 EXPECT_TRUE(s.empty()); in TEST() 40 EXPECT_TRUE(s.empty()); in TEST() 46 EXPECT_FALSE(s.empty()); in TEST() 54 EXPECT_FALSE(s.empty()); in TEST() 62 EXPECT_FALSE(s.empty()); in TEST() 71 EXPECT_FALSE(s.empty()); in TEST() 80 EXPECT_FALSE(s.empty()); in TEST()
|
D | CmapCoverageTest.cpp | 155 if (defaultUVSRanges.empty()) { in getDefaultUVSAsBinary() 176 if (nonDefaultUVS.empty()) { in getNonDefaultUVSAsBinary() 211 if (defaultUVS.empty()) { in buildCmapFormat14Table() 219 if (nonDefaultUVS.empty()) { in buildCmapFormat14Table() 297 EXPECT_TRUE(vsTables.empty()); in TEST() 307 EXPECT_TRUE(vsTables.empty()); in TEST() 317 EXPECT_TRUE(vsTables.empty()); in TEST() 326 EXPECT_TRUE(vsTables.empty()); in TEST() 335 EXPECT_TRUE(vsTables.empty()); in TEST() 358 EXPECT_TRUE(vsTables.empty()); in TEST() [all …]
|
/frameworks/av/media/libmediatranscoding/transcoder/ |
D | MediaSampleQueue.cpp | 37 while (mSampleQueue.empty() && !mAborted) { in dequeue() 52 return mSampleQueue.empty(); in isEmpty() 58 std::queue<std::shared_ptr<MediaSample>> empty = {}; in abort() local 59 std::swap(mSampleQueue, empty); in abort()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TransactionApplicationTest.cpp | 278 TransactionInfo empty; in TEST_F() local 279 empty.applyToken = sp<IBinder>(); in TEST_F() 280 mFlinger.setTransactionState(empty.frameTimelineInfo, empty.states, empty.displays, empty.flags, in TEST_F() 281 empty.applyToken, empty.inputWindowCommands, in TEST_F() 282 empty.desiredPresentTime, empty.isAutoTimestamp, in TEST_F() 283 empty.uncacheBuffer, mHasListenerCallbacks, mCallbacks, empty.id); in TEST_F()
|
/frameworks/compile/mclinker/lib/MC/ |
D | SymbolCategory.cpp | 77 if (!current->empty()) { in add() 118 if (!current->empty()) { in arrange() 130 if (current->end == pos || current->empty()) { in arrange() 257 bool SymbolCategory::empty() const { in empty() function in mcld::SymbolCategory 258 return m_OutputSymbols.empty(); in empty() 262 return m_pFile->empty(); in emptyFiles() 266 return m_pLocal->empty(); in emptyLocals() 270 return m_pLocalDyn->empty(); in emptyLocalDyns() 274 return m_pCommon->empty(); in emptyCommons() 278 return m_pDynamic->empty(); in emptyDynamics() [all …]
|
/frameworks/rs/script_api/ |
D | GenerateHeaderFiles.cpp | 87 if (briefComment.empty() && comment.size() == 0) { in writeComment() 91 if (!briefComment.empty()) { in writeComment() 102 if (!s.empty()) { in writeComment() 148 if (!name.empty()) { in writeTypeSpecification() 161 if (valueComments.size() > i && !valueComments[i].empty()) { in writeTypeSpecification() 172 if (!name.empty()) { in writeTypeSpecification() 181 if (fieldComments.size() > i && !fieldComments[i].empty()) { in writeTypeSpecification() 243 if (!p->specName.empty() && p->rsType != "...") { in writeFunctionPermutation() 268 if (inlineCodeLines[ct].empty()) { in writeFunctionPermutation() 293 if (!p->documentation.empty()) { in writeFunctionComment() [all …]
|
/frameworks/native/services/inputflinger/tests/ |
D | AnrTracker_test.cpp | 60 ASSERT_TRUE(tracker.empty()); in TEST() 63 ASSERT_FALSE(tracker.empty()); in TEST() 66 ASSERT_TRUE(tracker.empty()); in TEST() 74 ASSERT_TRUE(tracker.empty()); in TEST() 80 ASSERT_TRUE(tracker.empty()); in TEST() 138 ASSERT_TRUE(tracker.empty()); in TEST()
|
/frameworks/av/services/audiopolicy/engine/config/tests/ |
D | engineconfig_tests.cpp | 29 ASSERT_TRUE(groups.empty()); in TEST() 34 EXPECT_TRUE(groups.empty()); in TEST() 39 EXPECT_FALSE(groups.empty()); in TEST()
|
/frameworks/compile/mclinker/lib/Script/ |
D | ScriptFile.cpp | 89 assert(!m_CommandQueue.empty()); in addEntryPoint() 148 assert(!m_CommandQueue.empty()); in addAssignment() 151 assert(!sections->empty()); in addAssignment() 188 assert(!m_CommandQueue.empty()); in enterOutputSectDesc() 197 assert(!m_CommandQueue.empty()); in leaveOutputSectDesc() 201 assert(!sections->empty() && m_bInOutputSectDesc); in leaveOutputSectDesc() 210 assert(!m_CommandQueue.empty()); in addInputSectDesc() 214 assert(!sections->empty() && m_bInOutputSectDesc); in addInputSectDesc()
|
/frameworks/av/media/libmediatranscoding/include/media/ |
D | AdjustableMaxPriorityQueue.h | 48 bool empty() const; 119 bool AdjustableMaxPriorityQueue<T, Comparator>::empty() const { in empty() function 120 return mHeap.empty(); in empty() 130 DCHECK(!mHeap.empty()); in top() 156 DCHECK(!mHeap.empty()); in pop() 165 DCHECK(!mHeap.empty()); in consume_top() 210 DCHECK(!mHeap.empty()); in erase()
|
/frameworks/compile/mclinker/lib/Core/ |
D | LinkerScript.cpp | 31 return !sysroot().empty(); in hasSysroot() 43 return !m_Entry.empty(); in hasEntry() 55 return !m_OutputFile.empty(); in hasOutputFile()
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | CXADemangle.tcc | 288 if (!db.subs.empty()) in parse_substitution() 549 if (db.template_param.empty()) in parse_template_param() 551 if (!db.template_param.back().empty()) in parse_template_param() 573 if (t == last || *t != '_' || db.template_param.empty()) in parse_template_param() 724 if (db.names.empty()) in parse_sizeof_type_expr() 744 if (db.names.empty()) in parse_sizeof_expr_expr() 837 if (db.names.empty()) in parse_sizeof_function_param_pack_expr() 862 if (db.names.empty()) in parse_typeid_expr() 882 if (db.names.empty()) in parse_throw_expr() 979 if (db.names.empty()) in parse_unresolved_type() [all …]
|
/frameworks/av/services/audiopolicy/engine/config/src/ |
D | EngineConfig.cpp | 267 if (!attrRef.empty()) { in deserializeAttributes() 316 if (name.empty()) { in deserialize() 322 if (volumeGroup.empty()) { in deserialize() 329 if (streamTypeXml.empty()) { in deserialize() 348 if (literal.empty()) { in deserialize() 354 if (numericalTag.empty()) { in deserialize() 370 if (name.empty()) { in deserialize() 377 if (type.empty()) { in deserialize() 395 if (name.empty()) { in deserialize() 402 if (defaultValue.empty()) { in deserialize() [all …]
|