Home
last modified time | relevance | path

Searched refs:state (Results 5126 - 5150 of 20575) sorted by relevance

1...<<201202203204205206207208209210>>...823

/foundation/resourceschedule/memmgr/services/memmgrservice/src/reclaim_priority_manager/
H A Dbundle_priority_info.cpp43 BundleState state) : name_(name), uid_(bundleUid), priority_(priority), accountId_(accountId), state_(state) in BundlePriorityInfo()
124 void BundlePriorityInfo::SetState(BundleState state) in SetState() argument
126 state_ = state; in SetState()
42 BundlePriorityInfo(const std::string &name, int bundleUid, int priority, int accountId, BundleState state) BundlePriorityInfo() argument
/foundation/window/window_manager/dm_lite/include/
H A Ddisplay_manager_adapter_lite.h72 virtual bool SetScreenPowerById(ScreenId screenId, ScreenPowerState state, PowerStateChangeReason reason);
73 virtual bool SetDisplayState(DisplayState state);
88 virtual bool SetSpecifiedScreenPower(ScreenId screenId, ScreenPowerState state, PowerStateChangeReason reason);
89 virtual bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason);
/foundation/communication/dsoftbus/tests/core/bus_center/test/mock/src/
H A Dhb_ctrl_static_mock.cpp39 void LnnNotifyNetworkStateChanged(SoftBusNetworkState state) in LnnNotifyNetworkStateChanged() argument
41 HeartBeatCtrlStaticInterface()->LnnNotifyNetworkStateChanged(state); in LnnNotifyNetworkStateChanged()
170 void LnnNotifyAccountStateChangeEvent(SoftBusAccountState state) in LnnNotifyAccountStateChangeEvent() argument
172 return HeartBeatCtrlStaticInterface()->LnnNotifyAccountStateChangeEvent(state); in LnnNotifyAccountStateChangeEvent()
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_self_cure/
H A Dself_cure_interface.cpp84 mStaCallback.OnStaConnChanged = [this](OperateResState state, const WifiLinkedInfo &info, int instId) { in InitCallback()
85 this->DealStaConnChanged(state, info, instId); in InitCallback()
122 void SelfCureInterface::DealStaConnChanged(OperateResState state, const WifiLinkedInfo &info, int instId) in DealStaConnChanged() argument
129 pSelfCureService->HandleStaConnChanged(state, info); in DealStaConnChanged()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/dfx/src/
H A Dradar_reporter.cpp43 void RadarReporter::Report(const RadarParam &param, const char *funcName, int32_t state, const char *eventName) in Report() argument
45 int32_t res = state == BEGIN ? param.res_ : (param.errCode_ != NO_ERROR ? RES_FAILED : RES_SUCCESS); in Report()
46 if (state != 0) { in Report()
49 BIZ_SCENE_LABEL, param.scene_, BIZ_STAGE_LABEL, param.stage_, BIZ_STATE_LABEL, state, STAGE_RES_LABEL, res, in Report()
/foundation/distributedhardware/distributed_camera/services/cameraservice/base/src/
H A Ddcamera_info_cmd.cpp86 cJSON *state = cJSON_GetObjectItemCaseSensitive(valueJson, "State"); in Unmarshal() local
87 if (state == nullptr || !cJSON_IsNumber(state)) { in Unmarshal()
92 info->state_ = state->valueint; in Unmarshal()
/foundation/distributeddatamgr/udmf/framework/common/
H A Dudmf_radar_reporter.cpp23 int32_t stage, int32_t stageRes, int32_t state) in ReportNormal()
48 .v = { .i32 = state }, in ReportNormal()
61 const std::string &func, int32_t scene, int32_t stage, int32_t stageRes, int32_t errorCode, int32_t state) in ReportFail()
90 .v = { .i32 = state }, in ReportFail()
22 ReportNormal(const std::string &func, int32_t scene, int32_t stage, int32_t stageRes, int32_t state) ReportNormal() argument
60 ReportFail( const std::string &func, int32_t scene, int32_t stage, int32_t stageRes, int32_t errorCode, int32_t state) ReportFail() argument
/foundation/communication/bluetooth_service/test/unittest/hid/
H A Dhid_host_test.cpp32 virtual void OnConnectionStateChanged(const BluetoothRemoteDevice &device, int state, int cause) {} in OnConnectionStateChanged() argument
127 int32_t state = static_cast<int32_t>(BTConnectState::DISCONNECTED); in HWTEST_F() local
128 profile_->GetDeviceState(device, state); in HWTEST_F()
129 EXPECT_EQ(sucess, state); in HWTEST_F()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_hf/
H A Dhfp_hf_call_manager.cpp41 HandsFreeUnitCalls *HfpHfCallManager::GetCallByState(int state) in GetCallByState() argument
45 if (it->second.GetState() == state) { in GetCallByState()
101 int HfpHfCallManager::GetCallNumberByState(int state) in GetCallNumberByState() argument
106 if (it->second.GetState() == state) { in GetCallNumberByState()
/foundation/communication/dsoftbus/adapter/common/bus_center/common_event/
H A Dlnn_common_event_monitor.cpp72 SoftBusAccountState state = SOFTBUS_ACCOUNT_UNKNOWN; in OnReceiveEvent() local
76 state = SOFTBUS_ACCOUNT_LOG_OUT; in OnReceiveEvent()
78 if (state != SOFTBUS_ACCOUNT_UNKNOWN) { in OnReceiveEvent()
79 LnnNotifyAccountStateChangeEvent(state); in OnReceiveEvent()
150 LNN_LOGE(LNN_EVENT, "async call subscribe screen state fail"); in LnnSubscribeCommonEvent()
/foundation/window/window_manager/window_scene/screen_session_manager/src/fold_screen_controller/sensor_fold_state_manager/
H A Ddual_display_sensor_fold_state_manager.cpp112 FoldStatus state = GetCurrentState(); in GetNextFoldState() local
134 return state; in GetNextFoldState()
158 if (appStateData.state == static_cast<int32_t>(ApplicationState::APP_STATE_FOREGROUND)) { in OnForegroundApplicationChanged()
161 if (appStateData.state == static_cast<int32_t>(ApplicationState::APP_STATE_BACKGROUND) in OnForegroundApplicationChanged()
/kernel/linux/linux-5.10/arch/powerpc/crypto/
H A Dsha1.c23 void powerpc_sha_transform(u32 *state, const u8 *src);
30 .state = { SHA1_H0, SHA1_H1, SHA1_H2, SHA1_H3, SHA1_H4 }, in powerpc_sha1_init()
57 powerpc_sha_transform(sctx->state, src); in powerpc_sha1_update()
89 /* Store state in digest */ in powerpc_sha1_final()
91 dst[i] = cpu_to_be32(sctx->state[i]); in powerpc_sha1_final()
/kernel/linux/linux-5.10/arch/mips/kernel/
H A Dspinlock_test.c51 struct spin_multi_state *state; member
60 struct spin_multi_state *s = pt->state; in multi_other()
103 t1.state = &ms; in multi_get()
104 t2.state = &ms; in multi_get()
/kernel/linux/linux-5.10/arch/arm/mach-ux500/
H A Dpm.c82 * does not prevent the interrupt from changing state, for example
140 * monitor them and abort/finish the retention/off sequence or state.
158 static int ux500_suspend_enter(suspend_state_t state) in ux500_suspend_enter() argument
164 static int ux500_suspend_valid(suspend_state_t state) in ux500_suspend_valid() argument
166 return state == PM_SUSPEND_MEM || state == PM_SUSPEND_STANDBY; in ux500_suspend_valid()
/kernel/linux/linux-5.10/drivers/clk/
H A Dclk-pwm.c50 struct pwm_state state; in clk_pwm_get_duty_cycle() local
52 pwm_get_state(clk_pwm->pwm, &state); in clk_pwm_get_duty_cycle()
54 duty->num = state.duty_cycle; in clk_pwm_get_duty_cycle()
55 duty->den = state.period; in clk_pwm_get_duty_cycle()
/kernel/linux/linux-5.10/drivers/clk/tegra/
H A Dclk-pll-out.c22 int state; in clk_pll_out_is_enabled() local
24 state = (val & pll_out_enb(pll_out)) ? 1 : 0; in clk_pll_out_is_enabled()
26 state = 0; in clk_pll_out_is_enabled()
27 return state; in clk_pll_out_is_enabled()
/kernel/linux/linux-5.10/drivers/net/ethernet/mediatek/
H A Dmtk_sgmii.c64 const struct phylink_link_state *state) in mtk_sgmii_setup_mode_force()
73 if (state->interface == PHY_INTERFACE_MODE_2500BASEX) in mtk_sgmii_setup_mode_force()
86 switch (state->speed) { in mtk_sgmii_setup_mode_force()
99 if (state->duplex == DUPLEX_FULL) in mtk_sgmii_setup_mode_force()
104 /* Release PHYA power down state */ in mtk_sgmii_setup_mode_force()
63 mtk_sgmii_setup_mode_force(struct mtk_sgmii *ss, int id, const struct phylink_link_state *state) mtk_sgmii_setup_mode_force() argument
/kernel/linux/linux-6.6/arch/mips/kernel/
H A Dspinlock_test.c51 struct spin_multi_state *state; member
60 struct spin_multi_state *s = pt->state; in multi_other()
103 t1.state = &ms; in multi_get()
104 t2.state = &ms; in multi_get()
/kernel/linux/linux-6.6/arch/arc/include/asm/
H A Dptrace.h18 unsigned long state:8, vec:8, cause:8, param:8; member
20 unsigned long param:8, cause:8, vec:8, state:8;
51 * Last word used by Linux for extra state mgmt (syscall-restart)
128 #define syscall_wont_restart(regs) (regs->ecr.state |= STATE_SCALL_RESTARTED)
129 #define syscall_restartable(regs) !(regs->ecr.state & STATE_SCALL_RESTARTED)
/kernel/linux/linux-6.6/arch/arm/mach-ux500/
H A Dpm.c80 * does not prevent the interrupt from changing state, for example
138 * monitor them and abort/finish the retention/off sequence or state.
156 static int ux500_suspend_enter(suspend_state_t state) in ux500_suspend_enter() argument
162 static int ux500_suspend_valid(suspend_state_t state) in ux500_suspend_valid() argument
164 return state == PM_SUSPEND_MEM || state == PM_SUSPEND_STANDBY; in ux500_suspend_valid()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/x86_64/
H A Devmcs_test.c5 * Tests for Enlightened VMCS, including nested guest state.
88 struct kvm_x86_state *state; in main() local
138 state = vcpu_save_state(vm, VCPU_ID); in main()
144 /* Restore state in a new VM. */ in main()
149 vcpu_load_state(vm, VCPU_ID, state); in main()
151 free(state); in main()
H A Dsmm_test.c99 struct kvm_x86_state *state; in main() local
152 state = vcpu_save_state(vm, VCPU_ID); in main()
157 vcpu_load_state(vm, VCPU_ID, state); in main()
159 free(state); in main()
/kernel/linux/linux-5.10/drivers/hv/
H A Dhv_debugfs.c82 /* Setup test state value for vmbus device */
86 bool *state = &channel->fuzz_testing_state; in hv_debug_set_test_state() local
91 state, in hv_debug_set_test_state()
159 bool state = test_channel->fuzz_testing_state; in hv_debug_delay_test() local
161 if (state) { in hv_debug_delay_test()
/kernel/linux/linux-5.10/drivers/media/platform/s5p-mfc/
H A Ds5p_mfc_cmd_v5.c119 ctx->state = MFCINST_ERROR; in s5p_mfc_open_inst_cmd_v5()
130 if (ctx->state == MFCINST_FREE) { in s5p_mfc_close_inst_cmd_v5()
132 ctx->state = MFCINST_ERROR; in s5p_mfc_close_inst_cmd_v5()
144 ctx->state = MFCINST_ERROR; in s5p_mfc_close_inst_cmd_v5()
/kernel/linux/linux-5.10/drivers/iio/common/cros_ec_sensors/
H A Dcros_ec_lid_angle.c93 struct cros_ec_lid_angle_state *state; in cros_ec_lid_angle_probe() local
96 indio_dev = devm_iio_device_alloc(dev, sizeof(*state)); in cros_ec_lid_angle_probe()
106 state = iio_priv(indio_dev); in cros_ec_lid_angle_probe()
110 state->core.read_ec_sensors_data = cros_ec_sensors_read_lid_angle; in cros_ec_lid_angle_probe()

Completed in 14 milliseconds

1...<<201202203204205206207208209210>>...823