Home
last modified time | relevance | path

Searched refs:move (Results 1 – 25 of 892) sorted by relevance

12345678910>>...36

/system/bt/gd/storage/
Dmutation_entry.h38 … property_type, std::move(section_param), std::move(property_param), std::to_string(value_param)); in Set()
47 std::move(section_param), in Set()
48 std::move(property_param), in Set()
56 …property_type, std::move(section_param), std::move(property_param), common::ToString(value_param)); in Set()
63 property_type, std::move(section_param), std::move(property_param), std::move(value_param)); in Set()
70 …property_type, std::move(section_param), std::move(property_param), value_param.ToLegacyConfigStri… in Set()
87 …property_type, std::move(section_param), std::move(property_param), common::StringJoin(str_values,… in Set()
93 …EntryType::SET, property_type, std::move(section_param), std::move(property_param), std::move(valu… in Set()
97 return MutationEntry(EntryType::REMOVE_SECTION, property_type, std::move(section_param)); in Remove()
102 … EntryType::REMOVE_PROPERTY, property_type, std::move(section_param), std::move(property_param)); in Remove()
/system/bt/gd/security/test/
Dfake_hci_layer.h48 …: command(std::move(command_packet)), waiting_for_status_(false), on_complete(std::move(on_complet… in CommandQueueEntry()
52 …: command(std::move(command_packet)), waiting_for_status_(true), on_status(std::move(on_status_fun… in CommandQueueEntry()
66 …auto command_queue_entry = std::make_unique<CommandQueueEntry>(std::move(command), std::move(on_st… in EnqueueCommand()
67 command_queue_.push(std::move(command_queue_entry)); in EnqueueCommand()
72 …auto command_queue_entry = std::make_unique<CommandQueueEntry>(std::move(command), std::move(on_co… in EnqueueCommand()
73 command_queue_.push(std::move(command_queue_entry)); in EnqueueCommand()
78 auto last = std::move(command_queue_.front()); in GetLastCommand()
93 auto packet = GetPacketView(std::move(event_builder)); in IncomingEvent()
/system/bt/gd/security/channel/
Dsecurity_manager_channel_unittest.cc274 channel_->SendCommand(std::move(packet)); in TEST_F()
275 auto last_command = std::move(hci_layer_->GetLastCommand()->command); in TEST_F()
276 auto command_packet = GetPacketView(std::move(last_command)); in TEST_F()
290 channel_->SendCommand(std::move(packet)); in TEST_F()
291 auto last_command = std::move(hci_layer_->GetLastCommand()->command); in TEST_F()
292 auto command_packet = GetPacketView(std::move(last_command)); in TEST_F()
323 channel_->SendCommand(std::move(packet)); in TEST_F()
324 auto last_command = std::move(hci_layer_->GetLastCommand()->command); in TEST_F()
325 auto command_packet = GetPacketView(std::move(last_command)); in TEST_F()
338 channel_->SendCommand(std::move(packet)); in TEST_F()
[all …]
/system/core/adb/
Dtypes.cpp19 IOVector& IOVector::operator=(IOVector&& move) noexcept { in operator =() argument
20 chain_ = std::move(move.chain_); in operator =()
21 chain_length_ = move.chain_length_; in operator =()
22 begin_offset_ = move.begin_offset_; in operator =()
23 start_index_ = move.start_index_; in operator =()
25 move.clear(); in operator =()
35 res = std::move(chain_.back()); in clear()
70 return std::move(*this); in take_front()
80 res.append(std::move(chain_[start_index_])); in take_front()
98 res.append(std::move(block)); in take_front()
[all …]
Dtypes.h45 Block(Block&& move) noexcept in Block()
46 : data_(std::exchange(move.data_, nullptr)), in Block()
47 capacity_(std::exchange(move.capacity_, 0)), in Block()
48 size_(std::exchange(move.size_, 0)) {} in Block()
51 Block& operator=(Block&& move) noexcept {
53 data_ = std::exchange(move.data_, nullptr);
54 capacity_ = std::exchange(move.capacity_, 0);
55 size_ = std::exchange(move.size_, 0);
145 explicit IOVector(block_type&& block) { append(std::move(block)); } in IOVector()
148 IOVector(IOVector&& move) noexcept : IOVector() { *this = std::move(move); } in IOVector()
[all …]
/system/bt/gd/l2cap/classic/
Ddynamic_channel_manager.cc34 .on_open_callback_ = std::move(on_connection_open), in ConnectChannel()
35 .on_fail_callback_ = std::move(on_fail_callback), in ConnectChannel()
39 …link_manager_, &internal::LinkManager::ConnectDynamicChannelServices, device, std::move(pending_co… in ConnectChannel()
50 .on_registration_complete_callback_ = std::move(on_registration_complete), in RegisterService()
51 .on_connection_open_callback_ = std::move(on_connection_open), in RegisterService()
55 …service_manager_, &internal::DynamicChannelServiceManagerImpl::Register, psm, std::move(pending_re… in RegisterService()
Dfixed_channel_manager.cc30 .on_fail_callback_ = std::move(on_fail_callback), in ConnectServices()
34 std::move(pending_fixed_channel_connection))); in ConnectServices()
42 .on_registration_complete_callback_ = std::move(on_registration_complete), in RegisterService()
43 .on_connection_open_callback_ = std::move(on_connection_open)}; in RegisterService()
46 std::move(pending_registration))); in RegisterService()
/system/bt/gd/l2cap/le/internal/
Dfixed_channel_service_manager_impl.cc34 common::BindOnce(std::move(pending_registration.on_registration_complete_callback_), in Register()
35 … FixedChannelManager::RegistrationResult::FAIL_INVALID_SERVICE, std::move(invalid_service))); in Register()
39 common::BindOnce(std::move(pending_registration.on_registration_complete_callback_), in Register()
40 … FixedChannelManager::RegistrationResult::FAIL_DUPLICATE_SERVICE, std::move(invalid_service))); in Register()
44 … std::move(pending_registration.on_connection_open_callback_))); in Register()
47 common::BindOnce(std::move(pending_registration.on_registration_complete_callback_), in Register()
48 … FixedChannelManager::RegistrationResult::SUCCESS, std::move(user_service))); in Register()
56 handler->Post(std::move(callback)); in Unregister()
Ddynamic_channel_service_manager_impl.cc34 common::BindOnce(std::move(pending_registration.on_registration_complete_callback_), in Register()
35 … DynamicChannelManager::RegistrationResult::FAIL_INVALID_SERVICE, std::move(invalid_service))); in Register()
39 std::move(pending_registration.on_registration_complete_callback_), in Register()
40 … DynamicChannelManager::RegistrationResult::FAIL_DUPLICATE_SERVICE, std::move(invalid_service))); in Register()
44 std::move(pending_registration.on_connection_open_callback_), in Register()
48 common::BindOnce(std::move(pending_registration.on_registration_complete_callback_), in Register()
49 … DynamicChannelManager::RegistrationResult::SUCCESS, std::move(user_service))); in Register()
57 handler->Post(std::move(callback)); in Unregister()
/system/keymaster/include/keymaster/km_openssl/
Drsa_operation.h39 : Operation(purpose, move(hw_enforced), move(sw_enforced)), rsa_key_(key), in RsaOperation()
94 : RsaDigestingOperation(move(hw_enforced), move(sw_enforced), KM_PURPOSE_SIGN, digest, in RsaSignOperation()
118 : RsaDigestingOperation(move(hw_enforced), move(sw_enforced), KM_PURPOSE_VERIFY, digest, in RsaVerifyOperation()
143 : RsaOperation(move(hw_enforced), move(sw_enforced), purpose, digest, padding, key) {} in RsaCryptOperation()
160 : RsaCryptOperation(move(hw_enforced), move(sw_enforced), KM_PURPOSE_ENCRYPT, digest, in RsaEncryptOperation()
174 : RsaCryptOperation(move(hw_enforced), move(sw_enforced), KM_PURPOSE_DECRYPT, digest, in RsaDecryptOperation()
192 return OperationPtr(CreateRsaOperation(move(key), begin_params, error)); in CreateOperation()
237 RsaSignOperation(move(hw_enforced), move(sw_enforced), digest, padding, key); in InstantiateOperation()
250 RsaVerifyOperation(move(hw_enforced), move(sw_enforced), digest, padding, key); in InstantiateOperation()
263 RsaEncryptOperation(move(hw_enforced), move(sw_enforced), digest, padding, key); in InstantiateOperation()
[all …]
Decdsa_operation.h34 : Operation(purpose, move(hw_enforced), move(sw_enforced)), digest_(digest), in EcdsaOperation()
57 : EcdsaOperation(move(hw_enforced), move(sw_enforced), KM_PURPOSE_SIGN, digest, key) {} in EcdsaSignOperation()
72 : EcdsaOperation(move(hw_enforced), move(sw_enforced), KM_PURPOSE_VERIFY, digest, key) {} in EcdsaVerifyOperation()
102 EcdsaSignOperation(move(hw_enforced), move(sw_enforced), digest, key); in InstantiateOperation()
112 EcdsaVerifyOperation(move(hw_enforced), move(sw_enforced), digest, key); in InstantiateOperation()
Dec_key.h33 : AsymmetricKey(move(hw_enforced), move(sw_enforced), key_factory) {} in EcKey()
44 : AsymmetricKey(move(hw_enforced), move(sw_enforced), key_factory), ec_key_(ec_key) {} in EcKey()
/system/core/adb/client/
Dincremental.cpp66 return {std::move(fd), std::move(invalid_signature)}; in read_signature()
75 return {std::move(fd), std::move(invalid_signature)}; in read_signature()
78 return {std::move(fd), std::move(signature)}; in read_signature()
87 auto [fd, signature] = read_signature(file_size, std::move(signature_file), silent); in read_and_encode_signature()
89 return {std::move(fd), std::move(encoded_signature)}; in read_and_encode_signature()
97 return {std::move(fd), std::move(encoded_signature)}; in read_and_encode_signature()
104 return {std::move(fd), std::move(encoded_signature)}; in read_and_encode_signature()
131 command_args.push_back(std::move(file_desc)); in start_install()
191 std::vector<std::string> args(std::move(files)); in install()
194 adb_launch_process(adb_path, std::move(args), {connection_fd.get(), pipe_write_fd}); in install()
/system/bt/gd/l2cap/le/
Ddynamic_channel_manager.cc33 .on_open_callback_ = std::move(on_connection_open), in ConnectChannel()
34 .on_fail_callback_ = std::move(on_fail_callback), in ConnectChannel()
39 std::move(pending_dynamic_channel_connection), psm)); in ConnectChannel()
51 .on_registration_complete_callback_ = std::move(on_registration_complete), in RegisterService()
52 .on_connection_open_callback_ = std::move(on_connection_open), in RegisterService()
57 std::move(pending_registration))); in RegisterService()
Dfixed_channel_manager.cc30 .on_fail_callback_ = std::move(on_fail_callback), in ConnectServices()
34 std::move(pending_fixed_channel_connection))); in ConnectServices()
42 .on_registration_complete_callback_ = std::move(on_registration_complete), in RegisterService()
43 .on_connection_open_callback_ = std::move(on_connection_open)}; in RegisterService()
46 std::move(pending_registration))); in RegisterService()
/system/tools/aidl/
Dast_cpp_unittest.cpp110 test_methods.push_back(std::move(norm)); in TEST_F()
111 test_methods.push_back(std::move(sub)); in TEST_F()
114 test_sub_methods.push_back(std::move(sub2)); in TEST_F()
117 std::move(test_methods), {} }}; in TEST_F()
120 "TestClass", std::move(test_sub_methods), {} }}; in TEST_F()
123 classes.push_back(std::move(test)); in TEST_F()
124 classes.push_back(std::move(test_sub)); in TEST_F()
127 std::move(classes)}}; in TEST_F()
130 test_ns_vec.push_back(std::move(test_ns)); in TEST_F()
133 std::move(test_ns_vec) }}; in TEST_F()
[all …]
/system/incremental_delivery/libdataloader/include/
Ddataloader_inline.h24 DataLoaderImpl(DataLoaderPtr&& dataLoader) : mDataLoader(std::move(dataLoader)) { in DataLoaderImpl()
61 return DataLoaderParams(type, std::move(packageName), std::move(className), in createParams()
62 std::move(arguments)); in createParams()
70 return DataLoaderInstallationFile(location, std::move(name), size, std::move(metadata)); in createInstallationFile()
90 result = new DataLoaderImpl(std::move(dataLoader)); in DataLoaderFactoryImpl()
102 DataLoader_Initialize(new details::DataLoaderFactoryImpl(std::move(factory))); in initialize()
108 mPackageName(std::move(packageName)), in DataLoaderParams()
109 mClassName(std::move(className)), in DataLoaderParams()
110 mArguments(std::move(arguments)) {} in DataLoaderParams()
115 : mLocation(location), mName(std::move(name)), mSize(size), mMetadata(std::move(metadata)) {} in DataLoaderInstallationFile()
/system/linkerconfig/modules/tests/
Dconfiguration_test.cc111 Section system_section("system", std::move(system_namespaces)); in TEST()
112 sections.emplace_back(std::move(system_section)); in TEST()
119 Section vendor_section("vendor", std::move(vendor_namespaces)); in TEST()
120 sections.emplace_back(std::move(vendor_section)); in TEST()
122 Configuration conf(std::move(sections), dir_to_sections); in TEST()
/system/bt/gd/l2cap/classic/internal/
Dfixed_channel_service_manager_impl.cc34 common::BindOnce(std::move(pending_registration.on_registration_complete_callback_), in Register()
35 … FixedChannelManager::RegistrationResult::FAIL_INVALID_SERVICE, std::move(invalid_service))); in Register()
39 common::BindOnce(std::move(pending_registration.on_registration_complete_callback_), in Register()
40 … FixedChannelManager::RegistrationResult::FAIL_DUPLICATE_SERVICE, std::move(invalid_service))); in Register()
44 … std::move(pending_registration.on_connection_open_callback_))); in Register()
47 common::BindOnce(std::move(pending_registration.on_registration_complete_callback_), in Register()
48 … FixedChannelManager::RegistrationResult::SUCCESS, std::move(user_service))); in Register()
56 handler->Post(std::move(callback)); in Unregister()
/system/bt/gd/l2cap/internal/
Denhanced_retransmission_mode_channel_data_controller_test.cc83 auto view = GetPacketView(std::move(next_packet)); in TEST_F()
104 … SegmentationAndReassembly::UNSEGMENTED, std::move(segment)); in TEST_F()
105 auto base_view = GetPacketView(std::move(builder)); in TEST_F()
122 …r1 = EnhancedInformationStartFrameBuilder::Create(1, 0, Final::NOT_SET, 0, 6, std::move(segment1)); in TEST_F()
123 auto base_view = GetPacketView(std::move(builder1)); in TEST_F()
126 … SegmentationAndReassembly::CONTINUATION, std::move(segment2)); in TEST_F()
127 base_view = GetPacketView(std::move(builder2)); in TEST_F()
130 std::move(segment3)); in TEST_F()
131 base_view = GetPacketView(std::move(builder3)); in TEST_F()
148 …1 = EnhancedInformationStartFrameBuilder::Create(1, 0, Final::NOT_SET, 0, 10, std::move(segment1)); in TEST_F()
[all …]
Dle_credit_based_channel_data_controller_test.cc32 return std::make_unique<packet::RawBuilder>(std::move(payload)); in CreateSdu()
82 auto view = GetPacketView(std::move(next_packet)); in TEST_F()
104 auto view = GetPacketView(std::move(next_packet)); in TEST_F()
116 view = GetPacketView(std::move(next_packet)); in TEST_F()
131 auto builder = FirstLeInformationFrameBuilder::Create(0x41, 4, std::move(segment)); in TEST_F()
132 auto base_view = GetPacketView(std::move(builder)); in TEST_F()
148 auto builder1 = FirstLeInformationFrameBuilder::Create(0x41, 7, std::move(segment1)); in TEST_F()
149 auto base_view = GetPacketView(std::move(builder1)); in TEST_F()
152 auto builder2 = BasicFrameBuilder::Create(0x41, std::move(segment2)); in TEST_F()
153 base_view = GetPacketView(std::move(builder2)); in TEST_F()
[all …]
/system/keymaster/include/keymaster/
Dkey.h56 AuthorizationSet&& hw_enforced_move() { return move(hw_enforced_); } in hw_enforced_move()
57 AuthorizationSet&& sw_enforced_move() { return move(sw_enforced_); } in sw_enforced_move()
58 KeymasterKeyBlob&& key_material_move() { return move(key_material_); } in key_material_move()
66 : hw_enforced_(move(hw_enforced)), sw_enforced_(move(sw_enforced)), in Key()
/system/linkerconfig/modules/include/linkerconfig/
Dapex.h41 : name(std::move(name)), in ApexInfo()
42 path(std::move(path)), in ApexInfo()
43 provide_libs(std::move(provide_libs)), in ApexInfo()
44 require_libs(std::move(require_libs)), in ApexInfo()
45 jni_libs(std::move(jni_libs)), in ApexInfo()
/system/iorap/src/common/
Dexpected.h116 noexcept(T(std::move(other.right_))) &&
117 noexcept(E(std::move(other.error_)))
122 new (&right_) T(std::move(other.right_));
124 new (&error_) E(std::move(other.error_));
180 new (&right_) T(std::move(other.right_));
182 right_ = std::move(other.right_);
187 new (&error_) E(std::move(other.error_));
189 error_ = std::move(other.error_);
269 constexpr expected(T&& value) : data_{std::move(value), detail::expected_tag_right{}} {}
271 constexpr expected(E&& error) : data_{std::move(error), detail::expected_tag_error{}} {}
[all …]
/system/bt/common/
Donce_timer.cc46 task_ = std::move(task); in Schedule()
69 CancelHelper(std::move(promise)); in Cancel()
76 CancelHelper(std::move(promise)); in CancelAndWait()
89 CancelClosure(std::move(promise)); in CancelHelper()
94 base::Unretained(this), std::move(promise))); in CancelHelper()
101 std::move(task_); in CancelClosure()
124 std::move(task_).Run(); in RunTask()

12345678910>>...36