/hardware/google/aemu/base/include/aemu/base/testing/ |
D | MockUtils.h | 52 : mLocation(location), mOriginal(std::move(original)) {} in MockReplacementHandle() 55 : mLocation(std::move(other.mLocation)), in MockReplacementHandle() 56 mOriginal(std::move(other.mOriginal)) { in MockReplacementHandle() 63 mLocation = std::move(other.mLocation); 64 mOriginal = std::move(other.mOriginal); 86 T original = std::move(*location); in replaceMock() 87 *location = std::move(newValue); in replaceMock() 88 return MockReplacementHandle<T>(location, std::move(original)); in replaceMock()
|
/hardware/interfaces/graphics/composer/aidl/include/android/hardware/graphics/composer3/ |
D | ComposerServiceWriter.h | 44 mCommandsResults.emplace_back(std::move(error)); in setError() 51 mCommandsResults.emplace_back(std::move(presentOrValidate)); in setPresentOrValidateResult() 61 changedCompositionTypes.layers.emplace_back(std::move(layer)); in setChangedCompositionTypes() 63 mCommandsResults.emplace_back(std::move(changedCompositionTypes)); in setChangedCompositionTypes() 76 displayRequest.layerRequests.emplace_back(std::move(layerRequest)); in setDisplayRequests() 78 mCommandsResults.emplace_back(std::move(displayRequest)); in setDisplayRequests() 84 presentFenceCommand.fence = std::move(presentFence); in setPresentFence() 86 mCommandsResults.emplace_back(std::move(presentFenceCommand)); in setPresentFence() 100 layer.fence = std::move(releaseFences[i]); in setReleaseFences() 101 releaseFencesCommand.layers.emplace_back(std::move(layer)); in setReleaseFences() [all …]
|
D | ComposerClientReader.h | 61 parseSetError(std::move(result.get<CommandResultPayload::Tag::error>())); in parse() 64 parseSetChangedCompositionTypes(std::move( in parse() 69 std::move(result.get<CommandResultPayload::Tag::displayRequest>())); in parse() 73 std::move(result.get<CommandResultPayload::Tag::presentFence>())); in parse() 77 std::move(result.get<CommandResultPayload::Tag::releaseFences>())); in parse() 80 parseSetPresentOrValidateDisplayResult(std::move( in parse() 84 parseSetClientTargetProperty(std::move( in parse() 91 std::vector<CommandError> takeErrors() { return std::move(mErrors); } in takeErrors() 118 return std::move(data.changedLayers); in takeChangedCompositionTypes() 130 return std::move(data.displayRequests); in takeDisplayRequests() [all …]
|
/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | Execution.cpp | 48 PrivateConstructorTag{}, std::move(preparedModel), std::move(request), in create() 49 std::move(relocation), measure, loopTimeoutDuration); in create() 56 : kPreparedModel(std::move(preparedModel)), in ExecutionWithCachedRequest() 57 kRequest(std::move(request)), in ExecutionWithCachedRequest() 58 kRelocation(std::move(relocation)), in ExecutionWithCachedRequest() 87 return std::make_shared<const Execution>(PrivateConstructorTag{}, std::move(execution), in create() 88 std::move(relocation)); in create() 93 : kExecution(std::move(execution)), kRelocation(std::move(relocation)) {} in Execution()
|
D | Burst.cpp | 85 : kBurst(std::move(burst)) {} in MemoryCache() 97 return std::make_pair(identifier, std::move(cleaner)); in getOrCacheMemory() 110 Task cleanup = [memory, identifier, maybeMemoryCache = std::move(self)] { in getOrCacheMemory() 115 auto cleaner = std::make_shared<const Cleanup>(std::move(cleanup)); in getOrCacheMemory() 118 auto result = std::make_pair(identifier, std::move(cleaner)); in getOrCacheMemory() 132 return std::make_pair(identifier, std::move(cleaner)); in getMemoryIfAvailable() 164 return std::make_shared<const Burst>(PrivateConstructorTag{}, std::move(burst), featureLevel); in create() 169 : kBurst(std::move(burst)), in Burst() 206 holds.push_back(std::move(hold)); in execute() 239 {measure, loopTimeoutDuration, std::move(aidlHints), in executeInternal() [all …]
|
/hardware/nxp/nfc/snxxx/halimpl/observe_mode/ |
D | ReaderPollConfigParser.cc | 144 TYPE_MOD_A, std::move(timestamp), lastKnownGain); in getEvent() 150 TYPE_MOD_B, std::move(timestamp), lastKnownGain); in getEvent() 156 TYPE_MOD_F, std::move(timestamp), lastKnownGain); in getEvent() 163 std::move(timestamp), lastKnownGain); in getEvent() 169 event_data = getRFEventData(std::move(timestamp), lastKnownGain, true); in getEvent() 173 event_data = getRFEventData(std::move(timestamp), lastKnownGain, false); in getEvent() 180 std::move(timestamp), lastKnownGain); in getEvent() 191 TYPE_MOD_A, std::move(timestamp), lastKnownGain, {REQ_A}); in getEvent() 196 TYPE_MOD_A, std::move(timestamp), lastKnownGain, {WUP_A}); in getEvent() 202 std::move(timestamp), lastKnownGain); in getEvent() [all …]
|
/hardware/interfaces/neuralnetworks/1.3/utils/src/ |
D | Execution.cpp | 50 return std::make_shared<const Execution>(PrivateConstructorTag{}, std::move(preparedModel), in create() 51 std::move(request), std::move(relocation), measure, in create() 52 std::move(loopTimeoutDuration)); in create() 59 : kPreparedModel(std::move(preparedModel)), in Execution() 60 kRequest(std::move(request)), in Execution() 61 kRelocation(std::move(relocation)), in Execution() 63 kLoopTimeoutDuration(std::move(loopTimeoutDuration)) {} in Execution()
|
/hardware/interfaces/neuralnetworks/1.2/utils/src/ |
D | Burst.cpp | 113 mFreeSlots = std::stack<int32_t, std::vector<int32_t>>(std::move(freeSlotsSpace)); in MemoryCache() 120 mBurstContext = std::move(burstContext); in setBurstContext() 134 return std::make_pair(slot, std::move(cleaner)); in cacheMemory() 151 Task cleanup = [memory, memoryCache = std::move(self)] { in cacheMemory() 156 auto cleaner = std::make_shared<const Cleanup>(std::move(cleanup)); in cacheMemory() 159 return std::make_pair(slot, std::move(cleaner)); in cacheMemory() 282 PrivateConstructorTag{}, std::move(preparedModel), std::move(requestChannelSender), in create() 283 std::move(resultChannelReceiver), std::move(burstCallback), std::move(burstContext), in create() 284 std::move(memoryCache), std::move(deathHandler)); in create() 293 : kPreparedModel(std::move(preparedModel)), in Burst() [all …]
|
D | Execution.cpp | 49 return std::make_shared<const Execution>(PrivateConstructorTag{}, std::move(preparedModel), in create() 50 std::move(request), std::move(relocation), measure); in create() 56 : kPreparedModel(std::move(preparedModel)), in Execution() 57 kRequest(std::move(request)), in Execution() 58 kRelocation(std::move(relocation)), in Execution()
|
/hardware/interfaces/neuralnetworks/utils/adapter/hidl/src/ |
D | Adapter.cpp | 35 return sp<Device>::make(std::move(device), std::move(executor)); in adapt() 40 std::thread(std::move(task)).detach(); in adapt() 42 return adapt(std::move(device), std::move(defaultExecutor)); in adapt()
|
D | Device.cpp | 69 return sp<PreparedModel>::make(std::move(preparedModel)); in adaptPreparedModel() 110 const auto [message, status] = std::move(result).error(); in notify() 114 auto preparedModel = std::move(result).value(); in notify() 115 auto hidlPreparedModel = adaptPreparedModel(std::move(preparedModel)); in notify() 116 notify(callback, nn::ErrorStatus::NONE, std::move(hidlPreparedModel)); in notify() 136 Task task = [device, nnModel = std::move(nnModel), callback] { in prepareModel() 139 notify(callback.get(), std::move(result)); in prepareModel() 141 executor(std::move(task), {}); in prepareModel() 157 Task task = [device, nnModel = std::move(nnModel), nnPreference, callback] { in prepareModel_1_1() 160 notify(callback.get(), std::move(result)); in prepareModel_1_1() [all …]
|
D | PreparedModel.cpp | 128 const auto [message, status, outputShapes] = std::move(result).error(); in notify() 132 const auto [outputShapes, timing] = std::move(result).value(); in notify() 153 notify(callback.get(), std::move(result)); in execute() 174 notify(callback.get(), std::move(result)); in execute_1_2() 200 notify(callback.get(), std::move(result)); in execute_1_3() 215 return std::make_pair(std::move(hidlOutputShapes), hidlTiming); in executeSynchronously() 232 return std::make_pair(std::move(hidlOutputShapes), hidlTiming); in executeSynchronously_1_3() 241 if (auto syncFence = nn::SyncFence::create(std::move(handle)); !syncFence.ok()) { in convertSyncFences() 242 return nn::error(nn::ErrorStatus::INVALID_ARGUMENT) << std::move(syncFence).error(); in convertSyncFences() 244 syncFences.push_back(std::move(syncFence).value()); in convertSyncFences() [all …]
|
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/src/ |
D | Adapter.cpp | 36 return ndk::SharedRefBase::make<Device>(std::move(device), std::move(executor)); in adapt() 41 std::thread(std::move(task)).detach(); in adapt() 43 return adapt(std::move(device), std::move(defaultExecutor)); in adapt()
|
/hardware/interfaces/neuralnetworks/1.0/utils/src/ |
D | Execution.cpp | 49 return std::make_shared<const Execution>(PrivateConstructorTag{}, std::move(preparedModel), in create() 50 std::move(request), std::move(relocation)); in create() 56 : kPreparedModel(std::move(preparedModel)), in Execution() 57 kRequest(std::move(request)), in Execution() 58 kRelocation(std::move(relocation)) {} in Execution()
|
/hardware/google/aemu/base/include/aemu/base/ |
D | Result.h | 66 Ok(T&& value) : value(std::move(value)) {} in Ok() 68 Ok(Ok&& other) : value(std::move(other.value)) {} in Ok() 82 Err(E&& value) : value(std::move(value)) {} 84 Err(Err&& other) : value(std::move(other.value)) {} 94 ResultStorage(Ok<U>&& ok) : ok(std::move(ok.value)) {} 96 ResultStorage(Err<E>&& err) : err(std::move(err.value)) {} 107 ResultStorage(Err<E>&& err) : err(std::move(err.value)) {} 136 Result(detail::Ok<U>&& ok) : mStorage(std::move(ok)) {} 137 Result(detail::Err<E>&& err) : mStorage(std::move(err)) {} 140 : mStorage(std::move(other.mStorage)), mValid(other.mValid) { [all …]
|
/hardware/interfaces/neuralnetworks/utils/common/src/ |
D | ResilientDevice.cpp | 61 device = std::move(maybeDevice).value(); in protect() 82 return std::make_shared<ResilientDevice>(PrivateConstructorTag{}, std::move(makeDevice), in create() 83 std::move(name), std::move(versionString), in create() 84 std::move(extensions), std::move(capabilities), in create() 85 std::move(device)); in create() 92 : kMakeDevice(std::move(makeDevice)), in ResilientDevice() 93 kName(std::move(name)), in ResilientDevice() 94 kVersionString(std::move(versionString)), in ResilientDevice() 95 kExtensions(std::move(extensions)), in ResilientDevice() 96 kCapabilities(std::move(capabilities)), in ResilientDevice() [all …]
|
/hardware/google/gfxstream/guest/android-emu/aemu/base/fit/ |
D | Defer.h | 45 explicit DeferredAction(T target) : mTarget(std::move(target)) {} in DeferredAction() 49 DeferredAction(DeferredAction&& other) : mTarget(std::move(other.mTarget)) { in DeferredAction() 66 mTarget = std::move(other.mTarget); 75 T local_target = std::move(*mTarget); in call() 91 mTarget = std::move(target); 144 return DeferredAction<T>(std::move(target)); in defer() 153 return DeferredCallback(std::move(target)); in deferCallback()
|
/hardware/nxp/uwb/halimpl/utils/ |
D | phNxpConfig.cc | 293 m_map.try_emplace(token, move(uwbParam(numValue))); in readConfig() 301 } else {m_map.try_emplace(token, move(uwbParam(numValue))); in readConfig() 310 m_map.try_emplace(token, move(uwbParam(move(arrValue)))); in readConfig() 320 arrStr.emplace_back(move(strValue)); in readConfig() 329 m_map.try_emplace(token, move(uwbParam(move(arrStr)))); in readConfig() 346 m_map.try_emplace(token, move(uwbParam(move(arrValue)))); in readConfig() 353 m_map.try_emplace(token, move(uwbParam(strValue))); in readConfig() 432 m_map = move(config.m_map); in CUwbNxpConfig() 434 mFilePath = move(config.mFilePath); in CUwbNxpConfig() 435 mCurrentFile = move(config.mCurrentFile); in CUwbNxpConfig() [all …]
|
/hardware/google/aemu/base/include/aemu/base/threads/ |
D | ThreadPool.h | 79 Command(Item&& item, WorkerId workerId) : mItem(std::move(item)), mWorkerId(workerId) {} in Command() 92 mProcessor = std::move(processor); in ThreadPool() 95 mProcessor = std::bind(std::move(processor), _1); in ThreadPool() 106 Command command = std::move(commandOpt.value()); in ThreadPool() 107 mProcessor(std::move(command.mItem), command.mWorkerId); in ThreadPool() 113 : ThreadPool(0, std::move(processor)) {} in ThreadPool() 156 workerPtr->enqueue(std::move(command)); in enqueue() 168 Command command(std::move(itemFactory()), i); in broadcast() 169 workerOpt->enqueue(std::move(command)); in broadcast()
|
D | WorkerThread.h | 76 : mProcessor(std::move(processor)), mThread([this]() { worker(); }) { in WorkerThread() 107 return enqueueImpl(Command(std::move(item))); in enqueue() 113 Command(Item&& it) : mWorkItem(std::move(it)) {} in Command() 115 : mCompletedPromise(std::move(other.mCompletedPromise)), in Command() 116 mWorkItem(std::move(other.mWorkItem)) {} in Command() 131 mQueue.emplace_back(std::move(command)); in enqueueImpl() 152 shouldStop = mProcessor(std::move(item.mWorkItem.value())) == Result::Stop; in worker()
|
/hardware/google/gfxstream/common/detector/ |
D | Vulkan.h | 43 std::move(expected.value()); \ 60 std::move(vkhpp_rv.value); \ 71 std::move(vkhpp_rv.value); \ 88 std::move(vkhpp_rv.value); \ 193 : mLoader(std::move(loader)), in Vk() 194 mInstance(std::move(instance)), in Vk() 195 mDebugMessenger(std::move(debug)), in Vk() 196 mPhysicalDevice(std::move(physical_device)), in Vk() 197 mDevice(std::move(device)), in Vk() 198 mQueue(std::move(queue)), in Vk() [all …]
|
/hardware/interfaces/graphics/composer/2.4/utils/passthrough/include/composer-passthrough/2.4/ |
D | HwcLoader.h | 48 return createComposer(std::move(hal)).release(); in load() 54 return hal->initWithModule(module) ? std::move(hal) : nullptr; in createHal() 65 return hal->initWithDevice(std::move(device), !adapted) ? std::move(hal) : nullptr; in createHalWithAdapter() 70 return hal::Composer::create(std::move(hal)); in createComposer()
|
/hardware/interfaces/graphics/composer/2.3/utils/passthrough/include/composer-passthrough/2.3/ |
D | HwcLoader.h | 48 return createComposer(std::move(hal)).release(); in load() 54 return hal->initWithModule(module) ? std::move(hal) : nullptr; in createHal() 65 return hal->initWithDevice(std::move(device), !adapted) ? std::move(hal) : nullptr; in createHalWithAdapter() 70 return hal::Composer::create(std::move(hal)); in createComposer()
|
/hardware/interfaces/graphics/composer/2.2/utils/passthrough/include/composer-passthrough/2.2/ |
D | HwcLoader.h | 48 return createComposer(std::move(hal)).release(); in load() 54 return hal->initWithModule(module) ? std::move(hal) : nullptr; in createHal() 65 return hal->initWithDevice(std::move(device), !adapted) ? std::move(hal) : nullptr; in createHalWithAdapter() 70 return hal::Composer::create(std::move(hal)); in createComposer()
|
/hardware/nxp/keymint/KM300/ |
D | JavacardRemotelyProvisionedComponentDevice.cpp | 128 info->rpcAuthorName = std::move(optRpcAuthorName.value()); in getHardwareInfo() 129 info->versionNumber = static_cast<int32_t>(std::move(optVersionNumber.value())); in getHardwareInfo() 130 info->supportedEekCurve = static_cast<int32_t>(std::move(optSupportedEekCurve.value())); in getHardwareInfo() 131 info->uniqueId = std::move(optUniqueId.value()); in getHardwareInfo() 132 info->supportedNumKeysInCsr = static_cast<int32_t>(std::move(optMinSupportedKeysInCsr.value())); in getHardwareInfo() 153 *privateKeyHandle = std::move(optPKeyHandle.value()); in generateEcdsaP256KeyPair() 154 macedPublicKey->macedKey = std::move(optMacedKey.value()); in generateEcdsaP256KeyPair() 176 deviceInfo->deviceInfo = std::move(optDecodedDeviceInfo.value()); in beginSendData() 188 *certificateType = std::move(optCertType.value()); in beginSendData() 225 coseEncryptProtectedHeader = std::move(optCEncryptProtectedHeader.value()); in finishSendData() [all …]
|