Home
last modified time | relevance | path

Searched refs:force (Results 1 – 25 of 41) sorted by relevance

12

/base/powermgr/power_manager/services/native/src/actions/default/display/
Ddefault_device_state_action.cpp54 const std::function<void()> onSuspend, const std::function<void()> onWakeup, bool force) in GoToSleep() argument
56 SystemSuspendController::GetInstance().Suspend(onSuspend, onWakeup, force); in GoToSleep()
Ddefault_device_state_action.h36 …uint32_t GoToSleep(std::function<void()> onSuspend, std::function<void()> onWakeup, bool force) ov…
Ddevice_state_action.cpp139 const std::function<void()> onWakeup, bool force) in GoToSleep() argument
141 SystemSuspendController::GetInstance().Suspend(onSuspend, onWakeup, force); in GoToSleep()
Ddevice_state_action.h37 …uint32_t GoToSleep(std::function<void()> onSuspend, std::function<void()> onWakeup, bool force) ov…
/base/usb/usb_manager/interfaces/innerkits/native/src/
Dusb_device_pipe.cpp43 int32_t USBDevicePipe::ClaimInterface(const UsbInterface &interface, bool force) in ClaimInterface() argument
45 return UsbSrvClient::GetInstance().ClaimInterface(*this, interface, force); in ClaimInterface()
/base/telephony/core_service/services/sim/include/
Dmulti_sim_controller.h55 int32_t SetShowNumber(int32_t slotId, std::u16string Number, bool force = false);
57 int32_t SetShowName(int32_t slotId, std::u16string name, bool force = false);
60 int32_t SetActiveSim(int32_t slotId, int32_t enable, bool force = false);
/base/powermgr/power_manager/services/native/src/actions/default/suspend/
Disuspend_controller.h30 virtual void Suspend(SuspendCallback onSuspend, SuspendCallback onWakeup, bool force) = 0;
Dsuspend_controller.cpp142 void SuspendController::Suspend(SuspendCallback onSuspend, SuspendCallback onWakeup, bool force) in Suspend() argument
144 if (force) { in Suspend()
Dsuspend_controller.h39 void Suspend(SuspendCallback onSuspend, SuspendCallback onWakeup, bool force) override;
/base/powermgr/power_manager/test/systemtest/mock/
Dmock_state_action.h35 …(GoToSleep, uint32_t(std::function<void()> onSuspend, std::function<void()> onWakeup, bool force));
/base/powermgr/power_manager/test/mock/action/
Dmock_state_action.h35 …(GoToSleep, uint32_t(std::function<void()> onSuspend, std::function<void()> onWakeup, bool force));
/base/usb/usb_manager/interfaces/innerkits/native/include/
Dusb_device_pipe.h29 int32_t ClaimInterface(const UsbInterface &interface, bool force);
Dusb_srv_client.h58 int32_t ClaimInterface(USBDevicePipe &pip, const UsbInterface &interface, bool force);
Diusb_srv.h42 …al int32_t ClaimInterface(uint8_t busNum, uint8_t devAddr, uint8_t interfaceid, uint8_t force) = 0;
/base/telephony/core_service/services/network_search/include/
Ddevice_state_handler.h44 void SetNotificationFilter(int32_t newFilter, bool force);
/base/powermgr/power_manager/services/native/include/actions/
Didevice_state_action.h49 const std::function<void()> onWakeup, bool force) = 0;
/base/update/updater/services/
DBUILD.gn78 # force link flashd library
95 # force link invisible function
167 # force link invisible function
/base/telephony/core_service/services/network_search/src/
Ddevice_state_handler.cpp154 void DeviceStateHandler::SetNotificationFilter(int32_t newFilter, bool force) in SetNotificationFilter() argument
156 if (!force && newFilter == notificationFilter_) { in SetNotificationFilter()
/base/powermgr/power_manager/services/native/src/actions/default/
Dsystem_suspend_controller.h35 …Suspend(const std::function<void()>& onSuspend, const std::function<void()>& onWakeup, bool force);
Dsystem_suspend_controller.cpp100 const std::function<void()>& onSuspend, const std::function<void()>& onWakeup, bool force) in Suspend() argument
107 if (force) { in Suspend()
/base/telephony/core_service/services/sim/src/
Dmulti_sim_controller.cpp398 int32_t MultiSimController::SetActiveSim(int32_t slotId, int32_t enable, bool force) in SetActiveSim() argument
405 if (!force && GetIccId(slotId).empty() && enable != ACTIVE) { // force is used for init data in SetActiveSim()
413 if (!force && !SetActiveSimToRil(slotId, ENTITY_CARD, enable)) { in SetActiveSim()
780 int32_t MultiSimController::SetShowNumber(int32_t slotId, std::u16string number, bool force) in SetShowNumber() argument
783 if (!force && !IsValidData(slotId)) { in SetShowNumber()
787 …if ((static_cast<uint32_t>(slotId) >= localCacheInfo_.size()) || (!force && GetIccId(slotId).empty… in SetShowNumber()
823 int32_t MultiSimController::SetShowName(int32_t slotId, std::u16string name, bool force) in SetShowName() argument
825 if (!force && !IsValidData(slotId)) { in SetShowName()
829 …if ((static_cast<uint32_t>(slotId) >= localCacheInfo_.size()) || (!force && GetIccId(slotId).empty… in SetShowName()
/base/hiviewdfx/hidumper/services/native/include/
Draw_param.h40 void UpdateStatus(uint32_t status, bool force = false);
/base/powermgr/power_manager/services/native/src/suspend/
Dsuspend_controller.cpp239 bool force = true; in ControlListener() local
241 force = false; in ControlListener()
248 …::INACTIVE, stateMachine_->GetReasionBySuspendType(static_cast<SuspendDeviceType>(reason)), force); in ControlListener()
/base/usb/usb_manager/interfaces/kits/js/
D@ohos.usbManager.d.ts185 function claimInterface(pipe: USBDevicePipe, iface: USBInterface, force?: boolean): number;
/base/powermgr/power_manager/services/native/include/
Dpower_state_machine.h105 bool SetState(PowerState state, StateChangeReason reason, bool force = false);

12