/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() 53 while (!path.empty() && path.back() == '/') { in preparePathComponent() 60 if (path.empty()) { in append_next_path() 63 if (!target.empty() && !target.ends_with('/')) { in append_next_path() 87 return !path.empty() && path[0] == '/'; in isAbsolute() 91 if (path.empty()) { in normalize() 115 if (part.empty() || part == "."sv) { in normalize() 119 if (result.empty()) { in normalize() 138 if (path.empty()) { in basename() 145 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/base/cmds/statsd/src/metrics/duration_helper/ |
D | OringDurationTracker.cpp | 91 if (mStarted.empty()) { in noteStop() 111 if (mStarted.empty()) { in noteStop() 117 if (!mStarted.empty()) { in noteStopAll() 216 return mStarted.empty() && mPaused.empty(); in flushCurrentBucket() 231 if (!mStarted.empty()) { in onSlicedConditionMayChange() 252 if (mStarted.empty()) { in onSlicedConditionMayChange() 264 if (!mPaused.empty()) { in onSlicedConditionMayChange() 284 if (mStarted.empty() && pausedToStarted.size() > 0) { in onSlicedConditionMayChange() 289 if (mStarted.empty() && !pausedToStarted.empty()) { in onSlicedConditionMayChange() 295 if (mStarted.empty()) { in onSlicedConditionMayChange() [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/av/services/audiopolicy/common/managerdefinitions/src/ |
D | Serializer.cpp | 339 if (!mode.empty()) { in deserialize() 344 if (!channelsLiteral.empty()) { in deserialize() 350 if (!minValueMBLiteral.empty() && convertTo(minValueMBLiteral, minValueMB)) { in deserialize() 356 if (!maxValueMBLiteral.empty() && convertTo(maxValueMBLiteral, maxValueMB)) { in deserialize() 362 if (!defaultValueMBLiteral.empty() && convertTo(defaultValueMBLiteral, defaultValueMB)) { in deserialize() 368 if (!stepValueMBLiteral.empty() && convertTo(stepValueMBLiteral, stepValueMB)) { in deserialize() 374 if (!minRampMsLiteral.empty() && convertTo(minRampMsLiteral, minRampMs)) { in deserialize() 380 if (!maxRampMsLiteral.empty() && convertTo(maxRampMsLiteral, maxRampMs)) { in deserialize() 385 if (!useForVolumeLiteral.empty() && convertTo(useForVolumeLiteral, useForVolume)) { in deserialize() 411 profile->setDynamicChannels(profile->getChannels().empty()); in deserialize() [all …]
|
/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/native/vulkan/vkjson/ |
D | vkjson_info.cc | 75 !options->device_name.empty())) { in ParseOptions() 80 if (options->device_index != unsignedNegOne && !options->device_name.empty()) { in ParseOptions() 85 if (options->instance && options->output_file.empty()) { in ParseOptions() 90 if (!options->output_file.empty() && !options->instance && in ParseOptions() 91 options->device_index == unsignedNegOne && options->device_name.empty()) { in ParseOptions() 111 } else if (!options.device_name.empty()) { in Dump() 125 if (options.output_file.empty()) { in Dump() 174 !options.device_name.empty()) { in main()
|
/frameworks/av/cmds/stagefright/ |
D | audioloop.cpp | 92 if ((name.empty() && !mediaType.empty()) || (!name.empty() && mediaType.empty())) { in main() 97 if (!name.empty() && fileOut != NULL) { in main() 102 int32_t sampleRate = !name.empty() ? 44100 : outputWBAMR ? 16000 : 8000; in main() 124 if (name.empty()) { in main()
|
/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/native/libs/cputimeinstate/ |
D | testtimeinstate.cpp | 44 EXPECT_FALSE(times->empty()); in TEST() 50 ASSERT_FALSE(concurrentTimes->active.empty()); in TEST() 51 ASSERT_FALSE(concurrentTimes->policy.empty()); in TEST() 123 ASSERT_FALSE(map->empty()); in TEST() 157 ASSERT_FALSE(map1->empty()); in TEST() 169 ASSERT_FALSE(map2->empty()); in TEST() 192 ASSERT_FALSE(map->empty()); in TEST() 216 ASSERT_FALSE(map->empty()); in TEST() 233 ASSERT_FALSE(map1->empty()); in TEST() 245 ASSERT_FALSE(map2->empty()); in TEST() [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
D | LockscreenCredentialTest.java | 28 LockscreenCredential empty = LockscreenCredential.createNone(); in testEmptyCredential() local 30 assertTrue(empty.isNone()); in testEmptyCredential() 31 assertEquals(0, empty.size()); in testEmptyCredential() 32 assertNotNull(empty.getCredential()); in testEmptyCredential() 34 assertFalse(empty.isPin()); in testEmptyCredential() 35 assertFalse(empty.isPassword()); in testEmptyCredential() 36 assertFalse(empty.isPattern()); in testEmptyCredential()
|
/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/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/ml/nn/runtime/test/fuzzing/ |
D | OperationManager.cpp | 33 return vec.empty() || std::count(vec.begin(), vec.end(), val) > 0; in hasValue() 46 if (combinedDataTypes.empty()) return false; in matchFilter() 54 if (combinedRanks.empty()) return false; in matchFilter() 77 NN_FUZZER_CHECK(!mFilteredSignatures.empty()); in getRandomOperation()
|
/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/base/cmds/statsd/tests/ |
D | indexed_priority_queue_test.cpp | 48 EXPECT_TRUE(ipq.empty()); in TEST() 52 EXPECT_FALSE(ipq.empty()); in TEST() 56 EXPECT_FALSE(ipq.empty()); in TEST() 60 EXPECT_FALSE(ipq.empty()); in TEST() 64 EXPECT_TRUE(ipq.empty()); in TEST() 185 EXPECT_TRUE(ipq.empty()); in TEST() 189 EXPECT_TRUE(ipq.empty()); in TEST() 193 EXPECT_TRUE(ipq.empty()); in TEST() 227 EXPECT_TRUE(ipq.empty()); in TEST() 230 EXPECT_TRUE(ipq.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/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/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()
|