Home
last modified time | relevance | path

Searched refs:GetFieldCode (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/obex/
H A Dobex_mp_client.cpp33 if (!CheckBeforeRequest(req.GetFieldCode())) { in Put()
36 if (req.GetFieldCode() != static_cast<uint8_t>(ObexOpeId::PUT) && in Put()
37 req.GetFieldCode() != static_cast<uint8_t>(ObexOpeId::PUT_FINAL)) { in Put()
72 if (!CheckBeforeRequest(req.GetFieldCode())) { in Get()
75 if (req.GetFieldCode() != static_cast<uint8_t>(ObexOpeId::GET) && in Get()
76 req.GetFieldCode() != static_cast<uint8_t>(ObexOpeId::GET_FINAL)) { in Get()
134 … if (sendObject != nullptr && resp.GetFieldCode() == static_cast<uint8_t>(ObexRspCode::CONTINUE)) { in HandlePutData()
235 if (recvObj != nullptr && resp.GetFieldCode() == static_cast<uint8_t>(ObexRspCode::CONTINUE)) { in GetDataAvailable()
240 if (recvObj != nullptr && resp.GetFieldCode() == static_cast<uint8_t>(ObexRspCode::SUCCESS)) { in GetDataAvailable()
312 newResp.SetRespCode(resp.GetFieldCode()); in ProcessGetSuccessData()
[all …]
H A Dobex_client.cpp74 obexClient_.clientSession_->SetLastRespCd(resp->GetFieldCode()); in OnTransportDataAvailable()
125 if (resp.GetFieldCode() == static_cast<uint8_t>(ObexRspCode::SUCCESS)) { in HandleDataAvailableSession()
251 if (req.GetFieldCode() == static_cast<uint8_t>(ObexOpeId::SESSION)) { in SendRequest()
266 if (!CheckBeforeRequest(req.GetFieldCode())) { in SendRequest()
282 if ((req.GetFieldCode() == static_cast<uint8_t>(ObexOpeId::PUT)) && in SendRequest()
294 OBEX_LOG_DEBUG("Client Set lastOpeId: 0x%02X", req.GetFieldCode()); in SendRequest()
296 clientSession_->SetLastOpeId(req.GetFieldCode()); in SendRequest()
420 if (!CheckBeforeRequest(req.GetFieldCode())) { in Put()
423 if (req.GetFieldCode() != static_cast<uint8_t>(ObexOpeId::PUT) && in Put()
436 if (!CheckBeforeRequest(req.GetFieldCode())) { in Get()
[all …]
H A Dobex_mp_server.cpp56 if (req.GetFieldCode() == static_cast<uint8_t>(ObexOpeId::PUT)) { in HandlePutRequest()
163 sendObject->SetStartBodyResp(req.GetFieldCode() == static_cast<uint8_t>(ObexOpeId::GET_FINAL)); in HandleGetRequest()
165 if (req.GetFieldCode() != static_cast<uint8_t>(ObexOpeId::GET_FINAL)) { in HandleGetRequest()
192 if (nextReqHdr->GetFieldCode() != static_cast<uint8_t>(ObexRspCode::CONTINUE)) { in HandleGetRequest()
H A Dobex_session.cpp83 if (resp.GetFieldCode() != static_cast<uint8_t>(ObexRspCode::SUCCESS) && in SendGetResponse()
84 resp.GetFieldCode() != static_cast<uint8_t>(ObexRspCode::CONTINUE)) { in SendGetResponse()
95 sendObject_->SetStartBodyResp(req.GetFieldCode() == static_cast<uint8_t>(ObexOpeId::GET_FINAL)); in SendGetResponse()
107 if (resp2->GetFieldCode() != static_cast<uint8_t>(ObexRspCode::CONTINUE)) { in SendGetResponse()
146 if (nextReqHdr->GetFieldCode() == static_cast<uint8_t>(ObexRspCode::CONTINUE)) { in ProcessSendSrmResponse()
149 } else if (nextReqHdr->GetFieldCode() == static_cast<uint8_t>(ObexRspCode::SUCCESS)) { in ProcessSendSrmResponse()
155 …LOG_ERROR("ProcessSendSrmResponse: SRM MODE END WITH RESPCODE 0x%02X", nextReqHdr->GetFieldCode()); in ProcessSendSrmResponse()
H A Dobex_utils.cpp182 OBEX_LOG_INFO("Code:0x%02X", header.GetFieldCode()); in ObexHeaderDebug()
H A Dobex_server.cpp235 uint8_t code = req->GetFieldCode(); in OnTransportDataAvailable()
H A Dobex_headers.h414 uint8_t GetFieldCode() const;
H A Dobex_headers.cpp238 code_ = header.GetFieldCode(); in ObexHeader()
326 uint8_t ObexHeader::GetFieldCode() const in GetFieldCode() function in OHOS::bluetooth::ObexHeader