Home
last modified time | relevance | path

Searched refs:try_emplace (Results 1 – 23 of 23) sorted by relevance

/packages/modules/Bluetooth/system/gd/l2cap/internal/
Ddynamic_channel_allocator.cc47 …channels_.try_emplace(cid, std::make_shared<DynamicChannelImpl>(psm, cid, remote_cid, link_, l2cap… in AllocateChannel()
65 auto elem = channels_.try_emplace( in AllocateReservedChannel()
Dfixed_channel_allocator.h61 …auto elem = channels_.try_emplace(cid, std::make_shared<FixedChannelImplType>(cid, link_, l2cap_ha… in AllocateChannel()
/packages/modules/Bluetooth/system/gd/common/
Dlru_cache.h164 std::tuple<iterator, bool, std::optional<node_type>> try_emplace(const Key& key, Args&&... args) { in try_emplace() function
175 auto pair = list_map_.try_emplace(list_map_.begin(), key, std::forward<Args>(args)...); in try_emplace()
Dlist_map.h123 std::pair<iterator, bool> try_emplace(const_iterator pos, const Key& key, Args&&... args) { in try_emplace() function
138 return try_emplace(end(), key, std::forward<Args>(args)...); in try_emplace_back()
Dlist_map_test.cc202 auto result = list_map.try_emplace(iter, 42, 420); in TEST()
208 EXPECT_FALSE(list_map.try_emplace(result.first, 42, 420).second); in TEST()
Dlru_cache_test.cc74 auto result = cache.try_emplace(42, 420); in TEST()
/packages/providers/MediaProvider/pdf/framework/libs/pdfClient/
Ddocument.cc118 pages_.try_emplace(pageNum, page); in GetPage()
119 fpdf_page_index_lookup_.try_emplace(page->page(), pageNum); in GetPage()
/packages/modules/Bluetooth/system/gd/l2cap/le/internal/
Dlink_manager.cc80 pending_links_.try_emplace(address_with_type); in ConnectFixedChannelServices()
115 …links_.try_emplace(connected_address_with_type, l2cap_handler_, std::move(acl_connection), paramet… in OnLeConnectSuccess()
Ddynamic_channel_service_manager_impl.cc39 service_map_.try_emplace( in Register()
Dfixed_channel_service_manager_impl.cc44 service_map_.try_emplace(cid, in Register()
/packages/modules/Bluetooth/system/gd/l2cap/classic/internal/
Ddynamic_channel_service_manager_impl.cc43 service_map_.try_emplace( in Register()
Dfixed_channel_service_manager_impl.cc44 service_map_.try_emplace(cid, in Register()
Dlink_manager.cc79 pending_links_.try_emplace(device); in ConnectFixedChannelServices()
249 links_.try_emplace(device, l2cap_handler_, std::move(acl_connection), parameter_provider_, in OnConnectSuccess()
/packages/modules/DnsResolver/
DDnsTlsQueryMap.cpp52 const auto [it, inserted] = mQueries.try_emplace(newId, q); in recordQuery()
DDnsStats.cpp178 statsMap.try_emplace(addr, StatsRecords(addr, kLogSize)); in setAddrs()
DDnsStatsTest.cpp437 expectedRcodeCounts.try_emplace(rcode, 32); in TEST_F()
/packages/services/Car/cpp/computepipe/runner/input_manager/
DEvsInputManager.cpp91 auto [it, result] = mEvsUseCases.try_emplace(std::move(streamId), in initializeCameras()
/packages/services/Car/cpp/evs/manager/1.1/
DEnumerator.cpp315 mActiveCameras.try_emplace(cameraId, hwCamera); in openCamera()
409 mActiveCameras.try_emplace(id, hwCamera); in openCamera_1_1()
DVirtualCamera.cpp56 mHalCamera.try_emplace(cam->getId(), cam); in VirtualCamera()
/packages/modules/Connectivity/service-t/native/libs/libnetworkstats/
DNetworkTraceHandler.cpp303 auto [iter, success] = state->iids.try_emplace(key, state->iids.size() + 1); in FillWithInterning()
/packages/modules/NeuralNetworks/runtime/
DTelemetryStatsd.cpp287 if (const auto [it, inserted] = mAggregate.try_emplace(std::move(atom.first), value); in push()
/packages/modules/Bluetooth/system/gd/storage/
Dconfig_cache.cc223 …auto triple = temporary_devices_.try_emplace(section, common::ListMap<std::string, std::string>{}); in SetProperty()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_dm.cc1557 auto triple = eir_uuids_cache.try_emplace(bdaddr, std::set<Uuid>{}); in btif_dm_search_devices_evt()