/frameworks/base/cmds/statsd/tests/condition/ |
D | CombinationConditionTracker_test.cpp | 31 children.push_back(0); in TEST() 32 children.push_back(1); in TEST() 33 children.push_back(2); in TEST() 36 conditionResults.push_back(ConditionState::kUnknown); in TEST() 37 conditionResults.push_back(ConditionState::kFalse); in TEST() 38 conditionResults.push_back(ConditionState::kTrue); in TEST() 49 children.push_back(0); in TEST() 50 children.push_back(1); in TEST() 51 children.push_back(2); in TEST() 54 conditionResults.push_back(ConditionState::kTrue); in TEST() [all …]
|
D | SimpleConditionTracker_test.cpp | 65 nodes.push_back(node); in writeAttributionNodesToEvent() 88 uid_indexes.push_back(0); in getWakeLockQueryKey() 91 uid_indexes.push_back(uids.size() - 1); in getWakeLockQueryKey() 130 matcherState.push_back(MatchingState::kNotMatched); in TEST() 131 matcherState.push_back(MatchingState::kNotMatched); in TEST() 145 matcherState.push_back(MatchingState::kMatched); in TEST() 146 matcherState.push_back(MatchingState::kNotMatched); in TEST() 158 matcherState.push_back(MatchingState::kNotMatched); in TEST() 159 matcherState.push_back(MatchingState::kNotMatched); in TEST() 170 matcherState.push_back(MatchingState::kNotMatched); in TEST() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | SchedulerUtilsTest.cpp | 64 testVector.push_back(33); in TEST_F() 66 testVector.push_back(33); in TEST_F() 67 testVector.push_back(33); in TEST_F() 69 testVector.push_back(42); in TEST_F() 71 testVector.push_back(33); in TEST_F() 73 testVector.push_back(42); in TEST_F() 75 testVector.push_back(42); in TEST_F() 77 testVector.push_back(42); in TEST_F() 79 testVector.push_back(60); in TEST_F() 81 testVector.push_back(60); in TEST_F() [all …]
|
/frameworks/base/cmds/statsd/benchmark/ |
D | duration_metric_benchmark.cpp | 151 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, in BM_DurationMetricNoLink() 153 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, in BM_DurationMetricNoLink() 156 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, in BM_DurationMetricNoLink() 158 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, in BM_DurationMetricNoLink() 161 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, in BM_DurationMetricNoLink() 163 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, in BM_DurationMetricNoLink() 166 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, in BM_DurationMetricNoLink() 168 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, in BM_DurationMetricNoLink() 171 events.push_back(CreateStartScheduledJobEvent( in BM_DurationMetricNoLink() 173 events.push_back(CreateFinishScheduledJobEvent( in BM_DurationMetricNoLink() [all …]
|
D | log_event_benchmark.cpp | 39 buffer->push_back(static_cast<char>(val)); in write4Bytes() 40 buffer->push_back(static_cast<char>((val >> 8) & 0xFF)); in write4Bytes() 41 buffer->push_back(static_cast<char>((val >> 16) & 0xFF)); in write4Bytes() 42 buffer->push_back(static_cast<char>((val >> 24) & 0xFF)); in write4Bytes() 49 buffer.push_back(EVENT_TYPE_LIST); in getSimpleLogMsgData() 50 buffer.push_back(2); // field counts; in getSimpleLogMsgData() 51 buffer.push_back(EVENT_TYPE_INT); in getSimpleLogMsgData() 53 buffer.push_back(EVENT_TYPE_INT); in getSimpleLogMsgData() 55 buffer.push_back(EVENT_TYPE_LIST_STOP); in getSimpleLogMsgData()
|
/frameworks/base/cmds/statsd/tests/ |
D | UidMap_test.cpp | 79 uids.push_back(1000); in TEST() 80 uids.push_back(1000); in TEST() 81 versionStrings.push_back(String16("v1")); in TEST() 82 versionStrings.push_back(String16("v1")); in TEST() 83 installers.push_back(String16("")); in TEST() 84 installers.push_back(String16("")); in TEST() 85 apps.push_back(String16(kApp1.c_str())); in TEST() 86 apps.push_back(String16(kApp2.c_str())); in TEST() 87 versions.push_back(4); in TEST() 88 versions.push_back(5); in TEST() [all …]
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmElement.cpp | 67 ls.push_back(new WebmUnsigned(kMkvTrackNumber, num)); in populateCommonTrackEntries() 68 ls.push_back(new WebmUnsigned(kMkvTrackUid, uid)); in populateCommonTrackEntries() 69 ls.push_back(new WebmUnsigned(kMkvFlagLacing, lacing)); in populateCommonTrackEntries() 70 ls.push_back(new WebmString(kMkvLanguage, lang)); in populateCommonTrackEntries() 71 ls.push_back(new WebmString(kMkvCodecId, codec)); in populateCommonTrackEntries() 72 ls.push_back(new WebmUnsigned(kMkvTrackType, type)); in populateCommonTrackEntries() 262 cuePointEntryFields.push_back(new WebmUnsigned(kMkvCueTrack, track)); in CuePointEntry() 263 cuePointEntryFields.push_back(new WebmUnsigned(kMkvCueClusterPosition, off)); in CuePointEntry() 267 cuePointEntryFields.push_back(new WebmUnsigned(kMkvCueTime, time)); in CuePointEntry() 268 cuePointEntryFields.push_back(cueTrackPositions); in CuePointEntry() [all …]
|
/frameworks/compile/slang/BitWriter_3_2/ |
D | BitcodeWriter.cpp | 151 Vals.push_back(Str[i]); in WriteStringRecord() 170 Record.push_back(A.getSlotIndex(i)); in WriteAttributeTable() 171 Record.push_back(encodeLLVMAttributesForBitcode(A, A.getSlotIndex(i))); in WriteAttributeTable() 242 TypeVals.push_back(TypeList.size()); in WriteTypeTable() 267 TypeVals.push_back(cast<IntegerType>(T)->getBitWidth()); in WriteTypeTable() 273 TypeVals.push_back(VE.getTypeID(PTy->getElementType())); in WriteTypeTable() 275 TypeVals.push_back(AddressSpace); in WriteTypeTable() 283 TypeVals.push_back(FT->isVarArg()); in WriteTypeTable() 284 TypeVals.push_back(VE.getTypeID(FT->getReturnType())); in WriteTypeTable() 286 TypeVals.push_back(VE.getTypeID(FT->getParamType(i))); in WriteTypeTable() [all …]
|
/frameworks/compile/slang/BitWriter_2_9_func/ |
D | BitcodeWriter.cpp | 151 Vals.push_back(Str[i]); in WriteStringRecord() 170 Record.push_back(A.getSlotIndex(i)); in WriteAttributeTable() 171 Record.push_back(encodeLLVMAttributesForBitcode(A, A.getSlotIndex(i))); in WriteAttributeTable() 240 TypeVals.push_back(TypeList.size()); in WriteTypeTable() 264 TypeVals.push_back(cast<IntegerType>(T)->getBitWidth()); in WriteTypeTable() 270 TypeVals.push_back(VE.getTypeID(PTy->getElementType())); in WriteTypeTable() 272 TypeVals.push_back(AddressSpace); in WriteTypeTable() 280 TypeVals.push_back(FT->isVarArg()); in WriteTypeTable() 281 TypeVals.push_back(0); // FIXME: DEAD: remove in llvm 3.0 in WriteTypeTable() 282 TypeVals.push_back(VE.getTypeID(FT->getReturnType())); in WriteTypeTable() [all …]
|
/frameworks/compile/slang/BitWriter_2_9/ |
D | BitcodeWriter.cpp | 128 Vals.push_back(Str[i]); in WriteStringRecord() 147 Record.push_back(A.getSlotIndex(i)); in WriteAttributeTable() 148 Record.push_back(encodeLLVMAttributesForBitcode(A, A.getSlotIndex(i))); in WriteAttributeTable() 188 NameVals.push_back(i); in WriteTypeSymbolTable() 193 NameVals.push_back((unsigned char)Str[i]); in WriteTypeSymbolTable() 255 TypeVals.push_back(TypeList.size()); in WriteTypeTable() 279 TypeVals.push_back(cast<IntegerType>(T)->getBitWidth()); in WriteTypeTable() 285 TypeVals.push_back(VE.getTypeID(PTy->getElementType())); in WriteTypeTable() 287 TypeVals.push_back(AddressSpace); in WriteTypeTable() 295 TypeVals.push_back(FT->isVarArg()); in WriteTypeTable() [all …]
|
/frameworks/base/tools/aapt2/ |
D | DominatorTree_test.cpp | 77 configs.push_back(util::make_unique<ResourceConfigValue>(default_config, "")); in TEST() 78 configs.push_back(util::make_unique<ResourceConfigValue>(land_config, "")); in TEST() 79 configs.push_back(util::make_unique<ResourceConfigValue>(sw600dp_land_config, "")); in TEST() 97 configs.push_back(util::make_unique<ResourceConfigValue>(default_config, "")); in TEST() 98 configs.push_back(util::make_unique<ResourceConfigValue>(land_config, "")); in TEST() 99 configs.push_back(util::make_unique<ResourceConfigValue>(default_config, "phablet")); in TEST() 100 configs.push_back(util::make_unique<ResourceConfigValue>(sw600dp_land_config, "phablet")); in TEST() 126 configs.push_back(util::make_unique<ResourceConfigValue>(default_config, "")); in TEST() 127 configs.push_back(util::make_unique<ResourceConfigValue>(en_config, "")); in TEST() 128 configs.push_back(util::make_unique<ResourceConfigValue>(en_v21_config, "")); in TEST() [all …]
|
D | ResourceValues_test.cpp | 73 a.elements.push_back(util::make_unique<String>(pool.MakeRef("one"))); in TEST() 74 a.elements.push_back(util::make_unique<String>(pool.MakeRef("two"))); in TEST() 77 b.elements.push_back(util::make_unique<String>(pool.MakeRef("une"))); in TEST() 78 b.elements.push_back(util::make_unique<String>(pool.MakeRef("deux"))); in TEST() 81 c.elements.push_back(util::make_unique<String>(pool.MakeRef("uno"))); in TEST() 84 d.elements.push_back(util::make_unique<String>(pool.MakeRef("one"))); in TEST() 85 d.elements.push_back(util::make_unique<String>(pool.MakeRef("two"))); in TEST() 97 a.elements.push_back(util::make_unique<String>(pool.MakeRef("one"))); in TEST() 98 a.elements.push_back(util::make_unique<String>(pool.MakeRef("two"))); in TEST() 235 attr2.symbols.push_back(Attribute::Symbol{Reference(test::ParseNameOrDie("android:id/foo")), in TEST() [all …]
|
/frameworks/av/camera/ndk/impl/ |
D | ACameraMetadata.cpp | 101 mStaticPhysicalCameraIdValues.push_back(String8((const char *)ids+start)); in derivePhysicalCameraIds() 102 mStaticPhysicalCameraIds.push_back(mStaticPhysicalCameraIdValues.back().string()); in derivePhysicalCameraIds() 138 filteredDurations.push_back(format); in filterDurations() 139 filteredDurations.push_back(width); in filterDurations() 140 filteredDurations.push_back(height); in filterDurations() 141 filteredDurations.push_back(duration); in filterDurations() 149 filteredDurations.push_back(format); in filterDurations() 150 filteredDurations.push_back(width); in filterDurations() 151 filteredDurations.push_back(height); in filterDurations() 152 filteredDurations.push_back(duration); in filterDurations() [all …]
|
/frameworks/base/cmds/statsd/tests/e2e/ |
D | MetricConditionLink_e2e_test.cpp | 174 events.push_back(std::move(crashEvent1)); in TEST() 175 events.push_back(std::move(crashEvent2)); in TEST() 176 events.push_back(std::move(crashEvent3)); in TEST() 177 events.push_back(std::move(crashEvent4)); in TEST() 178 events.push_back(std::move(crashEvent5)); in TEST() 179 events.push_back(std::move(crashEvent6)); in TEST() 180 events.push_back(std::move(crashEvent7)); in TEST() 181 events.push_back(std::move(crashEvent8)); in TEST() 182 events.push_back(std::move(crashEvent9)); in TEST() 183 events.push_back(std::move(crashEvent10)); in TEST() [all …]
|
D | DimensionInCondition_e2e_combination_AND_cond_test.cpp | 140 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, in TEST() 142 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, in TEST() 145 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, in TEST() 147 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, in TEST() 150 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, in TEST() 152 events.push_back(CreateScreenStateChangedEvent( in TEST() 156 events.push_back(CreateScreenStateChangedEvent( in TEST() 159 events.push_back(CreateScreenStateChangedEvent( in TEST() 163 events.push_back(CreateStartScheduledJobEvent( in TEST() 165 events.push_back(CreateFinishScheduledJobEvent( in TEST() [all …]
|
D | DimensionInCondition_e2e_combination_OR_cond_test.cpp | 91 events.push_back( in TEST() 93 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, in TEST() 95 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_ON, in TEST() 97 events.push_back(CreateScreenStateChangedEvent(android::view::DISPLAY_STATE_OFF, in TEST() 100 events.push_back(CreateAcquireWakelockEvent(attributions1, "wl1", bucketStartTimeNs + 200)); in TEST() 101 events.push_back( in TEST() 104 events.push_back(CreateAcquireWakelockEvent(attributions2, "wl2", in TEST() 106 events.push_back(CreateReleaseWakelockEvent(attributions2, "wl2", in TEST() 109 events.push_back(CreateScreenBrightnessChangedEvent(123, bucketStartTimeNs + 11)); in TEST() 110 events.push_back(CreateScreenBrightnessChangedEvent(123, bucketStartTimeNs + 101)); in TEST() [all …]
|
D | DimensionInCondition_e2e_simple_cond_test.cpp | 97 events.push_back(CreateStartScheduledJobEvent( in TEST() 99 events.push_back(CreateFinishScheduledJobEvent( in TEST() 102 events.push_back(CreateStartScheduledJobEvent( in TEST() 104 events.push_back(CreateFinishScheduledJobEvent( in TEST() 107 events.push_back(CreateStartScheduledJobEvent( in TEST() 109 events.push_back(CreateFinishScheduledJobEvent( in TEST() 112 events.push_back(CreateStartScheduledJobEvent( in TEST() 114 events.push_back(CreateFinishScheduledJobEvent( in TEST() 117 events.push_back(CreateSyncStartEvent(attributions1, "ReadEmail", in TEST() 119 events.push_back(CreateSyncEndEvent(attributions1, "ReadEmail", in TEST() [all …]
|
/frameworks/native/cmds/installd/tests/ |
D | installd_otapreopt_test.cpp | 126 args.push_back("otapreopt"); // "otapreopt" in getArgs() 127 args.push_back("a"); // slot in getArgs() 129 args.push_back(getVersionCStr(version)); in getArgs() 131 args.push_back("dexopt"); // "dexopt" in getArgs() 132 args.push_back("foo.apk"); // apk_path in getArgs() 133 args.push_back("123"); // uid in getArgs() 134 args.push_back("pkgname"); // pkg in getArgs() 135 args.push_back("arm"); // isa in getArgs() 136 args.push_back("1"); // dexopt_needed (DEX2OAT_FROM_SCRATCH) in getArgs() 137 args.push_back("oat_dir"); // oat_dir in getArgs() [all …]
|
/frameworks/compile/mclinker/lib/Script/ |
D | ScriptParser.yy | 274 { m_ScriptFile.getCurrentStringList()->push_back($1); } 276 { m_ScriptFile.getCurrentStringList()->push_back($2); } 278 { m_ScriptFile.getCurrentStringList()->push_back($3); } 463 { m_ScriptFile.getCurrentStringList()->push_back($3); } 537 m_ScriptFile.getCurrentStringList()->push_back( 542 m_ScriptFile.getCurrentStringList()->push_back( 554 m_ScriptFile.getCurrentStringList()->push_back($2); 558 m_ScriptFile.getCurrentStringList()->push_back($1); 638 m_ScriptFile.getCurrentRpnExpr()->push_back( 644 m_ScriptFile.getCurrentRpnExpr()->push_back( [all …]
|
D | ScriptFile.cpp | 91 sections->push_back(entry); in addEntryPoint() 93 m_CommandQueue.push_back(entry); in addEntryPoint() 98 m_CommandQueue.push_back(new OutputFormatCmd(pName)); in addOutputFormatCmd() 104 m_CommandQueue.push_back(new OutputFormatCmd(pDefault, pBig, pLittle)); in addOutputFormatCmd() 112 m_CommandQueue.push_back(new InputCmd(pStringList, in addInputCmd() 124 m_CommandQueue.push_back(new GroupCmd( in addGroupCmd() 129 m_CommandQueue.push_back(new OutputCmd(pFileName)); in addOutputCmd() 133 m_CommandQueue.push_back(new SearchDirCmd(pPath)); in addSearchDirCmd() 137 m_CommandQueue.push_back(new OutputArchCmd(pArch)); in addOutputArchCmd() 141 m_CommandQueue.push_back(new AssertCmd(pRpnExpr, pMessage)); in addAssertCmd() [all …]
|
/frameworks/av/include/media/ |
D | MicrophoneInfo.h | 50 mGeometricLocation.push_back(characteristic.geometric_location.x); in MicrophoneInfo() 51 mGeometricLocation.push_back(characteristic.geometric_location.y); in MicrophoneInfo() 52 mGeometricLocation.push_back(characteristic.geometric_location.z); in MicrophoneInfo() 53 mOrientation.push_back(characteristic.orientation.x); in MicrophoneInfo() 54 mOrientation.push_back(characteristic.orientation.y); in MicrophoneInfo() 55 mOrientation.push_back(characteristic.orientation.z); in MicrophoneInfo() 59 frequencies.push_back(characteristic.frequency_responses[0][i]); in MicrophoneInfo() 60 responses.push_back(characteristic.frequency_responses[1][i]); in MicrophoneInfo() 62 mFrequencyResponses.push_back(frequencies); in MicrophoneInfo() 63 mFrequencyResponses.push_back(responses); in MicrophoneInfo() [all …]
|
/frameworks/rs/cpu_ref/ |
D | rsCpuScriptGroup2.cpp | 180 mBatches.push_back(batch); in CpuScriptGroup2Impl() 187 batch->mClosures.push_back(cc); in CpuScriptGroup2Impl() 191 mBatches.push_back(batch); in CpuScriptGroup2Impl() 261 args->push_back(RsdCpuScriptImpl::BCC_EXE_PATH); in setupCompileArguments() 262 args->push_back("-fPIC"); in setupCompileArguments() 263 args->push_back("-embedRSInfo"); in setupCompileArguments() 265 args->push_back("-rs-global-info"); in setupCompileArguments() 267 args->push_back("-rs-global-info-skip-constant"); in setupCompileArguments() 270 args->push_back("-mtriple"); in setupCompileArguments() 271 args->push_back(DEFAULT_TARGET_TRIPLE_STRING); in setupCompileArguments() [all …]
|
/frameworks/base/cmds/statsd/src/logd/ |
D | LogEvent.cpp | 70 mValues.push_back(FieldValue(Field(mTagId, pos, depth), Value(wc.uids[i]))); in LogEvent() 72 mValues.push_back(FieldValue(Field(mTagId, pos, depth), Value(wc.tags[i]))); in LogEvent() 82 mValues.push_back( in LogEvent() 86 mValues.push_back( in LogEvent() 90 mValues.push_back(FieldValue( in LogEvent() 94 mValues.push_back(FieldValue( in LogEvent() 98 mValues.push_back( in LogEvent() 102 mValues.push_back(FieldValue( in LogEvent() 114 logEvents.push_back(std::make_shared<LogEvent>(statsLogEventWrapper, -1)); in createLogEvents() 117 logEvents.push_back(std::make_shared<LogEvent>(statsLogEventWrapper, i)); in createLogEvents() [all …]
|
/frameworks/base/cmds/statsd/tests/external/ |
D | puller_util_test.cpp | 54 vec.push_back(event->GetInt(1, &err)); in extractIntoVector() 55 vec.push_back(event->GetInt(2, &err)); in extractIntoVector() 56 vec.push_back(event->GetInt(3, &err)); in extractIntoVector() 57 ret.push_back(vec); in extractIntoVector() 69 inputData.push_back(event); in TEST() 77 inputData.push_back(event); in TEST() 101 inputData.push_back(event); in TEST() 109 inputData.push_back(event); in TEST() 117 inputData.push_back(event); in TEST() 143 inputData.push_back(event); in TEST() [all …]
|
/frameworks/compile/libbcc/lib/ |
D | CompilerConfig.cpp | 41 attributes->push_back((f.second ? '+' : '-') + f.first().str()); in AddX86NativeCPUFeatures() 46 attributes->push_back("-avx"); in AddX86NativeCPUFeatures() 113 attributes.push_back("+vfp3"); in initializeArch() 115 attributes.push_back("+d16"); in initializeArch() 122 attributes.push_back("+neon"); in initializeArch() 125 attributes.push_back("-neon"); in initializeArch() 126 attributes.push_back("-neonfp"); in initializeArch() 133 attributes.push_back("+hwdiv-arm"); in initializeArch() 136 attributes.push_back("+hwdiv"); in initializeArch() 143 attributes.push_back("+fp16"); in initializeArch() [all …]
|