Home
last modified time | relevance | path

Searched refs:disable (Results 1 - 25 of 45) sorted by relevance

12

/base/customization/enterprise_device_management/services/edm_plugin/src/
H A Ddisable_bluetooth_plugin.cpp47 ErrCode DisableBluetoothPlugin::OnSetPolicy(bool &disable) in OnSetPolicy() argument
50 std::string newPara = disable ? "true" : "false"; in OnSetPolicy()
53 EDMLOGW("DisableBluetoothPlugin failed when set system para: %{public}d", disable); in OnSetPolicy()
57 if (disable && Bluetooth::BluetoothHost::GetDefaultHost().IsBrEnabled()) { in OnSetPolicy()
61 EDMLOGW("DisableBluetoothPlugin failed when disable bt: %{public}d, rollback: %{public}d", ret, setParaRet); in OnSetPolicy()
66 EDMLOGI("DisableBluetoothPlugin set system para: %{public}d", disable); in OnSetPolicy()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/include/
H A Dhiappevent_config.h39 void SetDisable(bool disable);
43 bool disable = false; member in OHOS::HiviewDFX::HiAppEventConfig
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/
H A Dhiappevent_config.cpp39 const std::string DISABLE = "disable";
165 void HiAppEventConfig::SetDisable(bool disable) in SetDisable() argument
168 this->disable = disable; in SetDisable()
185 return this->disable; in GetDisable()
/base/usb/usb_manager/services/native/include/
H A Dusb_service.h128 int32_t ManageGlobalInterface(bool disable) override;
129 int32_t ManageDevice(int32_t vendorId, int32_t productId, bool disable) override;
130 int32_t ManageInterfaceType(const std::vector<UsbDeviceType> &disableType, bool disable) override;
169 int32_t ExecuteManageInterfaceType(const std::vector<UsbDeviceType> &disableType, bool disable);
179 int32_t ManageInterface(const HDI::Usb::V1_0::UsbDev &dev, uint8_t interfaceId, bool disable);
180 void ExecuteManageDeviceType(const std::vector<UsbDeviceType> &disableType, bool disable,
182 int32_t ManageGlobalInterfaceImpl(bool disable);
183 int32_t ManageDeviceImpl(int32_t vendorId, int32_t productId, bool disable);
184 int32_t ManageInterfaceTypeImpl(InterfaceType interfaceType, bool disable);
185 int32_t ManageDeviceTypeImpl(InterfaceType interfaceType, bool disable);
[all...]
/base/theme/screenlock_mgr/frameworks/js/napi/include/
H A Dnapi_screenlock_ability.h49 bool disable; member
54 : Context(nullptr, nullptr), disable(false), userId(-1), status(napi_generic_failure), in ScreenLockDisableInfo()
57 : Context(std::move(input), std::move(output)), disable(false), userId(-1), in ScreenLockDisableInfo()
/base/msdp/device_status/rust/modules/coordination/server/src/
H A Dlib.rs53 fn disable(&self, context: &CallingContext, data: &BorrowedMsgParcel, in disable() functions
55 call_debug_enter!("FusionCoordinationServer::disable"); in disable()
57 self.0.disable(context, &param) in disable()
H A Dcoordination.rs45 pub fn disable(&self, context: &CallingContext, in disable() functions
48 call_debug_enter!("Coordination::disable"); in disable()
/base/usb/usb_manager/interfaces/innerkits/native/include/
H A Dusb_srv_client.h95 int32_t ManageGlobalInterface(bool disable);
96 int32_t ManageDevice(int32_t vendorId, int32_t productId, bool disable);
97 int32_t ManageInterfaceType(const std::vector<UsbDeviceType> &disableType, bool disable);
H A Diusb_srv.h79 virtual int32_t ManageGlobalInterface(bool disable) = 0;
80 virtual int32_t ManageDevice(int32_t vendorId, int32_t productId, bool disable) = 0;
81 virtual int32_t ManageInterfaceType(const std::vector<UsbDeviceType> &disableType, bool disable) = 0;
/base/usb/usb_manager/services/native/src/
H A Dusb_service.cpp1436 int32_t UsbService::ExecuteManageInterfaceType(const std::vector<UsbDeviceType> &disableType, bool disable) in ExecuteManageInterfaceType() argument
1449 ExecuteManageDeviceType(disableType, disable, g_typeMap, false); in ExecuteManageInterfaceType()
1451 ExecuteManageDeviceType(disableType, disable, d_typeMap, true); in ExecuteManageInterfaceType()
1466 void UsbService::ExecuteManageDeviceType(const std::vector<UsbDeviceType> &disableType, bool disable, in ExecuteManageDeviceType() argument
1496 ManageInterfaceTypeImpl(interfaceTypeValues, disable); in ExecuteManageDeviceType()
1499 ManageInterfaceTypeImpl(interfaceTypeValues, !disable); in ExecuteManageDeviceType()
1502 ManageDeviceTypeImpl(interfaceTypeValues, disable); in ExecuteManageDeviceType()
1505 ManageDeviceTypeImpl(interfaceTypeValues, !disable); in ExecuteManageDeviceType()
1585 USB_HILOGI(MODULE_USB_SERVICE, "trustUsbDeviceIds is empty, no devices disable"); in ExecuteStrategy()
2112 int32_t UsbService::ManageGlobalInterface(bool disable) in ManageGlobalInterface() argument
2124 ManageDevice(int32_t vendorId, int32_t productId, bool disable) ManageDevice() argument
2136 ManageInterfaceType(const std::vector<UsbDeviceType> &disableType, bool disable) ManageInterfaceType() argument
2147 ManageGlobalInterfaceImpl(bool disable) ManageGlobalInterfaceImpl() argument
2189 ManageDeviceImpl(int32_t vendorId, int32_t productId, bool disable) ManageDeviceImpl() argument
2233 ManageInterfaceTypeImpl(InterfaceType interfaceType, bool disable) ManageInterfaceTypeImpl() argument
2293 ManageDeviceTypeImpl(InterfaceType interfaceType, bool disable) ManageDeviceTypeImpl() argument
2319 ManageInterface(const HDI::Usb::V1_0::UsbDev &dev, uint8_t interfaceId, bool disable) ManageInterface() argument
[all...]
/base/customization/enterprise_device_management/interfaces/inner_api/usb_manager/include/
H A Dusb_manager_proxy.h31 int32_t DisableUsb(const AppExecFwk::ElementName &admin, bool disable);
/base/hiviewdfx/hiappevent/frameworks/cj/ffi/include/
H A Dhiappevent_impl.h32 static int Configure(bool disable, const std::string& maxStorage);
H A Dcommon.h23 bool disable = false; member
/base/msdp/device_status/rust/data/sys/src/
H A Dplugin_manager.rs39 fn disable(&self, context: &CallingContext, data: &BorrowedMsgParcel, reply: &mut BorrowedMsgParcel) -> FusionResult<()>; in disable() functions
/base/theme/screenlock_mgr/interfaces/inner_api/include/
H A Dscreenlock_manager_interface.h41 virtual int32_t SetScreenLockDisabled(bool disable, int userId) = 0;
/base/theme/screenlock_mgr/frameworks/native/src/
H A Dscreenlock_app_manager.cpp78 int32_t ScreenLockAppManager::SetScreenLockDisabled(bool disable, int userId) in SetScreenLockDisabled() argument
86 int32_t status = proxy->SetScreenLockDisabled(disable, userId); in SetScreenLockDisabled()
/base/msdp/device_status/rust/ipc/service/src/
H A Dlib.rs53 fn disable(&self, intention: Intention, data: &BorrowedMsgParcel<'_>, reply: &mut BorrowedMsgParcel<'_>) -> FusionResult<()>; in disable() functions
87 info!(LOG_LABEL, "Call stub.disable()");
88 stub.disable(intention, data, reply)
186 fn disable(&self, intention: Intention, data: &BorrowedMsgParcel<'_>, in disable() functions
188 call_debug_enter!("FusionIpcProxy::disable"); in disable()
/base/theme/screenlock_mgr/services/src/
H A Dscreenlock_manager_stub.cpp210 bool disable = data.ReadBool(); in OnSetScreenLockDisabled() local
212 SCLOCK_HILOGD("disable=%{public}d, userId=%{public}d", disable, userId); in OnSetScreenLockDisabled()
213 int32_t retCode = SetScreenLockDisabled(disable, userId); in OnSetScreenLockDisabled()
/base/usb/usb_manager/services/zidl/include/
H A Dusb_server_proxy.h87 int32_t ManageGlobalInterface(bool disable) override;
88 int32_t ManageDevice(int32_t vendorId, int32_t productId, bool disable) override;
89 int32_t ManageInterfaceType(const std::vector<UsbDeviceType> &disableType, bool disable) override;
/base/startup/appspawn/test/mock/
H A Dapp_spawn_stub.cpp94 void SetTraceDisabled(int disable) {} in SetTraceDisabled() argument
/base/theme/screenlock_mgr/frameworks/native/include/
H A Dscreenlock_app_manager.h45 SCREENLOCK_API int32_t SetScreenLockDisabled(bool disable, int userId);
H A Dscreenlock_manager_proxy.h44 int32_t SetScreenLockDisabled(bool disable, int userId) override;
/base/hiviewdfx/hiappevent/frameworks/cj/ffi/src/
H A Dhiappevent_impl.cpp40 int HiAppEventImpl::Configure(bool disable, const std::string& maxStorage) in Configure() argument
42 std::string disableStr = disable == true ? "true" : "false"; in Configure()
43 bool disableRes = HiAppEventConfig::GetInstance().SetConfigurationItem("disable", disableStr); in Configure()
45 LOGE("HiAppEvent failed to configure disable HiAppEvent"); in Configure()
/base/msdp/device_status/rust/ipc/server/src/
H A Dfusion_ipc_delegator.rs106 fn disable(&self, intention: Intention, data: &BorrowedMsgParcel, in disable() functions
108 call_debug_enter!("FusionIpcDelegator::disable"); in disable()
113 info!(LOG_LABEL, "Call plugin.disable()"); in disable()
114 plugin.disable(&context, data, reply) in disable()
/base/usb/usb_manager/interfaces/innerkits/native/src/
H A Dusb_srv_client.cpp514 int32_t UsbSrvClient::ManageGlobalInterface(bool disable) in ManageGlobalInterface() argument
517 int32_t ret = proxy_->ManageGlobalInterface(disable); in ManageGlobalInterface()
524 int32_t UsbSrvClient::ManageDevice(int32_t vendorId, int32_t productId, bool disable) in ManageDevice() argument
527 int32_t ret = proxy_->ManageDevice(vendorId, productId, disable); in ManageDevice()
534 int32_t UsbSrvClient::ManageInterfaceType(const std::vector<UsbDeviceType> &disableType, bool disable) in ManageInterfaceType() argument
537 int32_t ret = proxy_->ManageInterfaceType(disableType, disable); in ManageInterfaceType()

Completed in 13 milliseconds

12