Searched refs:stateObj (Results 1 – 5 of 5) sorted by relevance
47 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);
41 let stateObj: BaseState = OtaUpdateManager.getInstance().getStateObj(status);42 return stateObj.actionSet.indexOf(action) != -1;
110 napi_value stateObj = StateChangeInit(env); in AccessPropertyValueInit() local112 DECLARE_NAPI_PROPERTY("BluetoothState", stateObj), in AccessPropertyValueInit()
351 FaultStateBase* stateObj = NativeLeakStateContext::GetInstance().GetStateObj(stateType); in GetStateObj() local352 if (stateObj == nullptr) { in GetStateObj()357 return stateObj; in GetStateObj()
74 napi_value stateObj = NapiHelper::CreateObject(env); in InitTaskPool() local83 … napi_define_properties(env, stateObj, sizeof(exportState) / sizeof(exportState[0]), exportState); in InitTaskPool()92 DECLARE_NAPI_PROPERTY("State", stateObj), in InitTaskPool()