Home
last modified time | relevance | path

Searched refs:make_unique (Results 1 – 13 of 13) sorted by relevance

/system/core/init/
Daction.cpp323 trigger_queue_.push(std::make_unique<EventTrigger>(trigger)); in QueueEventTrigger()
328 trigger_queue_.push(std::make_unique<PropertyTrigger>(name, value)); in QueuePropertyTrigger()
337 auto action = std::make_unique<Action>(true); in QueueBuiltinAction()
346 trigger_queue_.push(std::make_unique<BuiltinTrigger>(action.get())); in QueueBuiltinAction()
409 auto action = std::make_unique<Action>(false); in ParseSection()
Dinit.cpp685 parser.AddSectionParser("service",std::make_unique<ServiceParser>()); in main()
686 parser.AddSectionParser("on", std::make_unique<ActionParser>()); in main()
687 parser.AddSectionParser("import", std::make_unique<ImportParser>()); in main()
Dservice.cpp828 service_ = std::make_unique<Service>(name, "default", str_args); in ParseSection()
/system/bt/vendor_libs/test_vendor_lib/src/
Dhci_transport.cc131 std::make_unique<TimeStampedEvent>(std::move(event))); in PostEventResponse()
155 std::make_unique<TimeStampedEvent>(std::move(event), delay)); in PostDelayedEventResponse()
/system/core/libmemunreachable/
DAllocator.h81 unique_ptr<T> make_unique(Args&&... args) { in make_unique() function
191 unique_ptr make_unique(Args&& ...args) { in make_unique() function
192 return heap_.template make_unique<T>(std::forward<Args>(args)...); in make_unique()
DScopedDisableMalloc.h97 alarm_ = std::make_unique<ScopedAlarm>(timeout_, [&]() { in Disable()
DPtracerThread.cpp71 stack_ = std::make_unique<Stack>(PTHREAD_STACK_MIN); in PtracerThread()
DLeakFolding.cpp36 leak_scc = scc_allocator.make_unique(scc_allocator); in ComputeDAG()
DThreadCapture.cpp342 impl_ = impl_allocator.make_unique(pid, impl_allocator); in ThreadCapture()
/system/core/bootstat/
Devent_log_list_builder.cpp35 payload_(std::make_unique<uint8_t[]>(MAX_EVENT_PAYLOAD_SIZE)) { in EventLogListBuilder()
/system/core/libmemunreachable/tests/
DAllocator_test.cpp171 Allocator<int>::unique_ptr ptr = allocator.make_unique(0); in TEST_F()
/system/core/adb/
Dshell_service.cpp752 auto subprocess = std::make_unique<Subprocess>(name, terminal_type, type, protocol); in StartSubprocess()
/system/netd/tests/
Dnetd_test.cpp236 d = std::make_unique<test::DNSResponder>(server, listen_srv, 250, in SetupDNSServers()