/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/inputflinger/tests/ |
D | TestInputListener.cpp | 32 ASSERT_FALSE(mNotifyConfigurationChangedArgsQueue.empty()) in assertNotifyConfigurationChangedWasCalled() 41 ASSERT_TRUE(mNotifyConfigurationChangedArgsQueue.empty()) in assertNotifyConfigurationChangedWasNotCalled() 47 ASSERT_FALSE(mNotifyDeviceResetArgsQueue.empty()) in assertNotifyDeviceResetWasCalled() 56 ASSERT_TRUE(mNotifyDeviceResetArgsQueue.empty()) in assertNotifyDeviceResetWasNotCalled() 61 ASSERT_FALSE(mNotifyKeyArgsQueue.empty()) << "Expected notifyKey() to have been called."; in assertNotifyKeyWasCalled() 69 ASSERT_TRUE(mNotifyKeyArgsQueue.empty()) << "Expected notifyKey() to not have been called."; in assertNotifyKeyWasNotCalled() 73 ASSERT_FALSE(mNotifyMotionArgsQueue.empty()) << "Expected notifyMotion() to have been called."; in assertNotifyMotionWasCalled() 81 ASSERT_TRUE(mNotifyMotionArgsQueue.empty()) in assertNotifyMotionWasNotCalled() 86 ASSERT_FALSE(mNotifySwitchArgsQueue.empty()) in assertNotifySwitchWasCalled()
|
/frameworks/base/cmds/statsd/src/metrics/duration_helper/ |
D | OringDurationTracker.cpp | 103 if (mStarted.empty()) { in noteStop() 119 if (mStarted.empty()) { in noteStop() 125 if (!mStarted.empty()) { in noteStopAll() 206 return mStarted.empty() && mPaused.empty(); in flushCurrentBucket() 221 if (!mStarted.empty()) { in onSlicedConditionMayChange() 249 if (mStarted.empty()) { in onSlicedConditionMayChange() 257 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/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/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/av/services/audiopolicy/common/managerdefinitions/src/ |
D | Serializer.cpp | 338 if (!mode.empty()) { in deserialize() 343 if (!channelsLiteral.empty()) { in deserialize() 349 if (!minValueMBLiteral.empty() && convertTo(minValueMBLiteral, minValueMB)) { in deserialize() 355 if (!maxValueMBLiteral.empty() && convertTo(maxValueMBLiteral, maxValueMB)) { in deserialize() 361 if (!defaultValueMBLiteral.empty() && convertTo(defaultValueMBLiteral, defaultValueMB)) { in deserialize() 367 if (!stepValueMBLiteral.empty() && convertTo(stepValueMBLiteral, stepValueMB)) { in deserialize() 373 if (!minRampMsLiteral.empty() && convertTo(minRampMsLiteral, minRampMs)) { in deserialize() 379 if (!maxRampMsLiteral.empty() && convertTo(maxRampMsLiteral, maxRampMs)) { in deserialize() 384 if (!useForVolumeLiteral.empty() && convertTo(useForVolumeLiteral, useForVolume)) { in deserialize() 410 profile->setDynamicChannels(profile->getChannels().empty()); in deserialize() [all …]
|
/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/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() 121 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/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/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/native/services/surfaceflinger/tests/unittests/ |
D | TimeStatsTest.cpp | 214 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F() 217 EXPECT_TRUE(inputCommand(InputCommand::DISABLE, FMT_STRING).empty()); in TEST_F() 226 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F() 250 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F() 279 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F() 317 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F() 329 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F() 343 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F() 381 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F() 421 EXPECT_TRUE(inputCommand(InputCommand::ENABLE, FMT_STRING).empty()); in TEST_F() [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/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/base/cmds/statsd/src/metrics/ |
D | DurationMetricProducer.cpp | 187 !mDimensionsInCondition.empty()) { in onSlicedConditionMayChangeLocked_opt1() 211 (dimensionsChangedToTrue->empty() && dimensionsChangedToFalse->empty())) { in onSlicedConditionMayChangeLocked_opt1() 283 (dimensionsChangedToTrue->empty() && dimensionsChangedToFalse->empty())) { in onSlicedConditionMayChangeLocked_opt2() 308 if (!trueDimensionsToProcess->empty() && mMetric2ConditionLinks.size() == 1) { in onSlicedConditionMayChangeLocked_opt2() 321 if (!whatIt.second.empty()) { in onSlicedConditionMayChangeLocked_opt2() 345 mDimensionsInCondition.empty()) { in onSlicedConditionMayChangeInternalLocked() 363 if (mDimensionsInCondition.empty()) { in onSlicedConditionMayChangeInternalLocked() 367 if (mMetric2ConditionLinks.empty()) { in onSlicedConditionMayChangeInternalLocked() 379 if (!whatIt.second.empty()) { in onSlicedConditionMayChangeInternalLocked() 408 if (!whatIt.second.empty() && in onSlicedConditionMayChangeInternalLocked() [all …]
|
/frameworks/av/services/audiopolicy/engine/config/src/ |
D | EngineConfig.cpp | 253 if (!attrRef.empty()) { in deserializeAttributes() 302 if (name.empty()) { in deserialize() 308 if (volumeGroup.empty()) { in deserialize() 315 if (streamTypeXml.empty()) { in deserialize() 334 if (literal.empty()) { in deserialize() 340 if (numericalTag.empty()) { in deserialize() 356 if (name.empty()) { in deserialize() 363 if (type.empty()) { in deserialize() 381 if (name.empty()) { in deserialize() 388 if (defaultValue.empty()) { in deserialize() [all …]
|
/frameworks/base/cmds/statsd/tests/e2e/ |
D | GaugeMetric_e2e_pull_test.cpp | 151 EXPECT_FALSE(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str().empty()); in TEST() 160 EXPECT_TRUE(data.bucket_info(0).atom(0).subsystem_sleep_state().subsystem_name().empty()); in TEST() 169 EXPECT_TRUE(data.bucket_info(1).atom(0).subsystem_sleep_state().subsystem_name().empty()); in TEST() 178 EXPECT_TRUE(data.bucket_info(2).atom(0).subsystem_sleep_state().subsystem_name().empty()); in TEST() 187 EXPECT_TRUE(data.bucket_info(3).atom(0).subsystem_sleep_state().subsystem_name().empty()); in TEST() 196 EXPECT_TRUE(data.bucket_info(4).atom(0).subsystem_sleep_state().subsystem_name().empty()); in TEST() 205 EXPECT_TRUE(data.bucket_info(5).atom(0).subsystem_sleep_state().subsystem_name().empty()); in TEST() 274 EXPECT_FALSE(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str().empty()); in TEST() 283 EXPECT_TRUE(data.bucket_info(0).atom(0).subsystem_sleep_state().subsystem_name().empty()); in TEST() 292 EXPECT_TRUE(data.bucket_info(1).atom(0).subsystem_sleep_state().subsystem_name().empty()); in TEST() [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()
|