Home
last modified time | relevance | path

Searched refs:stateObj (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/base/update/update_app/feature/ota/src/main/ets/manager/
H A DOtaUpdateManager.ets47 private stateObj: BaseState;
272 if (this.stateObj?.state === status) {
273 return this.stateObj;
280 if (!this.stateObj || this.lastStatus !== otaStatus.status) {
281 this.stateObj = StateManager.createInstance(otaStatus);
283 this.stateObj.refresh(otaStatus);
285 this.setUpdateState(this.stateObj.state);
286 this.setDownloadProgress(this.stateObj.percent);
390 return this.isTerminalState(this.stateObj?.otaStatus);
H A DStateManager.ets41 let stateObj: BaseState = OtaUpdateManager.getInstance().getStateObj(status);
42 return stateObj.actionSet.indexOf(action) != -1;
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/access/
H A Dnapi_bluetooth_access.cpp110 napi_value stateObj = StateChangeInit(env); in AccessPropertyValueInit() local
112 DECLARE_NAPI_PROPERTY("BluetoothState", stateObj), in AccessPropertyValueInit()
/ohos5.0/base/hiviewdfx/hiview/plugins/reliability/leak_detectors/native_leak/
H A Dnative_leak_detector.cpp351 FaultStateBase* stateObj = NativeLeakStateContext::GetInstance().GetStateObj(stateType); in GetStateObj() local
352 if (stateObj == nullptr) { in GetStateObj()
357 return stateObj; in GetStateObj()
/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/taskpool/
H A Dtaskpool.cpp74 napi_value stateObj = NapiHelper::CreateObject(env); in InitTaskPool() local
83 … napi_define_properties(env, stateObj, sizeof(exportState) / sizeof(exportState[0]), exportState); in InitTaskPool()
92 DECLARE_NAPI_PROPERTY("State", stateObj), in InitTaskPool()