/system/tools/aidl/ |
D | type_java.cpp | 249 Add(std::make_unique<BasicType>(this, "void", "XXX", "XXX", "XXX", "XXX", "XXX")); in Init() 251 AddAndSetMember(&m_bool_type, std::make_unique<BooleanType>(this)); in Init() 253 Add(std::make_unique<BasicType>(this, "byte", "writeByte", "readByte", "writeByteArray", in Init() 256 Add(std::make_unique<CharType>(this)); in Init() 259 std::make_unique<BasicType>(this, "int", "writeInt", "readInt", "writeIntArray", in Init() 262 Add(std::make_unique<BasicType>(this, "long", "writeLong", "readLong", "writeLongArray", in Init() 265 Add(std::make_unique<BasicType>(this, "float", "writeFloat", "readFloat", "writeFloatArray", in Init() 268 Add(std::make_unique<BasicType>(this, "double", "writeDouble", "readDouble", "writeDoubleArray", in Init() 271 AddAndSetMember(&m_string_type, std::make_unique<class StringType>(this, "java.lang", "String")); in Init() 272 Add(std::make_unique<class StringType>(this, ::android::aidl::kAidlReservedTypePackage, in Init() [all …]
|
D | type_cpp.cpp | 368 Add(std::make_unique<ByteType>()); in Init() 369 Add(std::make_unique<PrimitiveType>("int", "cstdint", "int32_t", "readInt32", "writeInt32", in Init() 371 Add(std::make_unique<PrimitiveType>("long", "cstdint", "int64_t", "readInt64", "writeInt64", in Init() 373 Add(std::make_unique<PrimitiveType>("float", kNoHeader, "float", "readFloat", "writeFloat", in Init() 375 Add(std::make_unique<PrimitiveType>("double", kNoHeader, "double", "readDouble", "writeDouble", in Init() 377 Add(std::make_unique<PrimitiveType>("boolean", kNoHeader, "bool", "readBool", "writeBool", in Init() 380 Add(std::make_unique<PrimitiveType>("char", kNoHeader, "char16_t", "readChar", "writeChar", in Init() 395 std::make_unique<Type>(ValidatableType::KIND_BUILT_IN, "java.lang", "String", in Init() 415 Add(std::make_unique<Type>(ValidatableType::KIND_BUILT_IN, kAidlReservedTypePackage, in Init() 426 std::make_unique<Type>(ValidatableType::KIND_BUILT_IN, "android.os", "IBinder", in Init() [all …]
|
/system/bt/vendor_libs/test_vendor_lib/packets/test/ |
D | counted_builder_test.cc | 45 std::unique_ptr<CountedBuilder> count_builder = std::make_unique<CountedBuilder>(); in TEST() 47 std::unique_ptr<RawBuilder> raw1 = std::make_unique<RawBuilder>(); in TEST() 48 std::unique_ptr<RawBuilder> raw2 = std::make_unique<RawBuilder>(); in TEST() 49 std::unique_ptr<RawBuilder> raw3 = std::make_unique<RawBuilder>(); in TEST() 50 std::unique_ptr<RawBuilder> raw4 = std::make_unique<RawBuilder>(); in TEST() 51 std::unique_ptr<RawBuilder> raw5 = std::make_unique<RawBuilder>(); in TEST() 52 std::unique_ptr<RawBuilder> raw6 = std::make_unique<RawBuilder>(); in TEST() 53 std::unique_ptr<RawBuilder> raw7 = std::make_unique<RawBuilder>(); in TEST()
|
/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() 43 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()
|
D | update_attempter.cc | 626 auto update_check_fetcher = std::make_unique<LibcurlHttpFetcher>( in BuildUpdateActions() 632 auto update_check_action = std::make_unique<OmahaRequestAction>( in BuildUpdateActions() 635 std::make_unique<OmahaResponseHandlerAction>(system_state_); in BuildUpdateActions() 637 std::make_unique<UpdateBootFlagsAction>(system_state_->boot_control()); in BuildUpdateActions() 638 auto download_started_action = std::make_unique<OmahaRequestAction>( in BuildUpdateActions() 641 std::make_unique<LibcurlHttpFetcher>(GetProxyResolver(), in BuildUpdateActions() 651 std::make_unique<DownloadAction>(prefs_, in BuildUpdateActions() 659 auto download_finished_action = std::make_unique<OmahaRequestAction>( in BuildUpdateActions() 662 std::make_unique<LibcurlHttpFetcher>(GetProxyResolver(), in BuildUpdateActions() 666 std::make_unique<FilesystemVerifierAction>(); in BuildUpdateActions() [all …]
|
D | metrics_reporter_stub.cc | 26 return std::make_unique<MetricsReporterStub>(); in CreateMetricsReporter()
|
/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/core/adb/ |
D | transport_fd.cpp | 96 auto block = std::make_unique<IOVector::block_type>(MAX_PAYLOAD); in Run() 111 read_header_ = std::make_unique<amessage>(); in Run() 120 auto packet = std::make_unique<apacket>(); in Run() 202 auto header_block = std::make_unique<IOVector::block_type>(header_begin, header_end); in Write() 205 … write_buffer_.append(std::make_unique<IOVector::block_type>(std::move(packet->payload))); in Write() 236 return std::make_unique<NonblockingFdConnection>(std::move(fd)); in FromFd()
|
D | types_test.cpp | 23 return std::make_unique<IOVector::block_type>(string.begin(), string.end()); in create_block() 27 auto block = std::make_unique<IOVector::block_type>(); in create_block() 35 auto copy = std::make_unique<IOVector::block_type>(); in copy_block()
|
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()
|
/system/core/libion/tests/ |
D | device_test.cpp | 137 auto alloc_ptr = std::make_unique<char[]>(8192 + 1024); in TEST_F() 169 auto alloc_ptr = std::make_unique<char[]>(8192 + 1024); in TEST_F() 201 auto alloc_ptr = std::make_unique<char[]>(8192 + 1024); in TEST_F() 231 auto alloc_ptr = std::make_unique<char[]>(8192 + 1024); in TEST_F() 263 auto alloc_ptr = std::make_unique<char[]>(8192 + 1024); in TEST_F() 295 auto alloc_ptr = std::make_unique<char[]>(8192 + 1024); in TEST_F() 327 auto alloc_ptr = std::make_unique<char[]>(8192 + 1024); in TEST_F() 359 auto alloc_ptr = std::make_unique<char[]>(8192 + 1024); in TEST_F() 392 auto alloc_ptr = std::make_unique<char[]>(8192 + 1024); in TEST_F() 424 auto alloc_ptr = std::make_unique<char[]>(8192 + 1024); in TEST_F() [all …]
|
/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/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/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/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/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/init/ |
D | host_init_verifier.cpp | 145 parser.AddSectionParser("service", std::make_unique<ServiceParser>(&sl, nullptr)); in main() 146 parser.AddSectionParser("on", std::make_unique<ActionParser>(&am, nullptr)); in main() 147 parser.AddSectionParser("import", std::make_unique<HostImportParser>()); in main()
|
D | ueventd.cpp | 245 uevent_handlers.emplace_back(std::make_unique<DeviceHandler>( in ueventd_main() 249 uevent_handlers.emplace_back(std::make_unique<FirmwareHandler>( in ueventd_main() 253 uevent_handlers.emplace_back(std::make_unique<ModaliasHandler>()); in ueventd_main()
|
/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() 299 g_counter_promise = std::make_unique<std::promise<void>>(); in TEST_F() 347 g_counter_promise = std::make_unique<std::promise<void>>(); in TEST_F()
|
/system/bt/gd/os/ |
D | alarm_benchmark.cc | 36 thread_ = std::make_unique<Thread>("timer_benchmark", Thread::Priority::REAL_TIME); in SetUp() 37 alarm_ = std::make_unique<Alarm>(thread_.get()); in SetUp() 38 repeating_alarm_ = std::make_unique<RepeatingAlarm>(thread_.get()); 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/libprocessgroup/ |
D | task_profiles.cpp | 340 attributes_[name] = std::make_unique<ProfileAttribute>(controller, file_attr); in Load() 357 auto profile = std::make_unique<TaskProfile>(); in Load() 369 profile->Add(std::make_unique<SetCgroupAction>(controller, path)); in Load() 380 profile->Add(std::make_unique<SetTimerSlackAction>(slack)); in Load() 391 std::make_unique<SetAttributeAction>(iter->second.get(), attr_value)); in Load() 405 profile->Add(std::make_unique<SetClampsAction>(boost, clamp)); in Load()
|
/system/connectivity/wifilogd/tests/ |
D | mock_command_processor.cpp | 34 std::make_unique<::testing::StrictMock<MockOs>>()) {} in MockCommandProcessor()
|
D | main_loop_unittest.cpp | 51 main_loop_ = std::make_unique<MainLoop>( in MainLoopTest() 126 auto os = std::make_unique<StrictMock<MockOs>>(); in TEST_F() 127 auto command_processor = std::make_unique<StrictMock<MockCommandProcessor>>(); in TEST_F()
|