Home
last modified time | relevance | path

Searched refs:ErrCode (Results 1 – 25 of 766) sorted by relevance

12345678910>>...31

/base/notification/distributed_notification_service/interfaces/inner_api/
Dnotification_helper.h48 static ErrCode AddNotificationSlot(const NotificationSlot &slot);
56 static ErrCode AddSlotByType(const NotificationConstant::SlotType &slotType);
64 static ErrCode AddNotificationSlots(const std::vector<NotificationSlot> &slots);
73 static ErrCode RemoveNotificationSlot(const NotificationConstant::SlotType &slotType);
80 static ErrCode RemoveAllSlots();
90 …static ErrCode GetNotificationSlot(const NotificationConstant::SlotType &slotType, sptr<Notificati…
97 static ErrCode GetNotificationSlots(std::vector<sptr<NotificationSlot>> &slots);
106 …static ErrCode GetNotificationSlotNumAsBundle(const NotificationBundleOption &bundleOption, uint64…
115 …static ErrCode GetNotificationSlotFlagsAsBundle(const NotificationBundleOption &bundleOption, uint…
124 …static ErrCode SetNotificationSlotFlagsAsBundle(const NotificationBundleOption &bundleOption, uint…
[all …]
/base/notification/distributed_notification_service/frameworks/core/include/
Dans_notification.h45 ErrCode AddNotificationSlot(const NotificationSlot &slot);
53 ErrCode AddSlotByType(const NotificationConstant::SlotType &slotType);
61 ErrCode AddNotificationSlots(const std::vector<NotificationSlot> &slots);
70 ErrCode RemoveNotificationSlot(const NotificationConstant::SlotType &slotType);
77 ErrCode RemoveAllSlots();
87ErrCode GetNotificationSlot(const NotificationConstant::SlotType &slotType, sptr<NotificationSlot>…
95 ErrCode GetNotificationSlots(std::vector<sptr<NotificationSlot>> &slots);
104ErrCode GetNotificationSlotNumAsBundle(const NotificationBundleOption &bundleOption, uint64_t &num…
113ErrCode GetNotificationSlotFlagsAsBundle(const NotificationBundleOption &bundleOption, uint32_t &s…
122ErrCode SetNotificationSlotFlagsAsBundle(const NotificationBundleOption &bundleOption, uint32_t sl…
[all …]
Dans_manager_stub.h56 …virtual ErrCode Publish(const std::string &label, const sptr<NotificationRequest> &notification) o…
65 virtual ErrCode Cancel(int32_t notificationId, const std::string &label) override;
72 virtual ErrCode CancelAll() override;
84 virtual ErrCode CancelAsBundle(
93 virtual ErrCode AddSlotByType(NotificationConstant::SlotType slotType) override;
101 virtual ErrCode AddSlots(const std::vector<sptr<NotificationSlot>> &slots) override;
110 virtual ErrCode RemoveSlotByType(const NotificationConstant::SlotType &slotType) override;
117 virtual ErrCode RemoveAllSlots() override;
127 virtual ErrCode GetSlotByType(
136 virtual ErrCode GetSlots(std::vector<sptr<NotificationSlot>> &slots) override;
[all …]
Dans_manager_interface.h54 …virtual ErrCode Publish(const std::string &label, const sptr<NotificationRequest> &notification) =…
63 virtual ErrCode Cancel(int notificationId, const std::string &label) = 0;
70 virtual ErrCode CancelAll() = 0;
82 virtual ErrCode CancelAsBundle(
91 virtual ErrCode AddSlotByType(NotificationConstant::SlotType slotType) = 0;
99 virtual ErrCode AddSlots(const std::vector<sptr<NotificationSlot>> &slots) = 0;
108 virtual ErrCode RemoveSlotByType(const NotificationConstant::SlotType &slotType) = 0;
115 virtual ErrCode RemoveAllSlots() = 0;
125 …virtual ErrCode GetSlotByType(const NotificationConstant::SlotType &slotType, sptr<NotificationSlo…
133 virtual ErrCode GetSlots(std::vector<sptr<NotificationSlot>> &slots) = 0;
[all …]
Dans_manager_proxy.h43ErrCode Publish(const std::string &label, const sptr<NotificationRequest> &notification) override;
52 ErrCode Cancel(int32_t notificationId, const std::string &label) override;
59 ErrCode CancelAll() override;
71ErrCode CancelAsBundle(int32_t notificationId, const std::string &representativeBundle, int32_t us…
79 ErrCode AddSlotByType(NotificationConstant::SlotType slotType) override;
87 ErrCode AddSlots(const std::vector<sptr<NotificationSlot>> &slots) override;
96 ErrCode RemoveSlotByType(const NotificationConstant::SlotType &slotType) override;
103 ErrCode RemoveAllSlots() override;
113ErrCode GetSlotByType(const NotificationConstant::SlotType &slotType, sptr<NotificationSlot> &slot…
121 ErrCode GetSlots(std::vector<sptr<NotificationSlot>> &slots) override;
[all …]
/base/account/os_account/interfaces/innerkits/osaccount/native/include/
Dos_account_manager.h58 …static ErrCode CreateOsAccount(const std::string &name, const OsAccountType &type, OsAccountInfo &…
69 static ErrCode CreateOsAccount(const std::string& localName, const std::string& shortName,
83 static ErrCode CreateOsAccount(const std::string& localName, const std::string& shortName,
92 static ErrCode CreateOsAccountWithFullInfo(OsAccountInfo &osAccountInfo);
100 static ErrCode UpdateOsAccountWithFullInfo(OsAccountInfo &osAccountInfo);
110 …static ErrCode CreateOsAccountForDomain(const OsAccountType &type, const DomainAccountInfo &domain…
119 static ErrCode RemoveOsAccount(const int id);
127 static ErrCode IsOsAccountExists(const int id, bool &isOsAccountExists);
136 static ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived);
145 …static ErrCode IsOsAccountConstraintEnable(const int id, const std::string &constraint, bool &isCo…
[all …]
/base/account/os_account/frameworks/osaccount/core/include/
Dos_account.h29ErrCode CreateOsAccount(const std::string &name, const OsAccountType &type, OsAccountInfo &osAccou…
30ErrCode CreateOsAccount(const std::string &localName, const std::string &shortName, const OsAccoun…
32 ErrCode CreateOsAccountWithFullInfo(OsAccountInfo &osAccountInfo);
33 ErrCode UpdateOsAccountWithFullInfo(OsAccountInfo &osAccountInfo);
34 ErrCode CreateOsAccountForDomain(const OsAccountType &type, const DomainAccountInfo &domainInfo,
36 ErrCode RemoveOsAccount(const int id);
37 ErrCode IsOsAccountExists(const int id, bool &isOsAccountExists);
38 ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived);
39ErrCode IsOsAccountConstraintEnable(const int id, const std::string &constraint, bool &isConstrain…
40ErrCode CheckOsAccountConstraintEnabled(const int id, const std::string &constraint, bool &isEnabl…
[all …]
Dios_account.h35 virtual ErrCode CreateOsAccount(
37 virtual ErrCode CreateOsAccount(const std::string &localName, const std::string &shortName,
39 virtual ErrCode CreateOsAccountWithFullInfo(OsAccountInfo &osAccountInfo) = 0;
40 virtual ErrCode UpdateOsAccountWithFullInfo(OsAccountInfo &osAccountInfo) = 0;
41 …virtual ErrCode CreateOsAccountForDomain(const OsAccountType &type, const DomainAccountInfo &domai…
43 virtual ErrCode RemoveOsAccount(const int id) = 0;
44 virtual ErrCode IsOsAccountExists(const int id, bool &isOsAccountExists) = 0;
45 virtual ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived) = 0;
46 virtual ErrCode IsOsAccountConstraintEnable(
48 virtual ErrCode CheckOsAccountConstraintEnabled(
[all …]
Dos_account_proxy.h29 ErrCode CreateOsAccount(
31ErrCode CreateOsAccount(const std::string &localName, const std::string &shortName, const OsAccoun…
33 ErrCode CreateOsAccountWithFullInfo(OsAccountInfo &osAccountInfo) override;
34 ErrCode UpdateOsAccountWithFullInfo(OsAccountInfo &osAccountInfo) override;
35 ErrCode CreateOsAccountForDomain(const OsAccountType &type, const DomainAccountInfo &domainInfo,
37 ErrCode RemoveOsAccount(const int id) override;
38 ErrCode IsOsAccountExists(const int id, bool &isOsAccountExists) override;
39 ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived) override;
40 ErrCode IsOsAccountConstraintEnable(
42 ErrCode CheckOsAccountConstraintEnabled(
[all …]
/base/web/webview/interfaces/kits/napi/common/
Dweb_errors.h25 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/account/os_account/services/accountmgr/include/osaccount/
Dos_account_stub.h27 … using MessageProcFunction = ErrCode (OsAccountStub::*)(MessageParcel &data, MessageParcel &reply);
38 ErrCode ProcCreateOsAccount(MessageParcel &data, MessageParcel &reply);
39 ErrCode ProcCreateOsAccountWithShortName(MessageParcel &data, MessageParcel &reply);
40 ErrCode ProcCreateOsAccountWithFullInfo(MessageParcel &data, MessageParcel &reply);
41 ErrCode ProcUpdateOsAccountWithFullInfo(MessageParcel &data, MessageParcel &reply);
42 ErrCode ProcCreateOsAccountForDomain(MessageParcel &data, MessageParcel &reply);
43 ErrCode ProcRemoveOsAccount(MessageParcel &data, MessageParcel &reply);
44 ErrCode ProcSetOsAccountName(MessageParcel &data, MessageParcel &reply);
45 ErrCode ProcSetOsAccountConstraints(MessageParcel &data, MessageParcel &reply);
46 ErrCode ProcSetOsAccountProfilePhoto(MessageParcel &data, MessageParcel &reply);
[all …]
Dos_account_manager_service.h34 ErrCode CreateOsAccount(
36 ErrCode CreateOsAccount(const std::string &localName, const std::string &shortName,
38 ErrCode CreateOsAccountForDomain(const OsAccountType &type, const DomainAccountInfo &domainInfo,
41 ErrCode CreateOsAccountWithFullInfo(OsAccountInfo &osAccountInfo) override;
42 ErrCode UpdateOsAccountWithFullInfo(OsAccountInfo &osAccountInfo) override;
44 ErrCode RemoveOsAccount(const int id) override;
46 ErrCode IsOsAccountExists(const int id, bool &isOsAccountExists) override;
47 ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived) override;
49 ErrCode IsOsAccountConstraintEnable(
51 ErrCode CheckOsAccountConstraintEnabled(
[all …]
Diinner_os_account.h31 virtual ErrCode CreateOsAccount(
33 virtual ErrCode CreateOsAccount(const std::string &localName, const std::string &shortName,
35 virtual ErrCode CreateOsAccountWithFullInfo(OsAccountInfo &osAccountInfo) = 0;
36 virtual ErrCode UpdateOsAccountWithFullInfo(OsAccountInfo &osAccountInfo) = 0;
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 &isOsAccountExits) = 0;
41 virtual ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived) = 0;
42 virtual ErrCode IsOsAccountConstraintEnable(
44 virtual ErrCode IsOsAccountVerified(const int id, bool &isVerified) = 0;
[all …]
Diinner_os_account_manager.h34 ErrCode CreateOsAccount(
36 ErrCode CreateOsAccount(const std::string &localName, const std::string &shortName,
38 ErrCode CreateOsAccountWithFullInfo(OsAccountInfo &osAccountInfo) override;
39 ErrCode UpdateOsAccountWithFullInfo(OsAccountInfo &osAccountInfo) override;
40 ErrCode CreateOsAccountForDomain(const OsAccountType &type, const DomainAccountInfo &domainInfo,
42 ErrCode RemoveOsAccount(const int id) override;
43 ErrCode IsOsAccountExists(const int id, bool &isOsAccountExits) override;
44 ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived) override;
45 ErrCode IsOsAccountConstraintEnable(
47 ErrCode IsOsAccountVerified(const int id, bool &isVerified) override;
[all …]
Dios_account_control.h24 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 GetAccountIndexFromFile(Json &accountIndexJson) = 0;
31 virtual ErrCode GetMaxCreatedOsAccountNum(int &maxCreatedOsAccountNum) = 0;
32 virtual ErrCode GetSerialNumber(int64_t &serialNumber) = 0;
33 virtual ErrCode GetAllowCreateId(int &id) = 0;
[all …]
Dos_account_control_file_manager.h42 ErrCode GetOsAccountList(std::vector<OsAccountInfo> &osAccountList) override;
43 ErrCode GetOsAccountInfoById(const int id, OsAccountInfo &osAccountInfo) override;
44ErrCode GetConstraintsByType(const OsAccountType type, std::vector<std::string> &constraints) over…
45 ErrCode InsertOsAccount(OsAccountInfo &osAccountInfo) override;
46 ErrCode DelOsAccount(const int id) override;
47 ErrCode UpdateOsAccount(OsAccountInfo &osAccountInfo) override;
48 ErrCode GetAccountIndexFromFile(Json &accountIndexJson) override;
49 ErrCode GetMaxCreatedOsAccountNum(int &maxCreatedOsAccountNum) override;
50 ErrCode GetSerialNumber(int64_t &serialNumber) override;
51 ErrCode GetAllowCreateId(int &id) override;
[all …]
/base/powermgr/power_manager/utils/shell/include/
Dpower_shell_command.h33 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();
41 ErrCode RunAsQueryLockCommand();
43 ErrCode RunAsDisplayCommand();
[all …]
/base/notification/distributed_notification_service/frameworks/core/src/
Dans_manager_stub_invalid.cpp29 ErrCode AnsManagerStub::Publish(const std::string &label, const sptr<NotificationRequest> &notifica… in Publish()
35 ErrCode AnsManagerStub::Cancel(int notificationId, const std::string &label) in Cancel()
41 ErrCode AnsManagerStub::CancelAll() in CancelAll()
47 ErrCode AnsManagerStub::CancelAsBundle(int32_t notificationId, const std::string &representativeBun… in CancelAsBundle()
53 ErrCode AnsManagerStub::AddSlotByType(NotificationConstant::SlotType slotType) in AddSlotByType()
59 ErrCode AnsManagerStub::AddSlots(const std::vector<sptr<NotificationSlot>> &slots) in AddSlots()
65 ErrCode AnsManagerStub::RemoveSlotByType(const NotificationConstant::SlotType &slotType) in RemoveSlotByType()
71 ErrCode AnsManagerStub::RemoveAllSlots() in RemoveAllSlots()
77 ErrCode AnsManagerStub::GetSlotByType(const NotificationConstant::SlotType &slotType, sptr<Notifica… in GetSlotByType()
83 ErrCode AnsManagerStub::GetSlots(std::vector<sptr<NotificationSlot>> &slots) in GetSlots()
[all …]
/base/account/os_account/services/accountmgr/test/unittest/os_account/mock/
Dmock_os_account_control_file_manager.h35 MOCK_METHOD1(GetOsAccountList, ErrCode(std::vector<OsAccountInfo> &osAccountList));
36 …MOCK_METHOD2(GetConstraintsByType, ErrCode(const OsAccountType type, std::vector<std::string> &con…
37 MOCK_METHOD2(GetOsAccountInfoById, ErrCode(const int id, OsAccountInfo &osAccountInfo));
38 MOCK_METHOD1(GetSerialNumber, ErrCode(int64_t &serialNumber));
39 MOCK_METHOD1(GetAllowCreateId, ErrCode(int &id));
40 MOCK_METHOD1(InsertOsAccount, ErrCode(OsAccountInfo &osAccountInfo));
41 MOCK_METHOD3(UpdateBaseOAConstraints, ErrCode(const std::string& idStr,
43 MOCK_METHOD1(UpdateOsAccount, ErrCode(OsAccountInfo &osAccountInfo));
44 MOCK_METHOD1(RemoveOAConstraintsInfo, ErrCode(const int32_t id));
45 MOCK_METHOD1(DelOsAccount, ErrCode(const int id));
[all …]
/base/notification/distributed_notification_service/services/ans/include/
Dadvanced_notification_service.h94 ErrCode Publish(const std::string &label, const sptr<NotificationRequest> &request) override;
103 ErrCode Cancel(int32_t notificationId, const std::string &label) override;
110 ErrCode CancelAll() override;
122 ErrCode CancelAsBundle(
131 ErrCode AddSlotByType(NotificationConstant::SlotType slotType) override;
139 ErrCode AddSlots(const std::vector<sptr<NotificationSlot>> &slots) override;
148 ErrCode RemoveSlotByType(const NotificationConstant::SlotType &slotType) override;
155 ErrCode RemoveAllSlots() override;
165ErrCode GetSlotByType(const NotificationConstant::SlotType &slotType, sptr<NotificationSlot> &slot…
173 ErrCode GetSlots(std::vector<sptr<NotificationSlot>> &slots) override;
[all …]
/base/account/os_account/services/accountmgr/include/appaccount/
Dapp_account_stub.h26 …using MessageProcFunction = ErrCode (AppAccountStub::*)(uint32_t code, MessageParcel &data, Messag…
37 ErrCode ProcAddAccount(uint32_t code, MessageParcel &data, MessageParcel &reply);
38 ErrCode ProcAddAccountImplicitly(uint32_t code, MessageParcel &data, MessageParcel &reply);
39 ErrCode ProcCreateAccount(uint32_t code, MessageParcel &data, MessageParcel &reply);
40 ErrCode ProcCreateAccountImplicitly(uint32_t code, MessageParcel &data, MessageParcel &reply);
41 ErrCode ProcDeleteAccount(uint32_t code, MessageParcel &data, MessageParcel &reply);
42 ErrCode ProcGetAccountExtraInfo(uint32_t code, MessageParcel &data, MessageParcel &reply);
43 ErrCode ProcSetAccountExtraInfo(uint32_t code, MessageParcel &data, MessageParcel &reply);
44 ErrCode ProcSetAppAccess(uint32_t code, MessageParcel &data, MessageParcel &reply);
45 ErrCode ProcCheckAppAccess(uint32_t code, MessageParcel &data, MessageParcel &reply);
[all …]
/base/account/os_account/interfaces/innerkits/appaccount/native/include/
Dapp_account_manager.h58 static ErrCode AddAccount(const std::string &name, const std::string &extraInfo = "");
68 static ErrCode AddAccountImplicitly(const std::string &owner, const std::string &authType,
80 static ErrCode CreateAccount(const std::string &name, const CreateAccountOptions &options);
88 …static ErrCode CreateAccountImplicitly(const std::string &owner, const CreateAccountImplicitlyOpti…
98 static ErrCode DeleteAccount(const std::string &name);
106 static ErrCode GetAccountExtraInfo(const std::string &name, std::string &extraInfo);
117 static ErrCode SetAccountExtraInfo(const std::string &name, const std::string &extraInfo);
126 static ErrCode EnableAppAccess(const std::string &name, const std::string &authorizedApp);
136 static ErrCode DisableAppAccess(const std::string &name, const std::string &authorizedApp);
146 …static ErrCode SetAppAccess(const std::string &name, const std::string &authorizedApp, bool isAcce…
[all …]
/base/msdp/device_status/services/native/include/
Ddevicestatus_msdp_client_impl.h36 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/tools/acm/include/
Daccount_command.h112 ErrCode CreateCommandMap() override;
113 ErrCode CreateMessageMap() override;
114 ErrCode init() override;
116 ErrCode RunAsHelpCommand(void);
117 ErrCode RunAsCreateCommand(void);
118 ErrCode RunAsDeleteCommand(void);
119 ErrCode RunAsSwitchCommand(void);
120 ErrCode RunAsDeactivateCommand(void);
121 ErrCode RunAsStopCommand(void);
122 ErrCode RunAsDumpCommand(void);
[all …]
/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification_helper.cpp22 ErrCode NotificationHelper::AddNotificationSlot(const NotificationSlot &slot) in AddNotificationSlot()
27 ErrCode NotificationHelper::AddSlotByType(const NotificationConstant::SlotType &slotType) in AddSlotByType()
32 ErrCode NotificationHelper::AddNotificationSlots(const std::vector<NotificationSlot> &slots) in AddNotificationSlots()
37 ErrCode NotificationHelper::RemoveNotificationSlot(const NotificationConstant::SlotType &slotType) in RemoveNotificationSlot()
42 ErrCode NotificationHelper::RemoveAllSlots() in RemoveAllSlots()
47 ErrCode NotificationHelper::GetNotificationSlot( in GetNotificationSlot()
53 ErrCode NotificationHelper::GetNotificationSlots(std::vector<sptr<NotificationSlot>> &slots) in GetNotificationSlots()
58 ErrCode NotificationHelper::GetNotificationSlotNumAsBundle(const NotificationBundleOption &bundleOp… in GetNotificationSlotNumAsBundle()
63 ErrCode NotificationHelper::GetNotificationSlotFlagsAsBundle(const NotificationBundleOption &bundle… in GetNotificationSlotFlagsAsBundle()
69 ErrCode NotificationHelper::SetNotificationSlotFlagsAsBundle(const NotificationBundleOption &bundle… in SetNotificationSlotFlagsAsBundle()
[all …]

12345678910>>...31