Home
last modified time | relevance | path

Searched refs:state (Results 251 - 275 of 2703) sorted by relevance

1...<<11121314151617181920>>...109

/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_add_test/
H A Dnetworkshare_manager_test.cpp46 const SharingIfaceState &state);
75 const SharingIfaceState &state) in OnInterfaceSharingStateChanged()
79 std::cout << ", state=" << static_cast<int32_t>(state) << std::endl; in OnInterfaceSharingStateChanged()
162 SharingIfaceState state; in HWTEST_F() local
163 DelayedSingleton<NetworkShareClient>::GetInstance()->GetSharingState(SharingIfaceType::SHARING_WIFI, state); in HWTEST_F()
173 SharingIfaceState state; in HWTEST_F() local
174 DelayedSingleton<NetworkShareClient>::GetInstance()->GetSharingState(SharingIfaceType::SHARING_WIFI, state); in HWTEST_F()
175 EXPECT_NE(state, SharingIfaceState::SHARING_NIC_SERVING); in HWTEST_F()
211 SharingIfaceState state in HWTEST_F() local
74 OnInterfaceSharingStateChanged(const SharingIfaceType &type, const std::string &iface, const SharingIfaceState &state) OnInterfaceSharingStateChanged() argument
220 SharingIfaceState state = SharingIfaceState::SHARING_NIC_SERVING; HWTEST_F() local
[all...]
/foundation/communication/netmanager_ext/services/networksharemanager/include/
H A Dnetworkshare_tracker.h92 void OnUpdateInterfaceState(const std::shared_ptr<NetworkShareSubStateMachine> &paraSubStateMachine, int state,
102 void OnConnectionStateChanged(const Bluetooth::BluetoothRemoteDevice &device, int state, int cause) override;
159 int32_t GetSharingState(const SharingIfaceType type, SharingIfaceState &state);
164 int32_t GetNetSharingIfaces(const SharingIfaceState &state, std::vector<std::string> &ifaces);
182 * modify shared sub state machine list
187 * get the main state machine
192 * notify shared sub state machine to update upstream interface when upstream network changed
202 * notify shared sub state machine to update upstream interface
213 void HandleSubSmUpdateInterfaceState(const std::shared_ptr<NetworkShareSubStateMachine> &who, int32_t state,
224 const SharingIfaceState &state);
[all...]
/foundation/communication/netmanager_ext/test/networksharemanager/unittest/networkshare_manager_test/
H A Dnetworkshare_manager_test.cpp46 const SharingIfaceState &state);
75 const SharingIfaceState &state) in OnInterfaceSharingStateChanged()
79 std::cout << ", state=" << static_cast<int32_t>(state) << std::endl; in OnInterfaceSharingStateChanged()
160 SharingIfaceState state; in HWTEST_F() local
161 DelayedSingleton<NetworkShareClient>::GetInstance()->GetSharingState(SharingIfaceType::SHARING_WIFI, state); in HWTEST_F()
171 SharingIfaceState state; in HWTEST_F() local
172 DelayedSingleton<NetworkShareClient>::GetInstance()->GetSharingState(SharingIfaceType::SHARING_WIFI, state); in HWTEST_F()
173 EXPECT_NE(state, SharingIfaceState::SHARING_NIC_SERVING); in HWTEST_F()
209 SharingIfaceState state in HWTEST_F() local
74 OnInterfaceSharingStateChanged(const SharingIfaceType &type, const std::string &iface, const SharingIfaceState &state) OnInterfaceSharingStateChanged() argument
218 SharingIfaceState state = SharingIfaceState::SHARING_NIC_SERVING; HWTEST_F() local
[all...]
/foundation/filemanagement/file_api/interfaces/kits/cj/src/
H A Dfile_fs_ffi.cpp93 auto [state, nativeStat] = FileFsImpl::Stat(file); in FfiOHOSFileFsStatByID()
96 ret.code = state; in FfiOHOSFileFsStatByID()
101 ret.code = state; in FfiOHOSFileFsStatByID()
110 auto [state, nativeStat] = FileFsImpl::Stat(file); in FfiOHOSFileFsStatByString()
113 ret.code = state; in FfiOHOSFileFsStatByString()
118 ret.code = state; in FfiOHOSFileFsStatByString()
127 auto [state, nativeStream] = FileFsImpl::CreateStream(path, mode); in FfiOHOSFileFsCreateStream()
128 ret.code = state; in FfiOHOSFileFsCreateStream()
143 auto [state, nativeStream] = FileFsImpl::FdopenStream(fd, mode); in FfiOHOSFileFsFdopenStream()
144 ret.code = state; in FfiOHOSFileFsFdopenStream()
[all...]
/foundation/ai/intelligent_voice_framework/utils/
H A Dstate_manager.h45 explicit State(int s) : state(s) {}; in State()
49 return state == right.state; in operator ==()
59 return state < right.state; in operator <()
64 return std::to_string(state); in ToStr()
67 int32_t state = -1; member
/foundation/communication/dsoftbus/tests/core/bus_center/service/fuzztest/buscenterevent_fuzzer/
H A Dbuscenterevent_fuzz.cpp101 char *state = (char *)SoftBusCalloc(sizeof(SoftBusDifferentAccountState)); in LnnNotifyStateChangeEventFuzzTest() local
102 if (state == nullptr) { in LnnNotifyStateChangeEventFuzzTest()
103 COMM_LOGE(COMM_TEST, "state is null, softBusCalloc is failed!"); in LnnNotifyStateChangeEventFuzzTest()
106 if (memcpy_s(state, sizeof(SoftBusDifferentAccountState), outData, size) != EOK) { in LnnNotifyStateChangeEventFuzzTest()
107 COMM_LOGE(COMM_TEST, "state memcpy_s is failed"); in LnnNotifyStateChangeEventFuzzTest()
108 SoftBusFree(state); in LnnNotifyStateChangeEventFuzzTest()
111 LnnNotifyDifferentAccountChangeEvent(state); in LnnNotifyStateChangeEventFuzzTest()
153 SoftBusBtAclState state = static_cast<SoftBusBtAclState> in LnnNotifyBtAclStateChangeEventFuzzTest() local
158 LnnNotifyBtAclStateChangeEvent(btMac, state); in LnnNotifyBtAclStateChangeEventFuzzTest()
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_ap/
H A Dap_state_machine.cpp68 void ApStateMachine::OnApStateChange(ApState state) in OnApStateChange() argument
70 if (WifiConfigCenter::GetInstance().SetHotspotState(static_cast<int>(state), m_id)) { in OnApStateChange()
71 WIFI_LOGE("WifiSetting change state fail."); in OnApStateChange()
74 if (state == ApState::AP_STATE_IDLE || state == ApState::AP_STATE_STARTED || state == ApState::AP_STATE_STARTING || in OnApStateChange()
75 state == ApState::AP_STATE_CLOSING) { in OnApStateChange()
79 callBackItem.second.OnApStateChangedEvent(state, m_id); in OnApStateChange()
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_scan_sa/
H A Dwifi_scan_callback_proxy_lite.cpp35 void WifiScanCallbackProxy::OnWifiScanStateChanged(int state) in OnWifiScanStateChanged() argument
37 WIFI_LOGD("OnWifiScanStateChanged, state:%{public}d", state); in OnWifiScanStateChanged()
46 (void)WriteInt32(&data, state); in OnWifiScanStateChanged()
H A Dwifi_scan_callback_proxy.cpp32 void WifiScanCallbackProxy::OnWifiScanStateChanged(int state) in OnWifiScanStateChanged() argument
34 WIFI_LOGD("OnWifiScanStateChanged, state:%{public}d", state); in OnWifiScanStateChanged()
43 data.WriteInt32(state); in OnWifiScanStateChanged()
/foundation/communication/wifi/wifi/frameworks/native/interfaces/
H A Di_wifi_device_callback.h38 * @Description Deal wifi state change message
40 * @param state - Wifi State
42 virtual void OnWifiStateChanged(int state) = 0;
45 * @Description Deal wifi connection state change message
47 * @param state - Wifi connect state
50 virtual void OnWifiConnectionChanged(int state, const WifiLinkedInfo &info) = 0;
60 * @Description Deal wps state change message
62 * @param state - wps state
[all...]
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta_sa/
H A Dwifi_device_callback_proxy.h42 * @Description Deal wifi state change message
44 * @param state - Wifi State
46 void OnWifiStateChanged(int state) override;
49 * @Description Deal wifi connection state change message
51 * @param state - Wifi connect state
54 void OnWifiConnectionChanged(int state, const WifiLinkedInfo &info) override;
64 * @Description Deal wps state change message
66 * @param state - wps state
[all...]
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_pro/
H A Dwifi_pro_service.h33 void HandleStaConnChanged(OperateResState state, const WifiLinkedInfo &linkedInfo);
40 void NotifyWifiConnectStateChanged(OperateResState state, const WifiLinkedInfo &linkedInfo);
41 void NotifyCheckWifiInternetResult(OperateResState state);
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/componentmanager/
H A Ddh_state_listener.cpp40 void DHStateListener::OnStateChanged(const std::string &networkId, const std::string &dhId, const BusinessState state) in OnStateChanged() argument
45 DHLOGI("Receive business state change, networkId: %{public}s, dhId: %{public}s, state: %{public}" PRIu32, in OnStateChanged()
46 GetAnonyString(networkId).c_str(), GetAnonyString(dhId).c_str(), (uint32_t)state); in OnStateChanged()
47 ComponentManager::GetInstance().UpdateBusinessState(networkId, dhId, state); in OnStateChanged()
/foundation/barrierfree/accessibility/common/interface/src/
H A Daccessible_ability_manager_service_proxy.cpp119 RetError AccessibleAbilityManagerServiceProxy::SetCaptionState(const bool state) in SetCaptionState() argument
131 if (!data.WriteBool(state)) { in SetCaptionState()
437 RetError AccessibleAbilityManagerServiceProxy::GetCaptionState(bool &state) in GetCaptionState() argument
455 state = reply.ReadBool(); in GetCaptionState()
667 RetError AccessibleAbilityManagerServiceProxy::SetScreenMagnificationState(const bool state) in SetScreenMagnificationState() argument
679 if (!data.WriteBool(state)) { in SetScreenMagnificationState()
692 RetError AccessibleAbilityManagerServiceProxy::SetShortKeyState(const bool state) in SetShortKeyState() argument
704 if (!data.WriteBool(state)) { in SetShortKeyState()
717 RetError AccessibleAbilityManagerServiceProxy::SetMouseKeyState(const bool state) in SetMouseKeyState() argument
729 if (!data.WriteBool(state)) { in SetMouseKeyState()
817 SetHighContrastTextState(const bool state) SetHighContrastTextState() argument
842 SetInvertColorState(const bool state) SetInvertColorState() argument
867 SetAnimationOffState(const bool state) SetAnimationOffState() argument
892 SetAudioMonoState(const bool state) SetAudioMonoState() argument
917 SetDaltonizationState(const bool state) SetDaltonizationState() argument
1068 SetIgnoreRepeatClickState(const bool state) SetIgnoreRepeatClickState() argument
1118 GetScreenMagnificationState(bool &state) GetScreenMagnificationState() argument
1142 GetShortKeyState(bool &state) GetShortKeyState() argument
1165 GetMouseKeyState(bool &state) GetMouseKeyState() argument
1258 GetHighContrastTextState(bool &state) GetHighContrastTextState() argument
1281 GetInvertColorState(bool &state) GetInvertColorState() argument
1304 GetAnimationOffState(bool &state) GetAnimationOffState() argument
1327 GetAudioMonoState(bool &state) GetAudioMonoState() argument
1350 GetDaltonizationState(bool &state) GetDaltonizationState() argument
1488 GetIgnoreRepeatClickState(bool& state) GetIgnoreRepeatClickState() argument
[all...]
/foundation/barrierfree/accessibility/services/aams/test/unittest/
H A Daccessible_ability_manager_service_test.cpp137 sptr<IAccessibleAbilityManagerStateObserver> state = new MockAccessibleAbilityManagerStateObserverProxy(stub); in HWTEST_F() local
139 uint32_t ret = Singleton<AccessibleAbilityManagerService>::GetInstance().RegisterStateObserver(state); in HWTEST_F()
344 bool state = true; in HWTEST_F() local
347 Singleton<AccessibleAbilityManagerService>::GetInstance().SetScreenMagnificationState(state)); in HWTEST_F()
361 bool state = true; in HWTEST_F() local
363 EXPECT_EQ(RET_ERR_NULLPTR, Singleton<AccessibleAbilityManagerService>::GetInstance().SetShortKeyState(state)); in HWTEST_F()
377 bool state = true; in HWTEST_F() local
379 EXPECT_EQ(RET_ERR_NULLPTR, Singleton<AccessibleAbilityManagerService>::GetInstance().SetMouseKeyState(state)); in HWTEST_F()
425 bool state = true; in HWTEST_F() local
428 Singleton<AccessibleAbilityManagerService>::GetInstance().SetHighContrastTextState(state)); in HWTEST_F()
441 bool state = true; HWTEST_F() local
458 bool state = true; HWTEST_F() local
474 bool state = true; HWTEST_F() local
489 bool state = true; HWTEST_F() local
626 bool state = true; HWTEST_F() local
856 sptr<IAccessibleAbilityManagerCaptionObserver> state = new MockAccessibleAbilityManagerCaptionObserverProxy(stub); HWTEST_F() local
874 sptr<IAccessibleAbilityManagerConfigObserver> state = new MockAccessibleAbilityManagerConfigObserverProxy(stub); HWTEST_F() local
892 sptr<IAccessibilityEnableAbilityListsObserver> state = new MockAccessibilityEnableAbilityListsObserverProxy(stub); HWTEST_F() local
990 sptr<IAccessibleAbilityManagerStateObserver> state = new MockAccessibleAbilityManagerStateObserverProxy(stub); HWTEST_F() local
1009 sptr<IAccessibleAbilityManagerCaptionObserver> state = new MockAccessibleAbilityManagerCaptionObserverProxy(stub); HWTEST_F() local
1042 sptr<IAccessibilityEnableAbilityListsObserver> state = new MockAccessibilityEnableAbilityListsObserverProxy(stub); HWTEST_F() local
1090 bool state = true; HWTEST_F() local
1299 bool state = true; HWTEST_F() local
1316 bool state = true; HWTEST_F() local
1333 bool state = true; HWTEST_F() local
1683 bool state = true; HWTEST_F() local
1699 bool state = true; HWTEST_F() local
1718 bool state = true; HWTEST_F() local
1735 bool state = true; HWTEST_F() local
1751 bool state = true; HWTEST_F() local
1889 sptr<IAccessibleAbilityManagerConfigObserver> state = new MockAccessibleAbilityManagerConfigObserverProxy(stub); HWTEST_F() local
1907 sptr<IAccessibleAbilityManagerConfigObserver> state = new MockAccessibleAbilityManagerConfigObserverProxy(stub); HWTEST_F() local
1925 sptr<IAccessibleAbilityManagerConfigObserver> state = new MockAccessibleAbilityManagerConfigObserverProxy(stub); HWTEST_F() local
1943 sptr<IAccessibleAbilityManagerConfigObserver> state = new MockAccessibleAbilityManagerConfigObserverProxy(stub); HWTEST_F() local
1961 sptr<IAccessibleAbilityManagerConfigObserver> state = new MockAccessibleAbilityManagerConfigObserverProxy(stub); HWTEST_F() local
1979 sptr<IAccessibleAbilityManagerConfigObserver> state = new MockAccessibleAbilityManagerConfigObserverProxy(stub); HWTEST_F() local
1997 sptr<IAccessibleAbilityManagerConfigObserver> state = new MockAccessibleAbilityManagerConfigObserverProxy(stub); HWTEST_F() local
2015 sptr<IAccessibleAbilityManagerConfigObserver> state = new MockAccessibleAbilityManagerConfigObserverProxy(stub); HWTEST_F() local
2033 sptr<IAccessibleAbilityManagerConfigObserver> state = new MockAccessibleAbilityManagerConfigObserverProxy(stub); HWTEST_F() local
2603 sptr<IAccessibleAbilityManagerStateObserver> state = new MockAccessibleAbilityManagerStateObserverProxy(stub); HWTEST_F() local
[all...]
/foundation/barrierfree/accessibility/services/aams/include/
H A Daccessible_ability_manager_service.h116 RetError SetCaptionState(const bool state) override;
119 RetError GetCaptionState(bool &state) override;
247 RetError SetScreenMagnificationState(const bool state) override;
248 RetError SetShortKeyState(const bool state) override;
249 RetError SetMouseKeyState(const bool state) override;
253 RetError SetHighContrastTextState(const bool state) override;
254 RetError SetInvertColorState(const bool state) override;
255 RetError SetAnimationOffState(const bool state) override;
256 RetError SetAudioMonoState(const bool state) override;
257 RetError SetDaltonizationState(const bool state) overrid
[all...]
/foundation/barrierfree/accessibility/common/interface/test/unittest/
H A Daccessible_ability_manager_service_stub_test.cpp393 * @tc.desc: Check the event that two fingers moving in same directions in touchGuiding state.
544 * @tc.desc: Check the OTHER_POINT_DOWN event in draging state.
584 * @tc.desc: Check the event that two fingers moving in same directions in draging state.
630 * @tc.desc: Check the event that multi-finger moving in draging state.
1076 bool state = true; in HWTEST_F() local
1078 settingConfig_->SetEnabled(state); in HWTEST_F()
1091 bool state = true; in HWTEST_F() local
1092 settingConfig_->SetEnabled(state); in HWTEST_F()
1105 bool state = true; in HWTEST_F() local
1107 settingConfig_->SetTouchGuideState(state); in HWTEST_F()
1120 bool state = true; HWTEST_F() local
1134 bool state = true; HWTEST_F() local
1149 bool state = true; HWTEST_F() local
1164 bool state = true; HWTEST_F() local
1180 bool state = true; HWTEST_F() local
1225 bool state = true; HWTEST_F() local
1240 bool state = true; HWTEST_F() local
1254 bool state = true; HWTEST_F() local
1269 bool state = true; HWTEST_F() local
1284 bool state = true; HWTEST_F() local
1300 bool state = true; HWTEST_F() local
1315 bool state = true; HWTEST_F() local
1331 bool state = true; HWTEST_F() local
1375 bool state = true; HWTEST_F() local
1391 bool state = true; HWTEST_F() local
1468 bool state = true; HWTEST_F() local
1484 bool state = true; HWTEST_F() local
1498 bool state = true; HWTEST_F() local
1513 bool state = true; HWTEST_F() local
1528 bool state = true; HWTEST_F() local
1544 bool state = true; HWTEST_F() local
1559 bool state = true; HWTEST_F() local
1575 bool state = true; HWTEST_F() local
1589 bool state = true; HWTEST_F() local
1604 bool state = true; HWTEST_F() local
1816 uint32_t state = 0x00000000; HWTEST_F() local
1856 bool state = true; HWTEST_F() local
[all...]
/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/delegates/nnrt_delegate/
H A Dnnrt_delegate.cpp184 NnrtDelegateKernel* state = new (std::nothrow) NnrtDelegateKernel(delegateData->nnrt); in GetDelegateKernelRegistration()
185 if (state == nullptr) { in GetDelegateKernelRegistration()
187 return state; in GetDelegateKernelRegistration()
190 TfLiteStatus status = state->Init(context, params); in GetDelegateKernelRegistration()
193 delete state; in GetDelegateKernelRegistration()
194 state = nullptr; in GetDelegateKernelRegistration()
196 return state; in GetDelegateKernelRegistration()
212 NnrtDelegateKernel* state = reinterpret_cast<NnrtDelegateKernel*>(node->user_data); in GetDelegateKernelRegistration()
213 return state->Prepare(context, node); in GetDelegateKernelRegistration()
222 NnrtDelegateKernel* state in GetDelegateKernelRegistration()
[all...]
/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_napi/
H A Djs_transition_controller.cpp84 auto state = window->GetWindowState(); in OnCompleteTransition() local
86 if (state != WindowState::STATE_HIDDEN) { in OnCompleteTransition()
88 window->GetWindowId(), window->GetWindowName().c_str(), static_cast<uint32_t>(state)); in OnCompleteTransition()
96 if (state != WindowState::STATE_SHOWN) { in OnCompleteTransition()
98 window->GetWindowId(), window->GetWindowName().c_str(), static_cast<uint32_t>(state)); in OnCompleteTransition()
167 auto state = window->GetWindowState(); in AnimationForShown()
168 if (state != WindowState::STATE_SHOWN) { in AnimationForShown()
169 WLOGFE("animation shown configuration for state %{public}u not support!", static_cast<uint32_t>(state)); in AnimationForShown()
207 auto state in AnimationForHidden()
[all...]
/foundation/communication/dsoftbus/core/connection/ble/src/
H A Dsoftbus_conn_ble_client.c55 static void BleGattcConnStateCallback(int32_t underlayerHandle, int32_t state, int32_t status);
87 if (connection->state != expectedState) { in UpdateBleConnectionStateInOrder()
88 CONN_LOGW(CONN_BLE, "unexpected state, actualState=%{public}d, expectedState=%{public}d, nextState=%{public}d", in UpdateBleConnectionStateInOrder()
89 connection->state, expectedState, nextState); in UpdateBleConnectionStateInOrder()
93 connection->state = nextState; in UpdateBleConnectionStateInOrder()
108 connection->state = BLE_CONNECTION_STATE_CONNECTING; in SetConnectionHandleAndState()
164 static void BleGattcConnStateCallback(int32_t underlayerHandle, int32_t state, int32_t status) in BleGattcConnStateCallback() argument
166 CONN_LOGI(CONN_BLE, "gatt client callback, state changed, handle=%{public}d, state=%{public}d, status=%{public}d", in BleGattcConnStateCallback()
167 underlayerHandle, state, statu in BleGattcConnStateCallback()
291 int32_t state = connection->state; RetrySearchService() local
455 SwitchNotifacatedHandler( enum ConnBleConnectionState state, const CommonStatusContext *ctx, ConnBleConnection *connection) SwitchNotifacatedHandler() argument
504 enum ConnBleConnectionState state = connection->state; NotificatedMsgHandler() local
689 enum ConnBleConnectionState state = BLE_CONNECTION_STATE_INVALID; DisconnectedMsgHandler() local
823 enum ConnBleConnectionState state = connection->state; ConnGattClientUpdatePriority() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/declaration/button/
H A Dbutton_declaration.h344 void SetAutoFocusState(bool state) in SetAutoFocusState() argument
347 attribute.isAutoFocus = state; in SetAutoFocusState()
350 void SetDisabledState(bool state) in SetDisabledState() argument
353 attribute.isDisabled = state; in SetDisabledState()
356 void SetWaitingState(bool state) in SetWaitingState() argument
359 attribute.isWaiting = state; in SetWaitingState()
500 void SetBgColorState(bool state) in SetBgColorState() argument
503 style.bgColorDefined = state; in SetBgColorState()
506 void SetTextColorState(bool state) in SetTextColorState() argument
509 style.textColorDefined = state; in SetTextColorState()
512 SetFontSizeState(bool state) SetFontSizeState() argument
518 SetHeightState(bool state) SetHeightState() argument
524 SetRadiusState(bool state) SetRadiusState() argument
[all...]
/foundation/graphic/graphic_3d/lume/metaobject/src/animation/
H A Danimation_state.cpp128 const auto& state = move.state; variable
129 if (state == AnimationTargetState::UNDEFINED) {
130 // Figure out target state based on step data automatically
142 // Just go to the state defined by the caller
143 return state;
178 status.state = state_.animationState_; in Move()
198 auto state = state_.animationState_; in Seek() local
200 state = IAnimationInternal::AnimationTargetState::FINISHED; in Seek()
202 Move(IAnimationInternal::MoveParams::FromProgress(position, state)); in Seek()
265 SetState(IAnimationInternal::AnimationTargetState state) SetState() argument
[all...]
/foundation/communication/dsoftbus/core/bus_center/utils/src/
H A Dlnn_state_machine.c27 static bool IsDuplicateState(FsmStateMachine *fsm, FsmState *state) in IsDuplicateState() argument
32 if (item == (struct ListNode *)state) { in IsDuplicateState()
93 FsmState *state = NULL; in ProcessStartMessage() local
96 LNN_LOGE(LNN_STATE, "unexpected state in start msg process"); in ProcessStartMessage()
100 state = (FsmState *)ctrlMsgObj->obj; in ProcessStartMessage()
101 if (fsm == NULL || state == NULL) { in ProcessStartMessage()
105 LNN_LOGE(LNN_STATE, "unexpected state in start msg process"); in ProcessStartMessage()
108 if (IsDuplicateState(fsm, state) == true) { in ProcessStartMessage()
109 fsm->curState = state; in ProcessStartMessage()
123 LNN_LOGE(LNN_STATE, "unexpected state i in ProcessDataMessage()
284 LnnFsmAddState(FsmStateMachine *fsm, FsmState *state) LnnFsmAddState() argument
375 LnnFsmTransactState(FsmStateMachine *fsm, FsmState *state) LnnFsmTransactState() argument
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/l2cap/
H A Dl2cap.c58 if (conn->state == L2CAP_CONNECTION_IDLE) { in L2CAP_ConnectReq()
59 conn->state = L2CAP_CONNECTION_CONNECTING; in L2CAP_ConnectReq()
68 if ((conn->state == L2CAP_CONNECTION_CONNECTING) || (conn->state == L2CAP_CONNECTION_DISCONNECTING)) { in L2CAP_ConnectReq()
72 if (conn->info.state == L2CAP_INFO_STATE_NONE) { in L2CAP_ConnectReq()
74 } else if (conn->info.state == L2CAP_INFO_STATE_DONE) { in L2CAP_ConnectReq()
103 if (chan->state != L2CAP_CHANNEL_CONNECT_IN_REQ) { in L2CAP_ConnectRsp()
140 if ((chan->state != L2CAP_CHANNEL_CONFIGING) && (chan->state != L2CAP_CHANNEL_CONNECTED)) { in L2CAP_ConfigReq()
209 if ((chan->state ! in L2CAP_ConfigRsp()
[all...]
/foundation/arkui/ace_engine/interfaces/inner_api/drawable_descriptor/
H A Ddrawable_descriptor.h234 RState& state, DrawableType& drawableType, uint32_t density) in Create()
239 state = resourceMgr->GetDrawableInfoById(id, type, len, jsonBuf, density); in Create()
240 if (state != Global::Resource::SUCCESS) { in Create()
248 state = Global::Resource::SUCCESS; in Create()
255 state = Global::Resource::SUCCESS; in Create()
259 state = Global::Resource::INVALID_FORMAT; in Create()
264 const std::shared_ptr<ResourceManager>& resourceMgr, RState& state, DrawableType& drawableType, in Create()
270 state = resourceMgr->GetDrawableInfoByName(name, type, len, jsonBuf, density); in Create()
271 if (state != Global::Resource::SUCCESS) { in Create()
279 state in Create()
233 Create(int32_t id, const std::shared_ptr<ResourceManager>& resourceMgr, RState& state, DrawableType& drawableType, uint32_t density) Create() argument
263 Create(const char* name, const std::shared_ptr<ResourceManager>& resourceMgr, RState& state, DrawableType& drawableType, uint32_t density) Create() argument
294 Create(std::tuple<int32_t, uint32_t, uint32_t>& drawableInfo, const std::shared_ptr<ResourceManager>& resourceMgr, RState& state, DrawableType& drawableType) Create() argument
330 Create(std::tuple<const char*, uint32_t, uint32_t>& drawableInfo, const std::shared_ptr<ResourceManager>& resourceMgr, RState& state, DrawableType& drawableType) Create() argument
[all...]

Completed in 19 milliseconds

1...<<11121314151617181920>>...109