/ohos5.0/base/hiviewdfx/hiview/framework/native/unified_collection/decorator/ |
H A D | memory_decorator.cpp | 32 auto task = [this] { return memoryCollector_->CollectSysMemory(); }; in CollectSysMemory() local 38 auto task = [this] { return memoryCollector_->CollectRawMemInfo(); }; in CollectRawMemInfo() local 44 auto task = [this] { return memoryCollector_->ExportMemView(); }; in ExportMemView() local 55 auto task = [this] { return memoryCollector_->ExportAllProcessMemory(); }; in ExportAllProcessMemory() local 61 auto task = [this] { return memoryCollector_->CollectRawSlabInfo(); }; in CollectRawSlabInfo() local 67 auto task = [this] { return memoryCollector_->CollectRawPageTypeInfo(); }; in CollectRawPageTypeInfo() local 73 auto task = [this] { return memoryCollector_->CollectRawDMA(); }; in CollectRawDMA() local 79 auto task = [this] { return memoryCollector_->CollectAllAIProcess(); }; in CollectAllAIProcess() local 85 auto task = [this] { return memoryCollector_->ExportAllAIProcess(); }; in ExportAllAIProcess() local 109 auto task = [this] { return memoryCollector_->CollectMemoryLimit(); }; in CollectMemoryLimit() local [all …]
|
H A D | io_decorator.cpp | 26 auto task = [this, &pid] { return ioCollector_->CollectProcessIo(pid); }; in CollectProcessIo() local 32 auto task = [this] { return ioCollector_->CollectRawDiskStats(); }; in CollectRawDiskStats() local 39 …auto task = [this, &filter, &isUpdate] { return ioCollector_->CollectDiskStats(filter, isUpdate); … in CollectDiskStats() local 45 auto task = [this, &filter] { return ioCollector_->ExportDiskStats(filter); }; in ExportDiskStats() local 51 auto task = [this] { return ioCollector_->CollectEMMCInfo(); }; in CollectEMMCInfo() local 57 auto task = [this] { return ioCollector_->ExportEMMCInfo(); }; in ExportEMMCInfo() local 63 auto task = [this, &isUpdate] { return ioCollector_->CollectAllProcIoStats(isUpdate); }; in CollectAllProcIoStats() local 69 auto task = [this] { return ioCollector_->ExportAllProcIoStats(); }; in ExportAllProcIoStats() local 75 auto task = [this] { return ioCollector_->CollectSysIoStats(); }; in CollectSysIoStats() local 81 auto task = [this] { return ioCollector_->ExportSysIoStats(); }; in ExportSysIoStats() local
|
H A D | cpu_decorator.cpp | 31 auto task = [this] { return cpuCollector_->CollectSysCpuLoad(); }; in CollectSysCpuLoad() local 41 auto task = [this, &isNeedUpdate] { return cpuCollector_->CollectSysCpuUsage(isNeedUpdate); }; in CollectSysCpuUsage() local 51 auto task = [this] { return cpuCollector_->GetSysCpuUsage(); }; in GetSysCpuUsage() local 61 …auto task = [this, &pid, &isNeedUpdate] { return cpuCollector_->CollectProcessCpuStatInfo(pid, isN… in CollectProcessCpuStatInfo() local 71 auto task = [this] { return cpuCollector_->CollectCpuFrequency(); }; in CollectCpuFrequency() local 81 …auto task = [this, &isNeedUpdate] { return cpuCollector_->CollectProcessCpuStatInfos(isNeedUpdate)… in CollectProcessCpuStatInfos() local 96 …auto task = [this, &isNeedUpdate] { return threadCpuCollector_->CollectThreadStatInfos(isNeedUpdat… in CollectThreadStatInfos() local
|
/ohos5.0/base/security/device_auth/test/unittest/deviceauth/source/ |
H A D | iso_auth_task_test.cpp | 263 TaskBase *task = CreateServerTask(); variable 288 TaskBase *task = CreateServerTask(); variable 315 TaskBase *task = CreateServerTask(); variable 339 TaskBase *task = CreateServerTask(); variable 364 TaskBase *task = CreateServerTask(); variable 390 TaskBase *task = CreateServerTask(); variable 414 TaskBase *task = CreateServerTask(); variable 438 TaskBase *task = CreateServerTask(); variable 462 TaskBase *task = CreateServerTask(); variable 486 TaskBase *task = CreateServerTask(); variable [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/task/src/ |
H A D | task_test.cpp | 159 std::shared_ptr<Task> task = nullptr; variable 173 auto task = TaskFactory::GetInstance().CreateTask(TaskType::ON_LINE, taskParam, nullptr); variable 186 auto task = TaskFactory::GetInstance().CreateTask(TaskType::DISABLE, taskParam, nullptr); variable 199 auto task = TaskFactory::GetInstance().CreateTask(TaskType::ON_LINE, taskParam, nullptr); variable 212 auto task = TaskFactory::GetInstance().CreateTask(TaskType::OFF_LINE, taskParam, nullptr); variable 225 auto task = TaskFactory::GetInstance().CreateTask(TaskType::UNKNOWN, taskParam, nullptr); variable 308 auto task = TaskFactory::GetInstance().CreateTask(TaskType::DISABLE, taskParam, nullptr); variable 322 auto task = TaskFactory::GetInstance().CreateTask(TaskType::ENABLE, taskParam, nullptr); variable 336 auto task = TaskFactory::GetInstance().CreateTask(TaskType::OFF_LINE, taskParam, nullptr); variable 353 auto task = TaskFactory::GetInstance().CreateTask(TaskType::OFF_LINE, taskParam, nullptr); variable [all …]
|
/ohos5.0/foundation/resourceschedule/ffrt/src/sync/ |
H A D | mutex.cpp | 40 …uint64_t task = ExecuteCtx::Cur()->task ? reinterpret_cast<uint64_t>(ExecuteCtx::Cur()->task) : Ge… in try_lock() local 51 uint64_t task; in lock() local 82 auto task = ctx->task; in try_lock() local 133 auto task = ctx->task; in lock() local 167 auto task = ctx->task; in unlock() local 219 auto task = ctx->task; in wait() local 237 CoWait([this](CPUEUTask* task) -> bool { in wait() 263 CPUEUTask* task = we->task; in wake() local
|
H A D | wait_queue.cpp | 31 void WaitQueue::ThreadWait(WaitUntilEntry* wn, mutexPrivate* lk, bool legacyMode, CPUEUTask* task) in ThreadWait() 49 const TimePoint& tp, bool legacyMode, CPUEUTask* task) in ThreadWaitUntil() 83 CPUEUTask* task = ctx->task; in SuspendAndWait() local 91 CoWait([&](CPUEUTask* task) -> bool { in SuspendAndWait() 129 CPUEUTask* task = ctx->task; in SuspendAndWaitUntil() local 138 ffrt::CPUEUTask* task = wue->task; in SuspendAndWaitUntil() local 146 CoWait([&](CPUEUTask* task) -> bool { in SuspendAndWaitUntil() 212 CPUEUTask* task = we->task; in Notify() local
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/ |
H A D | canvas_pattern.cpp | 230 auto task = [](CanvasPaintMethod& paintMethod) { in Fill() local 254 auto task = [](CanvasPaintMethod& paintMethod) { in Stroke() local 278 auto task = [](CanvasPaintMethod& paintMethod) { in Clip() local 302 auto task = [](CanvasPaintMethod& paintMethod) { in BeginPath() local 314 auto task = [](CanvasPaintMethod& paintMethod) { in ClosePath() local 896 auto task = [](CanvasPaintMethod& paintMethod) { in Save() local 909 auto task = [](CanvasPaintMethod& paintMethod) { in Restore() local 961 auto task = [](CanvasPaintMethod& paintMethod) { in ResetTransform() local 1080 auto task = [](CanvasPaintMethod& paintMethod) { in SaveLayer() local 1092 auto task = [](CanvasPaintMethod& paintMethod) { in RestoreLayer() local [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/ |
H A D | custom_paint_component.cpp | 50 auto task = [offscreenCanvas](RenderCustomPaint& interface, const Offset&) { in TransferFromImageBitmap() local 178 auto task = [param]( in QuadraticCurveTo() local 321 auto task = [imageData]( in PutImageData() local 383 auto task = [rule](RenderCustomPaint& interface, const Offset& offset) { in UpdateFillRuleForPath() local 391 auto task = [rule](RenderCustomPaint& interface, const Offset& offset) { in UpdateFillRuleForPath2D() local 399 auto task = [color](RenderCustomPaint& interface, const Offset& offset) { in UpdateFillColor() local 409 auto task = [color](RenderCustomPaint& interface, const Offset& offset) { in UpdateStrokeColor() local 429 auto task = [grad](RenderCustomPaint& interface, const Offset& offset) { in UpdateStrokeGradient() local 439 auto task = [pattern](RenderCustomPaint& interface, const Offset& offset) { in UpdateFillPattern() local 567 auto task = in UpdateSmoothingEnabled() local [all …]
|
/ohos5.0/foundation/communication/netstack/test/unittest/http_client/ |
H A D | HttpClientTaskTest.cpp | 64 auto task = session.CreateTask(httpReq); variable 76 auto task = session.CreateTask(httpReq); variable 88 auto task = session.CreateTask(httpReq); variable 111 auto task = session.CreateTask(httpReq); variable 131 auto task = session.CreateTask(httpReq); variable 150 auto task = session.CreateTask(httpReq); variable 170 auto task = session.CreateTask(httpReq); variable 192 auto task = session.CreateTask(httpReq); variable 250 auto task = session.CreateTask(httpReq); variable 262 auto task = session.CreateTask(httpReq); variable [all …]
|
/ohos5.0/foundation/resourceschedule/ffrt/src/eu/ |
H A D | co_routine.cpp | 91 bool IsTaskLocalEnable(ffrt::CPUEUTask* task) in IsTaskLocalEnable() 118 void SwitchTsdAddrToTask(ffrt::CPUEUTask* task) in SwitchTsdAddrToTask() 125 void SwitchTsdToTask(ffrt::CPUEUTask* task) in SwitchTsdToTask() 139 bool SwitchTsdAddrToThread(ffrt::CPUEUTask* task) in SwitchTsdAddrToThread() 168 void SwitchTsdToThread(ffrt::CPUEUTask* task) in SwitchTsdToThread() 184 void TaskTsdRunDtors(ffrt::CPUEUTask* task) in TaskTsdRunDtors() 192 void TaskTsdDeconstruct(ffrt::CPUEUTask* task) in TaskTsdDeconstruct() 227 ffrt::CPUEUTask* task = co->task; in CoStartEntry() local 339 static inline int CoAlloc(ffrt::CPUEUTask* task) in CoAlloc() 360 static inline int CoCreat(ffrt::CPUEUTask* task) in CoCreat() [all …]
|
/ohos5.0/base/update/updateservice/services/firmware/upgrade/flow/src/ |
H A D | firmware_manager.cpp | 135 FirmwareTask task; in IsIdle() local 156 FirmwareTask task; in DoCancelDownload() local 215 FirmwareTask task; in CanInstall() local 248 FirmwareTask task; in DoAutoDownloadSwitchChanged() local 268 FirmwareTask task; in DoClearError() local 301 FirmwareTask task; in HandleBootComplete() local 326 FirmwareTask task; in HandleNetChanged() local 370 void FirmwareManager::HandleBootUpdateSuccess(const FirmwareTask &task, in HandleBootUpdateSuccess() 398 void FirmwareManager::HandleBootUpdateFail(const FirmwareTask &task, in HandleBootUpdateFail() 464 void FirmwareManager::HandleResumeDownload(FirmwareTask &task) in HandleResumeDownload() [all …]
|
/ohos5.0/foundation/resourceschedule/ffrt/src/queue/ |
H A D | queue_api.cpp | 43 QueueTask* task = GetQueueTaskByFuncStorageOffset(f); in ffrt_queue_submit_base() local 113 QueueTask* task = GetQueueTaskByFuncStorageOffset(f); variable 167 QueueTask* task = ffrt_queue_submit_base(queue, f, false, false, attr); variable 175 QueueTask* task = ffrt_queue_submit_base(queue, f, false, true, attr); variable 183 QueueTask* task = ffrt_queue_submit_base(queue, f, true, false, attr); variable 192 QueueTask* task = ffrt_queue_submit_base(queue, f, true, true, attr); variable 201 QueueTask* task = static_cast<QueueTask*>(handle); variable 217 QueueTask* task = reinterpret_cast<QueueTask*>(static_cast<CPUEUTask*>(handle)); variable
|
/ohos5.0/base/security/device_auth/test/fuzztest/authenticators/account_related/auth/isoauthtask_fuzzer/ |
H A D | isoauthtask_fuzzer.cpp | 213 TaskBase *task = CreateServerTask(); in IsoAuthTaskTest06() local 229 TaskBase *task = CreateServerTask(); in IsoAuthTaskTest07() local 249 TaskBase *task = CreateServerTask(); in IsoAuthTaskTest08() local 265 TaskBase *task = CreateServerTask(); in IsoAuthTaskTest09() local 284 TaskBase *task = CreateServerTask(); in IsoAuthTaskTest10() local 304 TaskBase *task = CreateServerTask(); in IsoAuthTaskTest11() local 322 TaskBase *task = CreateServerTask(); in IsoAuthTaskTest12() local 340 TaskBase *task = CreateServerTask(); in IsoAuthTaskTest13() local 358 TaskBase *task = CreateServerTask(); in IsoAuthTaskTest14() local 376 TaskBase *task = CreateServerTask(); in IsoAuthTaskTest15() local [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/thread/ |
H A D | task_executor.h | 210 bool PostSyncTask(const Task& task, TaskType type, const std::string& name) const in PostSyncTask() 224 bool PostSyncTask(CancelableTask&& task, TaskType type, const std::string& name) const in PostSyncTask() 245 bool PostSyncTask(const CancelableTask& task, TaskType type, const std::string& name) const in PostSyncTask() 359 bool PostTask(Task&& task, const std::string& name) const in PostTask() 371 bool PostTask(const Task& task, const std::string& name) const in PostTask() 385 bool PostDelayedTask(Task&& task, uint32_t delayTime, const std::string& name) const in PostDelayedTask() 399 bool PostDelayedTask(const Task& task, uint32_t delayTime, const std::string& name) const in PostDelayedTask() 412 bool PostSyncTask(Task&& task, const std::string& name) const in PostSyncTask() 425 bool PostSyncTask(const Task& task, const std::string& name) const in PostSyncTask() 438 bool PostSyncTask(CancelableTask&& task, const std::string& name) const in PostSyncTask() [all …]
|
/ohos5.0/foundation/window/window_manager/wmserver/src/ |
H A D | window_manager_service.cpp | 179 auto task = [this, accountId]() { in OnAccountSwitched() local 190 auto task = [this, weak]() { in WindowVisibilityChangeCallback() local 323 auto task = [this, fd, &args]() { in Dump() local 1006 auto task = [this, windowId]() { in RemoveWindow() local 1061 auto task = [this, windowId]() { in RequestFocus() local 1293 auto task = [this]() { in ToggleShownStateForAllAppWindows() local 1315 auto task = [this, mode]() { in SetWindowLayoutMode() local 1406 auto task = [this, &infos]() { in GetAccessibilityWindowInfo() local 1427 auto task = [this, &infos]() { in GetVisibilityWindowInfo() local 1547 auto task = [this]() { in OffWindowZoom() local [all …]
|
/ohos5.0/base/startup/init/services/loopevent/task/ |
H A D | le_task.c | 22 int CheckTaskFlags(const BaseTask *task, uint32_t flags) in CheckTaskFlags() 30 int GetSocketFd(const TaskHandle task) in GetSocketFd() 41 BaseTask *task = (BaseTask *)calloc(1, size + info->userDataSize); in CreateTask() local 56 void CloseTask(const LoopHandle loopHandle, BaseTask *task) in CloseTask() 86 int IsBufferEmpty(StreamTask *task) in IsBufferEmpty() 94 LE_Buffer *GetFirstBuffer(StreamTask *task) in GetFirstBuffer() 106 void AddBuffer(StreamTask *task, LE_Buffer *buffer) in AddBuffer() 113 LE_Buffer *GetNextBuffer(StreamTask *task, const LE_Buffer *next) in GetNextBuffer() 130 void FreeBuffer(const LoopHandle loop, StreamTask *task, LE_Buffer *buffer) in FreeBuffer() 198 BaseTask *task = (BaseTask *)taskHandle; in LE_CloseTask() local
|
/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/ |
H A D | utils_thread_pool_test.cpp | 130 auto task = std::bind(TestFuncAddOneTime, i); variable 136 auto task = std::bind(TestFuncSubOneTime, i); variable 160 auto task = std::bind(TestFuncAddOneTime, i); variable 166 auto task = std::bind(TestFuncSubOneTime, i); variable 208 auto task = std::bind(TestFuncAddWait, i); variable 214 auto task = std::bind(TestFuncSubWait, i); variable 246 auto task = std::bind(TestFuncAddWait, i); variable 252 auto task = std::bind(TestFuncSubWait, i); variable 300 auto task = std::bind(TestFuncGetName, poolName); variable
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/ |
H A D | task_executor_adapter.cpp | 18 TaskExecutorAdapter::TaskId TaskExecutorAdapter::Execute(const TaskExecutorAdapter::Task &task) in Execute() 22 TaskExecutorAdapter::TaskId TaskExecutorAdapter::Execute(const TaskExecutorAdapter::Task &task, in Execute() 27 TaskExecutorAdapter::TaskId TaskExecutorAdapter::Schedule(const TaskExecutorAdapter::Task &task, in Schedule() 32 TaskExecutorAdapter::TaskId TaskExecutorAdapter::Schedule(const TaskExecutorAdapter::Task &task, in Schedule() 37 TaskExecutorAdapter::TaskId TaskExecutorAdapter::Schedule(const TaskExecutorAdapter::Task &task, in Schedule()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_field/ |
H A D | on_text_changed_listener_impl.cpp | 30 auto task = [textField = field_, text] { in InsertText() local 69 auto task = [textField = field_, length] { in DeleteForward() local 93 auto task = [textField = field_, &leftResult, number] { in GetLeftTextOfCursor() local 107 auto task = [textField = field_, &rightResult, number] { in GetRightTextOfCursor() local 121 auto task = [textField = field_, &index] { in GetTextIndexAtCursor() local 139 auto task = [textField = field_, length] { in DeleteBackward() local 162 auto task = [textField = field_, status] { in SetKeyboardStatus() local 192 auto task = [textField = field_, functionKey] { in HandleFunctionKey() local 218 auto task = [textField = field_, direction] { in MoveCursor() local 247 auto task = [textField = field_, start, end] { in HandleSetSelection() local [all …]
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/ |
H A D | task_manager.cpp | 26 TaskManager::TaskId TaskManager::Execute(const Task &task) in Execute() 30 TaskManager::TaskId TaskManager::Execute(const Task &task, Duration delay) in Execute() 34 TaskManager::TaskId TaskManager::Schedule(const Task &task, Duration interval) in Schedule() 38 TaskManager::TaskId TaskManager::Schedule(const Task &task, Duration delay, Duration interval) in Schedule() 42 TaskManager::TaskId TaskManager::Schedule(const Task &task, Duration delay, Duration interval, uint… in Schedule()
|
/ohos5.0/base/request/request/frameworks/cj/ffi/src/ |
H A D | cj_request_event.cpp | 68 ExceptionErrorCode CJRequestEvent::Exec(std::string execType, const CJTask *task) in Exec() 78 ExceptionErrorCode CJRequestEvent::StartExec(const CJTask *task) in StartExec() 101 ExceptionErrorCode CJRequestEvent::StopExec(const CJTask *task) in StopExec() 106 ExceptionErrorCode CJRequestEvent::PauseExec(const CJTask *task) in PauseExec() 111 ExceptionErrorCode CJRequestEvent::ResumeExec(const CJTask *task) in ResumeExec()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | on_text_changed_listener_impl.cpp | 40 auto task = [textFieldPattern = pattern_, text] { in InsertText() local 58 auto task = [textFieldPattern = pattern_, length] { in DeleteBackward() local 75 auto task = [textFieldPattern = pattern_, length] { in DeleteForward() local 87 auto task = [textField = pattern_, status] { in SetKeyboardStatus() local 128 auto task = [textField = pattern_, &index] { in GetTextIndexAtCursor() local 150 auto task = [textField = pattern_, height] { in NotifyKeyboardHeight() local 174 auto task = [textField = pattern_, functionKey] { in HandleFunctionKey() local 200 auto task = [textField = pattern_, direction] { in MoveCursor() local 229 auto task = [textField = pattern_, start, end] { in HandleSetSelection() local 243 auto task = [textField = pattern_, action] { in HandleExtendAction() local [all …]
|
/ohos5.0/foundation/resourceschedule/ffrt/src/sched/ |
H A D | sched_deadline.cpp | 33 void Begin(CPUEUTask* task) in Begin() 39 void End(CPUEUTask* task) in End() 47 uint64_t GetLoad(CPUEUTask* task) in GetLoad()
|
/ohos5.0/base/powermgr/power_manager/utils/ffrt/src/ |
H A D | ffrt_utils.cpp | 21 void FFRTUtils::SubmitTask(const FFRTTask& task) in SubmitTask() 26 void FFRTUtils::SubmitTaskSync(const FFRTTask& task) in SubmitTaskSync() 37 for (auto task : tasks) { in SubmitQueueTasks() local 42 FFRTHandle FFRTUtils::SubmitDelayTask(FFRTTask& task, uint32_t delayMs, FFRTQueue& queue) in SubmitDelayTask() 50 FFRTHandle FFRTUtils::SubmitDelayTask(FFRTTask& task, uint32_t delayMs, std::shared_ptr<FFRTQueue> … in SubmitDelayTask() 58 bool FFRTUtils::SubmitTimeoutTask(const FFRTTask& task, uint32_t timeoutMs) in SubmitTimeoutTask() 122 void FFRTTimer::SetTimer(uint32_t timerId, FFRTTask& task) in SetTimer() 132 void FFRTTimer::SetTimer(uint32_t timerId, FFRTTask& task, uint32_t delayMs) in SetTimer()
|