Searched refs:make_unique (Results 1 – 13 of 13) sorted by relevance
/system/core/init/ |
D | action.cpp | 323 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()
|
D | init.cpp | 685 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()
|
D | service.cpp | 828 service_ = std::make_unique<Service>(name, "default", str_args); in ParseSection()
|
/system/bt/vendor_libs/test_vendor_lib/src/ |
D | hci_transport.cc | 131 std::make_unique<TimeStampedEvent>(std::move(event))); in PostEventResponse() 155 std::make_unique<TimeStampedEvent>(std::move(event), delay)); in PostDelayedEventResponse()
|
/system/core/libmemunreachable/ |
D | Allocator.h | 81 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()
|
D | ScopedDisableMalloc.h | 97 alarm_ = std::make_unique<ScopedAlarm>(timeout_, [&]() { in Disable()
|
D | PtracerThread.cpp | 71 stack_ = std::make_unique<Stack>(PTHREAD_STACK_MIN); in PtracerThread()
|
D | LeakFolding.cpp | 36 leak_scc = scc_allocator.make_unique(scc_allocator); in ComputeDAG()
|
D | ThreadCapture.cpp | 342 impl_ = impl_allocator.make_unique(pid, impl_allocator); in ThreadCapture()
|
/system/core/bootstat/ |
D | event_log_list_builder.cpp | 35 payload_(std::make_unique<uint8_t[]>(MAX_EVENT_PAYLOAD_SIZE)) { in EventLogListBuilder()
|
/system/core/libmemunreachable/tests/ |
D | Allocator_test.cpp | 171 Allocator<int>::unique_ptr ptr = allocator.make_unique(0); in TEST_F()
|
/system/core/adb/ |
D | shell_service.cpp | 752 auto subprocess = std::make_unique<Subprocess>(name, terminal_type, type, protocol); in StartSubprocess()
|
/system/netd/tests/ |
D | netd_test.cpp | 236 d = std::make_unique<test::DNSResponder>(server, listen_srv, 250, in SetupDNSServers()
|