/ohos5.0/base/security/device_auth/services/frameworks/inc/hiview_adapter/ |
H A D | performance_dumper.h | 41 int64_t reqId; member 68 #define RESET_PERFORM_DATA(reqId) argument 70 #define UPDATE_PERFORM_DATA_BY_SELF_INDEX(reqId, time) argument 73 #define GET_TOTAL_CONSUME_TIME_BY_REQ_ID(reqId) argument 77 #define ADD_PERFORM_DATA(reqId, isBind, isClient, startTime) AddPerformData(reqId, isBind, isClient… 78 #define RESET_PERFORM_DATA(reqId) ResetPerformData(reqId) 80 UpdatePerformDataByInputIndex(reqId, timeIndex, time) 81 #define UPDATE_PERFORM_DATA_BY_SELF_INDEX(reqId, time) UpdatePerformDataBySelfIndex(reqId, time) 84 #define GET_TOTAL_CONSUME_TIME_BY_REQ_ID(reqId) GetTotalConsumeTimeByReqId(reqId) 91 void ResetPerformData(int64_t reqId); [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_screen/interfaces/innerkits/native_cpp/test/unittest/screensourcetest/src/callback/ |
H A D | dscreen_source_callback_test.cpp | 47 const std::string reqId = "reqIdReg"; variable 53 dScreenSourceCallback_->PopRegRegisterCallback(reqId); 67 const std::string reqId = "reqId"; variable 84 const std::string reqId = "reqIdReg"; variable 104 const std::string reqId = "reqIdUnreg"; variable 124 const std::string reqId = "reqId"; variable 141 const std::string reqId = "reqIdUnreg"; variable 159 const std::string reqId = "reqIdReg"; variable 176 const std::string reqId = "reqId"; variable 194 const std::string reqId = "reqIdUnreg"; variable [all …]
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/ |
H A D | gatt_client_profile.h | 51 void ExchangeMtu(int reqId, uint16_t connectHandle, uint16_t mtu) const; 53 int reqId, uint16_t connectHandle, uint16_t startHandle, uint16_t endHandle) const; 55 int reqId, uint16_t connectHandle, uint16_t startHandle, uint16_t endHandle) const; 58 int reqId, uint16_t connectHandle, uint16_t startHandle, uint16_t endHandle) const; 60 int reqId, uint16_t connectHandle, uint16_t startHandle, uint16_t endHandle) const; 64 int reqId, uint16_t connectHandle, uint16_t startHandle, uint16_t endHandle) const; 65 void ReadCharacteristicValue(int reqId, uint16_t connectHandle, uint16_t handle) const; 67 void ReadLongCharacteristicValue(int reqId, uint16_t connectHandle, uint16_t handle) const; 68 void ReadDescriptorValue(int reqId, uint16_t connectHandle, uint16_t handle) const; 71 int reqId, uint16_t connectHandle, const GattValue &value, size_t len) const; [all …]
|
H A D | gatt_client_profile_callback.h | 46 …virtual void OnExchangeMtuEvent(int reqId, uint16_t connectHandle, uint16_t rxMtu, bool status) {}; in OnExchangeMtuEvent() argument 48 …int reqId, int result, uint16_t connectHandle, const std::map<uint16_t, GattCache::Service> &servi… in OnDiscoverAllPrimaryServicesEvent() argument 50 …int reqId, int result, uint16_t connectHandle, const std::map<uint16_t, GattCache::Service> &servi… in OnDiscoverPrimaryServicesByServiceUUIDEvent() argument 53 …virtual void OnDiscoverAllCharacteristicOfServiceEvent(int reqId, int result, uint16_t connectHand… in OnDiscoverAllCharacteristicOfServiceEvent() argument 55 virtual void OnDiscoverCharacteristicByUUIDEvent(int reqId, int result, uint16_t connectHandle, in OnDiscoverCharacteristicByUUIDEvent() argument 57 …virtual void OnDiscoverAllCharacteristicDescriptorsEvent(int reqId, int result, uint16_t serviceHa… in OnDiscoverAllCharacteristicDescriptorsEvent() argument 60 int reqId, uint16_t handle, GattValue &value, size_t len, int result) {}; in OnReadCharacteristicValueEvent() argument 63 int reqId, uint16_t connectHandle, uint16_t handle, int result) {}; in OnWriteLongCharacteristicValueEvent() argument 65 int reqId, uint16_t connectHandle, uint16_t handle, GattValue &value, size_t len) {}; in OnWriteLongValueOverageDataEvent() argument 71 int reqId, uint16_t handle, GattValue &value, size_t len, int result) {}; in OnReliableWriteCharacteristicValueEvent() argument [all …]
|
H A D | gatt_profile_defines.h | 117 …stInfo(ResponesType reqType, uint16_t starthandle, uint16_t endHandle, const Uuid &uuid, int reqId) in GattRequestInfo() 118 … : startHandle_(starthandle), endHandle_(endHandle), reqType_(reqType), uuid_(uuid), reqId_(reqId) in GattRequestInfo() 127 reqId_(reqId) in GattRequestInfo() 129 GattRequestInfo(ResponesType reqType, uint16_t starthandle, uint16_t endHandle, int reqId) in GattRequestInfo() 130 : startHandle_(starthandle), endHandle_(endHandle), reqType_(reqType), reqId_(reqId) in GattRequestInfo() 132 …Info(ResponesType reqType, uint16_t starthandle, uint16_t endHandle, uint16_t valHandle, int reqId) in GattRequestInfo() 135 GattRequestInfo(ResponesType reqType, int reqId) : reqType_(reqType), reqId_(reqId) in GattRequestInfo() 137 …tInfo(const Uuid &uuid, ResponesType reqType, int reqId) : reqType_(reqType), uuid_(uuid), reqId_(… in GattRequestInfo() 139 GattRequestInfo(ResponesType reqType, uint16_t handle, int reqId) in GattRequestInfo() 140 : startHandle_(handle), reqType_(reqType), reqId_(reqId) in GattRequestInfo() [all …]
|
H A D | gatt_client_profile.cpp | 366 reqId)); in DiscoverAllCharacteristicOfService() 400 reqId)); in DiscoverCharacteristicByUuid() 408 reqId)); in DiscoverCharacteristicByUuid() 418 reqId)); in DiscoverCharacteristicByUuid() 492 reqId)); in ReadUsingCharacteristicByUuid() 503 reqId)); in ReadUsingCharacteristicByUuid() 1128 int reqId = iter->second.reqId_; in ErrorResponseParsing() local 1194 int reqId = iter->second.reqId_; in ErrorResponseParsing() local 1215 int reqId = iter->second.reqId_; in ExchangeMtuParsing() local 1286 int reqId = iter->second.reqId_; in DiscoverPrimaryServiceByUuidParsing() local [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_audio/interfaces/inner_kits/native_cpp/test/unittest/audiosourcetest/src/ |
H A D | daudio_ipc_callback_test.cpp | 52 const std::string reqId = "reqIdReg"; variable 75 const std::string reqId = "reqId"; variable 98 std::string reqId = "reqId"; variable 108 reqId.resize(DAUDIO_MAX_DEVICE_ID_LEN); 126 const std::string reqId = "reqIdUnreg"; variable 149 const std::string reqId = "reqId"; variable 172 std::string reqId = "reqId"; variable 182 reqId.resize(DAUDIO_MAX_DEVICE_ID_LEN); 198 const std::string reqId = "reqIdReg"; variable 218 const std::string reqId = "reqId"; variable [all …]
|
H A D | daudio_source_proxy_test.cpp | 61 const std::string reqId = "reqId"; variable 66 int32_t ret = dAudioProxy->RegisterDistributedHardware(devId, dhId, param, reqId); 68 ret = dAudioProxy->UnregisterDistributedHardware(devId, dhId, reqId); 89 const std::string reqId = "reqId"; variable 94 int32_t ret = dAudioProxy->RegisterDistributedHardware(devId, dhId, param, reqId); 96 ret = dAudioProxy->UnregisterDistributedHardware(devId, dhId, reqId); 117 std::string reqId = "reqId"; variable 124 ret = dAudioProxy->UnregisterDistributedHardware(devId, dhId, reqId); 127 reqId.resize(DAUDIO_MAX_DEVICE_ID_LEN); 128 ret = dAudioProxy->RegisterDistributedHardware(devId, dhId, param, reqId); [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_audio/interfaces/inner_kits/native_cpp/audio_source/src/ |
H A D | daudio_ipc_callback.cpp | 33 status, resultData.c_str(), reqId.c_str()); in OnNotifyRegResult() 36 reqId.length() > DAUDIO_MAX_DEVICE_ID_LEN) { in OnNotifyRegResult() 40 auto iter = registerCallbackMap_.find(reqId); in OnNotifyRegResult() 46 registerCallbackMap_.erase(reqId); in OnNotifyRegResult() 58 status, resultData.c_str(), reqId.c_str()); in OnNotifyUnregResult() 61 reqId.length() > DAUDIO_MAX_DEVICE_ID_LEN) { in OnNotifyUnregResult() 65 auto iter = unregisterCallbackMap_.find(reqId); in OnNotifyUnregResult() 71 unregisterCallbackMap_.erase(reqId); in OnNotifyUnregResult() 116 registerCallbackMap_.emplace(reqId, callback); in PushRegisterCallback() 123 registerCallbackMap_.erase(reqId); in PopRegisterCallback() [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/unittest/common/camera_source/callback/ |
H A D | dcamera_source_callback_test.cpp | 143 std::string reqId = "reqId"; variable 160 std::string reqId = "reqId"; variable 180 std::string reqId = "reqId"; variable 197 std::string reqId = "reqId"; variable 212 reqId = ""; 218 reqId ="reqId"; 242 std::string reqId = "reqId"; variable 245 data.WriteString(reqId); 267 std::string reqId = "reqId"; variable 272 data.WriteString(reqId); [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_screen/interfaces/innerkits/native_cpp/screen_source/src/callback/ |
H A D | dscreen_source_callback.cpp | 25 const std::string &reqId, int32_t status, const std::string &data) in OnNotifyRegResult() argument 30 const auto iter = registerCallbackMap_.find(reqId); in OnNotifyRegResult() 37 registerCallbackMap_.erase(reqId); in OnNotifyRegResult() 45 const std::string &reqId, int32_t status, const std::string &data) in OnNotifyUnregResult() argument 50 const auto iter = unregisterCallbackMap_.find(reqId); in OnNotifyUnregResult() 57 unregisterCallbackMap_.erase(reqId); in OnNotifyUnregResult() 69 registerCallbackMap_.emplace(reqId, callback); in PushRegRegisterCallback() 76 registerCallbackMap_.erase(reqId); in PopRegRegisterCallback() 84 unregisterCallbackMap_.emplace(reqId, callback); in PushUnregisterCallback() 87 void DScreenSourceCallback::PopUnregisterCallback(const std::string &reqId) in PopUnregisterCallback() argument [all …]
|
H A D | dscreen_source_callback_stub.cpp | 61 std::string reqId = data.ReadString(); in OnNotifyRegResultInner() local 64 if (!CheckParams(devId, dhId, reqId, resultDataStr)) { in OnNotifyRegResultInner() 68 int32_t ret = OnNotifyRegResult(devId, dhId, reqId, status, resultDataStr); in OnNotifyRegResultInner() 79 std::string reqId = data.ReadString(); in OnNotifyUnregResultInner() local 82 if (!CheckParams(devId, dhId, reqId, resultData)) { in OnNotifyUnregResultInner() 86 int32_t ret = OnNotifyUnregResult(devId, dhId, reqId, status, resultData); in OnNotifyUnregResultInner() 91 const std::string &reqId, const std::string &resultData) const in CheckParams() argument 97 …if (reqId.empty() || reqId.size() > DID_MAX_SIZE || resultData.empty() || resultData.size() > PARA… in CheckParams()
|
/ohos5.0/base/security/device_auth/services/legacy/group_manager/src/callback_manager/ |
H A D | callback_manager.c | 102 bool res = callback->onTransmit(reqId, data, dataLen); in ProcessTransmitCallback() 114 LOGI("[Service][In]: ProcessSessionKeyCallback! [ReqId]: %" PRId64, reqId); in ProcessSessionKeyCallback() 115 callback->onSessionKeyReturned(reqId, sessionKey, sessionKeyLen); in ProcessSessionKeyCallback() 122 void ProcessFinishCallback(int64_t reqId, int operationCode, const char *returnData, in ProcessFinishCallback() argument 126 LOGI("[Service][In]: ProcessFinishCallback! [ReqId]: %" PRId64, reqId); in ProcessFinishCallback() 127 callback->onFinish(reqId, operationCode, returnData); in ProcessFinishCallback() 138 LOGI("[Service][In]: ProcessErrorCallback! [ReqId]: %" PRId64, reqId); in ProcessErrorCallback() 139 callback->onError(reqId, operationCode, errorCode, errorReturn); in ProcessErrorCallback() 146 char *ProcessRequestCallback(int64_t reqId, int operationCode, const char *reqParams, in ProcessRequestCallback() argument 150 LOGI("[Service][In]: ProcessRequestCallback! [ReqId]: %" PRId64, reqId); in ProcessRequestCallback() [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/test/unittest/common/distributedcamera/ |
H A D | distributed_camera_source_stub_test.cpp | 131 std::string reqId = "reqId000"; variable 154 std::string reqId = "reqId000"; variable 217 std::string reqId = "reqId000"; variable 222 reqId = ""; 223 ret = sourceProxy.UnregisterDistributedHardware(devId, dhId, reqId); 227 ret = sourceProxy.UnregisterDistributedHardware(devId, dhId, reqId); 244 std::string reqId = "reqId000"; variable 254 reqId = ""; 255 ret = sourceProxy.RegisterDistributedHardware(devId, dhId, reqId, param); 259 ret = sourceProxy.RegisterDistributedHardware(devId, dhId, reqId, param); [all …]
|
/ohos5.0/foundation/communication/netmanager_base/services/netconnmanager/src/ |
H A D | net_supplier.cpp | 321 requestList_.insert(reqId); in RequestToConnect() 331 requestList_.insert(reqId); in SelectAsBestNetwork() 334 bestReqList_.insert(reqId); in SelectAsBestNetwork() 359 requestList_.erase(reqId); in ReceiveBestScore() 365 bestReqList_.erase(reqId); in ReceiveBestScore() 368 int32_t NetSupplier::CancelRequest(uint32_t reqId) in CancelRequest() argument 370 auto iter = requestList_.find(reqId); in CancelRequest() 375 requestList_.erase(reqId); in CancelRequest() 379 bestReqList_.erase(reqId); in CancelRequest() 385 auto iter = bestReqList_.find(reqId); in RemoveBestRequest() [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenservice/src/callback/ |
H A D | dscreen_source_callback_proxy.cpp | 28 const std::string &reqId, int32_t status, const std::string &resultData) in OnNotifyRegResult() argument 30 if (!CheckParams(devId, dhId, reqId, resultData)) { in OnNotifyRegResult() 48 !data.WriteString(reqId) || !data.WriteInt32(status) || in OnNotifyRegResult() 59 const std::string &reqId, int32_t status, const std::string &resultData) in OnNotifyUnregResult() argument 61 if (!CheckParams(devId, dhId, reqId, resultData)) { in OnNotifyUnregResult() 79 !data.WriteString(reqId) || !data.WriteInt32(status) || in OnNotifyUnregResult() 90 const std::string &reqId, const std::string &resultData) const in CheckParams() argument 96 …if (reqId.empty() || reqId.size() > DID_MAX_SIZE || resultData.empty() || resultData.size() > PARA… in CheckParams()
|
/ohos5.0/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/camera_source/src/callback/ |
H A D | dcamera_source_callback.cpp | 31 const std::string& reqId, int32_t status, std::string& data) in OnNotifyRegResult() argument 36 auto iter = regCallbacks_.find(reqId); in OnNotifyRegResult() 52 const std::string& reqId, int32_t status, std::string& data) in OnNotifyUnregResult() argument 57 auto iter = unregCallbacks_.find(reqId); in OnNotifyUnregResult() 111 void DCameraSourceCallback::PushRegCallback(std::string& reqId, std::shared_ptr<RegisterCallback>& … in PushRegCallback() argument 114 regCallbacks_.emplace(reqId, callback); in PushRegCallback() 117 void DCameraSourceCallback::PopRegCallback(std::string& reqId) in PopRegCallback() argument 120 regCallbacks_.erase(reqId); in PopRegCallback() 126 unregCallbacks_.emplace(reqId, callback); in PushUnregCallback() 129 void DCameraSourceCallback::PopUnregCallback(std::string& reqId) in PopUnregCallback() argument [all …]
|
H A D | dcamera_source_callback_stub.cpp | 71 std::string reqId = data.ReadString(); in NotifyRegResultInner() local 74 if (!CheckParams(devId, dhId, reqId, result)) { in NotifyRegResultInner() 79 ret = OnNotifyRegResult(devId, dhId, reqId, status, result); in NotifyRegResultInner() 92 std::string reqId = data.ReadString(); in NotifyUnregResultInner() local 95 if (!CheckParams(devId, dhId, reqId, result)) { in NotifyUnregResultInner() 100 ret = OnNotifyUnregResult(devId, dhId, reqId, status, result); in NotifyUnregResultInner() 126 …lbackStub::CheckParams(const std::string& devId, const std::string& dhId, const std::string& reqId, in CheckParams() argument 134 if (reqId.empty() || reqId.size() > DID_MAX_SIZE || result.size() > PARAM_MAX_SIZE) { in CheckParams()
|
/ohos5.0/base/security/device_auth/services/frameworks/src/hiview_adapter/ |
H A D | performance_dumper.c | 91 static void RemovePerformDataIfExist(int64_t reqId) in RemovePerformDataIfExist() argument 96 if ((*performData)->reqId == reqId) { in RemovePerformDataIfExist() 415 RemovePerformDataIfExist(reqId); in AddPerformData() 426 performData->reqId = reqId; in AddPerformData() 442 void ResetPerformData(int64_t reqId) in ResetPerformData() argument 455 if ((*performData)->reqId == reqId) { in ResetPerformData() 481 void UpdatePerformDataBySelfIndex(int64_t reqId, int64_t time) in UpdatePerformDataBySelfIndex() argument 494 if ((*performData)->reqId == reqId) { in UpdatePerformDataBySelfIndex() 516 if ((*performData)->reqId == reqId) { in UpdatePerformDataByInputIndex() 566 int64_t GetTotalConsumeTimeByReqId(int64_t reqId) in GetTotalConsumeTimeByReqId() argument [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/camera_source/src/ |
H A D | distributed_camera_source_proxy.cpp | 85 const std::string& reqId, const EnableParam& param) in RegisterDistributedHardware() argument 88 if (!CheckRegParams(devId, dhId, reqId, param)) { in RegisterDistributedHardware() 105 if (!data.WriteString(devId) || !data.WriteString(dhId) || !data.WriteString(reqId) || in RegisterDistributedHardware() 117 const std::string& reqId, const EnableParam& param) in CheckRegParams() argument 124 if (reqId.empty() || reqId.size() > DID_MAX_SIZE) { in CheckRegParams() 138 const std::string& reqId) in UnregisterDistributedHardware() argument 141 if (!CheckUnregParams(devId, dhId, reqId)) { in UnregisterDistributedHardware() 158 if (!data.WriteString(devId) || !data.WriteString(dhId) || !data.WriteString(reqId)) { in UnregisterDistributedHardware() 169 const std::string& reqId) in CheckUnregParams() argument 176 if (reqId.empty() || reqId.size() > DID_MAX_SIZE) { in CheckUnregParams()
|
/ohos5.0/foundation/distributedhardware/distributed_audio/services/audiomanager/test/fuzztest/sinkstubdaudiosinkstub_fuzzer/ |
H A D | sinkstubdaudiosinkstub_fuzzer.cpp | 46 std::string reqId = "3"; in SinkStubDaudioSinkStubFuzzTest() local 51 pdata.WriteString(reqId); in SinkStubDaudioSinkStubFuzzTest() 88 std::string reqId = "3"; in SinkStubSubscribeLocalHardwareInnerFuzzTest() local 93 pdata.WriteString(reqId); in SinkStubSubscribeLocalHardwareInnerFuzzTest() 113 std::string reqId = "3"; in SinkStubUnsubscribeLocalHardwareInnerFuzzTest() local 118 pdata.WriteString(reqId); in SinkStubUnsubscribeLocalHardwareInnerFuzzTest() 138 std::string reqId = "3"; in SinkStubDAudioNotifyInnerFuzzTest() local 143 pdata.WriteString(reqId); in SinkStubDAudioNotifyInnerFuzzTest() 163 std::string reqId = "3"; in SinkStubPauseDistributedHardwareInnerFuzzTest() local 188 std::string reqId = "3"; in SinkStubResumeDistributedHardwareInnerFuzzTest() local [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_screen/interfaces/innerkits/native_cpp/screen_source/include/callback/ |
H A D | dscreen_source_callback.h | 36 const std::string &reqId, int32_t status, const std::string &data) override; 38 const std::string &reqId, int32_t status, const std::string &data) override; 40 …void PushRegRegisterCallback(const std::string &reqId, const std::shared_ptr<RegisterCallback> &ca… 41 void PopRegRegisterCallback(const std::string &reqId); 42 …void PushUnregisterCallback(const std::string &reqId, const std::shared_ptr<UnregisterCallback> &c… 43 void PopUnregisterCallback(const std::string &reqId);
|
/ohos5.0/foundation/distributedhardware/distributed_screen/interfaces/innerkits/native_cpp/screen_source/src/ |
H A D | dscreen_source_proxy.cpp | 83 const std::string &dhId, const EnableParam ¶m, const std::string &reqId) in RegisterDistributedHardware() argument 85 if (!CheckRegParams(devId, dhId, param, reqId)) { in RegisterDistributedHardware() 104 …WriteString(param.sinkVersion) || !data.WriteString(param.sinkAttrs) || !data.WriteString(reqId)) { in RegisterDistributedHardware() 115 const std::string &dhId, const std::string &reqId) in UnregisterDistributedHardware() argument 117 if (!CheckUnregParams(devId, dhId, reqId)) { in UnregisterDistributedHardware() 135 if (!data.WriteString(devId) || !data.WriteString(dhId) || !data.WriteString(reqId)) { in UnregisterDistributedHardware() 207 const EnableParam ¶m, const std::string &reqId) const in CheckRegParams() 213 if (reqId.empty() || reqId.size() > DID_MAX_SIZE) { in CheckRegParams() 226 const std::string &dhId, const std::string &reqId) const in CheckUnregParams() 232 if (reqId.empty() || reqId.size() > DID_MAX_SIZE) { in CheckUnregParams()
|
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcamera/ |
H A D | distributed_camera_source_stub.cpp | 147 std::string reqId = data.ReadString(); in RegisterDistributedHardwareInner() local 151 if (!CheckRegParams(devId, dhId, reqId, params)) { in RegisterDistributedHardwareInner() 156 ret = RegisterDistributedHardware(devId, dhId, reqId, params); in RegisterDistributedHardwareInner() 164 const std::string& reqId, const EnableParam& param) in CheckRegParams() argument 171 if (reqId.empty() || reqId.size() > DID_MAX_SIZE) { in CheckRegParams() 196 std::string reqId = data.ReadString(); in UnregisterDistributedHardwareInner() local 197 if (!CheckUnregParams(devId, dhId, reqId)) { in UnregisterDistributedHardwareInner() 202 ret = UnregisterDistributedHardware(devId, dhId, reqId); in UnregisterDistributedHardwareInner() 209 const std::string& reqId) in CheckUnregParams() argument 216 if (reqId.empty() || reqId.size() > DID_MAX_SIZE) { in CheckUnregParams()
|
H A D | dcamera_source_callback_proxy.cpp | 27 const std::string& reqId, int32_t status, std::string& data) in OnNotifyRegResult() argument 29 if (!CheckParams(devId, dhId, reqId, data)) { in OnNotifyRegResult() 46 if (!req.WriteString(devId) || !req.WriteString(dhId) || !req.WriteString(reqId) || in OnNotifyRegResult() 57 const std::string& reqId, int32_t status, std::string& data) in OnNotifyUnregResult() argument 59 if (!CheckParams(devId, dhId, reqId, data)) { in OnNotifyUnregResult() 76 if (!req.WriteString(devId) || !req.WriteString(dhId) || !req.WriteString(reqId) || in OnNotifyUnregResult() 153 const std::string& reqId, std::string& data) in CheckParams() argument 160 if (reqId.empty() || reqId.size() > DID_MAX_SIZE || data.size() > PARAM_MAX_SIZE) { in CheckParams()
|