/base/customization/enterprise_device_management/services/edm_plugin/src/ |
H A D | disable_bluetooth_plugin.cpp | 47 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 D | hiappevent_config.h | 39 void SetDisable(bool disable);
43 bool disable = false;
member in OHOS::HiviewDFX::HiAppEventConfig
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/ |
H A D | hiappevent_config.cpp | 39 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 D | usb_service.h | 128 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 D | napi_screenlock_ability.h | 49 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 D | lib.rs | 53 fn disable(&self, context: &CallingContext, data: &BorrowedMsgParcel, in disable() functions 55 call_debug_enter!("FusionCoordinationServer::disable"); in disable() 57 self.0.disable(context, ¶m) in disable()
|
H A D | coordination.rs | 45 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 D | usb_srv_client.h | 95 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 D | iusb_srv.h | 79 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 D | usb_service.cpp | 1436 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 D | usb_manager_proxy.h | 31 int32_t DisableUsb(const AppExecFwk::ElementName &admin, bool disable);
|
/base/hiviewdfx/hiappevent/frameworks/cj/ffi/include/ |
H A D | hiappevent_impl.h | 32 static int Configure(bool disable, const std::string& maxStorage);
|
H A D | common.h | 23 bool disable = false; member
|
/base/msdp/device_status/rust/data/sys/src/ |
H A D | plugin_manager.rs | 39 fn disable(&self, context: &CallingContext, data: &BorrowedMsgParcel, reply: &mut BorrowedMsgParcel) -> FusionResult<()>; in disable() functions
|
/base/theme/screenlock_mgr/interfaces/inner_api/include/ |
H A D | screenlock_manager_interface.h | 41 virtual int32_t SetScreenLockDisabled(bool disable, int userId) = 0;
|
/base/theme/screenlock_mgr/frameworks/native/src/ |
H A D | screenlock_app_manager.cpp | 78 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 D | lib.rs | 53 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 D | screenlock_manager_stub.cpp | 210 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 D | usb_server_proxy.h | 87 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 D | app_spawn_stub.cpp | 94 void SetTraceDisabled(int disable) {}
in SetTraceDisabled() argument
|
/base/theme/screenlock_mgr/frameworks/native/include/ |
H A D | screenlock_app_manager.h | 45 SCREENLOCK_API int32_t SetScreenLockDisabled(bool disable, int userId);
|
H A D | screenlock_manager_proxy.h | 44 int32_t SetScreenLockDisabled(bool disable, int userId) override;
|
/base/hiviewdfx/hiappevent/frameworks/cj/ffi/src/ |
H A D | hiappevent_impl.cpp | 40 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 D | fusion_ipc_delegator.rs | 106 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 D | usb_srv_client.cpp | 514 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()
|