Home
last modified time | relevance | path

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

12345678910>>...25

/system/core/adb/
Dtypes.h44 Block(Block&& move) noexcept { in Block()
45 std::swap(data_, move.data_); in Block()
46 std::swap(capacity_, move.capacity_); in Block()
47 std::swap(size_, move.size_); in Block()
51 Block& operator=(Block&& move) noexcept {
54 std::swap(data_, move.data_);
55 std::swap(capacity_, move.capacity_);
56 std::swap(size_, move.size_);
148 append(std::move(block)); in IOVector()
152 IOVector(IOVector&& move) noexcept : IOVector() { *this = std::move(move); } in IOVector()
[all …]
/system/core/init/
Dresult.h98 os << std::move(t.error_string);
110 return std::move(*this);
116 return std::move(*this);
120 ss_ << std::move(result_error.error_string);
122 return std::move(*this);
170 : contents_(std::in_place_index_t<1>(), std::move(result_error.error_string), in Result()
179 T&& value() && { return std::get<0>(std::move(contents_)); } in value()
180 const T&& value() const && { return std::get<0>(std::move(contents_)); } in value()
183 ResultError&& error() && { return std::get<1>(std::move(contents_)); } in error()
184 const ResultError&& error() const && { return std::get<1>(std::move(contents_)); } in error()
[all …]
/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()
238 RsaSignOperation(move(hw_enforced), move(sw_enforced), digest, padding, key); in InstantiateOperation()
251 RsaVerifyOperation(move(hw_enforced), move(sw_enforced), digest, padding, key); in InstantiateOperation()
264 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()
Drsa_key.h30 : AsymmetricKey(move(hw_enforced), move(sw_enforced), key_factory) {} in RsaKey()
47 : AsymmetricKey(move(hw_enforced), move(sw_enforced), key_factory), rsa_key_(rsa) {} in RsaKey()
/system/bt/vendor_libs/test_vendor_lib/packets/link_layer/
Dlink_layer_packet_builder.cc33 : type_(type), source_addr_(source), dest_addr_(Address::kEmpty), builder_(std::move(packet)) {} in LinkLayerPacketBuilder()
37 : type_(type), source_addr_(source), dest_addr_(dest), builder_(std::move(packet)) {} in LinkLayerPacketBuilder()
42 new LinkLayerPacketBuilder(Link::PacketType::ACL, std::move(acl), source, dest)); in WrapAcl()
49 new LinkLayerPacketBuilder(Link::PacketType::COMMAND, std::move(command), source, dest)); in WrapCommand()
55 … new LinkLayerPacketBuilder(Link::PacketType::DISCONNECT, std::move(disconnect), source, dest)); in WrapDisconnect()
61 …new LinkLayerPacketBuilder(Link::PacketType::ENCRYPT_CONNECTION, std::move(encrypt_connection), so… in WrapEncryptConnection()
67 Link::PacketType::ENCRYPT_CONNECTION_RESPONSE, std::move(encrypt_connection), source, dest)); in WrapEncryptConnectionResponse()
73 new LinkLayerPacketBuilder(Link::PacketType::INQUIRY, std::move(inquiry), source)); in WrapInquiry()
79 …new LinkLayerPacketBuilder(Link::PacketType::INQUIRY_RESPONSE, std::move(inquiry_response), source… in WrapInquiryResponse()
85 …new LinkLayerPacketBuilder(Link::PacketType::IO_CAPABILITY_REQUEST, std::move(io_capability), sour… in WrapIoCapabilityRequest()
[all …]
/system/tools/aidl/
Dast_cpp_unittest.cpp117 test_methods.push_back(std::move(norm)); in TEST_F()
118 test_methods.push_back(std::move(sub)); in TEST_F()
121 test_sub_methods.push_back(std::move(sub2)); in TEST_F()
124 std::move(test_methods), {} }}; in TEST_F()
127 "TestClass", std::move(test_sub_methods), {} }}; in TEST_F()
130 classes.push_back(std::move(test)); in TEST_F()
131 classes.push_back(std::move(test_sub)); in TEST_F()
134 std::move(classes)}}; in TEST_F()
137 test_ns_vec.push_back(std::move(test_ns)); in TEST_F()
140 std::move(test_ns_vec) }}; in TEST_F()
[all …]
Dast_cpp.cpp53 public_members_(std::move(public_members)), in ClassDecl()
54 private_members_(std::move(private_members)) {} in ClassDecl()
84 public_members_.push_back(std::move(member)); in AddPublic()
88 private_members_.push_back(std::move(member)); in AddPrivate()
132 : arguments_(std::move(arg_list)) {} in ArgList()
134 ArgList::ArgList(ArgList&& arg_list) noexcept : arguments_(std::move(arg_list.arguments_)) {} in ArgList()
150 : ConstructorDecl(name, std::move(arg_list), 0u) {} in ConstructorDecl()
157 arguments_(std::move(arg_list)), in ConstructorDecl()
179 arguments_(std::move(arg_list)) {} in MacroDecl()
190 : MethodDecl(return_type, name, std::move(arg_list), 0u) {} in MethodDecl()
[all …]
/system/bt/vendor_libs/test_vendor_lib/packets/test/
Dcounted_builder_test.cc63 count_builder->Add(std::move(raw1)); in TEST()
64 count_builder->Add(std::move(raw2)); in TEST()
65 count_builder->Add(std::move(raw3)); in TEST()
66 count_builder->Add(std::move(raw4)); in TEST()
67 count_builder->Add(std::move(raw5)); in TEST()
68 count_builder->Add(std::move(raw6)); in TEST()
69 count_builder->Add(std::move(raw7)); in TEST()
/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/core/libutils/
DStrongPointer_test.cpp37 TEST(StrongPointer, move) { in TEST() argument
45 sp<SPFoo> sp2 = std::move(sp1); in TEST()
50 sp1 = std::move(sp2); in TEST()
55 sp<SPFoo> sp2 = std::move(sp1); in TEST()
/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()
/system/nvram/hal/
Dnvram_device_adapter.cpp42 request.payload.Activate<command>() = std::move(request_payload); in Execute()
53 *response_payload = std::move(*response_payload_ptr); in Execute()
66 device, std::move(get_info_request), &get_info_response); in device_get_total_size_in_bytes()
76 device, std::move(get_info_request), &get_info_response); in device_get_available_size_in_bytes()
86 device, std::move(get_info_request), &get_info_response); in device_get_max_space_size_in_bytes()
96 device, std::move(get_info_request), &get_info_response); in device_get_max_spaces()
108 device, std::move(get_info_request), &get_info_response); in device_get_space_list()
130 device, std::move(get_space_info_request), &get_space_info_response); in device_get_space_size()
144 device, std::move(get_space_info_request), &get_space_info_response); in device_get_space_controls()
167 device, std::move(get_space_info_request), &get_space_info_response); in device_is_space_locked()
[all …]
/system/security/keystore/
Dkeymaster_worker.cpp48 pending_requests_.push(std::move(request)); in addRequest()
55 auto request = std::move(pending_requests_.front()); in addRequest()
68 : keymasterDevice_(std::move(keymasterDevice)), operationMap_(keyStore), keyStore_(keyStore) { in KeymasterWorker()
132 blob = std::move(newBlob); in upgradeKeyBlob()
209 charBlob = std::move(newCharBlob); in createKeyCharacteristicsCache()
247 outBlob = std::move(keyBlob); in createKeyCharacteristicsCache()
248 charOutBlob = std::move(charBlob); in createKeyCharacteristicsCache()
301 return {rc, std::move(authToken)}; in getAuthToken()
334 #define CAPTURE_MOVE(x) x = std::move(x)
364 lockedEntry, clientId, appData, std::move(keyBlob), std::move(charBlob)); in begin()
[all …]
/system/bt/profile/avrcp/
Ddevice.cc86 send_message(label, false, std::move(response)); in VendorPacketHandler()
140 send_message(label, false, std::move(response)); in VendorPacketHandler()
166 send_message(label, false, std::move(response)); in VendorPacketHandler()
178 send_message(label, false, std::move(response)); in VendorPacketHandler()
191 send_message(label, false, std::move(response)); in HandleGetCapabilities()
200 send_message_cb_.Run(label, false, std::move(response)); in HandleGetCapabilities()
217 send_message(label, false, std::move(response)); in HandleGetCapabilities()
225 send_message(label, false, std::move(response)); in HandleGetCapabilities()
236 send_message(label, false, std::move(response)); in HandleNotification()
277 send_message(label, false, std::move(response)); in HandleNotification()
[all …]
/system/bt/profile/avrcp/tests/
Davrcp_device_test.cc126 Call(1, false, matchPacket(std::move(interim_response)))) in TEST_F()
139 Call(1, false, matchPacket(std::move(changed_response)))) in TEST_F()
168 Call(1, false, matchPacket(std::move(interim_response)))) in TEST_F()
182 Call(1, false, matchPacket(std::move(changed_response)))) in TEST_F()
212 Call(1, false, matchPacket(std::move(interim_response)))) in TEST_F()
226 Call(1, false, matchPacket(std::move(changed_response)))) in TEST_F()
265 Call(1, false, matchPacket(std::move(interim_response)))) in TEST_F()
270 Call(1, false, matchPacket(std::move(changed_response)))) in TEST_F()
315 Call(1, false, matchPacket(std::move(interim_response)))) in TEST_F()
321 Call(1, false, matchPacket(std::move(changed_response)))) in TEST_F()
[all …]
/system/security/keystore/include/keystore/
Dkeystore_concurrency.h34 : unlock_(std::move(unlock)), value_(value) {} in UnlockProxyLockHelper()
39 : unlock_(std::move(rhs.unlock_)), value_(rhs.value_) { in UnlockProxyLockHelper()
45 UnlockProxyLockHelper dummy(std::move(*this));
46 unlock_ = std::move(rhs.unlock_);
47 value_ = std::move(rhs.value_);
73 : lock_(std::move(lock)), value_(value) {} in MutexProxyLockHelper()
90 explicit ProxyLock(Implementation&& impl) : impl_(std::move(impl)) {} in ProxyLock()
/system/keymaster/legacy_support/
Dec_keymaster0_key.cpp109 …return super::LoadKey(move(key_material), additional_params, move(hw_enforced), move(sw_enforced),… in LoadKey()
116 EcKeymaster0Key(ec_key.release(), move(hw_enforced), move(sw_enforced), this)); in LoadKey()
120 (*key)->key_material() = move(key_material); in LoadKey()
Drsa_keymaster0_key.cpp110 return super::LoadKey(move(key_material), additional_params, move(hw_enforced), in LoadKey()
111 move(sw_enforced), key); in LoadKey()
118 RsaKeymaster0Key(rsa.release(), move(hw_enforced), move(sw_enforced), this)); in LoadKey()
122 (*key)->key_material() = move(key_material); in LoadKey()
/system/apex/apexd/
Dapexd_loop.h39 : device_fd(std::move(fd)), name(name) {} in LoopbackDeviceUniqueFd()
42 : device_fd(std::move(fd.device_fd)), name(fd.name) {} in LoopbackDeviceUniqueFd()
45 device_fd = std::move(other.device_fd);
46 name = std::move(other.name);
/system/bt/stack/btm/
Dbtm_ble_multi_adv.cc135 data->user_task = std::move(user_task); in alarm_set_closure()
189 btm_gen_resolvable_private_addr(std::move(cb)); in GenerateRpa()
237 p_inst, std::move(configuredCb))); in ConfigureRpa()
299 c->cb = std::move(cb); in StartAdvertising()
301 c->advertise_data = std::move(advertise_data); in StartAdvertising()
302 c->scan_response_data = std::move(scan_response_data); in StartAdvertising()
304 c->timeout_cb = std::move(timeout_cb); in StartAdvertising()
341 c->self->SetData(c->inst_id, false, std::move(c->advertise_data), Bind( in StartAdvertising()
354 c->self->SetData(c->inst_id, true, std::move(c->scan_response_data), Bind( in StartAdvertising()
367 … c->self->Enable(c->inst_id, true, c->cb, c->duration, 0, std::move(c->timeout_cb)); in StartAdvertising()
[all …]
/system/update_engine/common/
Daction_processor_unittest.cc124 action_processor_.EnqueueAction(std::move(action_)); in TEST_F()
136 action_processor_.EnqueueAction(std::move(action_)); in TEST_F()
144 action_processor_.EnqueueAction(std::move(action_)); in TEST_F()
163 action_processor_.EnqueueAction(std::move(action0)); in TEST_F()
164 action_processor_.EnqueueAction(std::move(action1)); in TEST_F()
165 action_processor_.EnqueueAction(std::move(action2)); in TEST_F()
190 action_processor_.EnqueueAction(std::move(action_)); in TEST_F()
195 action_processor_.EnqueueAction(std::move(action_)); in TEST_F()
202 action_processor_.EnqueueAction(std::move(mock_action_)); in TEST_F()
229 action_processor_.EnqueueAction(std::move(mock_action_)); in TEST_F()
[all …]
/system/core/libunwindstack/
DDexFile.h42 DexFile(art_api::dex::DexFile&& art_dex_file) : art_api::dex::DexFile(std::move(art_dex_file)) {} in DexFile()
51 DexFileFromFile(art_api::dex::DexFile&& art_dex_file) : DexFile(std::move(art_dex_file)) {} in DexFileFromFile()
61 : DexFile(std::move(art_dex_file)), memory_(std::move(memory)) {} in DexFileFromMemory()

12345678910>>...25