Home
last modified time | relevance | path

Searched refs:insert (Results 1 – 25 of 352) sorted by relevance

12345678910>>...15

/system/extras/simpleperf/
Dprofcollect.cpp44 args.insert(args.end(), {"-e", "cs-etm:u"}); in Record()
45 args.insert(args.end(), {"--duration", std::to_string(duration.count())}); in Record()
46 args.insert(args.end(), {"-o", output}); in Record()
55 args.insert(args.end(), {"-i", traceInput}); in Inject()
56 args.insert(args.end(), {"-o", output}); in Inject()
57 args.insert(args.end(), {"--output", "branch-list"}); in Inject()
59 args.insert(args.end(), {"--binary", binaryFilter}); in Inject()
Dcmd_inject_test.cpp33 args.insert(args.end(), {"-i", GetTestData(PERF_DATA_ETM_TEST_LOOP)}); in RunInjectCmd()
35 args.insert(args.end(), {"--symdir", GetTestDataDir() + "etm"}); in RunInjectCmd()
41 args.insert(args.end(), {"-o", tmpfile.path}); in RunInjectCmd()
/system/bt/gd/packet/
Dendian_inserter.h43 void insert(FixedWidthPODType value, BitInserter& it) const { in insert() function
58 void insert(const T& value, BitInserter& it) const { in insert() function
72 void insert(FixedWidthIntegerType value, BitInserter& it, size_t num_bits) const { in insert() function
89 inline void insert(Enum value, BitInserter& it) const { in insert() function
92 insert<enum_type>(static_cast<enum_type>(value), it); in insert()
101 insert(element, it); in insert_vector()
Dpacket_builder_unittest.cc72 PacketBuilder<little_endian>::insert(signature_, it); in Serialize()
73 PacketBuilder<little_endian>::insert(byte_, it); in Serialize()
74 PacketBuilder<little_endian>::insert(two_bytes_, it); in Serialize()
75 PacketBuilder<little_endian>::insert(four_bytes_, it); in Serialize()
76 PacketBuilder<little_endian>::insert(eight_bytes_, it); in Serialize()
153 PacketBuilder<true>::insert(elem, it); in Serialize()
219 PacketBuilder<true>::insert(level_, it); in Serialize()
/system/bt/profile/avrcp/
Dmedia_id_map.h46 uint64_t insert(std::string media_id) { in insert() function
52 media_id_to_uid_.insert(std::pair<std::string, uint64_t>(media_id, uid)); in insert()
53 uid_to_media_id_.insert(std::pair<uint64_t, std::string>(uid, media_id)); in insert()
/system/tools/aidl/
Daidl_to_cpp.cpp282 headers.insert("vector"); in AddHeaders()
286 headers.insert("optional"); in AddHeaders()
290 headers.insert(utf8 ? "string" : "utils/String16.h"); in AddHeaders()
293 headers.insert("binder/IBinder.h"); in AddHeaders()
296 headers.insert("android-base/unique_fd.h"); in AddHeaders()
299 headers.insert("binder/ParcelFileDescriptor.h"); in AddHeaders()
304 headers.insert("cstdint"); in AddHeaders()
318 headers.insert(cpp_header); in AddHeaders()
326 headers.insert(cpp_header); in AddHeaders()
/system/keymaster/include/keymaster/
DList.h168 insert(begin(), src.begin(), src.end()); in List()
207 void push_front(const T& val) { insert(begin(), val); } in push_front()
208 void push_back(const T& val) { insert(end(), val); } in push_back()
211 iterator insert(iterator posn, const T& val) in insert() function
222 void insert(iterator posn, const_iterator first, const_iterator last) { in insert() function
224 insert(posn, *first); in insert()
326 insert(lastDst, firstSrc, lastSrc); // copy remaining over
/system/core/libutils/include/utils/
DList.h170 insert(begin(), src.begin(), src.end()); in List()
209 void push_front(const T& val) { insert(begin(), val); } in push_front()
210 void push_back(const T& val) { insert(end(), val); } in push_back()
213 iterator insert(iterator posn, const T& val) in insert() function
224 void insert(iterator posn, const_iterator first, const_iterator last) { in insert() function
226 insert(posn, *first); in insert()
328 insert(lastDst, firstSrc, lastSrc); // copy remaining over
/system/extras/simpleperf/app_api/cpp/
Dsimpleperf.cpp121 args.insert(args.end(), {"-o", output_filename}); in ToRecordArgs()
122 args.insert(args.end(), {"-e", impl_->event}); in ToRecordArgs()
123 args.insert(args.end(), {"-f", std::to_string(impl_->freq)}); in ToRecordArgs()
125 args.insert(args.end(), {"--duration", std::to_string(impl_->duration_in_second)}); in ToRecordArgs()
128 args.insert(args.end(), {"-p", std::to_string(getpid())}); in ToRecordArgs()
135 args.insert(args.end(), {"-t", os.str()}); in ToRecordArgs()
140 args.insert(args.end(), {"--call-graph", "fp"}); in ToRecordArgs()
293 s.insert(s.end(), buf, buf + n); in ReadFile()
410 args.insert(args.end(), {"--log", "debug"}); in CreateSimpleperfProcess()
413 args.insert(args.end(), {"--tracepoint-events", "/data/local/tmp/tracepoint_events"}); in CreateSimpleperfProcess()
[all …]
/system/bt/gd/packet/parser/
Dsize.h93 ret.dynamic_.insert(ret.dynamic_.end(), dynamic_.begin(), dynamic_.end());
101 ret.dynamic_.insert(ret.dynamic_.end(), dynamic_.begin(), dynamic_.end());
102 ret.dynamic_.insert(ret.dynamic_.end(), rhs.dynamic_.begin(), rhs.dynamic_.end());
121 dynamic_.insert(dynamic_.end(), rhs.dynamic_.begin(), rhs.dynamic_.end());
Ddeclarations.h37 type_defs_.insert(std::pair(name, def)); in AddTypeDef()
55 packet_defs_.insert(std::pair(name, def)); in AddPacketDef()
73 group_defs_.insert(std::pair(name, group_def)); in AddGroupDef()
Denum_def.cc36 constants_.insert(std::pair(value, name)); in AddEntry()
37 entries_.insert(name); in AddEntry()
/system/bt/packet/avrcp/
Dcapabilities_packet.cc80 builder->elements_.insert(company_id_element); in MakeCompanyIdBuilder()
90 builder->elements_.insert(static_cast<uint8_t>(event)); in MakeEventsSupportedBuilder()
102 elements_.insert(company_id); in AddCompanyId()
113 elements_.insert(static_cast<uint8_t>(event)); in AddEvent()
/system/bt/gd/l2cap/internal/
Ddynamic_channel_allocator.cc50 used_remote_cid_.insert(remote_cid); in AllocateChannel()
51 used_cid_.insert(cid); in AllocateChannel()
68 used_remote_cid_.insert(remote_cid); in AllocateReservedChannel()
81 used_cid_.insert(cid); in ReserveChannel()
/system/libvintf/
DHalInterface.cpp57 return mRegexes.insert(instanceOrPattern).second; in insertInstance()
59 return mInstances.insert(instanceOrPattern).second; in insertInstance()
DHalManifest.cpp47 error->insert(0, "HAL '" + hal.name + "' is not valid: "); in shouldAdd()
49 error->insert(0, "For file " + hal.fileName() + ": "); in shouldAdd()
141 error->insert(0, "HAL \"" + pair.first + "\" has a conflict: "); in addAllHals()
163 names.insert(hal.first); in getHalNames()
175 names.insert(toFQNameString(e.package(), e.version())); in getHalNamesAndVersions()
178 names.insert(e.package()); in getHalNamesAndVersions()
247 manifestInstances.insert(manifestInstance.getFqInstance()); in checkIncompatibleHals()
248 simpleManifestInstances.insert(manifestInstance.getSimpleFqInstance()); in checkIncompatibleHals()
265 ret.insert(ret.end(), oss.str()); in checkIncompatibleHals()
308 ret.insert(manifestInstance.description()); in checkUnusedHals()
[all …]
Dmain.cpp189 void insert(const HalManifest* manifest, Table* table, const RowMutator& mutate) { in insert() function
198 void insert(const CompatibilityMatrix* matrix, Table* table, const RowMutator& mutate) { in insert() function
224 insert(vm, &table, [](auto* row) { row->dm = true; }); in generateHalSummary()
225 insert(fm, &table, [](auto* row) { row->fm = true; }); in generateHalSummary()
226 insert(vcm, &table, [](auto* row) { row->dcm = true; }); in generateHalSummary()
227 insert(fcm, &table, [](auto* row) { row->fcm = true; }); in generateHalSummary()
/system/core/init/
Dinterface_utils.cpp37 fqname_strings.insert(fqname.string()); in FQNamesToString()
58 interface_fqnames.insert(fqinstance.getFqName()); in CheckInterfaceInheritanceHierarchy()
98 known_interfaces->insert(intf); in SetKnownInterfaces()
/system/memory/libmemunreachable/
DBinder.cpp65 refs.insert(refs.end(), binder_refs.begin(), binder_refs.end()); in BinderReferences()
72 refs.insert(refs.end(), hwbinder_refs.begin(), hwbinder_refs.end()); in BinderReferences()
/system/core/libunwindstack/tests/
DMemoryFake.cpp32 data_.insert({addr, value}); in SetMemoryBlock()
44 data_.insert({ addr, src[i] }); in SetMemory()
/system/tools/hidl/
DAST.cpp237 mReferencedTypeNames.insert( in gatherReferencedTypes()
444 mImportedTypes[importAST].insert(match); in importFQName()
463 mImportedTypes[importAST].insert(match); in importFQName()
503 mImportedASTs.insert(ast); in addImportedAST()
570 mReferencedTypeNames.insert(enumType->fqName()); in lookupEnumValue()
752 mImportedNames.insert(typesName); in lookupTypeFromImports()
763 mImportedNames.insert(typeName); in lookupTypeFromImports()
777 mImportedNamesGranular.insert(fqName); in addToImportedNamesGranular()
807 importSet->insert(packageName); in getImportedPackages()
820 importSet->insert(newSet.begin(), newSet.end()); in getImportedPackagesHierarchy()
[all …]
/system/chre/util/tests/
Ddynamic_vector_test.cc80 ASSERT_TRUE(vector.insert(vector.size(), 0xd00d)); in TEST()
149 ASSERT_TRUE(vector.insert(vector.size(), std::move(mbnc2))); in TEST()
194 ASSERT_TRUE(vector.insert(vector.size(), cbnm2)); in TEST()
320 EXPECT_CHRE_ASSERT(EXPECT_FALSE(vector.insert(1, 0x1337))); in TEST()
323 ASSERT_TRUE(vector.insert(0, 0x1337)); in TEST()
328 EXPECT_TRUE(vector.insert(1, 0xface)); in TEST()
334 EXPECT_TRUE(vector.insert(0, 0xcafe)); in TEST()
341 EXPECT_TRUE(vector.insert(1, 0xdead)); in TEST()
349 EXPECT_TRUE(vector.insert(2, 0xbeef)); in TEST()
359 EXPECT_TRUE(vector.insert(0, 0xabad)); in TEST()
[all …]
/system/update_engine/payload_consumer/
Dextent_writer_unittest.cc80 expected_file.insert( in TEST_F()
133 expected_file.insert(expected_file.end(), in WriteAlignedExtents()
136 expected_file.insert( in WriteAlignedExtents()
138 expected_file.insert( in WriteAlignedExtents()
/system/core/libutils/
DLruCache_test.cpp361 returnedValues.insert(v); in TEST_F()
373 returnedValues.insert(it.value()); in TEST_F()
386 returnedValues.insert(it.value()); in TEST_F()
400 returnedValues.insert(it.value()); in TEST_F()
416 returnedValues.insert(it.value()); in TEST_F()
432 returnedValues.insert(it.value()); in TEST_F()
448 returnedValues.insert(it.value()); in TEST_F()
/system/core/adb/sysdeps/
Derrno.cpp60 result->insert(std::make_pair((error_name), (wire_value))) in generate_host_to_wire()
69 result->insert(std::make_pair((wire_value), (error_name))) in generate_wire_to_host()

12345678910>>...15