Searched refs:statePtr (Results 1 - 10 of 10) sorted by relevance
/foundation/resourceschedule/device_standby/plugins/ext/src/ |
H A D | base_state.cpp | 39 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 D | sleep_state.cpp | 43 ErrCode SleepState::Init(const std::shared_ptr<BaseState>& statePtr) in Init() argument 45 auto callbackTask = [statePtr]() { statePtr->StartTransitNextState(statePtr); }; in Init()
|
H A D | state_manager_adapter.cpp | 55 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 D | avsession_controller_proxy.cpp | 76 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 D | base_state.h | 70 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 D | working_state.h | 26 ErrCode Init(const std::shared_ptr<BaseState>& statePtr) override;
|
H A D | sleep_state.h | 27 ErrCode Init(const std::shared_ptr<BaseState>& statePtr) override;
|
/foundation/communication/dsoftbus/core/connection/common/src/ |
H A D | softbus_base_listener.c | 778 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 D | standby_plugin_unit_test.cpp | 288 for (auto &statePtr : standbyStateManager_->indexToState_) { in HWTEST_F() 290 statePtr->CheckTransitionValid(nextState); in HWTEST_F()
|
/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | style_modifier.cpp | 8821 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