Home
last modified time | relevance | path

Searched full:code (Results 1 – 25 of 1955) sorted by relevance

12345678910>>...79

/base/account/os_account/services/accountmgr/include/appaccount/
Dapp_account_stub.h26 …using MessageProcFunction = ErrCode (AppAccountStub::*)(uint32_t code, MessageParcel &data, Messag…
31 uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) override;
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);
[all …]
/base/powermgr/battery_lite/test/
Dbattery_test.js21 fail: function(data, code) { argument
22 console.log('fail to get battery Soc code:' + code + ', data: ' + data);
30 fail: function(data, code) { argument
31 console.log('fail to get battery ChargingStatus code:' + code + ', data: ' + data);
39 fail: function(data, code) { argument
40 console.log('fail to get battery HealthStatus code:' + code + ', data: ' + data);
48 fail: function(data, code) { argument
49 console.log('fail to get battery PluggedType code:' + code + ', data: ' + data);
57 fail: function(data, code) { argument
58 console.log('fail to get battery Voltage code:' + code + ', data: ' + data);
[all …]
/base/theme/screenlock_mgr/interfaces/kits/napi/test/unittest/src/
DScreenlock.test.js58 …nsole.error("logMessage SUB_MISC_THEME_screenLock_API_0001: error.code : " + error.code + "error.m…
59 expect(error.code == PARAMETER_ERROR).assertTrue();
78 …nsole.error("logMessage SUB_MISC_THEME_screenLock_API_0002: error.code : " + error.code + "error.m…
79 expect(error.code == PARAMETER_ERROR).assertTrue();
93 … console.info("unlock filed: error.code : " + err.code + "error.message :" + err.message);
94 expect(err.code == PERMISSON_ERROR).assertTrue();
103 …console.error("SUB_MISC_THEME_screenLock_API_0003: error.code : " + error.code + "error.message :"…
104 expect(error.code == PARAMETER_ERROR).assertTrue();
122 …console.error("SUB_MISC_THEME_screenLock_API_0004: error.code : " + err.code + "error.message :" +…
123 expect(err.code == PERMISSON_ERROR).assertTrue();
[all …]
/base/telephony/cellular_call/services/connection/include/
Dsupplement_request.h30 * ranging from {@code 0} to the maximum card slot index number supported by the device.
33 * @return Returns {@code TELEPHONY_SUCCESS} on success, others on failure.
41 * ranging from {@code 0} to the maximum card slot index number supported by the device.
42 * @return Returns {@code TELEPHONY_SUCCESS} on success, others on failure.
50 * ranging from {@code 0} to the maximum card slot index number supported by the device.
53 * @return Returns {@code TELEPHONY_SUCCESS} on success, others on failure.
61 * ranging from {@code 0} to the maximum card slot index number supported by the device.
62 * @return Returns {@code TELEPHONY_SUCCESS} on success, others on failure.
70 * ranging from {@code 0} to the maximum card slot index number supported by the device.
72 * @return Returns {@code TELEPHONY_SUCCESS} on success, others on failure.
[all …]
Dcellular_call_connection_ims.h42 * @return Error Code: Returns TELEPHONY_NO_ERROR on success, others on failure.
52 * @return Error Code: Returns TELEPHONY_NO_ERROR on success, others on failure.
63 * @return Error Code: Returns TELEPHONY_NO_ERROR on success, others on failure.
73 * @return Error Code: Returns TELEPHONY_NO_ERROR on success, others on failure.
81 * @return Error Code: Returns TELEPHONY_NO_ERROR on success, others on failure.
89 * @return Error Code: Returns TELEPHONY_NO_ERROR on success, others on failure.
97 * @return Error Code: Returns TELEPHONY_NO_ERROR on success, others on failure.
106 * @return Error Code: Returns TELEPHONY_SUCCESS on success, others on failure.
115 * @return Error Code: Returns TELEPHONY_SUCCESS on success, others on failure.
124 * @return Error Code: Returns TELEPHONY_SUCCESS on success, others on failure.
[all …]
Dcellular_call_connection_cs.h41 * @return Error Code: Returns TELEPHONY_SUCCESS on success, others on failure.
49 * @return Error Code: Returns TELEPHONY_SUCCESS on success, others on failure.
57 * @return Error Code: Returns TELEPHONY_SUCCESS on success, others on failure.
65 * @return Error Code: Returns TELEPHONY_SUCCESS on success, others on failure.
73 * @return Error Code: Returns TELEPHONY_SUCCESS on success, others on failure.
81 * @return Error Code: Returns TELEPHONY_SUCCESS on success, others on failure.
89 * @return Error Code: Returns TELEPHONY_SUCCESS on success, others on failure.
98 * @return Error Code: Returns TELEPHONY_SUCCESS on success, others on failure.
108 * @return Error Code: Returns TELEPHONY_SUCCESS on success, others on failure.
120 * @return Error Code: Returns TELEPHONY_SUCCESS on success, others on failure.
[all …]
/base/telephony/cellular_call/interfaces/innerkits/ims/
Dims_call_callback_interface.h101 * ranging from {@code 0} to the maximum card slot index number supported by the device.
103 * @return Returns {@code TELEPHONY_SUCCESS} on success, others on failure.
111 * ranging from {@code 0} to the maximum card slot index number supported by the device.
113 * @return Returns {@code TELEPHONY_SUCCESS} on success, others on failure.
121 * ranging from {@code 0} to the maximum card slot index number supported by the device.
123 * @return Returns {@code TELEPHONY_SUCCESS} on success, others on failure.
131 * ranging from {@code 0} to the maximum card slot index number supported by the device.
133 * @return Returns {@code TELEPHONY_SUCCESS} on success, others on failure.
141 * ranging from {@code 0} to the maximum card slot index number supported by the device.
143 * @return Returns {@code TELEPHONY_SUCCESS} on success, others on failure.
[all …]
/base/customization/enterprise_device_management/test/unittest/enterprise_device_mgr_proxy/enterprise_device_mgr_proxy_test/
Denterprise_device_mgr_stub_mock.h37 …int InvokeSendRequest(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &opt… in InvokeSendRequest() argument
39 GTEST_LOG_(INFO) << "mock EnterpriseDeviceMgrStubMock InvokeSendRequest code :" << code; in InvokeSendRequest()
40 code_ = code; in InvokeSendRequest()
45 int InvokeSendRequestGetEnterpriseInfo(uint32_t code, MessageParcel &data,
48 …int InvokeSendRequestEnableAdmin(uint32_t code, MessageParcel &data, MessageParcel &reply, Message…
50 int InvokeSendRequestMapEnableAdminTwoSuc(uint32_t code, MessageParcel &data,
53 …int InvokeSendRequestReplyFail(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOp… in InvokeSendRequestReplyFail() argument
55 … GTEST_LOG_(INFO) << "mock EnterpriseDeviceMgrStubMock InvokeSendRequestReplyFail code :" << code; in InvokeSendRequestReplyFail()
56 code_ = code; in InvokeSendRequestReplyFail()
61 …int InvokeSendRequestFail(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption … in InvokeSendRequestFail() argument
[all …]
Denterprise_device_mgr_stub_mock.cpp20 int EnterpriseDeviceMgrStubMock::InvokeSendRequestGetEnterpriseInfo(uint32_t code, MessageParcel &d… in InvokeSendRequestGetEnterpriseInfo() argument
23 …LOG_(INFO) << "mock EnterpriseDeviceMgrStubMock InvokeSendRequestGetEnterpriseInfo code :" << code; in InvokeSendRequestGetEnterpriseInfo()
25 code_ = code; in InvokeSendRequestGetEnterpriseInfo()
31 int EnterpriseDeviceMgrStubMock::InvokeSendRequestEnableAdmin(uint32_t code, MessageParcel &data, in InvokeSendRequestEnableAdmin() argument
34 …GTEST_LOG_(INFO) << "mock EnterpriseDeviceMgrStubMock InvokeSendRequestEnableAdmin code :" << code; in InvokeSendRequestEnableAdmin()
35 code_ = code; in InvokeSendRequestEnableAdmin()
42 int EnterpriseDeviceMgrStubMock::InvokeSendRequestMapEnableAdminTwoSuc(uint32_t code, MessageParcel… in InvokeSendRequestMapEnableAdminTwoSuc() argument
45 …_(INFO) << "mock EnterpriseDeviceMgrStubMock InvokeSendRequestMapEnableAdminTwoSuc code :" << code; in InvokeSendRequestMapEnableAdminTwoSuc()
46 code_ = code; in InvokeSendRequestMapEnableAdminTwoSuc()
/base/telephony/sms_mms/services/include/
Dsms_service.h42 * ranging from {@code 0} to the maximum card slot index number supported by
49 * @return Returns {@code 0} if send message success.
58 * ranging from {@code 0} to the maximum card slot index number supported by
67 * @return Returns {@code 0} if send message success.
77 * ranging from {@code 0} to the maximum card slot index number supported by
80 * @return Returns {@code 0} if set smsc success
88 * ranging from {@code 0} to the maximum card slot index number supported by
91 * @return Returns {@code 0} if get smsc success.
102 * @return Returns {@code true} if add sim success; returns {@code false}
113 * @return Returns {@code true} if delete sim success; returns {@code false}
[all …]
/base/global/i18n/interfaces/native/inner_api/zone/include/
Dzone_util.h43 * @param country Indicating the country code
44 * @return Returns the default timezone if the country code is valid, otherwise
50 * @brief Get the default timezone for the given region code
52 * @param number Indicating the region code, for example 86 can
54 * @return Returns the default timezone name if the region code is valid, otherwise
60 * @brief Get the default timezone name for the given country code
62 * @param country Indicating the country code
64 * @return Returns the default timezone name if the country code is valid, otherwise
70 * @brief Get the default timezone name for the given region code
72 * @param number Indicating the region code, for example 86 can
[all …]
/base/hiviewdfx/hisysevent/test/unittest/common/napi/
Dnapi_hisysevent.test.js74 … console.error('in hiSysEventJsUnitTest001 test callback: err.code = ' + err.code)
84 … console.error(`hiSysEventJsUnitTest001 > error code: ${err.code}, error msg: ${err.message}`)
119 … console.error('in hiSysEventJsUnitTest002 test callback: err.code = ' + err.code)
126 … console.error(`hiSysEventJsUnitTest002 > error code: ${err.code}, error msg: ${err.message}`)
158 … console.error(`hiSysEventJsUnitTest003 > error code: ${err.code}, error msg: ${err.message}`)
159 expect(err.code == 201).assertTrue()
208 … console.error('in hiSysEventJsUnitTest004 test callback: err.code = ' + err.code)
220 …console.error(`hiSysEventJsUnitTest004 delay > error code: ${err.code}, error msg: ${err.message}`)
221 expect(err.code == 201).assertTrue()
227 … console.error(`hiSysEventJsUnitTest004 > error code: ${err.code}, error msg: ${err.message}`)
[all …]
/base/usb/usb_manager/interfaces/innerkits/native/src/
Dusbd_bulk_callback.cpp22 int32_t UsbdBulkCallBack::OnRemoteRequest(uint32_t code, MessageParcel &data, MessageParcel &reply, in OnRemoteRequest() argument
25 switch (code) { in OnRemoteRequest()
28 … USB_HILOGE(MODULE_USB_INNERKIT, "check interface token failed, code=%{public}u", code); in OnRemoteRequest()
49 … USB_HILOGE(MODULE_USB_INNERKIT, "check interface token failed, code=%{public}u", code); in OnRemoteRequest()
56 USB_HILOGE(MODULE_USB_INNERKIT, "get status error code=%{public}u", code); in OnRemoteRequest()
60 USB_HILOGE(MODULE_USB_INNERKIT, "get actLength error code=%{public}u", code); in OnRemoteRequest()
70 return IPCObjectStub::OnRemoteRequest(code, data, reply, option); in OnRemoteRequest()
/base/telephony/core_service/interfaces/innerkits/include/
Dtelephony_errors.h41 // Error code for common
77 // Error code for telephony call manager
80 // Error code for telephony cellular call
83 // Error code for telephony cellular data
86 // Error code for telephony sms mms
89 // Error code for telephony state registry
92 // Error code for telephony ner work
95 // Error code for telephony sim of core service
98 // Error code for telephony network search of core service
102 // Error code for telephony core of core service
[all …]
/base/notification/common_event_service/test/fuzztest/commoneventstub_fuzzer/
Dcommoneventstub_fuzzer.cpp29 int32_t code = U32_AT(reinterpret_cast<const uint8_t*>(data)); in DoSomethingInterestingWithMyAPI() local
38 EventFwk::CommonEventData eventData(want, code, stringData); in DoSomethingInterestingWithMyAPI()
40 commonEventData.SetCode(code); in DoSomethingInterestingWithMyAPI()
48 …PublishCommonEvent(commonEventData, commonEventPublishInfo, commonEventListener, code, code, code); in DoSomethingInterestingWithMyAPI()
53 subscribeInfo.SetPriority(code); in DoSomethingInterestingWithMyAPI()
63 commonEventStub.DumpState(dumpType, stringData, code, state); in DoSomethingInterestingWithMyAPI()
65 commonEventStub.FinishReceiver(commonEventListener, code, stringData, enabled); in DoSomethingInterestingWithMyAPI()
67 commonEventStub.Freeze(code); in DoSomethingInterestingWithMyAPI()
69 commonEventStub.Unfreeze(code); in DoSomethingInterestingWithMyAPI()
70 commonEventStub.OnRemoteRequest(code, dataParcel, reply, option); in DoSomethingInterestingWithMyAPI()
[all …]
/base/account/os_account/frameworks/account_iam/src/
Daccount_iam_callback_stub.cpp36 uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) in OnRemoteRequest() argument
39 code, IPCSkeleton::GetCallingUid(), IPCSkeleton::GetCallingPid()); in OnRemoteRequest()
41 ACCOUNT_LOGE("check IDMCallbackStub descriptor failed! code %{public}u.", code); in OnRemoteRequest()
44 const auto &itFunc = messageProcMap_.find(code); in OnRemoteRequest()
48 ACCOUNT_LOGW("remote request unhandled: %{public}d", code); in OnRemoteRequest()
49 return IPCObjectStub::OnRemoteRequest(code, data, reply, option); in OnRemoteRequest()
100 uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) in OnRemoteRequest() argument
103 code, IPCSkeleton::GetCallingUid(), IPCSkeleton::GetCallingPid()); in OnRemoteRequest()
105 ACCOUNT_LOGE("check GetCredInfoCallbackStub descriptor failed! code %{public}u.", code); in OnRemoteRequest()
108 const auto &itFunc = messageProcMap_.find(code); in OnRemoteRequest()
[all …]
/base/account/os_account/services/accountmgr/src/account_iam/
Daccount_iam_client_callback_proxy.cpp23 const sptr<IRemoteObject> &remote, uint32_t code, MessageParcel &data, MessageParcel &reply) in SendRequestFunc() argument
26 ACCOUNT_LOGE("remote is nullptr, code = %{public}d", code); in SendRequestFunc()
30 int32_t result = remote->SendRequest(code, data, reply, option); in SendRequestFunc()
32 ACCOUNT_LOGE("failed to SendRequest, code = %{public}d, result = %{public}d", code, result); in SendRequestFunc()
38 static void OnResultFunc(const sptr<IRemoteObject> &remote, uint32_t code, std::u16string descripto… in OnResultFunc() argument
56 SendRequestFunc(remote, code, data, reply); in OnResultFunc()
83 uint32_t code = static_cast<uint32_t>(IIDMCallback::Message::ON_ACQUIRE_INFO); in OnAcquireInfo() local
84 SendRequestFunc(Remote(), code, data, reply); in OnAcquireInfo()
89 uint32_t code = static_cast<uint32_t>(IIDMCallback::Message::ON_RESULT); in OnResult() local
90 OnResultFunc(Remote(), code, GetDescriptor(), result, extraInfo); in OnResult()
[all …]
/base/telephony/cellular_data/interfaces/kits/js/
D@ohos.telephony.data.d.ts45 * The value {@code 0} indicates card 1, and the value {@code 1} indicates card 2.
53 * @throws {BusinessError} 8300999 - Unknown error code.
73 * <li>{@code DataConnectState#DATA_STATE_UNKNOWN}
74 * <li>{@code DataConnectState#DATA_STATE_DISCONNECTED}
75 * <li>{@code DataConnectState#DATA_STATE_CONNECTING}
76 * <li>{@code DataConnectState#DATA_STATE_CONNECTED}
77 * <li>{@code DataConnectState#DATA_STATE_SUSPENDED}
86 …* @param callback Returns {@code true} if cellular data services are enabled; returns {@code false…
93 * @throws {BusinessError} 8300999 - Unknown error code.
107 * @throws {BusinessError} 8300999 - Unknown error code.
[all …]
/base/hiviewdfx/faultloggerd/test/funchook/
Ddfx_exit_hook.c41 typedef __attribute__((noreturn)) void (*ExitFunc)(int code);
74 void exit(int code) in exit() argument
76 LOGF("%d call exit with code %d", getpid(), code); in exit()
82 g_hookedExit(code); in exit()
87 quick_exit(code); in exit()
90 void _exit(int code) in _exit() argument
92 LOGF("%d call exit with code %d", getpid(), code); in _exit()
98 g_hookedExitEx(code); in _exit()
103 quick_exit(code); in _exit()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_stub_test/
Dans_manager_stub_test.cpp53 uint32_t code = static_cast<uint32_t>(AnsManagerInterface::TransactId::PUBLISH_NOTIFICATION); variable
60 ErrCode ret = ansManagerStub_->OnRemoteRequest(code, data, reply, option);
66 * @tc.desc: Test if get the wrong code.
72 uint32_t code = 267; variable
79 ErrCode ret = ansManagerStub_->OnRemoteRequest(code, data, reply, option);
91 uint32_t code = static_cast<uint32_t>(AnsManagerInterface::TransactId::PUBLISH_NOTIFICATION); variable
102 ErrCode ret = ansManagerStub_->OnRemoteRequest(code, data, reply, option);
114 uint32_t code = static_cast<uint32_t>(AnsManagerInterface::TransactId::PUBLISH_NOTIFICATION); variable
123 ErrCode ret = ansManagerStub_->OnRemoteRequest(code, data, reply, option);
135 uint32_t code = static_cast<uint32_t>(AnsManagerInterface::TransactId::PUBLISH_NOTIFICATION); variable
[all …]
/base/startup/init/interfaces/kits/jskits/
D@ohos.deviceInfo.d.ts26 …* which can be {@code phone} (or {@code default} for phones), {@code wearable}, {@code liteWearabl…
27 * {@code tablet}, {@code tv}, {@code car}, or {@code smartVision}.
134 * <p>The OS release category can be {@code Release}, {@code Beta}, or {@code Canary}.
135 * The specific release type may be {@code Release}, {@code Beta1}, or others alike.
203 * Obtains the build types of the same baseline code.
210 * Obtains the different build user of the same baseline code.
217 * Obtains the different build host of the same baseline code.
/base/startup/syspara_lite/interfaces/kits/js/
D@ohos.deviceInfo.d.ts26 …* which can be {@code phone} (or {@code default} for phones), {@code wearable}, {@code liteWearabl…
27 * {@code tablet}, {@code tv}, {@code car}, or {@code smartVision}.
134 * <p>The OS release category can be {@code Release}, {@code Beta}, or {@code Canary}.
135 * The specific release type may be {@code Release}, {@code Beta1}, or others alike.
203 * Obtains the build types of the same baseline code.
210 * Obtains the different build user of the same baseline code.
217 * Obtains the different build host of the same baseline code.
/base/customization/enterprise_device_management/services/edm/src/
Denterprise_device_mgr_stub.cpp50 int32_t EnterpriseDeviceMgrStub::OnRemoteRequest(uint32_t code, MessageParcel &data, MessageParcel … in OnRemoteRequest() argument
55 EDMLOGI("EnterpriseDeviceMgrStub code %{public}u", code); in OnRemoteRequest()
57 …EDMLOGE("EnterpriseDeviceMgrStub code %{public}d client and service descriptors are inconsistent",… in OnRemoteRequest()
61 if (SERVICE_FLAG(code)) { in OnRemoteRequest()
62 auto func = memberFuncMap_.find(code); in OnRemoteRequest()
70 if (POLICY_FLAG(code)) { in OnRemoteRequest()
71 EDMLOGD("POLICY_FLAG(code:%{public}x)\n", code); in OnRemoteRequest()
72 if (FUNC_TO_OPERATE(code) == static_cast<int>(FuncOperateType::GET)) { in OnRemoteRequest()
74 return GetDevicePolicyInner(code, data, reply); in OnRemoteRequest()
77 return HandleDevicePolicyInner(code, data, reply); in OnRemoteRequest()
[all …]
/base/telephony/state_registry/interfaces/kits/js/
D@ohos.telephony.observer.d.ts44 * Called when the network state corresponding to a monitored {@code slotId} updates.
48 * The value {@code 0} indicates card 1, and the value {@code 1} indicates card 2.
49 * @param callback including an instance of the {@code NetworkState} class.
56 * @throws {BusinessError} 8300999 - Unknown error code.
62 * Cancel Called when the network state corresponding to a monitored {@code slotId} updates.
65 * @param callback including an instance of the {@code NetworkState} class.
70 * @throws {BusinessError} 8300999 - Unknown error code.
75 * Called when the signal strength corresponding to a monitored {@code slotId} updates.
79 * The value {@code 0} indicates card 1, and the value {@code 1} indicates card 2.
85 * @throws {BusinessError} 8300999 - Unknown error code.
[all …]
/base/telephony/sms_mms/interfaces/innerkits/ims/
Dims_sms_callback_interface.h43 * ranging from {@code 0} to the maximum card slot index number supported by the device.
45 * @return Returns {@code TELEPHONY_SUCCESS} on success, others on failure.
53 * ranging from {@code 0} to the maximum card slot index number supported by the device.
55 * @return Returns {@code TELEPHONY_SUCCESS} on success, others on failure.
63 * ranging from {@code 0} to the maximum card slot index number supported by the device.
65 * @return Returns {@code TELEPHONY_SUCCESS} on success, others on failure.
73 * ranging from {@code 0} to the maximum card slot index number supported by the device.
75 * ranging {@code 0} Ims sms was disabled {@code 1} Ims sms was enabled.
76 * @return Returns {@code TELEPHONY_SUCCESS} on success, others on failure.
84 * ranging from {@code 0} to the maximum card slot index number supported by the device.
[all …]

12345678910>>...79