/base/notification/distributed_notification_service/interfaces/inner_api/ |
D | notification_helper.h | 44 static ErrCode AddNotificationSlot(const NotificationSlot &slot); 52 static ErrCode AddSlotByType(const NotificationConstant::SlotType &slotType); 60 static ErrCode AddNotificationSlots(const std::vector<NotificationSlot> &slots); 69 static ErrCode RemoveNotificationSlot(const NotificationConstant::SlotType &slotType); 76 static ErrCode RemoveAllSlots(); 86 …static ErrCode GetNotificationSlot(const NotificationConstant::SlotType &slotType, sptr<Notificati… 93 static ErrCode GetNotificationSlots(std::vector<sptr<NotificationSlot>> &slots); 102 …static ErrCode GetNotificationSlotNumAsBundle(const NotificationBundleOption &bundleOption, uint64… 113 static ErrCode PublishNotification(const NotificationRequest &request); 125 … static ErrCode PublishNotification(const std::string &label, const NotificationRequest &request); [all …]
|
/base/notification/distributed_notification_service/frameworks/core/include/ |
D | ans_notification.h | 42 ErrCode AddNotificationSlot(const NotificationSlot &slot); 50 ErrCode AddSlotByType(const NotificationConstant::SlotType &slotType); 58 ErrCode AddNotificationSlots(const std::vector<NotificationSlot> &slots); 67 ErrCode RemoveNotificationSlot(const NotificationConstant::SlotType &slotType); 74 ErrCode RemoveAllSlots(); 84 …ErrCode GetNotificationSlot(const NotificationConstant::SlotType &slotType, sptr<NotificationSlot>… 92 ErrCode GetNotificationSlots(std::vector<sptr<NotificationSlot>> &slots); 101 …ErrCode GetNotificationSlotNumAsBundle(const NotificationBundleOption &bundleOption, uint64_t &num… 112 ErrCode PublishNotification(const NotificationRequest &request); 124 ErrCode PublishNotification(const std::string &label, const NotificationRequest &request); [all …]
|
D | ans_manager_stub.h | 55 …virtual ErrCode Publish(const std::string &label, const sptr<NotificationRequest> ¬ification) o… 64 virtual ErrCode Cancel(int32_t notificationId, const std::string &label) override; 71 virtual ErrCode CancelAll() override; 83 virtual ErrCode CancelAsBundle( 92 virtual ErrCode AddSlotByType(NotificationConstant::SlotType slotType) override; 100 virtual ErrCode AddSlots(const std::vector<sptr<NotificationSlot>> &slots) override; 109 virtual ErrCode RemoveSlotByType(const NotificationConstant::SlotType &slotType) override; 116 virtual ErrCode RemoveAllSlots() override; 126 virtual ErrCode GetSlotByType( 135 virtual ErrCode GetSlots(std::vector<sptr<NotificationSlot>> &slots) override; [all …]
|
D | ans_manager_interface.h | 52 …virtual ErrCode Publish(const std::string &label, const sptr<NotificationRequest> ¬ification) =… 61 virtual ErrCode Cancel(int notificationId, const std::string &label) = 0; 68 virtual ErrCode CancelAll() = 0; 80 virtual ErrCode CancelAsBundle( 89 virtual ErrCode AddSlotByType(NotificationConstant::SlotType slotType) = 0; 97 virtual ErrCode AddSlots(const std::vector<sptr<NotificationSlot>> &slots) = 0; 106 virtual ErrCode RemoveSlotByType(const NotificationConstant::SlotType &slotType) = 0; 113 virtual ErrCode RemoveAllSlots() = 0; 123 …virtual ErrCode GetSlotByType(const NotificationConstant::SlotType &slotType, sptr<NotificationSlo… 131 virtual ErrCode GetSlots(std::vector<sptr<NotificationSlot>> &slots) = 0; [all …]
|
D | ans_manager_proxy.h | 42 … ErrCode Publish(const std::string &label, const sptr<NotificationRequest> ¬ification) override; 51 ErrCode Cancel(int32_t notificationId, const std::string &label) override; 58 ErrCode CancelAll() override; 70 …ErrCode CancelAsBundle(int32_t notificationId, const std::string &representativeBundle, int32_t us… 78 ErrCode AddSlotByType(NotificationConstant::SlotType slotType) override; 86 ErrCode AddSlots(const std::vector<sptr<NotificationSlot>> &slots) override; 95 ErrCode RemoveSlotByType(const NotificationConstant::SlotType &slotType) override; 102 ErrCode RemoveAllSlots() override; 112 …ErrCode GetSlotByType(const NotificationConstant::SlotType &slotType, sptr<NotificationSlot> &slot… 120 ErrCode GetSlots(std::vector<sptr<NotificationSlot>> &slots) override; [all …]
|
/base/account/os_account/interfaces/innerkits/osaccount/native/include/ |
D | os_account_manager.h | 58 …static ErrCode CreateOsAccount(const std::string &name, const OsAccountType &type, OsAccountInfo &… 68 …static ErrCode CreateOsAccountForDomain(const OsAccountType &type, const DomainAccountInfo &domain… 77 static ErrCode RemoveOsAccount(const int id); 85 static ErrCode IsOsAccountExists(const int id, bool &isOsAccountExists); 94 static ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived); 103 …static ErrCode IsOsAccountConstraintEnable(const int id, const std::string &constraint, bool &isCo… 112 static ErrCode CheckOsAccountConstraintEnabled( 121 static ErrCode IsOsAccountVerified(const int id, bool &isVerified); 129 static ErrCode GetCreatedOsAccountsCount(unsigned int &osAccountsCount); 136 static ErrCode GetOsAccountLocalIdFromProcess(int &id); [all …]
|
/base/account/os_account/frameworks/osaccount/core/include/ |
D | os_account.h | 29 …ErrCode CreateOsAccount(const std::string &name, const OsAccountType &type, OsAccountInfo &osAccou… 30 ErrCode CreateOsAccountForDomain(const OsAccountType &type, const DomainAccountInfo &domainInfo, 32 ErrCode RemoveOsAccount(const int id); 33 ErrCode IsOsAccountExists(const int id, bool &isOsAccountExists); 34 ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived); 35 …ErrCode IsOsAccountConstraintEnable(const int id, const std::string &constraint, bool &isConstrain… 36 …ErrCode CheckOsAccountConstraintEnabled(const int id, const std::string &constraint, bool &isEnabl… 37 ErrCode IsOsAccountVerified(const int id, bool &isVerified); 38 ErrCode GetCreatedOsAccountsCount(unsigned int &osAccountsCount); 39 ErrCode GetOsAccountLocalIdFromProcess(int &id); [all …]
|
D | ios_account.h | 35 virtual ErrCode CreateOsAccount( 37 …virtual ErrCode CreateOsAccountForDomain(const OsAccountType &type, const DomainAccountInfo &domai… 39 virtual ErrCode RemoveOsAccount(const int id) = 0; 40 virtual ErrCode IsOsAccountExists(const int id, bool &isOsAccountExists) = 0; 41 virtual ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived) = 0; 42 virtual ErrCode IsOsAccountConstraintEnable( 44 virtual ErrCode CheckOsAccountConstraintEnabled( 46 virtual ErrCode IsOsAccountVerified(const int id, bool &isVerified) = 0; 47 virtual ErrCode GetCreatedOsAccountsCount(unsigned int &osAccountsCount) = 0; 48 virtual ErrCode GetOsAccountLocalIdFromProcess(int &id) = 0; [all …]
|
D | os_account_proxy.h | 29 ErrCode CreateOsAccount( 31 ErrCode CreateOsAccountForDomain(const OsAccountType &type, const DomainAccountInfo &domainInfo, 33 ErrCode RemoveOsAccount(const int id) override; 34 ErrCode IsOsAccountExists(const int id, bool &isOsAccountExists) override; 35 ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived) override; 36 ErrCode IsOsAccountConstraintEnable( 38 ErrCode CheckOsAccountConstraintEnabled( 40 ErrCode IsOsAccountVerified(const int id, bool &isVerified) override; 41 ErrCode GetCreatedOsAccountsCount(unsigned int &osAccountsCount) override; 42 ErrCode GetOsAccountLocalIdFromProcess(int &id) override; [all …]
|
/base/account/os_account/services/accountmgr/include/osaccount/ |
D | os_account_stub.h | 27 … using MessageProcFunction = ErrCode (OsAccountStub::*)(MessageParcel &data, MessageParcel &reply); 38 ErrCode ProcCreateOsAccount(MessageParcel &data, MessageParcel &reply); 39 ErrCode ProcCreateOsAccountForDomain(MessageParcel &data, MessageParcel &reply); 40 ErrCode ProcRemoveOsAccount(MessageParcel &data, MessageParcel &reply); 41 ErrCode ProcSetOsAccountName(MessageParcel &data, MessageParcel &reply); 42 ErrCode ProcSetOsAccountConstraints(MessageParcel &data, MessageParcel &reply); 43 ErrCode ProcSetOsAccountProfilePhoto(MessageParcel &data, MessageParcel &reply); 44 ErrCode ProcQueryOsAccountById(MessageParcel &data, MessageParcel &reply); 45 ErrCode ProcQueryCurrentOsAccount(MessageParcel &data, MessageParcel &reply); 46 ErrCode ProcQueryAllCreatedOsAccounts(MessageParcel &data, MessageParcel &reply); [all …]
|
D | iinner_os_account.h | 31 virtual ErrCode CreateOsAccount( 33 …virtual ErrCode CreateOsAccountForDomain(const OsAccountType &type, const DomainAccountInfo &domai… 35 virtual ErrCode RemoveOsAccount(const int id) = 0; 36 virtual ErrCode IsOsAccountExists(const int id, bool &isOsAccountExits) = 0; 37 virtual ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived) = 0; 38 virtual ErrCode IsOsAccountConstraintEnable( 40 virtual ErrCode IsOsAccountVerified(const int id, bool &isVerified) = 0; 41 virtual ErrCode GetCreatedOsAccountsCount(unsigned int &createdOsAccountCount) = 0; 42 virtual ErrCode QueryMaxOsAccountNumber(int &maxOsAccountNumber) = 0; 43 …virtual ErrCode GetOsAccountAllConstraints(const int id, std::vector<std::string> &constraints) = … [all …]
|
D | os_account_manager_service.h | 32 ErrCode CreateOsAccount( 34 ErrCode CreateOsAccountForDomain(const OsAccountType &type, const DomainAccountInfo &domainInfo, 36 ErrCode RemoveOsAccount(const int id) override; 38 ErrCode IsOsAccountExists(const int id, bool &isOsAccountExists) override; 39 ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived) override; 41 ErrCode IsOsAccountConstraintEnable( 43 ErrCode CheckOsAccountConstraintEnabled( 45 ErrCode IsOsAccountVerified(const int id, bool &isVerified) override; 47 ErrCode GetCreatedOsAccountsCount(unsigned int &osAccountsCount) override; 48 ErrCode GetOsAccountLocalIdFromProcess(int &id) override; [all …]
|
D | os_account_control_file_manager.h | 37 ErrCode GetOsAccountList(std::vector<OsAccountInfo> &osAccountList) override; 38 ErrCode GetOsAccountInfoById(const int id, OsAccountInfo &osAccountInfo) override; 39 …ErrCode GetConstraintsByType(const OsAccountType type, std::vector<std::string> &constraints) over… 40 ErrCode InsertOsAccount(OsAccountInfo &osAccountInfo) override; 41 ErrCode DelOsAccount(const int id) override; 42 ErrCode UpdateOsAccount(OsAccountInfo &osAccountInfo) override; 43 ErrCode GetMaxCreatedOsAccountNum(int &maxCreatedOsAccountNum) override; 44 ErrCode GetSerialNumber(int64_t &serialNumber) override; 45 ErrCode GetAllowCreateId(int &id) override; 46 ErrCode IsOsAccountExists(const int id, bool &isExists) override; [all …]
|
D | iinner_os_account_manager.h | 34 ErrCode CreateOsAccount( 36 ErrCode CreateOsAccountForDomain(const OsAccountType &type, const DomainAccountInfo &domainInfo, 38 ErrCode RemoveOsAccount(const int id) override; 39 ErrCode IsOsAccountExists(const int id, bool &isOsAccountExits) override; 40 ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived) override; 41 ErrCode IsOsAccountConstraintEnable( 43 ErrCode IsOsAccountVerified(const int id, bool &isVerified) override; 44 ErrCode GetCreatedOsAccountsCount(unsigned int &createdOsAccountCount) override; 45 ErrCode QueryMaxOsAccountNumber(int &maxOsAccountNumber) override; 46 … ErrCode GetOsAccountAllConstraints(const int id, std::vector<std::string> &constraints) override; [all …]
|
D | ios_account_control.h | 24 virtual ErrCode GetOsAccountList(std::vector<OsAccountInfo> &osAccountList) = 0; 25 virtual ErrCode GetOsAccountInfoById(const int id, OsAccountInfo &osAccountInfo) = 0; 26 …virtual ErrCode GetConstraintsByType(const OsAccountType type, std::vector<std::string> &constrain… 27 virtual ErrCode InsertOsAccount(OsAccountInfo &osAccountInfo) = 0; 28 virtual ErrCode DelOsAccount(const int id) = 0; 29 virtual ErrCode UpdateOsAccount(OsAccountInfo &osAccountInfo) = 0; 30 virtual ErrCode GetMaxCreatedOsAccountNum(int &maxCreatedOsAccountNum) = 0; 31 virtual ErrCode GetSerialNumber(int64_t &serialNumber) = 0; 32 virtual ErrCode GetAllowCreateId(int &id) = 0; 33 virtual ErrCode IsOsAccountExists(const int id, bool &isExists) = 0; [all …]
|
/base/powermgr/power_manager/utils/shell/include/ |
D | power_shell_command.h | 33 ErrCode CreateCommandMap() override; 34 ErrCode CreateMessageMap() override; 35 ErrCode init() override; 36 ErrCode RunAsHelpCommand(); 37 ErrCode RunAsDumpCommand(); 38 ErrCode RunAsSetModeCommand(); 39 ErrCode RunAsWakeupCommand(); 40 ErrCode RunAsSuspendCommand(); 42 ErrCode RunAsDisplayCommand(); 44 ErrCode RunAsDisplayCommandHelp(); [all …]
|
/base/web/webview/interfaces/kits/napi/common/ |
D | web_errors.h | 25 constexpr ErrCode NWEB_ERROR = -1; 26 constexpr ErrCode NO_ERROR = 0; 28 constexpr ErrCode PARAM_CHECK_ERROR = 401; 29 constexpr ErrCode INIT_ERROR = 17100001; 30 constexpr ErrCode INVALID_URL = 17100002; 31 constexpr ErrCode INVALID_RESOURCE = 17100003; 32 constexpr ErrCode FUNCTION_NOT_ENABLE = 17100004; 33 constexpr ErrCode INVALID_COOKIE_VALUE = 17100005; 34 constexpr ErrCode CAN_NOT_REGISTER_MESSAGE_EVENT = 17100006; 35 constexpr ErrCode CANNOT_DEL_JAVA_SCRIPT_PROXY = 17100008; [all …]
|
/base/notification/distributed_notification_service/services/ans/include/ |
D | advanced_notification_service.h | 69 ErrCode Publish(const std::string &label, const sptr<NotificationRequest> &request) override; 78 ErrCode Cancel(int32_t notificationId, const std::string &label) override; 85 ErrCode CancelAll() override; 97 ErrCode CancelAsBundle( 106 ErrCode AddSlotByType(NotificationConstant::SlotType slotType) override; 114 ErrCode AddSlots(const std::vector<sptr<NotificationSlot>> &slots) override; 123 ErrCode RemoveSlotByType(const NotificationConstant::SlotType &slotType) override; 130 ErrCode RemoveAllSlots() override; 140 …ErrCode GetSlotByType(const NotificationConstant::SlotType &slotType, sptr<NotificationSlot> &slot… 148 ErrCode GetSlots(std::vector<sptr<NotificationSlot>> &slots) override; [all …]
|
D | notification_preferences.h | 43 ErrCode AddNotificationSlots( 52 ErrCode AddNotificationBundleProperty(const sptr<NotificationBundleOption> &bundleOption); 61 ErrCode RemoveNotificationSlot( 70 ErrCode RemoveNotificationAllSlots(const sptr<NotificationBundleOption> &bundleOption); 78 ErrCode RemoveNotificationForBundle(const sptr<NotificationBundleOption> &bundleOption); 87 ErrCode UpdateNotificationSlots( 98 ErrCode GetNotificationSlot(const sptr<NotificationBundleOption> &bundleOption, 108 ErrCode GetNotificationAllSlots( 118 …ErrCode GetNotificationSlotsNumForBundle(const sptr<NotificationBundleOption> &bundleOption, uint6… 127 ErrCode IsShowBadge(const sptr<NotificationBundleOption> &bundleOption, bool &enable); [all …]
|
/base/account/os_account/tools/acm/include/ |
D | account_command.h | 101 ErrCode CreateCommandMap() override; 102 ErrCode CreateMessageMap() override; 103 ErrCode init() override; 105 ErrCode RunAsHelpCommand(void); 106 ErrCode RunAsCreateCommand(void); 107 ErrCode RunAsDeleteCommand(void); 108 ErrCode RunAsSwitchCommand(void); 109 ErrCode RunAsStopCommand(void); 110 ErrCode RunAsDumpCommand(void); 111 ErrCode RunAsSetCommand(void); [all …]
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/ |
D | ans_notification_branch_test.cpp | 51 … ErrCode Publish(const std::string &label, const sptr<NotificationRequest> ¬ification) override in Publish() 56 ErrCode Cancel(int notificationId, const std::string &label) override in Cancel() 61 ErrCode CancelAll() override in CancelAll() 66 ErrCode CancelAsBundle( in CancelAsBundle() 72 ErrCode AddSlotByType(NotificationConstant::SlotType slotType) override in AddSlotByType() 77 ErrCode AddSlots(const std::vector<sptr<NotificationSlot>> &slots) override in AddSlots() 82 ErrCode RemoveSlotByType(const NotificationConstant::SlotType &slotType) override in RemoveSlotByType() 87 ErrCode RemoveAllSlots() override in RemoveAllSlots() 92 …ErrCode GetSlotByType(const NotificationConstant::SlotType &slotType, sptr<NotificationSlot> &slot… in GetSlotByType() 97 ErrCode GetSlots(std::vector<sptr<NotificationSlot>> &slots) override in GetSlots() [all …]
|
/base/msdp/device_status/services/native/include/ |
D | devicestatus_msdp_client_impl.h | 36 ErrCode InitMsdpImpl(Type type); 37 ErrCode Disable(Type type); 38 ErrCode GetSensorHdi(Type type); 39 ErrCode GetAlgoAbility(Type type); 40 ErrCode RegisterImpl(const CallbackManager& callback); 42 ErrCode StartMock(Type type); 43 ErrCode RegisterMock(); 44 ErrCode UnregisterMock(); 45 ErrCode RegisterAlgo(); 46 ErrCode UnregisterAlgo(); [all …]
|
/base/account/os_account/services/accountmgr/test/unittest/os_account/mock/ |
D | mock_os_account_control_file_manager.h | 33 MOCK_METHOD1(GetOsAccountList, ErrCode(std::vector<OsAccountInfo> &osAccountList)); 34 …MOCK_METHOD2(GetConstraintsByType, ErrCode(const OsAccountType type, std::vector<std::string> &con… 35 MOCK_METHOD2(GetOsAccountInfoById, ErrCode(const int id, OsAccountInfo &osAccountInfo)); 36 MOCK_METHOD1(GetSerialNumber, ErrCode(int64_t &serialNumber)); 37 MOCK_METHOD1(GetAllowCreateId, ErrCode(int &id)); 38 MOCK_METHOD1(InsertOsAccount, ErrCode(OsAccountInfo &osAccountInfo)); 39 MOCK_METHOD3(UpdateBaseOAConstraints, ErrCode(const std::string& idStr, 41 MOCK_METHOD1(UpdateOsAccount, ErrCode(OsAccountInfo &osAccountInfo)); 42 MOCK_METHOD1(RemoveOAConstraintsInfo, ErrCode(const int32_t id)); 43 MOCK_METHOD1(DelOsAccount, ErrCode(const int id)); [all …]
|
/base/account/os_account/services/accountmgr/include/appaccount/ |
D | app_account_stub.h | 26 …using MessageProcFunction = ErrCode (AppAccountStub::*)(uint32_t code, MessageParcel &data, Messag… 39 ErrCode ProcAddAccount(uint32_t code, MessageParcel &data, MessageParcel &reply); 40 ErrCode ProcAddAccountImplicitly(uint32_t code, MessageParcel &data, MessageParcel &reply); 41 ErrCode ProcCreateAccount(uint32_t code, MessageParcel &data, MessageParcel &reply); 42 ErrCode ProcCreateAccountImplicitly(uint32_t code, MessageParcel &data, MessageParcel &reply); 43 ErrCode ProcDeleteAccount(uint32_t code, MessageParcel &data, MessageParcel &reply); 44 ErrCode ProcGetAccountExtraInfo(uint32_t code, MessageParcel &data, MessageParcel &reply); 45 ErrCode ProcSetAccountExtraInfo(uint32_t code, MessageParcel &data, MessageParcel &reply); 46 ErrCode ProcSetAppAccess(uint32_t code, MessageParcel &data, MessageParcel &reply); 47 ErrCode ProcCheckAppAccess(uint32_t code, MessageParcel &data, MessageParcel &reply); [all …]
|
/base/account/os_account/frameworks/appaccount/native/include/ |
D | app_account.h | 36 ErrCode AddAccount(const std::string &name, const std::string &extraInfo); 37 ErrCode AddAccountImplicitly(const std::string &owner, const std::string &authType, 39 ErrCode CreateAccount(const std::string &name, const CreateAccountOptions &options); 40 …ErrCode CreateAccountImplicitly(const std::string &owner, const CreateAccountImplicitlyOptions &op… 42 ErrCode DeleteAccount(const std::string &name); 44 ErrCode GetAccountExtraInfo(const std::string &name, std::string &extraInfo); 45 ErrCode SetAccountExtraInfo(const std::string &name, const std::string &extraInfo); 47 ErrCode EnableAppAccess(const std::string &name, const std::string &bundleName); 48 ErrCode DisableAppAccess(const std::string &name, const std::string &bundleName); 49 …ErrCode SetAppAccess(const std::string &name, const std::string &authorizedApp, bool isAccessible); [all …]
|