/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/expand_sub_session/expand_process_lib/ |
H A D | save_trusted_info_test.cpp | 413 CmdState state; in HWTEST_F() local 414 int32_t res = self->process(nullptr, &in, &out, &state); in HWTEST_F() 426 CmdState state; in HWTEST_F() local 427 int32_t res = self->process(self, nullptr, &out, &state); in HWTEST_F() 439 CmdState state; in HWTEST_F() local 440 int32_t res = self->process(self, &in, nullptr, &state); in HWTEST_F() 468 CmdState state; in HWTEST_F() local 469 int32_t res = self->process(self, &in, &out, &state); in HWTEST_F() 484 CmdState state; in HWTEST_F() local 485 int32_t res = self->process(self, &in, &out, &state); in HWTEST_F() 499 CmdState state; HWTEST_F() local 516 CmdState state; HWTEST_F() local 533 CmdState state; HWTEST_F() local 550 CmdState state; HWTEST_F() local 567 CmdState state; HWTEST_F() local [all...] |
/foundation/communication/bluetooth/frameworks/inner/src/ |
H A D | bluetooth_hfp_ag.cpp | 45 void OnConnectionStateChanged(const BluetoothRawAddress &device, int32_t state, int32_t cause) override 47 HILOGD("hfpAg conn state, device: %{public}s, state: %{public}s, cause: %{public}d", 48 GET_ENCRYPT_RAW_ADDR(device), GetProfileConnStateName(state).c_str(), cause); 50 observers_.ForEach([remoteDevice, state, cause](std::shared_ptr<HandsFreeAudioGatewayObserver> observer) { 51 observer->OnConnectionStateChanged(remoteDevice, state, cause); 55 void OnScoStateChanged(const BluetoothRawAddress &device, int32_t state, int32_t reason) override 57 HILOGI("enter, device: %{public}s, state: %{public}u, reason: %{public}u", 58 GET_ENCRYPT_RAW_ADDR(device), state, reason); 60 observers_.ForEach([remoteDevice, state, reaso 469 GetDeviceState(const BluetoothRemoteDevice &device, int32_t &state) GetDeviceState() argument 702 EnableBtCallLog(bool state) EnableBtCallLog() argument [all...] |
H A D | bluetooth_a2dp_snk.cpp | 76 void OnConnectionStateChanged(const RawAddress &device, int state, int cause) override 78 HILOGD("device: %{public}s, state: %{public}d, cause: %{public}d", 79 GET_ENCRYPT_RAW_ADDR(device), state, cause); 80 a2dpSink_.observers_.ForEach([device, state, cause](std::shared_ptr<A2dpSinkObserver> observer) { 81 observer->OnConnectionStateChanged(BluetoothRemoteDevice(device.GetAddress(), 0), state, cause); 169 for (auto state : states) { in GetDevicesByStates() 170 convertStates.push_back(static_cast<int32_t>(state)); in GetDevicesByStates() 202 int A2dpSink::GetPlayingState(const BluetoothRemoteDevice &device, int &state) const in GetPlayingState() 218 return proxy->GetPlayingState(RawAddress(device.GetDeviceAddr()), state); in GetPlayingState()
|
H A D | bluetooth_map_mse.cpp | 43 void OnConnectionStateChanged(const BluetoothRawAddress &device, int32_t state, int32_t cause) override
45 HILOGI("enter, device: %{public}s, state: %{public}s, cause: %{public}d",
46 GET_ENCRYPT_RAW_ADDR(device), GetProfileConnStateName(state).c_str(), cause);
47 observers_.ForEach([device, state, cause](std::shared_ptr<MapMseObserver> observer) {
49 observer->OnConnectionStateChanged(dev, state, cause);
139 int32_t MapMse::GetDeviceState(const BluetoothRemoteDevice &device, int32_t &state) const
in GetDeviceState() 147 return proxy->GetDeviceState(BluetoothRawAddress(device.GetDeviceAddr()), state);
in GetDeviceState()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/ |
H A D | text_field_pattern_func_test.cpp | 85 bool state = pattern->InitValueText(content); in HWTEST_F() local 86 EXPECT_TRUE(state); in HWTEST_F() 100 bool state = pattern->InitValueText(content); in HWTEST_F() local 101 EXPECT_FALSE(state); in HWTEST_F() 117 bool state = pattern->InitValueText(content); in HWTEST_F() local 118 EXPECT_FALSE(state); in HWTEST_F() 196 auto state = pattern->GetHost()->GetOrCreateGestureEventHub()->gestureJudgeNativeFunc_(gestureInfo, info); in HWTEST_F() local 197 EXPECT_TRUE(state == GestureJudgeResult::REJECT); in HWTEST_F() 218 auto state = pattern->GetHost()->GetOrCreateGestureEventHub()->gestureJudgeNativeFunc_(gestureInfo, info); in HWTEST_F() local 219 EXPECT_TRUE(state in HWTEST_F() 549 auto state = pattern->GetDefaultTextInputAction(); HWTEST_F() local 611 auto state = pattern->RequestKeyboard(false, false, false); HWTEST_F() local 684 auto state = pattern->ConvertToAceAutoFillType(type); HWTEST_F() local 698 auto state = pattern->ConvertToAceAutoFillType(type); HWTEST_F() local 712 auto state = pattern->TextContentTypeToAceAutoFillType(type); HWTEST_F() local 726 auto state = pattern->TextContentTypeToAceAutoFillType(type); HWTEST_F() local 797 auto state = pattern->RequestCustomKeyboard(); HWTEST_F() local 814 auto state = pattern->RequestCustomKeyboard(); HWTEST_F() local 845 auto state = pattern->BeforeIMEInsertValue(insertValue, offset); HWTEST_F() local 859 auto state = false; HWTEST_F() local 879 auto state = false; HWTEST_F() local 901 auto state = false; HWTEST_F() local 925 auto state = false; HWTEST_F() local [all...] |
/base/location/frameworks/location_common/common/source/ |
H A D | request.cpp | 171 void Request::SetRequesting(bool state) in SetRequesting() argument 173 isRequesting_ = state; in SetRequesting() 311 void Request::SetLocationPermState(bool state) in SetLocationPermState() argument 313 isUsingLocationPerm_ = state; in SetLocationPermState() 316 void Request::SetBackgroundPermState(bool state) in SetBackgroundPermState() argument 318 isUsingBackgroundPerm_ = state; in SetBackgroundPermState() 321 void Request::SetApproximatelyPermState(bool state) in SetApproximatelyPermState() argument 323 isUsingApproximatelyPerm_ = state; in SetApproximatelyPermState()
|
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_button.cpp | 123 int64_t UIButton::GetStyleForState(uint8_t key, ButtonState state) const in GetStyleForState() 125 if (state < BTN_STATE_NUM) { in GetStyleForState() 126 return (buttonStyles_[state])->GetStyle(key); in GetStyleForState() 131 void UIButton::SetStyleForState(uint8_t key, int64_t value, ButtonState state) in SetStyleForState() argument 133 if (state < BTN_STATE_NUM) { in SetStyleForState() 151 buttonStyles_[state]->SetStyle(key, value); in SetStyleForState() 240 void UIButton::SetState(ButtonState state) in SetState() argument 242 state_ = state; in SetState()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_overlay_test/ |
H A D | bms_bundle_overlay_info_test.cpp | 44 "state": 0,
55 "state": 0
94 EXPECT_EQ(info.state, TEST_BUNDLE_OVERLAY_BUNDLE_STATE);
in CheckOverlayBundleInfo() 104 EXPECT_EQ(info.state, TEST_MODULE_OVERLAY_STATE);
in CheckOverlayModuleInfo() 140 overlayBundleInfo.state = TEST_BUNDLE_OVERLAY_BUNDLE_STATE;
in HWTEST_F() 184 overlayBundleInfo.state = TEST_BUNDLE_OVERLAY_BUNDLE_STATE;
in HWTEST_F() 245 overlayModuleInfo.state = TEST_MODULE_OVERLAY_STATE;
in HWTEST_F() 292 overlayModuleInfo.state = TEST_MODULE_OVERLAY_STATE;
in HWTEST_F()
|
/base/print/print_fwk/test/fuzztest/scancallbackstub_fuzzer/ |
H A D | scancallbackstub_fuzzer.cpp | 43 uint32_t state = dataProvider->ConsumeIntegralInRange<uint32_t>(0, MAX_SET_NUMBER); in HandleDeviceInfoTcpEventFuzzTest() local 44 parcelData.WriteUint32(state); in HandleDeviceInfoTcpEventFuzzTest() 53 uint32_t state = dataProvider->ConsumeIntegralInRange<uint32_t>(0, MAX_SET_NUMBER); in HandleDeviceInfoEventFuzzTest() local 54 parcelData.WriteUint32(state); in HandleDeviceInfoEventFuzzTest() 63 uint32_t state = dataProvider->ConsumeIntegralInRange<uint32_t>(0, MAX_SET_NUMBER); in HandleDeviceInfoSyncEventFuzzTest() local 64 parcelData.WriteUint32(state); in HandleDeviceInfoSyncEventFuzzTest()
|
/base/security/security_component_manager/services/security_component_service/sa/test/unittest/src/ |
H A D | app_state_observer_test.cpp | 134 * @tc.desc: Test recieve process state changed 141 processData.state = AppExecFwk::AppProcessState::APP_STATE_CREATE; in HWTEST_F() 145 processData.state = AppExecFwk::AppProcessState::APP_STATE_FOREGROUND; in HWTEST_F() 150 processData.state = AppExecFwk::AppProcessState::APP_STATE_BACKGROUND; in HWTEST_F() 165 processData.state = AppExecFwk::AppProcessState::APP_STATE_FOREGROUND; in HWTEST_F() 170 processData.state = AppExecFwk::AppProcessState::APP_STATE_FOREGROUND; in HWTEST_F() 178 * @tc.desc: Test recieve process state died 185 processData.state = AppExecFwk::AppProcessState::APP_STATE_FOREGROUND; in HWTEST_F()
|
/base/telephony/call_manager/services/audio/src/ |
H A D | call_state_processor.cpp | 36 void CallStateProcessor::AddCall(int32_t callId, TelCallState state) in AddCall() argument 39 switch (state) { in AddCall() 42 TELEPHONY_LOGI("add call , state : dialing"); in AddCall() 48 TELEPHONY_LOGI("add call , state : alerting"); in AddCall() 55 TELEPHONY_LOGI("add call , state : incoming"); in AddCall() 61 TELEPHONY_LOGI("add call , state : active"); in AddCall() 67 TELEPHONY_LOGI("add call , state : holding"); in AddCall() 76 void CallStateProcessor::DeleteCall(int32_t callId, TelCallState state) in DeleteCall() argument 79 switch (state) { in DeleteCall() 82 TELEPHONY_LOGI("erase call , state in DeleteCall() 116 GetCallNumber(TelCallState state) GetCallNumber() argument [all...] |
/base/useriam/user_auth_framework/test/unittest/services/src/ |
H A D | context_appstate_observer_test.cpp | 96 appStateData.state = static_cast<int32_t>(ApplicationState::APP_STATE_BACKGROUND); in HWTEST_F() 107 appStateData.state = static_cast<int32_t>(ApplicationState::APP_STATE_FOREGROUND); in HWTEST_F() 118 appStateData.state = static_cast<int32_t>(ApplicationState::APP_STATE_BACKGROUND); in HWTEST_F() 129 appStateData.state = static_cast<int32_t>(ApplicationState::APP_STATE_BACKGROUND); in HWTEST_F() 140 appStateData.state = static_cast<int32_t>(ApplicationState::APP_STATE_FOREGROUND); in HWTEST_F() 151 appStateData.state = static_cast<int32_t>(ApplicationState::APP_STATE_BACKGROUND); in HWTEST_F()
|
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/ |
H A D | fault_data.cpp | 61 state = parcel.ReadUint32(); in ReadFromParcel() 121 if (!parcel.WriteUint32(state)) { in Marshalling() 122 TAG_LOGE(AAFwkTag::APPMGR, "State [%{public}u] write uint32 failed.", state); in Marshalling() 187 state = parcel.ReadUint32(); in ReadFromParcel() 252 if (!parcel.WriteUint32(state)) { in Marshalling() 253 TAG_LOGE(AAFwkTag::APPMGR, "State [%{public}u] write uint32 failed.", state); in Marshalling()
|
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | lifecycle_deal.cpp | 49 stateInfo.state = AbilityLifeCycleState::ABILITY_STATE_ACTIVE; in Activate() 59 stateInfo.state = AbilityLifeCycleState::ABILITY_STATE_INACTIVE; in Inactivate() 68 stateInfo.state = AbilityLifeCycleState::ABILITY_STATE_BACKGROUND; in MoveToBackground() 93 stateInfo.state = AbilityLifeCycleState::ABILITY_STATE_INITIAL; in Terminate() 138 stateInfo.state = AbilityLifeCycleState::ABILITY_STATE_FOREGROUND_NEW; in ForegroundNew() 151 stateInfo.state = AbilityLifeCycleState::ABILITY_STATE_BACKGROUND_NEW; in BackgroundNew()
|
H A D | call_record.cpp | 196 std::string state = (state_ == CallState::INIT ? "INIT" : in Dump() local 198 tempstr += " state #" + state; in Dump() 209 bool CallRecord::IsCallState(const CallState &state) const in IsCallState() 211 return (state_ == state); in IsCallState() 214 void CallRecord::SetCallState(const CallState &state) in SetCallState() argument 216 state_ = state; in SetCallState()
|
/foundation/arkui/ui_lite/test/unittest/components/ |
H A D | ui_scroll_view_unit_test.cpp | 68 uint8_t state = UIScrollView::OnScrollListener::SCROLL_STATE_MOVE; in HWTEST_F() local 69 scrollListener->SetScrollState(state); in HWTEST_F() 70 EXPECT_EQ(scrollListener->GetScrollState(), state); in HWTEST_F() 72 state = UIScrollView::OnScrollListener::SCROLL_STATE_STOP; in HWTEST_F() 73 scrollListener->SetScrollState(state); in HWTEST_F() 74 EXPECT_EQ(scrollListener->GetScrollState(), state); in HWTEST_F()
|
/foundation/barrierfree/accessibility/services/aams/test/mock/include/ |
H A D | accessibility_ut_helper.h | 280 void SetShortKeyTargetAbilityState(bool state) in SetShortKeyTargetAbilityState() argument 282 enableShortKeyTargetAbility_ = state; in SetShortKeyTargetAbilityState() 290 void SetZoomState(bool state) in SetZoomState() argument 292 zoomState_ = state; in SetZoomState() 300 void SetScrollState(bool state) in SetScrollState() argument 302 scrollState_ = state; in SetScrollState()
|
/foundation/barrierfree/accessibility/services/test/moduletest/mock/include/ |
H A D | accessibility_module_test_helper.h | 280 void SetShortKeyTargetAbilityState(bool state) in SetShortKeyTargetAbilityState() argument 282 enableShortKeyTargetAbility_ = state; in SetShortKeyTargetAbilityState() 290 void SetZoomState(bool state) in SetZoomState() argument 292 zoomState_ = state; in SetZoomState() 300 void SetScrollState(bool state) in SetScrollState() argument 302 scrollState_ = state; in SetScrollState()
|
/foundation/barrierfree/accessibility/services/test/xts/inc/ |
H A D | accessibility_ut_helper.h | 280 void SetShortKeyTargetAbilityState(bool state) in SetShortKeyTargetAbilityState() argument 282 enableShortKeyTargetAbility_ = state; in SetShortKeyTargetAbilityState() 290 void SetZoomState(bool state) in SetZoomState() argument 292 zoomState_ = state; in SetZoomState() 300 void SetScrollState(bool state) in SetScrollState() argument 302 scrollState_ = state; in SetScrollState()
|
/foundation/arkui/ui_lite/interfaces/kits/components/ |
H A D | ui_list.h | 49 * @brief Represents a listener that contains a callback to be invoked when the scroll state changes or when a new child 50 * view is selected at the preset position as this list scrolls. The scroll state can be {@link 58 * @brief A constructor used to create a <b>ListScrollListener</b> instance with the default state 137 * @brief Obtains the scroll state of this list. 139 * @return Returns the scroll state, either {@link SCROLL_STATE_STOP} or {@link SCROLL_STATE_MOVE}. 148 void SetScrollState(uint8_t state) in SetScrollState() argument 150 state_ = state; in SetScrollState() 285 * @brief Sets the loop state for this list, in which a loop scroll is possible since the top and bottom of the list 288 * @param state Indicates the loop state t 292 SetLoopState(bool state) SetLoopState() argument 365 EnableAutoAlign(bool state) EnableAutoAlign() argument [all...] |
/foundation/communication/bluetooth/frameworks/inner/ipc/src/ |
H A D | bluetooth_gatt_client_callback_stub.cpp | 92 int32_t state = data.ReadInt32(); in OnConnectionStateChangedInner() local 94 stub->OnConnectionStateChanged(state, newState); in OnConnectionStateChangedInner() 172 int32_t state = data.ReadInt32(); in OnMtuChangedInner() local 174 stub->OnMtuChanged(state, mtu); in OnMtuChangedInner() 230 int32_t state = data.ReadInt32(); in OnReadRemoteRssiValueInner() local 231 stub->OnReadRemoteRssiValue(address, rssi, state); in OnReadRemoteRssiValueInner()
|
/foundation/multimedia/av_session/frameworks/native/session/test/fuzztest/avcontrollercallbackstub_fuzzer/ |
H A D | avcontroller_callbackclient_fuzzer.cpp | 44 void OnPlaybackStateChange(const AVPlaybackState& state) override; 78 void TestAVControllerCallback::OnPlaybackStateChange(const AVPlaybackState& state) in OnPlaybackStateChange() argument 178 int32_t state = *(reinterpret_cast<const int32_t*>(data)); in FuzzTestInner1() local 179 if ((state >= AVPlaybackState::PLAYBACK_STATE_INITIAL) && (state <= AVPlaybackState::PLAYBACK_STATE_MAX)) { in FuzzTestInner1() 181 playbackState.SetState(state); in FuzzTestInner1()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/src/session/ |
H A D | slow_motion_session.cpp | 124 SlowMotionState state = SlowMotionState::DISABLE; in OnSlowMotionStateChange() local 135 state = itr->second; in OnSlowMotionStateChange() 141 if (state != appCallback->GetSlowMotionState()) { in OnSlowMotionStateChange() 143 appCallback->GetSlowMotionState(), state); in OnSlowMotionStateChange() 144 appCallback->SetSlowMotionState(state); in OnSlowMotionStateChange() 145 appCallback->OnSlowMotionState(state); in OnSlowMotionStateChange()
|
/foundation/resourceschedule/resource_schedule_service/ressched/services/resschedmgr/resschedfwk/src/ |
H A D | notifier_mgr.cpp | 158 void NotifierMgr::OnApplicationStateChange(int32_t state, int32_t pid) in OnApplicationStateChange() argument 160 RESSCHED_LOGD("OnApplicationStateChange called, state: %{public}d, pid : %{public}d .", state, pid); in OnApplicationStateChange() 171 if (state == static_cast<int32_t>(ApplicationState::APP_STATE_FOREGROUND)) { in OnApplicationStateChange() 179 if (state == static_cast<int32_t>(ApplicationState::APP_STATE_BACKGROUND) in OnApplicationStateChange() 180 || state == static_cast<int32_t>(ApplicationState::APP_STATE_TERMINATED) in OnApplicationStateChange() 181 || state == static_cast<int32_t>(ApplicationState::APP_STATE_END)) { in OnApplicationStateChange()
|
/foundation/window/window_manager/dm_lite/src/ |
H A D | screen_manager_lite.cpp | 200 ScreenPowerState state, PowerStateChangeReason reason)
in SetSpecifiedScreenPower() 202 WLOGFI("screenId:%{public}" PRIu64 ", state:%{public}u, reason:%{public}u", screenId, state, reason);
in SetSpecifiedScreenPower() 203 return SingletonContainer::Get<ScreenManagerAdapterLite>().SetSpecifiedScreenPower(screenId, state, reason);
in SetSpecifiedScreenPower() 206 bool ScreenManagerLite::SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason)
in SetScreenPowerForAll() argument 208 WLOGFI("state:%{public}u, reason:%{public}u", state, reason);
in SetScreenPowerForAll() 209 return SingletonContainer::Get<ScreenManagerAdapterLite>().SetScreenPowerForAll(state, reason);
in SetScreenPowerForAll() 199 SetSpecifiedScreenPower(ScreenId screenId, ScreenPowerState state, PowerStateChangeReason reason) SetSpecifiedScreenPower() argument
|