/system/bt/test/headless/ |
D | main.cc | 39 "nop", std::make_unique<bluetooth::test::headless::Nop>(options)); in Main() 42 std::make_unique<bluetooth::test::headless::Pairing>(options)); in Main() 44 "read", std::make_unique<bluetooth::test::headless::Read>(options)); in Main() 46 "sdp", std::make_unique<bluetooth::test::headless::Sdp>(options)); in Main()
|
/system/bt/gd/l2cap/internal/ |
D | sender.cc | 35 …data_controller_(std::make_unique<BasicModeDataController>(channel_id_, remote_channel_id_, queue_… in Sender() 46 …std::make_unique<BasicModeDataController>(channel_id_, remote_channel_id_, queue_end_, handler_, s… in Sender() 49 …std::make_unique<ErtmController>(link_, channel_id_, remote_channel_id_, queue_end_, handler_, sch… in Sender() 51 …data_controller_ = std::make_unique<LeCreditBasedDataController>(link_, channel_id_, remote_channe… in Sender() 100 …std::make_unique<BasicModeDataController>(channel_id_, remote_channel_id_, queue_end_, handler_, s… in UpdateClassicConfiguration() 105 …std::make_unique<ErtmController>(link_, channel_id_, remote_channel_id_, queue_end_, handler_, sch… in UpdateClassicConfiguration()
|
D | dynamic_channel_impl_test.cc | 88 auto user_handler = std::make_unique<os::Handler>(thread_); in TEST_F() 113 auto user_handler = std::make_unique<os::Handler>(thread_); in TEST_F() 133 auto user_handler = std::make_unique<os::Handler>(thread_); in TEST_F() 158 auto user_handler = std::make_unique<os::Handler>(thread_); in TEST_F()
|
D | dynamic_channel_allocator_fuzz_test.cc | 50 … std::make_unique<NiceMock<MockClassicAclConnection>>(), nullptr); in SetUp() 52 channel_allocator_ = std::make_unique<DynamicChannelAllocator>(mock_classic_link_, handler_); in SetUp()
|
/system/update_engine/ |
D | omaha_request_action_fuzzer.cc | 36 std::make_unique<chromeos_update_engine::OmahaRequestAction>( in LLVMFuzzerTestOneInput() 39 std::make_unique<chromeos_update_engine::MockHttpFetcher>( in LLVMFuzzerTestOneInput() 44 std::make_unique<chromeos_update_engine::ObjectCollectorAction< in LLVMFuzzerTestOneInput()
|
D | update_boot_flags_action_unittest.cc | 36 auto action = std::make_unique<UpdateBootFlagsAction>(boot_control); in TEST_F() 53 auto action1 = std::make_unique<UpdateBootFlagsAction>(boot_control); in TEST_F() 54 auto action2 = std::make_unique<UpdateBootFlagsAction>(boot_control); in TEST_F()
|
/system/bt/common/benchmark/ |
D | thread_performance_benchmark.cc | 69 set_up_promise_ = std::make_unique<std::promise<void>>(); in SetUp() 137 g_counter_promise = std::make_unique<std::promise<void>>(); in BENCHMARK_F() 151 g_counter_promise = std::make_unique<std::promise<void>>(); in BENCHMARK_F() 184 g_counter_promise = std::make_unique<std::promise<void>>(); in BENCHMARK_F() 198 g_counter_promise = std::make_unique<std::promise<void>>(); in BENCHMARK_F() 229 g_counter_promise = std::make_unique<std::promise<void>>(); in BENCHMARK_F() 243 g_counter_promise = std::make_unique<std::promise<void>>(); in BENCHMARK_F() 272 g_counter_promise = std::make_unique<std::promise<void>>(); in BENCHMARK_F() 286 g_counter_promise = std::make_unique<std::promise<void>>(); in BENCHMARK_F() 300 g_counter_promise = std::make_unique<std::promise<void>>(); in BENCHMARK_F() [all …]
|
/system/bt/gd/security/test/ |
D | pairing_handler_le_pair_test.cc | 125 first_command = std::make_unique<CommandView>(CommandView::Create(temp_cmd_view)); in dequeue_callback_master() 141 first_command = std::make_unique<CommandView>(CommandView::Create(temp_cmd_view)); in dequeue_callback_slave() 164 …up_buffer_a_ = std::make_unique<os::EnqueueBuffer<packet::BasePacketBuilder>>(l2cap_->GetQueueAUpE… in SetUp() 165 …up_buffer_b_ = std::make_unique<os::EnqueueBuffer<packet::BasePacketBuilder>>(l2cap_->GetQueueBUpE… in SetUp() 308 pairing_handler_a = std::make_unique<PairingHandlerLe>(PairingHandlerLe::PHASE1, master_setup); in TEST_F() 327 pairing_handler_b = std::make_unique<PairingHandlerLe>(PairingHandlerLe::PHASE1, slave_setup); in TEST_F() 381 pairing_handler_b = std::make_unique<PairingHandlerLe>(PairingHandlerLe::PHASE1, slave_setup); in TEST_F() 399 auto view_to_packet = std::make_unique<packet::RawBuilder>(); in TEST_F() 403 pairing_handler_a = std::make_unique<PairingHandlerLe>(PairingHandlerLe::PHASE1, master_setup); in TEST_F() 426 pairing_handler_a = std::make_unique<PairingHandlerLe>(PairingHandlerLe::PHASE1, master_setup); in TEST_F() [all …]
|
/system/bt/gd/os/linux_generic/ |
D | queue_unittest.cc | 209 std::unique_ptr<std::string> data = std::make_unique<std::string>(std::to_string(i)); in TEST_F() 251 std::unique_ptr<std::string> data = std::make_unique<std::string>(std::to_string(i)); in TEST_F() 263 std::unique_ptr<std::string> data = std::make_unique<std::string>(std::to_string(i)); in TEST_F() 286 std::unique_ptr<std::string> data = std::make_unique<std::string>(std::to_string(i)); in TEST_F() 318 std::unique_ptr<std::string> data = std::make_unique<std::string>(std::to_string(i)); in TEST_F() 330 std::unique_ptr<std::string> data = std::make_unique<std::string>(std::to_string(i)); in TEST_F() 352 std::unique_ptr<std::string> data = std::make_unique<std::string>(std::to_string(i)); in TEST_F() 387 std::unique_ptr<std::string> data = std::make_unique<std::string>(std::to_string(i)); in TEST_F() 417 std::unique_ptr<std::string> data = std::make_unique<std::string>(std::to_string(i)); in TEST_F() 459 std::unique_ptr<std::string> data = std::make_unique<std::string>(std::to_string(i)); in TEST_F() [all …]
|
/system/core/libunwindstack/tests/fuzz/ |
D | UnwinderComponentCreator.cpp | 22 std::unique_ptr<unwindstack::RegsArm> regs = std::make_unique<unwindstack::RegsArm>(); in GetRegisters() 26 std::unique_ptr<unwindstack::RegsArm64> regs = std::make_unique<unwindstack::RegsArm64>(); in GetRegisters() 30 std::unique_ptr<unwindstack::RegsX86> regs = std::make_unique<unwindstack::RegsX86>(); in GetRegisters() 34 std::unique_ptr<unwindstack::RegsX86_64> regs = std::make_unique<unwindstack::RegsX86_64>(); in GetRegisters() 38 std::unique_ptr<unwindstack::RegsMips> regs = std::make_unique<unwindstack::RegsMips>(); in GetRegisters() 42 std::unique_ptr<unwindstack::RegsMips64> regs = std::make_unique<unwindstack::RegsMips64>(); in GetRegisters() 47 std::unique_ptr<unwindstack::RegsX86_64> regs = std::make_unique<unwindstack::RegsX86_64>(); in GetRegisters() 113 std::unique_ptr<Maps> maps = std::make_unique<Maps>(); in GetMaps() 352 return std::make_unique<DexFiles>(memory); in GetDexFiles() 355 return std::make_unique<DexFiles>(memory, search_libs); in GetDexFiles()
|
/system/bt/gd/os/ |
D | alarm_benchmark.cc | 38 thread_ = std::make_unique<Thread>("timer_benchmark", Thread::Priority::REAL_TIME); in SetUp() 39 handler_ = std::make_unique<Handler>(thread_.get()); in SetUp() 40 alarm_ = std::make_unique<Alarm>(handler_.get()); in SetUp() 41 repeating_alarm_ = std::make_unique<RepeatingAlarm>(handler_.get()); in SetUp()
|
/system/security/keystore/include/keystore/ |
D | KeystoreResponse.h | 34 : response_code_(response_code), error_msg_(std::make_unique<String16>(error_msg)) {} in KeystoreResponse() 43 error_msg_ = std::make_unique<String16>(*other.error_msg_); in KeystoreResponse()
|
/system/bt/gd/packet/ |
D | raw_builder_unittest.cc | 47 std::unique_ptr<RawBuilder> count_builder = std::make_unique<RawBuilder>(); in TEST() 70 std::unique_ptr<RawBuilder> count_builder = std::make_unique<RawBuilder>(count_first); in TEST() 91 std::unique_ptr<RawBuilder> count_builder = std::make_unique<RawBuilder>(kMaxBytes); in TEST()
|
D | fragmenting_inserter.cc | 26 …: BitInserter(to_construct_bit_inserter_), mtu_(mtu), curr_packet_(std::make_unique<RawBuilder>(mt… in FragmentingInserter() 39 curr_packet_ = std::make_unique<RawBuilder>(mtu_); in insert_bits()
|
/system/bt/osi/test/ |
D | alarm_mock.h | 30 localAlarmMock = std::make_unique<AlarmMock>(); in Get() 35 static inline void Reset() { localAlarmMock = std::make_unique<AlarmMock>(); } in Reset()
|
/system/core/libprocessgroup/profiles/ |
D | test_vendor.cpp | 38 return std::make_unique<T>(); in CreateMessage() 52 return [path]() { return std::make_unique<TestConfig<T>>(path); }; in MakeTestParam()
|
/system/core/init/ |
D | init_test.cpp | 51 std::make_unique<ServiceParser>(service_list, nullptr, std::nullopt)); in TestInit() 52 parser.AddSectionParser("on", std::make_unique<ActionParser>(&am, nullptr)); in TestInit() 53 parser.AddSectionParser("import", std::make_unique<ImportParser>(&parser)); in TestInit() 113 parser.AddSectionParser("on", std::make_unique<ActionParser>(&am, nullptr)); in TEST() 265 std::make_unique<ServiceParser>(&service_list, nullptr, std::nullopt)); in TEST()
|
/system/security/keystore/tests/ |
D | aaid_truncation_test.cpp | 81 return std::make_unique<KeyAttestationPackageInfo>( in make_package_info_with_signatures() 114 signatures.push_back(std::make_unique<Signature>(dummy_sig_data)); in TEST() 134 signatures.push_back(std::make_unique<Signature>(dummy_sig_data)); in TEST()
|
/system/core/fs_mgr/libsnapshot/ |
D | snapuserd.cpp | 55 auto buf = std::make_unique<char>(buf_size); in daemon_main() 69 buf = std::make_unique<char>(buf_size); in daemon_main() 90 buf = std::make_unique<char>(buf_size); in daemon_main()
|
/system/connectivity/wifilogd/ |
D | main_loop.cpp | 38 : MainLoop(socket_name, std::make_unique<Os>(), in MainLoop() 39 std::make_unique<CommandProcessor>(kMainBufferSizeBytes)) {} in MainLoop()
|
/system/core/fs_mgr/libvbmeta/ |
D | reader.cpp | 60 std::make_unique<uint8_t[]>(SUPER_VBMETA_HEADER_SIZE); in ReadVBMetaTable() 73 std::make_unique<uint8_t[]>(table->header.descriptors_size); in ReadVBMetaTable() 97 std::unique_ptr<uint8_t[]> buffer = std::make_unique<uint8_t[]>(VBMETA_IMAGE_MAX_SIZE); in ReadVBMetaImage()
|
/system/bt/common/test/ |
D | thread_performance_test.cc | 53 set_up_promise_ = std::make_unique<std::promise<void>>(); in SetUp() 119 g_counter_promise = std::make_unique<std::promise<void>>(); in TEST_F() 164 g_counter_promise = std::make_unique<std::promise<void>>(); in TEST_F() 209 g_counter_promise = std::make_unique<std::promise<void>>(); in TEST_F() 250 g_counter_promise = std::make_unique<std::promise<void>>(); in TEST_F() 300 g_counter_promise = std::make_unique<std::promise<void>>(); in TEST_F() 348 g_counter_promise = std::make_unique<std::promise<void>>(); in TEST_F()
|
/system/bt/gd/dumpsys/ |
D | filter_test.cc | 46 test_data_classes_.push_back(std::make_unique<BarTestDataClass>()); in SetUp() 47 test_data_classes_.push_back(std::make_unique<BazTestDataClass>()); in SetUp() 48 test_data_classes_.push_back(std::make_unique<FooTestDataClass>()); in SetUp() 49 test_data_classes_.push_back(std::make_unique<QuxTestDataClass>()); in SetUp()
|
/system/update_engine/payload_consumer/ |
D | download_action_unittest.cc | 158 auto feeder_action = std::make_unique<ObjectFeederAction<InstallPlan>>(); in TestWithData() 165 std::make_unique<DownloadAction>(&prefs, in TestWithData() 274 auto feeder_action = std::make_unique<ObjectFeederAction<InstallPlan>>(); in TEST() 281 std::make_unique<DownloadAction>(&prefs, in TEST() 363 auto feeder_action = std::make_unique<ObjectFeederAction<InstallPlan>>(); in TestTerminateEarly() 369 auto download_action = std::make_unique<DownloadAction>( in TestTerminateEarly() 477 auto feeder_action = std::make_unique<ObjectFeederAction<InstallPlan>>(); in TEST() 482 std::make_unique<DownloadAction>(&prefs, in TEST() 490 auto test_action = std::make_unique<DownloadActionTestAction>(); in TEST() 563 auto feeder_action = std::make_unique<ObjectFeederAction<InstallPlan>>(); in StartDownload() [all …]
|
/system/core/adb/ |
D | transport_benchmark.cpp | 45 auto fd_connection = std::make_unique<FdConnection>(std::move(fd)); in MakeConnection() 46 return std::make_unique<BlockingConnectionAdapter>(std::move(fd_connection)); in MakeConnection() 82 std::unique_ptr<apacket> packet = std::make_unique<apacket>(); in BM_Connection_Unidirectional() 156 std::unique_ptr<apacket> packet = std::make_unique<apacket>(); in BM_Connection_Echo()
|