Home
last modified time | relevance | path

Searched refs:status_ (Results 1 – 25 of 53) sorted by relevance

123

/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/watcher/
Dapp_event_watcher.cpp27 TriggerCondition cond) : name_(name), filters_(filters), cond_(cond), status_({ 0 }) in AppEventWatcher()
62 ++status_.row; in ProcessEvent()
63 status_.size += static_cast<int>(event.size()); in ProcessEvent()
64 …if ((cond_.row > 0 && status_.row >= cond_.row) || (cond_.size > 0 && status_.size >= cond_.size))… in ProcessEvent()
65 OnTrigger(status_.row, status_.size); in ProcessEvent()
74 ++status_.timeOut; in ProcessTimeOut()
75 if ((cond_.timeOut > 0 && status_.timeOut >= cond_.timeOut) && status_.row > 0) { in ProcessTimeOut()
76 OnTrigger(status_.row, status_.size); in ProcessTimeOut()
94 status_.row = 0; in ResetStatus()
95 status_.size = 0; in ResetStatus()
[all …]
/base/hiviewdfx/hidumper/frameworks/native/src/executor/
Dmemory_dumper.cpp50 status_ = isShowMapsFlag ? DumpStatus::DUMP_OK : DumpStatus::DUMP_FAIL; in Execute()
51 return status_; in Execute()
55 status_ = DumpStatus::DUMP_OK; in Execute()
57 status_ = DumpStatus::DUMP_FAIL; in Execute()
60 status_ = memoryInfo_->GetMemoryInfoNoPid(dumpDatas_); in Execute()
63 return status_; in Execute()
68 return status_; in AfterExecute()
/base/update/updateservice/services/firmware/upgrade/executor/src/
Dfirmware_check_executor.cpp44 …checkComponentCallback_.firmwareComponentCallback(status_, duration_, componentList_, checkAndAuth… in Complete()
53 status_ = status; in DoCheck()
57 …FIRMWARE_LOGI("CheckComplete status: %{public}d size: %{public}d", status_, CAST_INT(componentList… in DoCheck()
58 if (status_ == CheckStatus::CHECK_FAIL || componentList_.size() == 0) { in DoCheck()
/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/
Devent_log_task.cpp44 status_(Status::TASK_RUNNABLE) in EventLogTask()
68 status_ = Status::TASK_RUNNABLE; in AddLog()
81 if (status_ != Status::TASK_RUNNABLE) { in StartCompose()
82 return status_; in StartCompose()
84 status_ = Status::TASK_RUNNING; in StartCompose()
95 status_ = Status::TASK_FAIL; in StartCompose()
108 if (status_ == Status::TASK_RUNNING) { in StartCompose()
109 status_ = Status::TASK_SUCCESS; in StartCompose()
111 return status_; in StartCompose()
117 if (status_ == Status::TASK_TIMEOUT) { in ShouldStopLogTask()
[all …]
/base/account/os_account/frameworks/ohosaccount/test/moduletests/account_mgr_test/
Daccount_mgr_inner_sdk_func_test.cpp148 accountInfo.status_ = ACCOUNT_STATE_UNBOUND;
160 EXPECT_EQ(accountInfoget.status_, ACCOUNT_STATE_LOGIN);
173 EXPECT_EQ(accountInfoget.status_, ACCOUNT_STATE_UNBOUND);
194 accountInfo.status_ = ACCOUNT_STATE_UNBOUND;
206 EXPECT_EQ(accountInfoget.status_, ACCOUNT_STATE_LOGIN);
227 EXPECT_EQ(accountInfoget.status_, ACCOUNT_STATE_UNBOUND);
248 accountInfo.status_ = ACCOUNT_STATE_UNBOUND;
260 EXPECT_EQ(accountInfoget.status_, ACCOUNT_STATE_LOGIN);
272 EXPECT_EQ(accountInfoget.status_, ACCOUNT_STATE_UNBOUND);
293 accountInfo.status_ = ACCOUNT_STATE_UNBOUND;
[all …]
/base/account/os_account/services/accountmgr/test/unittest/ohos_account/
Dohos_account_data_deal_test.cpp90 EXPECT_EQ(accountInfo.ohosAccountInfo_.status_, ACCOUNT_STATE_UNBOUND);
121 accountInfo.ohosAccountInfo_.status_ = ACCOUNT_STATE_LOGIN;
169 EXPECT_EQ(accountInfo.ohosAccountInfo_.status_, ACCOUNT_STATE_UNBOUND);
176 accountInfo.ohosAccountInfo_.status_ = ACCOUNT_STATE_UNBOUND;
190 EXPECT_EQ(accountInfoNew.ohosAccountInfo_.status_, ACCOUNT_STATE_UNBOUND);
/base/theme/screenlock_mgr/frameworks/js/napi/include/
Dasync_call.h66 if (status_ != napi_ok) { in operator()
67 return status_; in operator()
80 status_ = status; in SetStatus()
89 napi_status status_ = napi_generic_failure; variable
/base/update/updateservice/services/firmware/upgrade/data_processor/src/
Dfirmware_check_data_processor.cpp53 status_ = status; in SetCheckResult()
61 return status_ == CheckStatus::CHECK_FAIL || in IsCheckFailed()
62 status_ == CheckStatus::FILE_LIST_REQUEST_FAIL || in IsCheckFailed()
63 status_ == CheckStatus::CHANGELOG_REQUEST_FAIL; in IsCheckFailed()
79 CAST_INT(status_), CAST_INT(componentList_.size())); in HandleCheckResult()
/base/inputmethod/imf/frameworks/js/napi/inputmethodclient/
Djs_get_input_method_controller.h62 if (status_ != napi_ok) { in operator()
64 return status_; in operator()
82 if (status_ != napi_ok) { in operator()
84 return status_; in operator()
102 if (status_ != napi_ok) { in operator()
104 return status_; in operator()
124 if (status_ != napi_ok) { in operator()
126 return status_; in operator()
145 if (status_ != napi_ok) { in operator()
147 return status_; in operator()
Dasync_call.h49 status_ = status; in SetState()
92 napi_status status_ = napi_generic_failure; variable
/base/account/os_account/services/accountmgr/test/unittest/common/account_mgr_service_test/
Daccount_mgr_service_test.cpp141 ret = (testInfo.second.status_ == ACCOUNT_STATE_LOGIN);
155 ret = (testInfo.second.status_ == ACCOUNT_STATE_UNBOUND);
181 ret = (testInfo.second.status_ == ACCOUNT_STATE_LOGIN);
203 ret = (testInfo.second.status_ == ACCOUNT_STATE_UNBOUND);
230 ret = (testInfo.second.status_ == ACCOUNT_STATE_LOGIN);
244 ret = (testInfo.second.status_ == ACCOUNT_STATE_UNBOUND);
270 ret = (testInfo.second.status_ == ACCOUNT_STATE_LOGIN);
284 ret = (testInfo.second.status_ == ACCOUNT_STATE_UNBOUND);
298 ret = (testInfo.second.status_ == ACCOUNT_STATE_LOGIN);
312 ret = (testInfo.second.status_ == ACCOUNT_STATE_UNBOUND);
/base/account/os_account/interfaces/innerkits/ohosaccount/native/include/
Daccount_info.h84 std::int32_t status_; variable
91 : name_(name), uid_(id), status_(status), rawUid_(id) in OhosAccountInfo()
105 status_ = ACCOUNT_STATE_UNBOUND; in OhosAccountInfo()
176 ohosAccountInfo_.status_ = clrStatus;
/base/inputmethod/imf/test/common/src/
Dtext_listener.cpp27 bool TextListener::status_ = false; member in OHOS::MiscServices::TextListener
91 status_ = status; in SetKeyboardStatus()
155 status_ = false; in ResetParam()
/base/telephony/sms_mms/frameworks/native/sms/src/
Dshort_message.cpp55 if (!parcel.ReadInt32(status_)) { in ReadFromParcel()
99 if (!parcel.WriteInt32(status_)) { in Marshalling()
160 return status_; in GetStatus()
/base/account/os_account/services/accountmgr/src/
Dohos_account_manager.cpp271 return currOhosAccountInfo.ohosAccountInfo_.status_; in GetCurrentOhosAccountState()
288 accountState_->SetAccountState(curOhosAccount.ohosAccountInfo_.status_); in HandleEvent()
295 if (newState != curOhosAccount.ohosAccountInfo_.status_) { in HandleEvent()
296 …countStateChange(curOhosAccount.userId_, event, curOhosAccount.ohosAccountInfo_.status_, newState); in HandleEvent()
297 curOhosAccount.ohosAccountInfo_.status_ = newState; in HandleEvent()
330 if (currAccountInfo.ohosAccountInfo_.status_ != ACCOUNT_STATE_LOGIN) { in LoginOhosAccount()
344 currAccountInfo.ohosAccountInfo_.status_ = ACCOUNT_STATE_LOGIN; in LoginOhosAccount()
625 if ((currAccountInfo.ohosAccountInfo_.status_ == ACCOUNT_STATE_LOGIN) && in CheckOhosAccountCanBind()
656 if (curInfo.ohosAccountInfo_.status_ != ACCOUNT_STATE_LOGIN) { in CheckOhosAccountCanBind()
/base/update/updateservice/services/firmware/upgrade/executor/include/
Dfirmware_check_executor.h43 CheckStatus status_ = CheckStatus::CHECK_SUCCESS; variable
/base/account/os_account/frameworks/ohosaccount/native/src/
Daccount_info_parcel.cpp40 if (!data.WriteInt32(ohosAccountInfo.status_)) { in WriteOhosAccountInfo()
122 ohosAccountInfo.status_ = status; in ReadOhosAccountInfo()
/base/update/sys_installer/services/module_update/include/
Dmodule_update.h43 ModuleUpdateStatus status_; variable
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/encode/
Draw_data_builder_json_parser.cpp281 lastValueParseStatus_ = status_; in HandleStatusStringParse()
291 lastValueParseStatus_ = status_; in HandleStatusStringItemParse()
297 lastValueParseStatus_ = status_; in HandleStatusValueAppend()
449 status_ = statusTabs_[status_][charactor_]; in Parse()
450 auto iter = handleFuncs.find(status_); in Parse()
454 lastStatus_ = status_; in Parse()
/base/hiviewdfx/hiview/base/event_raw/encoded/
Draw_data_builder_json_parser.cpp281 lastValueParseStatus_ = status_; in HandleStatusStringParse()
291 lastValueParseStatus_ = status_; in HandleStatusStringItemParse()
297 lastValueParseStatus_ = status_; in HandleStatusValueAppend()
449 status_ = statusTabs_[status_][charactor_]; in Parse()
450 auto iter = handleFuncs.find(status_); in Parse()
454 lastStatus_ = status_; in Parse()
/base/web/webview/ohos_adapter/camera_adapter/src/
Dcamera_manager_adapter_impl.cpp250 if (status_ == CameraStatusAdapter::UNAVAILABLE) { in InitCameraInput()
463 if (status_ == CameraStatusAdapter::UNAVAILABLE) { in CreateAndStartSession()
508 status_ = CameraStatusAdapter::UNAVAILABLE; in CreateAndStartSession()
522 if (!((isForegound_) && (status_ == CameraStatusAdapter::AVAILABLE))) { in RestartSession()
523 …WVLOG_E("can not restart session, status:%{public}d, isForeground:%{public}d", status_, isForegoun… in RestartSession()
545 status_ = CameraStatusAdapter::UNAVAILABLE; in RestartSession()
553 if (status_ == CameraStatusAdapter::AVAILABLE) { in StopSession()
598 status_ = CameraStatusAdapter::AVAILABLE; in ReleaseSessionResource()
612 status_ = CameraStatusAdapter::AVAILABLE; in ReleaseCameraManger()
622 return status_; in GetCameraStatus()
[all …]
/base/hiviewdfx/hidumper/frameworks/native/include/executor/
Dmemory_dumper.h41 DumpStatus status_ = DUMP_FAIL; variable
/base/update/sys_installer/services/module_update/src/
Dmodule_update.cpp147 ret = GetSuccessSaIdString(status_); in CheckModuleUpdate()
164 status_.process = Str16ToStr8(parser.GetProcessName()); in ParseSaProfiles()
206 status_.saStatusList.emplace_back(std::move(saStatus)); in ActivateModules()
208 ReportMountStatus(status_); in ActivateModules()
/base/inputmethod/imf/frameworks/js/napi/inputmethodability/
Djs_panel.h76 if (status_ != napi_ok) { in operator()
78 return status_; in operator()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/watcher/include/
Dapp_event_watcher.h49 TriggerCondition status_; variable

123