/frameworks/base/libs/androidfw/ |
D | ApkAssets.cpp | 35 : resources_asset_(std::move(resources_asset)), in ApkAssets() 36 loaded_arsc_(std::move(loaded_arsc)), in ApkAssets() 37 assets_provider_(std::move(assets)), in ApkAssets() 39 idmap_asset_(std::move(idmap_asset)), in ApkAssets() 40 loaded_idmap_(std::move(loaded_idmap)) {} in ApkAssets() 51 return Load(ZipAssetsProvider::Create(std::move(fd), debug_name, offset, len), flags); in LoadFromFd() 56 return LoadImpl(std::move(assets), flags, nullptr /* idmap_asset */, nullptr /* loaded_idmap */); in Load() 65 return LoadImpl(std::move(resources_asset), std::move(assets), flags, nullptr /* idmap_asset */, in LoadTable() 100 return LoadImpl(std::move(overlay_assets), flags | PROPERTY_OVERLAY, std::move(idmap_asset), in LoadOverlay() 101 std::move(loaded_idmap)); in LoadOverlay() [all …]
|
/frameworks/av/media/libaaudio/src/binding/ |
D | AudioEndpointParcelable.cpp | 39 : mUpMessageQueueParcelable(std::move(parcelable.upMessageQueueParcelable)), in AudioEndpointParcelable() 40 mDownMessageQueueParcelable(std::move(parcelable.downMessageQueueParcelable)), in AudioEndpointParcelable() 41 mUpDataQueueParcelable(std::move(parcelable.upDataQueueParcelable)), in AudioEndpointParcelable() 42 mDownDataQueueParcelable(std::move(parcelable.downDataQueueParcelable)), in AudioEndpointParcelable() 47 new(&mSharedMemories[i]) SharedMemoryParcelable(std::move(parcelable.sharedMemories[i])); in AudioEndpointParcelable() 53 new(this) AudioEndpointParcelable(std::move(parcelable)); in operator =() 59 result.upMessageQueueParcelable = std::move(mUpMessageQueueParcelable).parcelable(); in parcelable() 60 result.downMessageQueueParcelable = std::move(mDownMessageQueueParcelable).parcelable(); in parcelable() 61 result.upDataQueueParcelable = std::move(mUpDataQueueParcelable).parcelable(); in parcelable() 62 result.downDataQueueParcelable = std::move(mDownDataQueueParcelable).parcelable(); in parcelable() [all …]
|
D | RingBufferParcelable.cpp | 33 : mReadCounterParcelable(std::move(parcelable.readCounterParcelable)), in RingBufferParcelable() 34 mWriteCounterParcelable(std::move(parcelable.writeCounterParcelable)), in RingBufferParcelable() 35 mDataParcelable(std::move(parcelable.dataParcelable)), in RingBufferParcelable() 45 result.readCounterParcelable = std::move(mReadCounterParcelable).parcelable(); in parcelable() 46 result.writeCounterParcelable = std::move(mWriteCounterParcelable).parcelable(); in parcelable() 47 result.dataParcelable = std::move(mDataParcelable).parcelable(); in parcelable()
|
/frameworks/native/libs/ftl/ |
D | future_test.cpp | 40 auto future = ftl::yield(std::move(ptr)); in TEST() 47 std::future<char> chain = ftl::chain(std::move(future)) in TEST() 49 .then([&futures](size_t i) { return std::move(futures[i]); }); in TEST() 75 [](ByteVector bytes) { return ftl::defer(decrement, std::move(bytes)); }); in TEST() 78 std::thread fetch_thread(std::move(fetch_string)); in TEST() 84 ftl::chain(std::move(fetch)) in TEST() 88 append_thread = std::thread(std::move(append_string), std::move(str)); in TEST() 93 decrement_thread = std::thread(std::move(decrement_bytes), std::move(bytes)); in TEST()
|
/frameworks/base/libs/protoutil/src/ |
D | EncodedBuffer.cpp | 60 EncodedBuffer::Pointer::move(size_t amt) in move() function in android::util::EncodedBuffer::Pointer 163 mWp.move(); in writeRawByte() 232 mWp.move(chunk); in writeRaw() 245 reader->move(amt); in writeRaw() 264 reader->move(amt); in writeRaw() 285 mEp.move(); in readRawByte() 327 mEp.rewind()->move(pos); in editRawFixed32() 330 mEp.move(); in editRawFixed32() 332 mEp.rewind()->move(oldPos); in editRawFixed32() 340 cp.move(srcPos); in copy() [all …]
|
/frameworks/native/libs/binder/tests/parcel_fuzzer/ |
D | main.cpp | 46 fillRandomParcel(p->parcel(), std::move(provider)); in fillRandomParcel() 67 fillRandomParcelData(&p, std::move(provider)); in doFuzz() 69 fillRandomParcel(&p, std::move(provider)); in doFuzz() 72 fillRandomParcel(&p, std::move(provider)); in doFuzz() 127 std::move(provider)); in LLVMFuzzerTestOneInput() 131 std::move(provider)); in LLVMFuzzerTestOneInput() 135 std::move(provider)); in LLVMFuzzerTestOneInput() 139 provider.PickValueInArray(fuzzBackend)(std::move(provider)); in LLVMFuzzerTestOneInput()
|
/frameworks/native/cmds/installd/ |
D | run_dex2oat_test.cpp | 282 CallRunDex2Oat(std::move(args)); in TEST_F() 293 CallRunDex2Oat(std::move(args)); in TEST_F() 304 CallRunDex2Oat(std::move(args)); in TEST_F() 314 CallRunDex2Oat(std::move(args)); in TEST_F() 324 CallRunDex2Oat(std::move(args)); in TEST_F() 335 CallRunDex2Oat(std::move(args)); in TEST_F() 347 CallRunDex2Oat(std::move(args)); in TEST_F() 359 CallRunDex2Oat(std::move(args)); in TEST_F() 370 CallRunDex2Oat(std::move(args)); in TEST_F() 382 CallRunDex2Oat(std::move(args)); in TEST_F() [all …]
|
/frameworks/compile/mclinker/unittests/ |
D | BinTreeTest.cpp | 120 pos.move<InputTree::Inclusive>(); in TEST_F() 123 pos.move<InputTree::Inclusive>(); in TEST_F() 147 pos.move<InputTree::Inclusive>(); in TEST_F() 149 pos.move<InputTree::Positional>(); in TEST_F() 151 pos.move<InputTree::Positional>(); in TEST_F() 153 pos.move<InputTree::Positional>(); in TEST_F() 190 pos.move<InputTree::Inclusive>(); in TEST_F() 193 pos.move<InputTree::Inclusive>(); in TEST_F() 219 pos.move<InputTree::Inclusive>(); in TEST_F() 221 pos.move<InputTree::Positional>(); in TEST_F() [all …]
|
/frameworks/native/libs/vr/libpdx_uds/ |
D | channel_parcelable.cpp | 19 : data_fd_{std::move(data_fd)}, in ChannelParcelable() 20 pollin_event_fd_{std::move(pollin_event_fd)}, 21 pollhup_event_fd_{std::move(pollhup_event_fd)} {} 33 return ChannelManager::Get().CreateHandle(std::move(data_fd_), in TakeChannelHandle() 34 std::move(pollin_event_fd_), in TakeChannelHandle() 35 std::move(pollhup_event_fd_)); in TakeChannelHandle()
|
D | client_channel_factory.cpp | 43 : socket_{std::move(socket)} {} in ClientChannelFactory() 54 new ClientChannelFactory{std::move(socket)}}; in Create() 130 socket_ = std::move(connection_info.channel_fd); in Connect() 154 LocalHandle pollin_event_fd = std::move(response.channels[0].pollin_event_fd); in Connect() 156 std::move(response.channels[0].pollhup_event_fd); in Connect() 167 std::move(socket_), std::move(pollin_event_fd), in Connect() 168 std::move(pollhup_event_fd))); in Connect()
|
D | client_channel.cpp | 24 *handle = std::move(response.file_descriptors[index]); in GetLocalFileHandle() 37 std::move(channel_info.data_fd), in GetLocalChannelHandle() 38 std::move(channel_info.pollin_event_fd), in GetLocalChannelHandle() 39 std::move(channel_info.pollhup_event_fd)); in GetLocalChannelHandle() 49 request.file_descriptors.push_back(std::move(handle)); in PushFileHandle() 62 request.channels.push_back(std::move(channel_info)); in PushChannelHandle() 141 : channel_handle_{std::move(channel_handle)} { in ClientChannel() 148 new ClientChannel{std::move(channel_handle)}}; in Create() 232 status.SetValue(std::move(handle)); in SendWithFileHandle() 252 status.SetValue(std::move(handle)); in SendWithChannelHandle() [all …]
|
D | channel_event_set.cpp | 41 pollin_event_fd_ = std::move(pollin_event_fd); in ChannelEventSet() 42 pollhup_event_fd_ = std::move(pollhup_event_fd); in ChannelEventSet() 110 pollin_event_fd_ = std::move(pollin_event_fd); in ChannelEventReceiver() 111 pollhup_event_fd_ = std::move(pollhup_event_fd); in ChannelEventReceiver() 112 data_fd_ = std::move(data_fd); in ChannelEventReceiver() 113 epoll_fd_ = std::move(epoll_fd); in ChannelEventReceiver()
|
/frameworks/base/core/jni/ |
D | android_content_res_ApkAssets.cpp | 82 auto guarded_assets = new Guarded<std::unique_ptr<const ApkAssets>>(std::move(assets)); in CreateGuardedApkAssets() 215 auto assets = MultiAssetsProvider::Create(std::move(loader_assets), in NativeLoad() 218 apk_assets = ApkAssets::Load(std::move(assets), property_flags); in NativeLoad() 226 std::move(loader_assets), in NativeLoad() 230 auto assets = MultiAssetsProvider::Create(std::move(loader_assets), in NativeLoad() 232 apk_assets = ApkAssets::Load(std::move(assets), property_flags); in NativeLoad() 246 return CreateGuardedApkAssets(std::move(apk_assets)); in NativeLoad() 276 MultiAssetsProvider::Create(std::move(loader_assets), in NativeLoadFromFd() 277 ZipAssetsProvider::Create(std::move(dup_fd), in NativeLoadFromFd() 280 apk_assets = ApkAssets::Load(std::move(assets), property_flags); in NativeLoadFromFd() [all …]
|
/frameworks/av/media/libmedia/ |
D | OMXBuffer.cpp | 176 mBufferType = std::move(source.mBufferType); in operator =() 177 mRangeOffset = std::move(source.mRangeOffset); in operator =() 178 mRangeLength = std::move(source.mRangeLength); in operator =() 179 mMem = std::move(source.mMem); in operator =() 180 mGraphicBuffer = std::move(source.mGraphicBuffer); in operator =() 181 mNativeHandle = std::move(source.mNativeHandle); in operator =() 182 mHidlMemory = std::move(source.mHidlMemory); in operator =()
|
/frameworks/minikin/libs/minikin/ |
D | FontFamily.cpp | 39 : FontFamily(FamilyVariant::DEFAULT, std::move(fonts)) {} in FontFamily() 42 : FontFamily(kEmptyLocaleListId, variant, std::move(fonts), false /* isCustomFallback */) {} in FontFamily() 48 mFonts(std::move(fonts)), in FontFamily() 63 mFonts(std::move(fonts)), in FontFamily() 64 mSupportedAxes(std::move(supportedAxes)), in FontFamily() 67 mCoverage(std::move(coverage)), in FontFamily() 68 mCmapFmt14Coverage(std::move(cmapFmt14Coverage)) {} in FontFamily() 95 localeListId, variant, std::move(fonts), std::move(supportedAxes), isColorEmoji, in readFromInternal() 96 isCustomFallback, std::move(coverage), std::move(cmapFmt14Coverage))); in readFromInternal() 252 new FontFamily(mLocaleListId, mVariant, std::move(fonts), mIsCustomFallback)); in createFamilyWithVariation()
|
/frameworks/base/cmds/incidentd/tests/ |
D | FdBuffer_test.cpp | 118 reader->move(buffer.size()); in TEST_F() 168 buffer.readProcessedDataInStream(tf.fd, std::move(p2cPipe.writeFd()), in TEST_F() 169 std::move(c2pPipe.readFd()), READ_TIMEOUT)); in TEST_F() 201 buffer.readProcessedDataInStream(tf.fd, std::move(p2cPipe.writeFd()), in TEST_F() 202 std::move(c2pPipe.readFd()), READ_TIMEOUT)); in TEST_F() 227 buffer.readProcessedDataInStream(tf.fd, std::move(p2cPipe.writeFd()), in TEST_F() 228 std::move(c2pPipe.readFd()), READ_TIMEOUT)); in TEST_F() 255 buffer.readProcessedDataInStream(fd, std::move(p2cPipe.writeFd()), in TEST_F() 256 std::move(c2pPipe.readFd()), READ_TIMEOUT)); in TEST_F() 262 reader->move(ninetySixMB); in TEST_F() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | StorageNotification.java | 134 final MoveInfo move = new MoveInfo(); 135 move.moveId = moveId; 136 move.extras = extras; 138 move.packageName = extras.getString(Intent.EXTRA_PACKAGE_NAME); 139 move.label = extras.getString(Intent.EXTRA_TITLE); 140 move.volumeUuid = extras.getString(VolumeRecord.EXTRA_FS_UUID); 142 mMoves.put(moveId, move); 147 final MoveInfo move = mMoves.get(moveId); 148 if (move == null) { 154 onMoveFinished(move, status); [all …]
|
/frameworks/base/tools/aapt2/test/ |
D | Builders.cpp | 87 return AddValue(name, id, std::move(file_ref)); in AddFileReference() 96 return AddValue(name, config, {}, std::move(file_ref)); in AddFileReference() 101 return AddValue(name, {}, std::move(value)); in AddValue() 106 return AddValue(name, {}, id, std::move(value)); in AddValue() 115 builder.SetValue(std::move(value), config).SetAllowMangled(true); in AddValue() 150 CHECK(table_->AddResource(std::move(res), GetDiagnostics())); in Add() 159 return std::move(table_); in Build() 197 return std::move(attr_); in Build() 206 style_->entries.push_back(Style::Entry{Reference(ParseNameOrDie(str)), std::move(value)}); in AddItem() 212 AddItem(str, std::move(value)); in AddItem() [all …]
|
/frameworks/base/libs/hwui/ |
D | DisplayList.h | 40 : mImpl(std::move(impl)) {} in SkiaDisplayListWrapper() 43 SkiaDisplayListWrapper(SkiaDisplayListWrapper&& other) : mImpl(std::move(other.mImpl)) {} in SkiaDisplayListWrapper() 45 mImpl = std::move(other.mImpl); 54 mImpl->updateChildren(std::move(updateFn)); in updateChildren() 127 observer, info, functorsNeedLayer, std::move(childFn)); in prepareListAndChildren() 217 : mImpls(std::move(impl)) {} in MultiDisplayList() 219 explicit MultiDisplayList(CanvasOpBuffer&& opBuffer) : mImpls(std::move(opBuffer)) {} in MultiDisplayList() 222 MultiDisplayList(MultiDisplayList&& other) : mImpls(std::move(other.mImpls)) {} in MultiDisplayList() 224 mImpls = std::move(other.mImpls); 233 apply([&](auto& it) { it.updateChildren(std::move(updateFn)); }); in updateChildren() [all …]
|
/frameworks/native/libs/vr/libvrflinger/ |
D | acquired_buffer.cpp | 13 : buffer_(buffer), acquire_fence_(std::move(acquire_fence)), slot_(slot) {} in AcquiredBuffer() 30 acquire_fence_ = std::move(fence); in AcquiredBuffer() 35 *this = std::move(other); in AcquiredBuffer() 75 return std::move(acquire_fence_); in ClaimAcquireFence() 79 return std::move(buffer_); in ClaimBuffer()
|
/frameworks/native/services/vibratorservice/ |
D | VibratorHalController.cpp | 59 return std::make_shared<AidlHalWrapper>(std::move(scheduler), aidlHal); in connectHal() 72 return std::make_shared<HidlHalWrapperV1_3>(std::move(scheduler), halV1_3); in connectHal() 77 return std::make_shared<HidlHalWrapperV1_2>(std::move(scheduler), halV1_2); in connectHal() 82 return std::make_shared<HidlHalWrapperV1_1>(std::move(scheduler), halV1_1); in connectHal() 85 return std::make_shared<HidlHalWrapperV1_0>(std::move(scheduler), halV1_0); in connectHal()
|
/frameworks/base/tools/aapt2/compile/ |
D | PseudolocaleGenerator.cpp | 92 merged_spans.push_back(std::move(*span_iter)); in MergeSpans() 95 merged_spans.push_back(std::move(*untranslatable_iter)); in MergeSpans() 101 merged_spans.push_back(std::move(*span_iter)); in MergeSpans() 106 merged_spans.push_back(std::move(*untranslatable_iter)); in MergeSpans() 206 localized.str = std::move(new_string); in PseudolocalizeStyledString() 211 localized.spans.push_back(Span{std::move(span.tag.value()), span.first_char, span.last_char}); in PseudolocalizeStyledString() 236 localized->values[i] = std::move(sub_visitor.item); in Visit() 244 value = std::move(localized); in Visit() 275 item = std::move(localized); in Visit() 323 localized_value = std::move(visitor.value); in PseudolocalizeIfNeeded() [all …]
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlDom.cpp | 70 stack->node_stack.top()->AppendChild(std::move(stack->last_text_node)); in FinishPendingText() 92 stack->pending_element->namespace_decls.push_back(std::move(decl)); in StartNamespaceHandler() 113 el = std::move(stack->pending_element); in StartElementHandler() 120 el->comment = std::move(stack->pending_comment); in StartElementHandler() 128 el->attributes.push_back(std::move(attribute)); in StartElementHandler() 137 stack->node_stack.top()->AppendChild(std::move(el)); in StartElementHandler() 139 stack->root = std::move(el); in StartElementHandler() 220 StringPool{}, std::move(stack.root)); in Inflate() 262 el->attributes.push_back(std::move(attr)); in CopyAttributes() 310 pending_element->namespace_decls.push_back(std::move(decl)); in Inflate() [all …]
|
/frameworks/base/tools/aapt2/link/ |
D | PrivateAttributeMover.cpp | 36 *result = std::move(*new_end); in move_if() 44 *result = std::move(*first); in move_if() 49 *new_end = std::move(*first); in move_if() 85 priv_attr_type->entries = std::move(private_attr_entries); in Consume()
|
/frameworks/native/cmds/lshal/ |
D | TextTable.h | 35 explicit TextTableRow(std::vector<std::string>&& v) : mFields(std::move(v)) {} in TextTableRow() 38 explicit TextTableRow(std::string&& s) : mLine(std::move(s)) {} in TextTableRow() 63 mTable.emplace_back(std::move(v)); in add() 66 void add(std::string&& s) { mTable.emplace_back(std::move(s)); } in add()
|