/ohos5.0/foundation/deviceprofile/device_info_manager/old/services/core/src/contentsensor/ |
H A D | content_sensor_manager.cpp | 45 std::list<std::shared_ptr<ContentCollector>> taskList; in Collect() local 46 taskList.push_back(std::make_shared<DeviceInfoCollector>()); in Collect() 47 taskList.push_back(std::make_shared<SystemInfoCollector>()); in Collect() 48 taskList.push_back(std::make_shared<SyscapInfoCollector>()); in Collect() 49 taskList.push_back(std::make_shared<StorageInfoCollector>()); in Collect() 50 taskList.push_back(std::make_shared<AppInfoCollector>()); in Collect() 51 taskList.push_back(std::make_shared<PasteboardInfoCollector>()); in Collect() 53 for (auto& task : taskList) { in Collect()
|
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/contentsensormanager/ |
H A D | content_sensor_manager.cpp | 59 std::list<std::shared_ptr<Collector>> taskList; in Collect() local 60 taskList.push_back(std::make_shared<SystemInfoCollector>()); in Collect() 61 taskList.push_back(std::make_shared<SyscapInfoCollector>()); in Collect() 62 taskList.push_back(std::make_shared<DmsInfoCollector>()); in Collect() 63 taskList.push_back(std::make_shared<CollaborationInfoCollector>()); in Collect() 64 taskList.push_back(std::make_shared<PasteboardInfoCollector>()); in Collect() 65 taskList.push_back(std::make_shared<SwitchStatusCollector>()); in Collect() 69 for (const auto& task : taskList) { in Collect()
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/coap_discover/ |
H A D | coap_app.c | 85 EpollTask taskList[3 * MAX_COAP_SOCKET_NUM]; member 265 ctx->taskList[i].taskfd = sockets[i]->fd; in GetTimeout() 266 ctx->taskList[i].epollfd = epollfd; in GetTimeout() 270 ctx->taskList[i].ptr = sockets[i]; in GetTimeout() 273 (void)memcpy_s(&info->taskList[info->count], sizeof(info->taskList[info->count]), in GetTimeout() 274 &ctx->taskList[i], sizeof(ctx->taskList[i])); in GetTimeout() 296 if (ctx->taskList[i].taskfd < 0) { in DeRegisteCoAPEpollTaskCtx() 299 (void)DeRegisterEpollTask(&ctx->taskList[i]); in DeRegisteCoAPEpollTaskCtx() 345 EpollTask *task = &taskListInfo->taskList[i]; in CoapSelectWait() 471 if (ctx->taskList[i].taskfd < 0) { in CoapServerDestroy() [all …]
|
/ohos5.0/docs/zh-cn/application-dev/quick-start/ |
H A D | arkts-mvvm-V2.md | 641 if (this.taskList.tasks.length == 0) { 667 deleteTask: () => this.taskList.tasks.splice(this.taskList.tasks.indexOf(obj.item), 1) 801 if (this.taskList.tasks.length == 0) { 828 deleteTask: () => this.taskList.tasks.splice(this.taskList.tasks.indexOf(obj.item), 1) 983 let taskList = new TaskListModel([]); 984 await taskList.loadTasks(context) 985 for(let task of taskList.tasks){ 1132 this.taskList.addTask(newTask); 1163 if (this.taskList.tasks.length == 0) { 1176 ListView({ taskList: this.taskList, setting: this.setting }); [all …]
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/ |
H A D | nstackx_file_manager.c | 264 fileManager->taskList.size--; in PrepareOneTaskByStatus() 1078 if (taskList == NULL) { in GetFileListById() 1081 if (PthreadMutexLock(&taskList->lock) != 0) { in GetFileListById() 1085 LIST_FOR_EACH(list, &taskList->head) { in GetFileListById() 1115 if (taskList == NULL) { in GetFileBlockListSize() 1124 LIST_FOR_EACH(list, &taskList->head) { in GetFileBlockListSize() 1447 MutexListDestory(&fileManager->taskList); in FileManagerCreate() 1572 if (fileManager->taskList.size == fileManager->taskList.maxSize) { in FileManagerRecvFileTask() 1703 while (fileManager->taskList.size > 0) { in ClearTask() 1709 fileManager->taskList.size--; in ClearTask() [all …]
|
H A D | nstackx_file_manager_client.c | 812 if (fileManager->taskList.size >= fileManager->taskList.maxSize) { in FileManagerSendFileTask() 841 if (MutexListAddNode(&fileManager->taskList, &fmFileList->list, NSTACKX_FALSE) != NSTACKX_EOK) { in FileManagerSendFileTask() 908 fileList = GetFileListById(&fileManager->taskList, transId, &isErrorOccurred); in FileManagerResetSendOutSet() 1121 fileList = GetFileListById(&fileManager->taskList, transId, &isErrorOccurred); in FileManagerIsLastBlockRead() 1151 if (PthreadMutexLock(&fileManager->taskList.lock) != 0) { in FileManagerHasPendingDataMp() 1158 LIST_FOR_EACH(list, &fileManager->taskList.head) { in FileManagerHasPendingDataMp() 1183 if (PthreadMutexUnlock(&fileManager->taskList.lock) != 0) { in FileManagerHasPendingDataMp() 1202 if (PthreadMutexLock(&fileManager->taskList.lock) != 0) { in FileManagerHasPendingDataInner() 1209 LIST_FOR_EACH(list, &fileManager->taskList.head) { in FileManagerHasPendingDataInner() 1234 if (PthreadMutexUnlock(&fileManager->taskList.lock) != 0) { in FileManagerHasPendingDataInner() [all …]
|
H A D | nstackx_dfile_retransmission.c | 43 …if (GetFileBlockListSize(&dFileTrans->fileManager->taskList, &recvListAllSize, &recvInnerAllSize) … in SendBackPressureFrame()
|
/ohos5.0/base/update/updateservice/services/firmware/data/db/src/ |
H A D | firmware_task_operator.cpp | 30 std::vector<FirmwareTask> taskList; in QueryTask() local 31 QueryAll(taskList); in QueryTask() 32 if (taskList.empty()) { in QueryTask() 37 task = taskList[0]; in QueryTask()
|
/ohos5.0/docs/en/application-dev/quick-start/ |
H A D | arkts-mvvm-V2.md | 641 if (this.taskList.tasks.length == 0) { 667 deleteTask: () => this.taskList.tasks.splice(this.taskList.tasks.indexOf(obj.item), 1) 801 if (this.taskList.tasks.length == 0) { 828 deleteTask: () => this.taskList.tasks.splice(this.taskList.tasks.indexOf(obj.item), 1) 983 let taskList = new TaskListModel([]); 984 await taskList.loadTasks(context) 985 for(let task of taskList.tasks){ 1132 this.taskList.addTask(newTask); 1163 if (this.taskList.tasks.length == 0) { 1176 ListView({ taskList: this.taskList, setting: this.setting }); [all …]
|
/ohos5.0/base/startup/appspawn/test/moduletest/threadpool/ |
H A D | thread_manager.c | 33 ListNode taskList; // 任务队列,任务还没有启动 member 279 OH_ListInit(&mgr->taskList); in CreateThreadMgr() 327 OH_ListRemoveAll(&mgr->taskList, TaskQueueDestroyProc); in DestroyThreadMgr() 357 OH_ListAddTail(&mgr->taskList, &task->node); in ThreadMgrAddTask() 369 TaskNode *task = GetTask(mgr, &mgr->taskList, taskHandle); in ThreadMgrAddExecutor() 388 TaskNode *task = GetTask(mgr, &mgr->taskList, taskHandle); in ThreadMgrCancelTask() 413 TaskNode *task = GetTask(mgr, &mgr->taskList, taskHandle); in TaskSyncExecute() 442 TaskNode *task = GetTask(mgr, &mgr->taskList, taskHandle); in TaskExecute()
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/include/coap_discover/ |
H A D | coap_app.h | 36 EpollTask taskList[MAX_COAP_SOCKET_NUM]; member
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/liteos/ |
H A D | sys_epoll.c | 57 List taskList; member 183 LIST_FOR_EACH(curr, &(ptr->taskList)) { in EpollTaskListFind() 217 ListInsertTail(&(ptr->taskList), &(taskListPtr->list)); in EpollEventTaskListAdd() 242 LIST_FOR_EACH(curr, &(ptr->taskList)) { in EpollTaskFindByFd() 392 ListInitHead(&(ptr->taskList)); in EpollEventRecordAdd() 892 LIST_FOR_EACH_SAFE(pos, tmp, &(ptr->taskList)) {
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/include/ |
H A D | nstackx_file_manager.h | 235 MutexList taskList; /* DATA:FileListTask */ member 457 FileListTask *GetFileListById(MutexList *taskList, uint16_t transId, uint8_t *isErrorOccurred); 460 int32_t GetFileBlockListSize(MutexList *taskList, uint32_t *recvListAllSize, uint32_t *recvInnerAll…
|