Home
last modified time | relevance | path

Searched refs:connectId (Results 1 - 25 of 45) sorted by relevance

12

/foundation/ability/form_fwk/services/src/
H A Dform_supply_callback.cpp81 auto connectId = want.GetIntParam(Constants::FORM_CONNECT_ID, 0); in OnAcquire() local
84 RemoveConnection(connectId); in OnAcquire()
101 RemoveConnection(connectId); in OnAcquire()
114 formId, connectId, type); in OnAcquire()
140 auto connectId = want.GetIntParam(Constants::FORM_CONNECT_ID, 0); in OnEventHandle() local
142 HILOG_DEBUG("%{public}d,%{public}s", connectId, supplyInfo.c_str()); in OnEventHandle()
143 RemoveConnection(connectId); in OnEventHandle()
160 auto connectId = want.GetIntParam(Constants::FORM_CONNECT_ID, 0); in OnAcquireStateResult() local
161 RemoveConnection(connectId); in OnAcquireStateResult()
198 * @param connectId Th
200 RemoveConnection(int32_t connectId) RemoveConnection() argument
[all...]
H A Dform_task_mgr.cpp462 auto connectId = want.GetIntParam(Constants::FORM_CONNECT_ID, 0); in NotifyFormUpdate() local
465 RemoveConnection(connectId); in NotifyFormUpdate()
471 RemoveConnection(connectId); in NotifyFormUpdate()
490 auto connectId = want.GetIntParam(Constants::FORM_CONNECT_ID, 0); in EventNotify() local
493 RemoveConnection(connectId); in EventNotify()
500 RemoveConnection(connectId); in EventNotify()
517 auto connectId = want.GetIntParam(Constants::FORM_CONNECT_ID, 0); in NotifyCastTemp() local
520 RemoveConnection(connectId); in NotifyCastTemp()
527 RemoveConnection(connectId); in NotifyCastTemp()
604 auto connectId in ProviderBatchDelete() local
630 auto connectId = want.GetIntParam(Constants::FORM_CONNECT_ID, 0); FireFormEvent() local
656 auto connectId = want.GetIntParam(Constants::FORM_CONNECT_ID, 0); AcquireState() local
681 auto connectId = want.GetIntParam(Constants::FORM_CONNECT_ID, 0); AcquireFormData() local
821 auto connectId = want.GetIntParam(Constants::FORM_CONNECT_ID, 0); RenderForm() local
864 auto connectId = want.GetIntParam(Constants::FORM_CONNECT_ID, 0); StopRenderingForm() local
986 RemoveConnection(int32_t connectId) RemoveConnection() argument
1171 auto connectId = want.GetIntParam(Constants::FORM_CONNECT_ID, 0); RecoverForm() local
[all...]
H A Dform_ability_connection.cpp184 * @brief Set connectId.
185 * @param connectId The ability connection id.
187 void FormAbilityConnection::SetConnectId(int32_t connectId) in SetConnectId() argument
189 HILOG_INFO("connectId_:%{public}d", connectId); in SetConnectId()
190 connectId_ = connectId; in SetConnectId()
194 * @brief Get connectId.
/foundation/ability/ability_runtime/frameworks/native/ability/native/ability_runtime/
H A Djs_uiservice_ability_connection.cpp35 void RemoveUIServiceAbilityConnection(int64_t connectId) in RemoveUIServiceAbilityConnection() argument
39 [&connectId](const auto &obj) { in RemoveUIServiceAbilityConnection()
40 return connectId == obj.first.id; in RemoveUIServiceAbilityConnection()
62 int64_t connectId = g_uiServiceExtensionSerialNumber; in InsertUIServiceAbilityConnection() local
74 return connectId; in InsertUIServiceAbilityConnection()
77 void FindUIServiceAbilityConnection(const int64_t& connectId, AAFwk::Want& want, in FindUIServiceAbilityConnection() argument
81 TAG_LOGI(AAFwkTag::UI_EXT, "connection:%{public}d", static_cast<int32_t>(connectId)); in FindUIServiceAbilityConnection()
83 [&connectId](const auto &obj) { in FindUIServiceAbilityConnection()
84 return connectId == obj.first.id; in FindUIServiceAbilityConnection()
/foundation/ability/ability_runtime/frameworks/native/ability/native/form_runtime/
H A Djs_form_extension_context.cpp48 void RemoveConnection(int64_t connectId) in RemoveConnection() argument
51 [&connectId](const auto &obj) { in RemoveConnection()
52 return connectId == obj.first.id; in RemoveConnection()
231 int64_t connectId = connection->GetConnectionId(); in OnConnectAbility() local
233 [weak = context_, want, connection, connectId](napi_env env, NapiAsyncTask& task, int32_t status) { in OnConnectAbility()
238 RemoveConnection(connectId); in OnConnectAbility()
241 TAG_LOGD(AAFwkTag::FORM_EXT, "ConnectAbility connection:%{public}d", static_cast<int32_t>(connectId)); in OnConnectAbility()
246 RemoveConnection(connectId); in OnConnectAbility()
253 return CreateJsValue(env, connectId); in OnConnectAbility()
269 int64_t connectId in OnDisconnectAbility() local
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_tg/
H A Davrcp_tg_connection.cpp25 AvrcTgConnectInfo::AvrcTgConnectInfo(const std::string &btAddr, uint8_t connectId, uint8_t role, uint16_t controlMtu, in AvrcTgConnectInfo() argument
30 connectId_(connectId), in AvrcTgConnectInfo()
38 HILOGI("connectId:%{public}d, role:%{public}d, controlMtu:%{public}d, browseMtu:%{public}d, companyId:%{public}u, " in AvrcTgConnectInfo()
39 "uidCounter:%{public}d", connectId, role, controlMtu, browseMtu, companyId, uidCounter); in AvrcTgConnectInfo()
92 int AvrcTgConnectManager::Add(const RawAddress &rawAddr, uint8_t connectId, uint8_t role, uint16_t controlMtu, in Add() argument
96 HILOGI("addr:%{public}s, connectId:%{public}d, role:%{public}d, controlMtu:%{public}d, browseMtu:%{public}d, " in Add()
97 "companyId:%{public}u, uidCounter:%{public}d", GET_ENCRYPT_AVRCP_ADDR(rawAddr), connectId, role, controlMtu, in Add()
107 connectId, in Add()
146 RawAddress AvrcTgConnectManager::GetRawAddress(uint8_t connectId) const in GetRawAddress()
148 HILOGI("connectId in GetRawAddress()
236 uint8_t connectId = 0x00; GetConnectId() local
248 SetConnectId(const RawAddress &rawAddr, uint8_t connectId) SetConnectId() argument
[all...]
H A Davrcp_tg_connection.h38 AvrcTgConnectInfo(const std::string &btAddr, uint8_t connectId, uint8_t role, uint16_t controlMtu,
131 * @param[in] connectId The ID of the connection.
142 int Add(const RawAddress &rawAddr, uint8_t connectId, uint8_t role, uint16_t controlMtu, uint16_t browseMtu,
163 * @param[in] connectId The connection id.
166 RawAddress GetRawAddress(uint8_t connectId) const;
231 * @param[in] connectId The connection id.
233 void SetConnectId(const RawAddress &rawAddr, uint8_t connectId);
H A Davrcp_tg_profile.h947 * @param[in] connectId The ID of the connection.
953 const RawAddress &rawAddr, uint8_t connectId, uint8_t event, uint16_t result, void *context);
956 const RawAddress &rawAddr, uint8_t connectId, uint8_t event, uint16_t result, void *context);
958 const RawAddress &rawAddr, uint8_t connectId, uint8_t event, uint16_t result, void *context);
960 const RawAddress &rawAddr, uint8_t connectId, uint8_t event, uint16_t result, void *context);
963 const RawAddress &rawAddr, uint8_t connectId, uint8_t event, uint16_t result, void *context);
965 const RawAddress &rawAddr, uint8_t connectId, uint8_t event, uint16_t result, void *context);
967 const RawAddress &rawAddr, uint8_t connectId, uint8_t event, uint16_t result, void *context);
971 * @param[in] connectId The ID of the connection.
980 uint8_t connectId, uint8_
[all...]
H A Davrcp_tg_profile.cpp1756 const RawAddress &rawAddr, uint8_t connectId, uint8_t event, uint16_t result, void *context) in ProcessChannelEvent()
1763 ProcessChannelEventConnectIndEvt(rawAddr, connectId, event, result, context); in ProcessChannelEvent()
1768 ProcessChannelEventDisconnectIndEvt(rawAddr, connectId, event, result, context); in ProcessChannelEvent()
1773 ProcessChannelEventDisconnectCfmEvt(rawAddr, connectId, event, result, context); in ProcessChannelEvent()
1777 ProcessChannelEventBrConnectIndEvt(rawAddr, connectId, event, result, context); in ProcessChannelEvent()
1782 ProcessChannelEventBrConnectCfmEvt(rawAddr, connectId, event, result, context); in ProcessChannelEvent()
1800 ProcessChannelEventConnectCfmEvt(rawAddr, connectId, event, result, context); in ProcessChannelEvent()
1809 const RawAddress &rawAddr, uint8_t connectId, uint8_t event, uint16_t result, void *context) in ProcessChannelEventConnectIndEvt()
1811 HILOGI("rawAddr:%{public}s, connectId:%{public}d, event:%{public}d, result:%{public}d", in ProcessChannelEventConnectIndEvt()
1812 GET_ENCRYPT_AVRCP_ADDR(rawAddr), connectId, even in ProcessChannelEventConnectIndEvt()
1755 ProcessChannelEvent( const RawAddress &rawAddr, uint8_t connectId, uint8_t event, uint16_t result, void *context) ProcessChannelEvent() argument
1808 ProcessChannelEventConnectIndEvt( const RawAddress &rawAddr, uint8_t connectId, uint8_t event, uint16_t result, void *context) ProcessChannelEventConnectIndEvt() argument
1842 ProcessChannelEventDisconnectIndEvt( const RawAddress &rawAddr, uint8_t connectId, uint8_t event, uint16_t result, void *context) ProcessChannelEventDisconnectIndEvt() argument
1875 ProcessChannelEventDisconnectCfmEvt( const RawAddress &rawAddr, uint8_t connectId, uint8_t event, uint16_t result, void *context) ProcessChannelEventDisconnectCfmEvt() argument
1908 ProcessChannelEventBrConnectIndEvt( const RawAddress &rawAddr, uint8_t connectId, uint8_t event, uint16_t result, void *context) ProcessChannelEventBrConnectIndEvt() argument
1929 ProcessChannelEventBrConnectCfmEvt( const RawAddress &rawAddr, uint8_t connectId, uint8_t event, uint16_t result, void *context) ProcessChannelEventBrConnectCfmEvt() argument
1949 ProcessChannelEventConnectCfmEvt( const RawAddress &rawAddr, uint8_t connectId, uint8_t event, uint16_t result, void *context) ProcessChannelEventConnectCfmEvt() argument
1978 ProcessChannelMessage( uint8_t connectId, uint8_t label, uint8_t crType, uint8_t chType, Packet *pkt, void *context) ProcessChannelMessage() argument
[all...]
/foundation/ability/ability_runtime/frameworks/native/ability/native/ui_extension_ability/
H A Djs_uiservice_uiext_connection.cpp49 void RemoveUIServiceExtensionConnection(const int64_t& connectId) in RemoveUIServiceExtensionConnection() argument
53 [&connectId](const auto &obj) { in RemoveUIServiceExtensionConnection()
54 return connectId == obj.first.id; in RemoveUIServiceExtensionConnection()
65 void FindUIServiceExtensionConnection(const int64_t& connectId, AAFwk::Want& want, in FindUIServiceExtensionConnection() argument
69 TAG_LOGI(AAFwkTag::UI_EXT, "connection:%{public}d", static_cast<int32_t>(connectId)); in FindUIServiceExtensionConnection()
71 [&connectId](const auto &obj) { in FindUIServiceExtensionConnection()
72 return connectId == obj.first.id; in FindUIServiceExtensionConnection()
H A Djs_ui_extension_context.cpp61 void RemoveConnection(int64_t connectId) in RemoveConnection() argument
64 [&connectId](const auto &obj) { in RemoveConnection()
65 return connectId == obj.first.id; in RemoveConnection()
78 void FindConnection(AAFwk::Want& want, sptr<JSUIExtensionConnection>& connection, int64_t& connectId) in FindConnection() argument
80 TAG_LOGD(AAFwkTag::UI_EXT, "Disconnect ability enter, connection:%{public}" PRId64, connectId); in FindConnection()
83 [&connectId](const auto &obj) { in FindConnection()
84 return connectId == obj.first.id; in FindConnection()
569 int64_t connectId = connection->GetConnectionId(); in OnConnectAbility() local
571 NapiAsyncTask::ExecuteCallback execute = [weak = context_, want, connection, connectId, innerErrCode]() { in OnConnectAbility()
578 TAG_LOGD(AAFwkTag::UI_EXT, "ConnectAbility connection:%{public}d", static_cast<int32_t>(connectId)); in OnConnectAbility()
609 int64_t connectId = -1; OnDisconnectAbility() local
801 int64_t connectId = connection->GetConnectionId(); DoConnectUIServiceExtension() local
834 int64_t connectId = proxy->GetConnectionId(); OnDisconnectUIServiceExtension() local
[all...]
/foundation/ability/ability_runtime/frameworks/native/ability/native/ui_service_extension_ability/
H A Djs_ui_service_extension_context.cpp279 sptr<JSUIServiceExtensionConnection> connection, int64_t connectId, std::shared_ptr<int> innerErrorCode) in GetConnectAbilityExecFunc()
281 return [weak = context_, want, connection, connectId, innerErrorCode]() { in GetConnectAbilityExecFunc()
298 void FindConnection(AAFwk::Want& want, sptr<JSUIServiceExtensionConnection>& connection, int64_t& connectId, in FindConnection() argument
302 static_cast<int32_t>(connectId)); in FindConnection()
306 [&connectId](const auto &obj) { in FindConnection()
307 return connectId == obj.first.id; in FindConnection()
319 void RemoveConnection(int64_t connectId) in RemoveConnection() argument
324 [&connectId](const auto &obj) { in RemoveConnection()
325 return connectId == obj.first.id; in RemoveConnection()
358 int64_t connectId in OnConnectServiceExtensionAbility() local
278 GetConnectAbilityExecFunc(const AAFwk::Want &want, sptr<JSUIServiceExtensionConnection> connection, int64_t connectId, std::shared_ptr<int> innerErrorCode) GetConnectAbilityExecFunc() argument
390 int64_t connectId = -1; OnDisConnectServiceExtensionAbility() local
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/obex/
H A Dobex_client.cpp177 auto connectId = resp.GetItemConnectionId(); in HandleDataAvailableConnect() local
178 if (connectId != nullptr) { in HandleDataAvailableConnect()
179 obexClient_.clientSession_->SetConnectId(connectId->GetWord()); in HandleDataAvailableConnect()
355 uint32_t connectId = clientSession_->GetConnectId(); in Disconnect() local
356 if (connectId != 0x00) { in Disconnect()
357 req->AppendItemConnectionId(connectId); in Disconnect()
406 uint32_t connectId = clientSession_->GetConnectId(); in SendAbortRequest() local
407 if (connectId != 0x00) { in SendAbortRequest()
408 req->AppendItemConnectionId(connectId); in SendAbortRequest()
461 uint32_t connectId in SetPath() local
[all...]
H A Dobex_session.cpp245 auto connectId = firstReq_->GetItemConnectionId(); in GetNextReqHeader() local
246 if (connectId != nullptr) { in GetNextReqHeader()
247 header->AppendItemConnectionId(connectId->GetWord()); in GetNextReqHeader()
378 auto connectId = firstReq_->GetItemConnectionId(); in GetContinueReqHeader() local
379 if (connectId != nullptr) { in GetContinueReqHeader()
380 header->AppendItemConnectionId(connectId->GetWord()); in GetContinueReqHeader()
H A Dobex_mp_server.cpp73 auto connectId = req.GetItemConnectionId(); in HandlePutRequest() local
74 if (connectId != nullptr) { in HandlePutRequest()
75 respHeader->AppendItemConnectionId(connectId->GetWord()); in HandlePutRequest()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_ct/
H A Davrcp_ct_profile.h973 * @param[in] connectId The ID of the connection.
979 const RawAddress &rawAddr, uint8_t connectId, uint8_t event, uint16_t result, void *context) const;
982 const RawAddress &rawAddr, uint8_t connectId, uint8_t event, uint16_t result, void *context) const;
984 const RawAddress &rawAddr, uint8_t connectId, uint8_t event, uint16_t result, void *context) const;
986 const RawAddress &rawAddr, uint8_t connectId, uint8_t event, uint16_t result, void *context) const;
988 const RawAddress &rawAddr, uint8_t connectId, uint8_t event, uint16_t result, void *context) const;
991 const RawAddress &rawAddr, uint8_t connectId, uint8_t event, uint16_t result, void *context) const;
993 const RawAddress &rawAddr, uint8_t connectId, uint8_t event, uint16_t result, void *context) const;
998 * @param[in] connectId The ID of the connection.
1006 uint8_t connectId, uint8_
[all...]
H A Davrcp_ct_connection.cpp24 AvrcCtConnectInfo::AvrcCtConnectInfo(const std::string &btAddr, uint8_t connectId, uint8_t role, uint16_t controlMtu, in AvrcCtConnectInfo() argument
29 connectId_(connectId), in AvrcCtConnectInfo()
109 int AvrcCtConnectManager::Add(const RawAddress &rawAddr, uint8_t connectId, uint8_t role, uint16_t controlMtu, in Add() argument
113 HILOGI("address: %{public}s, connectId: %{public}d, role: %{public}d, controlMtu: %{public}hu, browseMtu: " in Add()
116 connectId, in Add()
131 connectId, in Add()
171 RawAddress AvrcCtConnectManager::GetRawAddress(uint8_t connectId) in GetRawAddress() argument
173 HILOGI("connectId: %{public}d", connectId); in GetRawAddress()
178 if (info.second.connectId_ == connectId) { in GetRawAddress()
243 uint8_t connectId = 0x00; GetConnectId() local
255 SetConnectId(const RawAddress &rawAddr, uint8_t connectId) SetConnectId() argument
[all...]
/foundation/ability/ability_runtime/test/unittest/js_ui_service_extension_context_second_test/
H A Djs_ui_service_extension_context_second_test.cpp143 int64_t connectId = 10; in HWTEST_F() local
145 jsUIServiceExtensionContext.GetConnectAbilityExecFunc(want, connection, connectId, innerErrorCode); in HWTEST_F()
163 int64_t connectId = 10; in HWTEST_F() local
165 jsUIServiceExtensionContext.FindConnection(want, connection, connectId, accountId); in HWTEST_F()
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/ability_runtime/
H A Djs_uiservice_ability_connection.h25 void RemoveUIServiceAbilityConnection(int64_t connectId);
27 void FindUIServiceAbilityConnection(const int64_t& connectId, AAFwk::Want& want,
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/ui_extension_ability/
H A Djs_uiservice_uiext_connection.h26 void RemoveUIServiceExtensionConnection(const int64_t& connectId);
27 void FindUIServiceExtensionConnection(const int64_t& connectId, AAFwk::Want& want,
/foundation/ability/ability_runtime/frameworks/native/ability/native/
H A Djs_service_extension_context.cpp69 void RemoveConnection(int64_t connectId) in RemoveConnection() argument
74 [&connectId](const auto &obj) { in RemoveConnection()
75 return connectId == obj.first.id; in RemoveConnection()
734 int64_t connectId = connection->GetConnectionId(); in OnConnectAbility() local
736 auto execute = GetConnectAbilityExecFunc(want, connection, connectId, innerErrorCode); in OnConnectAbility()
737 NapiAsyncTask::CompleteCallback complete = [connection, connectId, innerErrorCode](napi_env env, in OnConnectAbility()
749 RemoveConnection(connectId); in OnConnectAbility()
755 return CreateJsValue(env, connectId); in OnConnectAbility()
779 int64_t connectId = connection->GetConnectionId(); in OnConnectAbilityWithAccount() local
782 want, accountId, connection, connectId, innerErrCod in OnConnectAbilityWithAccount()
846 int64_t connectId = -1; OnDisconnectAbility() local
891 FindConnection(AAFwk::Want& want, sptr<JSServiceExtensionConnection>& connection, int64_t& connectId, int32_t &accountId) const FindConnection() argument
1286 GetConnectAbilityExecFunc(const AAFwk::Want &want, sptr<JSServiceExtensionConnection> connection, int64_t connectId, std::shared_ptr<int> innerErrorCode) GetConnectAbilityExecFunc() argument
[all...]
/foundation/ability/form_fwk/test/fuzztest/formutil_fuzzer/
H A Dformutil_fuzzer.cpp61 int32_t connectId = static_cast<int32_t>(GetU32Data(data)); in DoSomethingInterestingWithMyAPI() local
62 want.SetParam(Constants::FORM_CONNECT_ID, connectId); in DoSomethingInterestingWithMyAPI()
/foundation/ability/form_fwk/test/fuzztest/formabilityconnection_fuzzer/
H A Dformabilityconnection_fuzzer.cpp68 int32_t connectId = static_cast<int32_t>(GetU32Data(data)); in DoSomethingInterestingWithMyAPI() local
69 formAbilityConnection.SetConnectId(connectId); in DoSomethingInterestingWithMyAPI()
/foundation/communication/bluetooth/interfaces/inner_api/include/c_header/
H A Dohos_bt_gatt_server.h67 int connectId; member
86 int connectId; member
/foundation/communication/dsoftbus/adapter/common/net/bluetooth/include/
H A Dsoftbus_adapter_ble_gatt_server.h116 int connectId; member
126 int connectId; member

Completed in 24 milliseconds

12