Home
last modified time | relevance | path

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

12345678910>>...17

/system/extras/simpleperf/
Dprofcollect.cpp42 args.insert(args.end(), {"-e", event_name}); in Record()
43 args.insert(args.end(), {"--duration", std::to_string(duration)}); in Record()
44 args.insert(args.end(), {"-o", output}); in Record()
51 args.insert(args.end(), {"-i", traceInput}); in Inject()
52 args.insert(args.end(), {"-o", profileOutput}); in Inject()
53 args.insert(args.end(), {"--output", "branch-list"}); in Inject()
/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/core/libutils/
DString16_test.cpp88 tmp.insert(6, u"Insert"); in TEST()
151 tmp.insert(6, u"Insert"); in TEST()
212 TEST(String16Test, insert) { in TEST() argument
216 EXPECT_EQ(OK, s.insert(123, u"foo")); in TEST()
220 EXPECT_EQ(OK, s.insert(123, u"foo", 0)); in TEST()
224 EXPECT_EQ(OK, s.insert(123, u"bar")); in TEST()
227 EXPECT_EQ(OK, s.insert(3, u"!")); in TEST()
230 EXPECT_EQ(NO_MEMORY, s.insert(3, u"", SIZE_MAX)); in TEST()
/system/tools/aidl/
Daidl_to_cpp.cpp293 headers->insert("vector"); in AddHeaders()
302 headers->insert("optional"); in AddHeaders()
310 headers->insert(utf8 ? "string" : "utils/String16.h"); in AddHeaders()
314 headers->insert("binder/IBinder.h"); in AddHeaders()
318 headers->insert("android-base/unique_fd.h"); in AddHeaders()
322 headers->insert("binder/ParcelFileDescriptor.h"); in AddHeaders()
326 headers->insert("binder/ParcelableHolder.h"); in AddHeaders()
332 headers->insert("cstdint"); in AddHeaders()
351 headers->insert(cpp_header); in AddHeaders()
359 headers->insert(cpp_header); in AddHeaders()
/system/hardware/interfaces/suspend/1.0/default/
DWakeupList.cpp53 insert(std::move(w)); in update()
62 insert(std::move(updatedEntry)); in update()
74 void WakeupList::insert(WakeupInfo entry) { in insert() function in android::system::suspend::V1_0::WakeupList
/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/keymaster/include/keymaster/
DList.h155 insert(begin(), src.begin(), src.end()); in List()
186 void push_front(const T& val) { insert(begin(), val); } in push_front()
187 void push_back(const T& val) { insert(end(), val); } in push_back()
190 iterator insert(iterator posn, const T& val) { in insert() function
200 void insert(iterator posn, const_iterator first, const_iterator last) { in insert() function
202 insert(posn, *first); in insert()
295 insert(lastDst, firstSrc, lastSrc); // copy remaining over
/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/gd/l2cap/internal/
Ddynamic_channel_allocator.cc48 used_remote_cid_.insert(remote_cid); in AllocateChannel()
49 used_cid_.insert(cid); in AllocateChannel()
64 used_remote_cid_.insert(remote_cid); in AllocateReservedChannel()
77 used_cid_.insert(cid); in ReserveChannel()
/system/extras/simpleperf/app_api/cpp/
Dsimpleperf.cpp122 args.insert(args.end(), {"-o", output_filename}); in ToRecordArgs()
123 args.insert(args.end(), {"-e", impl_->event}); in ToRecordArgs()
124 args.insert(args.end(), {"-f", std::to_string(impl_->freq)}); in ToRecordArgs()
126 args.insert(args.end(), {"--duration", std::to_string(impl_->duration_in_second)}); in ToRecordArgs()
129 args.insert(args.end(), {"-p", std::to_string(getpid())}); in ToRecordArgs()
136 args.insert(args.end(), {"-t", os.str()}); in ToRecordArgs()
141 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/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/update_engine/payload_generator/
Dmerge_sequence_generator.cc160 merge_after.insert({op, {}}); in FindDependency()
203 free_operations.insert(op); in Generate()
211 merge_sequence.insert( in Generate()
215 free_operations.insert(to_convert); in Generate()
216 convert_to_raw.insert(to_convert); in Generate()
243 next_free_operations.insert(blocked); in Generate()
255 merge_sequence.insert( in Generate()
/system/libvintf/
DHalInterface.cpp57 return mRegexes.insert(instanceOrPattern).second; in insertInstance()
59 return mInstances.insert(instanceOrPattern).second; in insertInstance()
/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/unwinding/libunwindstack/tests/
DMemoryFake.cpp32 data_.insert({addr, value}); in SetMemoryBlock()
44 data_.insert({ addr, src[i] }); in SetMemory()
/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/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.cc85 ASSERT_TRUE(vector.insert(vector.size(), 0xd00d)); in TEST()
154 ASSERT_TRUE(vector.insert(vector.size(), std::move(mbnc2))); in TEST()
199 ASSERT_TRUE(vector.insert(vector.size(), cbnm2)); in TEST()
325 EXPECT_CHRE_ASSERT(EXPECT_FALSE(vector.insert(1, 0x1337))); in TEST()
328 ASSERT_TRUE(vector.insert(0, 0x1337)); in TEST()
333 EXPECT_TRUE(vector.insert(1, 0xface)); in TEST()
339 EXPECT_TRUE(vector.insert(0, 0xcafe)); in TEST()
346 EXPECT_TRUE(vector.insert(1, 0xdead)); in TEST()
354 EXPECT_TRUE(vector.insert(2, 0xbeef)); in TEST()
364 EXPECT_TRUE(vector.insert(0, 0xabad)); in TEST()
[all …]
/system/bt/gd/security/record/
Dsecurity_record_storage_test.cc69 record_set.insert(record); in TEST_F()
104 record_set.insert(record); in TEST_F()
130 record_set.insert(record); in TEST_F()
164 record_set.insert(record); in TEST_F()
184 record_set.insert(record); in TEST_F()
/system/security/keystore2/src/
Dglobals.rs115 fn insert(&mut self, sec_level: SecurityLevel, dev: Asp, hw_info: KeyMintHardwareInfo) { in insert() method
119 self.devices_by_uuid.insert(uuid, (dev, hw_info)); in insert()
120 self.uuid_by_sec_level.insert(sec_level, uuid); in insert()
134 fn insert(&mut self, sec_level: SecurityLevel, dev: Asp) { in insert() method
135 self.devices_by_sec_level.insert(sec_level, dev); in insert()
268 devices_map.insert(*security_level, dev, hw_info); in get_keymint_device()
390 devices_map.insert(*security_level, dev); in get_remotely_provisioned_component()
/system/update_engine/payload_consumer/
Dextent_writer_unittest.cc79 expected_file.insert( in TEST_F()
130 expected_file.insert(expected_file.end(), in WriteAlignedExtents()
133 expected_file.insert( in WriteAlignedExtents()
135 expected_file.insert( in WriteAlignedExtents()

12345678910>>...17