/frameworks/base/cmds/statsd/tests/condition/ |
D | CombinationConditionTracker_test.cpp | 32 children.push_back(0); in TEST() 33 children.push_back(1); in TEST() 34 children.push_back(2); in TEST() 37 conditionResults.push_back(ConditionState::kUnknown); in TEST() 38 conditionResults.push_back(ConditionState::kFalse); in TEST() 39 conditionResults.push_back(ConditionState::kTrue); in TEST() 50 children.push_back(0); in TEST() 51 children.push_back(1); in TEST() 52 children.push_back(2); in TEST() 55 conditionResults.push_back(ConditionState::kTrue); in TEST() [all …]
|
D | SimpleConditionTracker_test.cpp | 91 uid_indexes.push_back(0); in getWakeLockQueryKey() 94 uid_indexes.push_back(uids.size() - 1); in getWakeLockQueryKey() 146 matcherState.push_back(MatchingState::kNotMatched); // On matcher not matched in TEST() 147 matcherState.push_back(MatchingState::kMatched); // Off matcher matched in TEST() 159 matcherState.push_back(MatchingState::kMatched); // On matcher matched in TEST() 160 matcherState.push_back(MatchingState::kNotMatched); // Off matcher not matched in TEST() 200 matcherState.push_back(MatchingState::kNotMatched); // On matcher not matched in TEST() 201 matcherState.push_back(MatchingState::kMatched); // Off matcher matched in TEST() 213 matcherState.push_back(MatchingState::kMatched); // On matcher matched in TEST() 214 matcherState.push_back(MatchingState::kNotMatched); // Off matcher not matched in TEST() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | SchedulerUtilsTest.cpp | 68 testVector.push_back(33); in TEST_F() 70 testVector.push_back(33); in TEST_F() 71 testVector.push_back(33); in TEST_F() 73 testVector.push_back(42); in TEST_F() 75 testVector.push_back(33); in TEST_F() 77 testVector.push_back(42); in TEST_F() 79 testVector.push_back(42); in TEST_F() 81 testVector.push_back(42); in TEST_F() 83 testVector.push_back(60); in TEST_F() 85 testVector.push_back(60); in TEST_F() [all …]
|
/frameworks/base/cmds/statsd/benchmark/ |
D | duration_metric_benchmark.cpp | 142 events.push_back(CreateScreenStateChangedEvent(bucketStartTimeNs + 11, in BM_DurationMetricNoLink() 144 events.push_back( in BM_DurationMetricNoLink() 147 events.push_back(CreateScreenStateChangedEvent(bucketStartTimeNs + 102, in BM_DurationMetricNoLink() 149 events.push_back(CreateScreenStateChangedEvent(bucketStartTimeNs + 450, in BM_DurationMetricNoLink() 152 events.push_back(CreateScreenStateChangedEvent(bucketStartTimeNs + 650, in BM_DurationMetricNoLink() 154 events.push_back(CreateScreenStateChangedEvent(bucketStartTimeNs + bucketSizeNs + 100, in BM_DurationMetricNoLink() 157 events.push_back(CreateScreenStateChangedEvent(bucketStartTimeNs + bucketSizeNs + 640, in BM_DurationMetricNoLink() 159 events.push_back(CreateScreenStateChangedEvent(bucketStartTimeNs + bucketSizeNs + 650, in BM_DurationMetricNoLink() 164 events.push_back(CreateStartScheduledJobEvent(bucketStartTimeNs + 2, attributionUids1, in BM_DurationMetricNoLink() 166 events.push_back(CreateFinishScheduledJobEvent(bucketStartTimeNs + 101, attributionUids1, in BM_DurationMetricNoLink() [all …]
|
/frameworks/base/cmds/statsd/tests/ |
D | UidMap_test.cpp | 73 uids.push_back(1000); in TEST() 74 uids.push_back(1000); in TEST() 75 versionStrings.push_back(String16("v1")); in TEST() 76 versionStrings.push_back(String16("v1")); in TEST() 77 installers.push_back(String16("")); in TEST() 78 installers.push_back(String16("")); in TEST() 79 apps.push_back(String16(kApp1.c_str())); in TEST() 80 apps.push_back(String16(kApp2.c_str())); in TEST() 81 versions.push_back(4); in TEST() 82 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 …]
|
/frameworks/base/cmds/statsd/tests/e2e/ |
D | MetricConditionLink_e2e_test.cpp | 172 events.push_back(std::move(crashEvent1)); in TEST() 173 events.push_back(std::move(crashEvent2)); in TEST() 174 events.push_back(std::move(crashEvent3)); in TEST() 175 events.push_back(std::move(crashEvent4)); in TEST() 176 events.push_back(std::move(crashEvent5)); in TEST() 177 events.push_back(std::move(crashEvent6)); in TEST() 178 events.push_back(std::move(crashEvent7)); in TEST() 179 events.push_back(std::move(crashEvent8)); in TEST() 180 events.push_back(std::move(crashEvent9)); in TEST() 181 events.push_back(std::move(crashEvent10)); in TEST() [all …]
|
D | CountMetric_e2e_test.cpp | 181 events.push_back(CreateScreenStateChangedEvent( in TEST() 184 events.push_back(CreateSyncStartEvent(bucketStartTimeNs + 75 * NS_PER_SEC, attributionUids1, in TEST() 186 events.push_back(CreateScreenStateChangedEvent( in TEST() 189 events.push_back(CreateScreenStateChangedEvent( in TEST() 192 events.push_back(CreateSyncStartEvent(bucketStartTimeNs + 250 * NS_PER_SEC, attributionUids1, in TEST() 196 events.push_back(CreateSyncStartEvent(bucketStartTimeNs + 350 * NS_PER_SEC, attributionUids1, in TEST() 198 events.push_back(CreateSyncStartEvent(bucketStartTimeNs + 400 * NS_PER_SEC, attributionUids1, in TEST() 200 events.push_back(CreateScreenStateChangedEvent( in TEST() 203 events.push_back(CreateSyncStartEvent(bucketStartTimeNs + 475 * NS_PER_SEC, attributionUids1, in TEST() 205 events.push_back(CreateScreenStateChangedEvent( in TEST() [all …]
|
D | Attribution_e2e_test.cpp | 117 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 2, attributionUids1, in TEST() 119 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 200, attributionUids2, in TEST() 121 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + bucketSizeNs - 1, in TEST() 123 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + bucketSizeNs, attributionUids4, in TEST() 127 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 2 * bucketSizeNs + 1, in TEST() 129 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 2 * bucketSizeNs + 100, in TEST() 131 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 3 * bucketSizeNs - 2, in TEST() 133 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 3 * bucketSizeNs, in TEST() 135 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 3 * bucketSizeNs + 1, in TEST() 137 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 3 * bucketSizeNs + 100, 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/av/camera/ndk/impl/ |
D | ACameraMetadata.cpp | 122 mStaticPhysicalCameraIdValues.push_back(String8((const char *)ids+start)); in derivePhysicalCameraIds() 123 mStaticPhysicalCameraIds.push_back(mStaticPhysicalCameraIdValues.back().string()); in derivePhysicalCameraIds() 167 filteredDurations.push_back(format); in filterDurations() 168 filteredDurations.push_back(width); in filterDurations() 169 filteredDurations.push_back(height); in filterDurations() 170 filteredDurations.push_back(duration); in filterDurations() 178 filteredDurations.push_back(format); in filterDurations() 179 filteredDurations.push_back(width); in filterDurations() 180 filteredDurations.push_back(height); in filterDurations() 181 filteredDurations.push_back(duration); in filterDurations() [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 …]
|
D | RpnExpr.cpp | 50 void RpnExpr::push_back(ExprToken* pToken) { in push_back() function in mcld::RpnExpr 51 m_TokenQueue.push_back(pToken); in push_back() 82 expr->push_back(SectDescOperand::create(*pIter)); in buildHelperExpr() 83 expr->push_back(&Operator::create<Operator::ADDR>()); in buildHelperExpr() 84 expr->push_back(SectDescOperand::create(*pIter)); in buildHelperExpr() 85 expr->push_back(&Operator::create<Operator::SIZEOF>()); in buildHelperExpr() 86 expr->push_back(&Operator::create<Operator::ADD>()); in buildHelperExpr() 93 expr->push_back(FragOperand::create(pFrag)); in buildHelperExpr()
|
/frameworks/av/services/mediaresourcemanager/test/ |
D | ResourceManagerService_test.cpp | 242 resources1.push_back(MediaResource(MediaResource::Type::kSecureCodec, 1)); in addResource() 244 resources1.push_back(MediaResource(MediaResource::Type::kGraphicMemory, 200)); in addResource() 246 resources11.push_back(MediaResource(MediaResource::Type::kGraphicMemory, 200)); in addResource() 251 resources2.push_back(MediaResource(MediaResource::Type::kNonSecureCodec, 1)); in addResource() 252 resources2.push_back(MediaResource(MediaResource::Type::kGraphicMemory, 300)); in addResource() 258 resources3.push_back(MediaResource(MediaResource::Type::kSecureCodec, 1)); in addResource() 259 resources3.push_back(MediaResource(MediaResource::Type::kGraphicMemory, 100)); in addResource() 281 resources1.push_back(MediaResource(MediaResource::Type::kDrmSession, -100)); in testCombineResourceWithNegativeValues() 282 resources1.push_back(MediaResource(MediaResource::Type::kNonSecureCodec, -100)); in testCombineResourceWithNegativeValues() 298 resources1.push_back(MediaResource(MediaResource::Type::kDrmSession, INT64_MAX)); in testCombineResourceWithNegativeValues() [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/tests/external/ |
D | StatsPuller_test.cpp | 90 pullData.push_back(createSimpleEvent(1111L, 33)); in TEST_F() 105 pullData.push_back(createSimpleEvent(2222L, 44)); in TEST_F() 118 pullData.push_back(createSimpleEvent(1111L, 33)); in TEST_F() 133 pullData.push_back(createSimpleEvent(2222L, 44)); in TEST_F() 149 pullData.push_back(createSimpleEvent(1111L, 33)); in TEST_F() 159 pullData.push_back(createSimpleEvent(2222L, 44)); in TEST_F() 169 pullData.push_back(createSimpleEvent(1111L, 33)); in TEST_F() 179 pullData.push_back(createSimpleEvent(1111L, 33)); in TEST_F() 190 pullData.push_back(createSimpleEvent(1111L, 33)); in TEST_F() 203 pullData.push_back(createSimpleEvent(2222L, 44)); in TEST_F() [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 …]
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
D | Base64.cpp | 121 out->push_back(encode6Bit(x1 >> 2)); in encodeBase64() 122 out->push_back(encode6Bit((x1 << 4 | x2 >> 4) & 0x3f)); in encodeBase64() 123 out->push_back(encode6Bit((x2 << 2 | x3 >> 6) & 0x3f)); in encodeBase64() 124 out->push_back(encode6Bit(x3 & 0x3f)); in encodeBase64() 133 out->push_back(encode6Bit(x1 >> 2)); in encodeBase64() 134 out->push_back(encode6Bit((x1 << 4 | x2 >> 4) & 0x3f)); in encodeBase64() 135 out->push_back(encode6Bit((x2 << 2) & 0x3f)); in encodeBase64() 136 out->push_back('='); in encodeBase64() 142 out->push_back(encode6Bit(x1 >> 2)); in encodeBase64() 143 out->push_back(encode6Bit((x1 << 4) & 0x3f)); in encodeBase64()
|
/frameworks/base/libs/incident/tests/ |
D | IncidentReportArgs_test.cpp | 32 header1.push_back(0x1); in TEST() 33 header1.push_back(0x2); in TEST() 35 header1.push_back(0x22); in TEST() 36 header1.push_back(0x33); in TEST() 67 headers.push_back(header1); in TEST() 68 headers.push_back(header2); in TEST()
|