Home
last modified time | relevance | path

Searched refs:statePtr (Results 1 - 10 of 10) sorted by relevance

/foundation/resourceschedule/device_standby/plugins/ext/src/
H A Dbase_state.cpp39 ErrCode BaseState::Init(const std::shared_ptr<BaseState>& statePtr) in Init() argument
41 auto callbackTask = [statePtr]() { statePtr->StartTransitNextState(statePtr); }; in Init()
67 void BaseState::StartTransitNextState(const std::shared_ptr<BaseState>& statePtr) in StartTransitNextState() argument
69 handler_->PostTask([statePtr]() { in StartTransitNextState()
71 STATE_NAME_LIST[statePtr->nextState_].c_str(), STATE_NAME_LIST[statePtr->curState_].c_str()); in StartTransitNextState()
73 auto stateManagerPtr = statePtr->stateManager_.lock(); in StartTransitNextState()
83 if (stateManagerPtr->TransitToState(statePtr in StartTransitNextState()
[all...]
/foundation/resourceschedule/device_standby/plugins/standby_state/src/
H A Dsleep_state.cpp43 ErrCode SleepState::Init(const std::shared_ptr<BaseState>& statePtr) in Init() argument
45 auto callbackTask = [statePtr]() { statePtr->StartTransitNextState(statePtr); }; in Init()
H A Dstate_manager_adapter.cpp55 for (const auto& statePtr : indexToState_) { in Init()
56 if (statePtr->Init(statePtr) != ERR_OK) { in Init()
77 for (auto& statePtr : indexToState_) { in UnInit()
78 statePtr->UnInit(); in UnInit()
79 statePtr.reset(); in UnInit()
/foundation/multimedia/av_session/services/session/ipc/proxy/
H A Davsession_controller_proxy.cpp76 sptr<AVCallState> statePtr = reply.ReadParcelable<AVCallState>(); in GetAVCallState() local
77 CHECK_AND_RETURN_RET_LOG(statePtr != nullptr, ERR_UNMARSHALLING, "read AVCallState failed"); in GetAVCallState()
78 avCallState = *statePtr; in GetAVCallState()
100 AVPlaybackState* statePtr = reply.ReadParcelable<AVPlaybackState>(); in GetAVPlaybackState() local
101 if (statePtr == nullptr) { in GetAVPlaybackState()
103 delete statePtr; in GetAVPlaybackState()
104 statePtr = nullptr; in GetAVPlaybackState()
107 state = *statePtr; in GetAVPlaybackState()
110 currentState_ = *statePtr; in GetAVPlaybackState()
111 delete statePtr; in GetAVPlaybackState()
[all...]
/foundation/resourceschedule/device_standby/plugins/ext/include/
H A Dbase_state.h70 virtual ErrCode Init(const std::shared_ptr<BaseState>& statePtr);
79 virtual void StartTransitNextState(const std::shared_ptr<BaseState>& statePtr);
/foundation/resourceschedule/device_standby/plugins/standby_state/include/
H A Dworking_state.h26 ErrCode Init(const std::shared_ptr<BaseState>& statePtr) override;
H A Dsleep_state.h27 ErrCode Init(const std::shared_ptr<BaseState>& statePtr) override;
/foundation/communication/dsoftbus/core/connection/common/src/
H A Dsoftbus_base_listener.c778 static void CleanupSelectThreadState(SelectThreadState **statePtr) in CleanupSelectThreadState() argument
780 SelectThreadState *state = *statePtr; in CleanupSelectThreadState()
792 *statePtr = NULL; in CleanupSelectThreadState()
/foundation/resourceschedule/device_standby/plugins/test/unittest/
H A Dstandby_plugin_unit_test.cpp288 for (auto &statePtr : standbyStateManager_->indexToState_) { in HWTEST_F()
290 statePtr->CheckTransitionValid(nextState); in HWTEST_F()
/foundation/arkui/ace_engine/interfaces/native/node/
H A Dstyle_modifier.cpp8821 ArkUI_AccessibilityState* statePtr = reinterpret_cast<ArkUI_AccessibilityState*>(item->object); in SetAccessibilityState() local
8822 CHECK_NULL_RETURN(statePtr, ERROR_CODE_PARAM_INVALID); in SetAccessibilityState()
8823 if (statePtr->isDisabled.isSet && !InRegion(NUM_0, NUM_1, statePtr->isDisabled.value)) { in SetAccessibilityState()
8826 if (statePtr->isSelected.isSet && !InRegion(NUM_0, NUM_1, statePtr->isSelected.value)) { in SetAccessibilityState()
8829 if (statePtr->checkedType.isSet && !InRegion(NUM_0, NUM_1, statePtr->checkedType.value)) { in SetAccessibilityState()
8833 uiState.isDisabled = ArkUIOptionalInt { statePtr->isDisabled.isSet, statePtr in SetAccessibilityState()
[all...]

Completed in 26 milliseconds