Home
last modified time | relevance | path

Searched refs:statusCode (Results 1 - 25 of 54) sorted by relevance

123

/foundation/communication/nfc/interfaces/inner_api/tags/
H A Dtag_session_proxy.cpp41 int statusCode = SendRequestExpectReplyNoneAndStatusCode( in Connect() local
43 if (statusCode == ERR_NONE) { in Connect()
44 statusCode = reply.ReadInt32(); in Connect()
46 InfoLog("TagSessionProxy::Connect, statusCode = 0x%{public}X", statusCode); in Connect()
47 return statusCode; in Connect()
58 int statusCode = SendRequestExpectReplyBool( in IsConnected() local
60 InfoLog("TagSessionProxy::IsConnected, statusCode = 0x%{public}X, isConnected = %{public}d", in IsConnected()
61 statusCode, isConnected); in IsConnected()
62 return statusCode; in IsConnected()
74 int statusCode = SendRequestExpectReplyNoneAndStatusCode( Reconnect() local
106 int statusCode = SendRequestExpectReplyNoneAndStatusCode( SetTimeout() local
125 int statusCode = SendRequestExpectReplyIntAndStatusCode( GetTimeout() local
155 int statusCode = SendRequestExpectReplyIntAndStatusCode( GetMaxTransceiveLength() local
176 int statusCode = SendRequestExpectReplyStringAndStatusCode( SendRawFrame() local
242 int statusCode = SendRequestExpectReplyStringAndStatusCode( NdefRead() local
261 int statusCode = SendRequestExpectReplyNoneAndStatusCode( NdefWrite() local
279 int statusCode = SendRequestExpectReplyNoneAndStatusCode( NdefMakeReadOnly() local
298 int statusCode = SendRequestExpectReplyNoneAndStatusCode( FormatNdef() local
316 int statusCode = SendRequestExpectReplyBoolAndStatusCode( CanMakeReadOnly() local
334 int statusCode = SendRequestExpectReplyBoolAndStatusCode( IsSupportedApdusExtended() local
368 int statusCode = SendRequestExpectReplyNoneAndStatusCode( RegForegroundDispatch() local
391 int statusCode = SendRequestExpectReplyNoneAndStatusCode( UnregForegroundDispatch() local
424 int statusCode = SendRequestExpectReplyNoneAndStatusCode( RegReaderMode() local
447 int statusCode = SendRequestExpectReplyNoneAndStatusCode( UnregReaderMode() local
[all...]
H A Dbasic_tag_session.cpp88 int statusCode = tagSession->Reconnect(GetTagRfDiscId()); in Close() local
89 if (statusCode == ErrorCode::ERR_NONE) { in Close()
92 return statusCode; in Close()
/foundation/multimedia/media_library/frameworks/services/media_cloud_enhancement/include/utils/
H A Denhancement_thread_manager.h29 int32_t statusCode; member
33 CloudEnhancementThreadTask(const std::string& taskId, int32_t statusCode, uint8_t *addr, in CloudEnhancementThreadTask()
35 : taskId(taskId), statusCode(statusCode), addr(addr), bytes(bytes), in CloudEnhancementThreadTask()
/foundation/communication/nfc/services/src/ipc/tags/
H A Dtag_session_stub.cpp101 int statusCode = Connect(tagRfDiscId, tech); in HandleConnect() local
102 reply.WriteInt32(statusCode); in HandleConnect()
115 int statusCode = IsConnected(tagRfDiscId, isConnected); in HandleIsConnected() local
117 return statusCode; in HandleIsConnected()
129 int statusCode = Reconnect(tagRfDiscId); in HandleReconnect() local
130 reply.WriteInt32(statusCode); in HandleReconnect()
156 int statusCode = SetTimeout(tagRfDiscId, timeout, tech); in HandleSetTimeout() local
157 reply.WriteInt32(statusCode); in HandleSetTimeout()
172 int statusCode = GetTimeout(tagRfDiscId, tech, timeout); in HandleGetTimeout() local
174 reply.WriteInt32(statusCode); in HandleGetTimeout()
236 int statusCode = SendRawFrame(tagRfDiscId, hexCmdData, raw, hexRespData); HandleSendRawFrame() local
254 int statusCode = NdefRead(tagRfDiscId, readData); HandleNdefRead() local
270 int statusCode = NdefWrite(tagRfDiscId, msg); HandleNdefWrite() local
312 int statusCode = CanMakeReadOnly(ndefType, canSetReadOnly); HandleCanMakeReadOnly() local
328 int statusCode = GetMaxTransceiveLength(tech, maxSize); HandleGetMaxTransceiveLength() local
343 int statusCode = IsSupportedApdusExtended(isSupported); HandleIsSupportedApdusExtended() local
[all...]
/foundation/window/window_manager/interfaces/kits/napi/picture_in_picture_napi/
H A Djs_pip_window_listener.cpp102 void JsPiPWindowListener::OnActionEvent(const std::string& actionEvent, int32_t statusCode) in OnActionEvent() argument
105 auto napiTask = [jsCallback = jsCallBack_, actionEvent, statusCode, env = env_]() { in OnActionEvent()
106 napi_value argv[] = {CreateJsValue(env, actionEvent), CreateJsValue(env, statusCode)}; in OnActionEvent()
119 void JsPiPWindowListener::OnControlEvent(PiPControlType controlType, PiPControlStatus statusCode) in OnControlEvent() argument
121 TLOGI(WmsLogTag::WMS_PIP, "controlType:%{public}u, statusCode:%{public}d", controlType, statusCode); in OnControlEvent()
122 auto napiTask = [jsCallback = jsCallBack_, controlType, statusCode, env = env_]() { in OnControlEvent()
130 napi_set_named_property(env, propertyValue, "status", CreateJsValue(env, statusCode)); in OnControlEvent()
H A Djs_pip_window_listener.h39 void OnActionEvent(const std::string& actionEvent, int32_t statusCode) override;
40 void OnControlEvent(PiPControlType controlType, PiPControlStatus statusCode) override;
/foundation/communication/nfc/interfaces/inner_api/cardEmulation/
H A Dhce_session_proxy.cpp83 int statusCode = Remote()->SendRequest( in SendRawFrame() local
85 if (statusCode == ERR_NONE) { in SendRawFrame()
88 return statusCode; in SendRawFrame()
100 int statusCode = Remote()->SendRequest( in GetPaymentServices() local
103 if (statusCode != ERR_NONE) { in GetPaymentServices()
104 ErrorLog("GetPaymentServices failed, error code is %{public}d", statusCode); in GetPaymentServices()
105 return statusCode; in GetPaymentServices()
117 return statusCode; in GetPaymentServices()
/foundation/communication/nfc/frameworks/js/napi/controller/
H A Dnfc_napi_ctrl_utils.cpp71 bool CheckNfcStatusCodeAndThrow(const napi_env &env, int statusCode, const std::string funcName) in CheckNfcStatusCodeAndThrow() argument
73 if (statusCode == BUSI_ERR_PERM) { in CheckNfcStatusCodeAndThrow()
77 } else if (statusCode >= ErrorCode::ERR_NFC_BASE && statusCode < ErrorCode::ERR_TAG_BASE) { in CheckNfcStatusCodeAndThrow()
H A Dnfc_napi_controller_adapter.cpp80 int statusCode = nfcCtrl.IsNfcOpen(isOpen); in IsNfcOpen() local
81 if (statusCode != KITS::ERR_NONE) { in IsNfcOpen()
82 ErrorLog("IsNfcOpen, statusCode = %{public}d", statusCode); in IsNfcOpen()
/foundation/communication/nfc/frameworks/js/napi/cardEmulation/
H A Dnfc_napi_cardEmulation_adapter.cpp77 int statusCode = hceService.IsDefaultService(element, type, isDefaultService); in IsDefaultService() local
78 if (!CheckHceStatusCodeAndThrow(env, statusCode, "isDefaultService")) { in IsDefaultService()
79 ErrorLog("IsDefaultService, statusCode = %{public}d", statusCode); in IsDefaultService()
132 int statusCode = hceService.GetPaymentServices(paymentAbilityInfos); in GetPaymentServices() local
135 if (!CheckHceStatusCodeAndThrow(env, statusCode, "getPaymentServices")) { in GetPaymentServices()
136 ErrorLog("GetPaymentServices, statusCode = %{public}d", statusCode); in GetPaymentServices()
/foundation/multimedia/camera_framework/services/deferred_processing_service/include/session/
H A Dsession_coordinator.h46 void OnStateChanged(const int32_t userId, DpsStatus statusCode);
56 void OnVideoStateChanged(const int32_t userId, DpsStatus statusCode);
76 DpsStatus statusCode; member
87 DpsStatus statusCode; member
97 DpsStatus statusCode; member
/foundation/communication/nfc/interfaces/inner_api/controller/
H A Dnfc_controller_proxy.cpp46 int statusCode = SendRequestExpectReplyNoneAndStatusCode( in TurnOn() local
48 if (statusCode == ERR_NONE) { in TurnOn()
49 statusCode = reply.ReadInt32(); in TurnOn()
51 InfoLog("NfcControllerProxy::TurnOn statusCode = 0x%{public}X", statusCode); in TurnOn()
52 return statusCode; in TurnOn()
64 int statusCode = SendRequestExpectReplyNoneAndStatusCode( in TurnOff() local
66 if (statusCode == ERR_NONE) { in TurnOff()
67 statusCode = reply.ReadInt32(); in TurnOff()
69 InfoLog("NfcControllerProxy::TurnOff statusCode in TurnOff()
[all...]
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/session/
H A Dsession_coordinator.cpp72 StatusCode MapDpsStatus(DpsStatus statusCode) in MapDpsStatus() argument
75 switch (statusCode) { in MapDpsStatus()
89 DP_WARNING_LOG("unexpected error code: %{public}d.", statusCode); in MapDpsStatus()
130 void OnStateChanged(const int32_t userId, DpsStatus statusCode) override
132 DP_CHECK_EXECUTE(coordinator_ != nullptr, coordinator_->OnStateChanged(userId, statusCode));
162 void OnStateChanged(const int32_t userId, DpsStatus statusCode) override
166 video->OnStateChanged(userId, statusCode);
271 void SessionCoordinator::OnStateChanged(const int32_t userId, DpsStatus statusCode) in OnStateChanged() argument
278 spCallback->OnStateChanged(MapDpsStatus(statusCode)); in OnStateChanged()
280 DP_INFO_LOG("cache request, statusCode in OnStateChanged()
378 OnVideoStateChanged(const int32_t userId, DpsStatus statusCode) OnVideoStateChanged() argument
[all...]
/foundation/multimedia/media_library/frameworks/services/media_cloud_enhancement/src/enhancement_service/
H A Denhancement_service_callback.cpp55 bool checkStatusCode(int32_t statusCode) in checkStatusCode() argument
57 return (statusCode >= static_cast<int32_t>(MediaEnhance_Status_Code::LIMIT_USAGE) in checkStatusCode()
58 && statusCode <= static_cast<int32_t>(MediaEnhance_Status_Code::TASK_CANNOT_EXECUTE)) in checkStatusCode()
59 || statusCode == static_cast<int32_t>(MediaEnhance_Status_Code::NON_RECOVERABLE); in checkStatusCode()
202 int32_t statusCode = EnhancementManager::GetInstance().enhancementService_->GetInt(bundle, in OnFailed() local
204 MEDIA_INFO_LOG("callback start, photo_id: %{public}s enter, status code: %{public}d", taskId.c_str(), statusCode); in OnFailed()
205 CHECK_AND_RETURN_LOG(checkStatusCode(statusCode), in OnFailed()
206 "status code is invalid, task id:%{public}s, statusCode: %{public}d", taskId.c_str(), statusCode); in OnFailed() local
207 CloudEnhancementThreadTask task(taskId, statusCode, nullpt in OnFailed()
268 int32_t statusCode = task.statusCode; DealWithFailedTask() local
[all...]
/foundation/communication/nfc/test/unittest/services/ipc_test/
H A Dtag_session_test.cpp63 int statusCode = tagSession->FormatNdef(0, ""); in HWTEST_F() local
64 ASSERT_TRUE(statusCode == NFC::KITS::ErrorCode::ERR_TAG_STATE_IO_FAILED); in HWTEST_F()
/foundation/arkui/ace_engine_lite/frameworks/native_engine/jsi/test/unittest/common/
H A Djsi_interface_tdd_test.h44 static void OnDestroy(int8_t statusCode);
45 static void OnTerminate(int8_t statusCode);
/foundation/communication/nfc/services/src/ipc/controller/
H A Dnfc_controller_stub.cpp90 int statusCode = TurnOn(); in HandleTurnOn() local
91 reply.WriteInt32(statusCode); in HandleTurnOn()
92 return statusCode; in HandleTurnOn()
104 int statusCode = TurnOff(); in HandleTurnOff() local
105 reply.WriteInt32(statusCode); in HandleTurnOff()
106 return statusCode; in HandleTurnOff()
112 int statusCode = IsNfcOpen(isOpen); in HandleIsNfcOpen() local
114 return statusCode; in HandleIsNfcOpen()
/foundation/communication/nfc/frameworks/js/napi/tag/
H A Dnfc_napi_tag_sesstion.cpp295 int statusCode = nfcTag->Connect(); in Connect() local
296 CheckTagStatusCodeAndThrow(env, statusCode, "connect"); in Connect()
307 int statusCode = nfcTag->Close(); in ResetConnection() local
308 CheckTagStatusCodeAndThrow(env, statusCode, "resetConnection"); in ResetConnection()
346 int statusCode = nfcTag->SetTimeout(timeoutValue); in SetTimeout() local
347 CheckTagStatusCodeAndThrow(env, statusCode, "setTimeout"); in SetTimeout()
360 int statusCode = nfcTag->GetTimeout(timeout); in GetTimeout() local
361 if (!CheckTagStatusCodeAndThrow(env, statusCode, "getTimeout")) { in GetTimeout()
377 int statusCode = nfcTag->GetMaxSendCommandLength(maxSize); in GetMaxTransmitSize() local
378 if (!CheckTagStatusCodeAndThrow(env, statusCode, "getMaxTransmitSiz in GetMaxTransmitSize()
[all...]
/foundation/arkui/ace_engine_lite/interfaces/inner_api/builtin/async/
H A Djs_async_work.h36 typedef void (*AsyncHandler)(void* data, int8_t statusCode);
113 static void ExecuteAsyncWork(AsyncWork *&asyncWork, int8_t statusCode = ERR_OK);
/foundation/multimedia/media_library/frameworks/js/src/
H A Dcloud_enhancement_task_state_napi.cpp50 DECLARE_NAPI_GETTER("statusCode", JSGetStatusCode), in Init()
132 void CloudEnhancementTaskStateNapi::SetStatusCode(int32_t statusCode) in SetStatusCode() argument
134 this->statusCode_ = statusCode; in SetStatusCode()
281 int32_t statusCode = obj->GetStatusCode(); in JSGetStatusCode() local
282 if (statusCode != UNDEFINED) { in JSGetStatusCode()
283 napi_create_int32(env, statusCode, &result); in JSGetStatusCode()
286 NAPI_ERR_LOG("Failed to get statusCode"); in JSGetStatusCode()
/foundation/multimedia/camera_framework/services/deferred_processing_service/include/base/
H A Divideo_process_callbacks.h32 virtual void OnStateChanged(const int32_t userId, DpsStatus statusCode) = 0;
/foundation/communication/nfc/test/unittest/services/tags_test/
H A Dndef_tag_test.cpp247 int statusCode = ndef->SetTimeout(timeout); in HWTEST_F() local
248 ASSERT_TRUE(statusCode == ErrorCode::ERR_TAG_STATE_UNBIND); in HWTEST_F()
260 int statusCode = ndef->GetTimeout(timeout); in HWTEST_F() local
261 ASSERT_TRUE(statusCode == ErrorCode::ERR_TAG_STATE_UNBIND); in HWTEST_F()
272 int statusCode = ndef->GetMaxSendCommandLength(maxSize); in HWTEST_F() local
273 ASSERT_TRUE(statusCode == ErrorCode::ERR_TAG_STATE_UNBIND); in HWTEST_F()
/foundation/CastEngine/castengine_cast_plus_stream/src/rtsp/src/
H A Drtsp_package.h51 static std::string EncapCommonResponse(RtspParse &request, const std::string &statusCode);
64 static std::string AddResponseHeaders(const std::string &statusCode, int curSeq);
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/rtsp/src/
H A Drtsp_package.h51 static std::string EncapCommonResponse(RtspParse &request, const std::string &statusCode);
64 static std::string AddResponseHeaders(const std::string &statusCode, int curSeq);
/foundation/arkui/ace_engine_lite/frameworks/native_engine/async/
H A Djs_async_work.cpp123 void JsAsyncWork::ExecuteAsyncWork(AsyncWork *&asyncWork, int8_t statusCode) in ExecuteAsyncWork() argument
135 handler(asyncWork->data, statusCode); in ExecuteAsyncWork()

Completed in 16 milliseconds

123