/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_topo_manager.c | 80 uint8_t relation[CONNECTION_ADDR_MAX]; member 107 if (relation[i] > 0) { in HasRelation() 146 memcpy_s(info->relation, CONNECTION_ADDR_MAX, relation, len) != EOK) { in CreateTopoInfo() 371 if (IsSameRelation(topoInfo->relation, relation, len)) { in UpdateLocalTopo() 375 if (memcpy_s(topoInfo->relation, CONNECTION_ADDR_MAX, relation, len) != EOK) { in UpdateLocalTopo() 574 msg->relation = eventInfo->relation; in OnLnnRelationChanged() 606 … if (memcpy_s(relation[index].relation, sizeof(relation[index].relation), info->relation, in FillAllRelation() 678 *relation = NULL; in LnnGetAllRelation() 685 if (*relation == NULL) { in LnnGetAllRelation() 693 SoftBusFree(*relation); in LnnGetAllRelation() [all …]
|
H A D | lnn_connection_fsm.c | 416 uint8_t relation[CONNECTION_ADDR_MAX] = { 0 }; in SetLnnConnNodeInfo() local 438 LnnGetLnnRelation(networkId, CATEGORY_NETWORK_ID, relation, CONNECTION_ADDR_MAX); in SetLnnConnNodeInfo() 440 …connInfo->nodeInfo->deviceInfo.deviceUdid, connInfo->addr.type, relation[connInfo->addr.type], tru… in SetLnnConnNodeInfo() 903 uint8_t relation[CONNECTION_ADDR_MAX] = {0}; in UpdateLeaveToLedger() local 913 LnnGetLnnRelation(udid, CATEGORY_UDID, relation, CONNECTION_ADDR_MAX); in UpdateLeaveToLedger() 914 LnnNotifyLnnRelationChanged(udid, connInfo->addr.type, relation[connInfo->addr.type], false); in UpdateLeaveToLedger() 1154 nodeInfo->relation[connInfo->addr.type]++; in LnnFillConnInfo()
|
/ohos5.0/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/sa/ |
H A D | intell_voice_engine_arbitration.cpp | 65 auto relation = engineRelationTbl_.find(type); in JudgeRejection() local 66 if (relation == engineRelationTbl_.end()) { in JudgeRejection() 70 for (auto it : relation->second) { in JudgeRejection() 84 auto relation = engineRelationTbl_.find(type); in HandlePreemption() local 85 if (relation == engineRelationTbl_.end()) { in HandlePreemption() 89 for (auto it : relation->second) { in HandlePreemption() 106 auto relation = engineRelationTbl_.find(type); in HandleReplace() local 107 if (relation == engineRelationTbl_.end()) { in HandleReplace() 111 for (auto it : relation->second) { in HandleReplace()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/test/ |
H A D | subscription_test.cpp | 40 Subscription::Relation relation; variable 41 relation.id = "testId"; 42 relation.bundleName = "testBundleName"; 43 relation.relations = testRelation; 45 relation.Marshal(node); 62 Subscription::Relation relation; variable 63 relation.Unmarshal(node); 64 ASSERT_EQ(relation.id, "testId"); 65 ASSERT_EQ(relation.bundleName, "testBundleName"); 66 ASSERT_EQ(relation.relations, testRelation);
|
/ohos5.0/foundation/systemabilitymgr/samgr_lite/communication/broadcast/source/ |
H A D | pub_sub_implement.c | 88 Relation *relation = broadcast->feature->GetRelation(broadcast->feature, topic); in Subscribe() local 89 if (relation == NULL) { in Subscribe() 110 ConsumerNode *head = &relation->callbacks; in Subscribe() 127 Relation *relation = broadcast->feature->GetRelation(broadcast->feature, topic); in ModifyConsumer() local 128 if (relation == NULL) { in ModifyConsumer() 157 Relation *relation = broadcast->feature->GetRelation(broadcast->feature, topic); in Unsubscribe() local 158 if (relation == NULL) { in Unsubscribe() 170 if (item == &relation->callbacks || item == NULL) { in Unsubscribe() 212 Relation *relation = feature->GetRelation(feature, topic); in ImmediatelyPublish() local 213 if (relation == NULL) { in ImmediatelyPublish() [all …]
|
H A D | pub_sub_feature.c | 75 Relation *relation = broadcast->GetRelation(broadcast, &topic); in OnMessage() local 76 if (relation == NULL) { in OnMessage() 81 UTILS_DL_LIST_FOR_EACH_ENTRY(item, &relation->callbacks.node, ConsumerNode, node) { in OnMessage()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/include/ |
H A D | lnn_topo_manager.h | 30 uint8_t relation[CONNECTION_ADDR_MAX]; member 35 uint8_t relation; member 43 int32_t LnnGetAllRelation(LnnRelation **relation, uint32_t *relationNum); 44 int32_t LnnGetRelation(const char *udid, const char *peerUdid, uint8_t *relation, uint32_t len);
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_topo_manager_test.cpp | 134 uint8_t relation[CONNECTION_ADDR_MAX + 1] = { 0 }; variable 139 ret = LnnGetRelation(UDID, nullptr, relation, CONNECTION_ADDR_MAX); 143 ret = LnnGetRelation(UDID, PEER_UDID, relation, CONNECTION_ADDR_MAX); 145 ret = LnnGetRelation(UDID, PEER_UDID, relation, CONNECTION_ADDR_MAX); 163 uint8_t relation[CONNECTION_ADDR_MAX + 1] = { 0 }; variable 166 ret = LnnGetRelation(UDID, PEER_UDID_1, relation, CONNECTION_ADDR_MAX); 168 ret = LnnGetRelation(UDID, PEER_UDID, relation, CONNECTION_ADDR_MAX); 357 uint8_t *relation = const_cast<uint8_t *>(NEW_RELATION_2); variable 483 LnnRelation *relation = nullptr; variable 485 int32_t ret = LnnGetAllRelation(&relation, &relationNum); [all …]
|
H A D | lnn_net_ledger_mock.cpp | 141 uint8_t *relation, uint32_t len) in ActionOfLnnGetLnnRelation() argument 147 relation[CONNECTION_ADDR_BR] = LNN_RELATION_JOIN_THREAD; in ActionOfLnnGetLnnRelation() 152 uint8_t *relation, uint32_t len) in ActionOfLnnGetLnnRelation1() argument 158 relation[CONNECTION_ADDR_BR] = LNN_RELATION_JOIN_THREAD; in ActionOfLnnGetLnnRelation1() 159 relation[CONNECTION_ADDR_BLE] = LNN_RELATION_JOIN_THREAD; in ActionOfLnnGetLnnRelation1() 371 int32_t LnnGetLnnRelation(const char *id, IdCategory type, uint8_t *relation, uint32_t len) in LnnGetLnnRelation() argument 373 return GetNetLedgerInterface()->LnnGetLnnRelation(id, type, relation, len); in LnnGetLnnRelation()
|
H A D | lnn_service_mock.cpp | 91 uint8_t relation, bool isJoin) in LnnNotifyLnnRelationChanged() argument 93 return GetServiceInterface()->LnnNotifyLnnRelationChanged(udid, type, relation, isJoin); in LnnNotifyLnnRelationChanged()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/text/ |
H A D | text_emoji_processor.cpp | 101 … EmojiRelation relation = GetIndexRelationToEmoji(index, content, emojiStartIndex, emojiEndIndex); in IsIndexInEmoji() local 102 if (relation == EmojiRelation::IN_EMOJI) { in IsIndexInEmoji() 193 … EmojiRelation relation = GetIndexRelationToEmoji(index, content, emojiStartIndex, emojiEndIndex); in IsIndexBeforeOrInEmoji() local 194 return relation == EmojiRelation::IN_EMOJI || relation == EmojiRelation::BEFORE_EMOJI in IsIndexBeforeOrInEmoji() 195 || relation == EmojiRelation::MIDDLE_EMOJI; in IsIndexBeforeOrInEmoji() 203 return relation == EmojiRelation::IN_EMOJI || relation == EmojiRelation::AFTER_EMOJI in IsIndexAfterOrInEmoji() 204 || relation == EmojiRelation::MIDDLE_EMOJI; in IsIndexAfterOrInEmoji() 213 if (relation == EmojiRelation::IN_EMOJI || relation == EmojiRelation::BEFORE_EMOJI in IsIndexBeforeOrInEmoji() 214 || relation == EmojiRelation::MIDDLE_EMOJI) { in IsIndexBeforeOrInEmoji() 230 if (relation == EmojiRelation::IN_EMOJI || relation == EmojiRelation::AFTER_EMOJI in IsIndexAfterOrInEmoji() [all …]
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/src/c_adapter/ |
H A D | cloud_ext_types.rs | 1037 let relation = cloud_service::RelationSet::new(name, expire_time, re); in OhCloudExtRelationSetNew() localVariable 1038 OhCloudExtRelationSet::new(relation, SafetyCheckId::RelationSet).into_ptr() in OhCloudExtRelationSetNew() 1046 let relation = cloud_service::RelationSet::new(name, expire_time, re); in OhCloudExtRelationSetNew() localVariable 1057 relation: *mut OhCloudExtRelationSet, in OhCloudExtRelationSetGetBundleName() 1061 if relation.is_null() || bundle_name.is_null() || len.is_null() { in OhCloudExtRelationSetGetBundleName() 1066 match OhCloudExtRelationSet::get_inner_ref(relation, SafetyCheckId::RelationSet) { in OhCloudExtRelationSetGetBundleName() 1078 relation: *mut OhCloudExtRelationSet, in OhCloudExtRelationSetGetExpireTime() 1081 if relation.is_null() || expire_time.is_null() { in OhCloudExtRelationSetGetExpireTime() 1086 match OhCloudExtRelationSet::get_inner_ref(relation, SafetyCheckId::RelationSet) { in OhCloudExtRelationSetGetExpireTime() 1098 relation: *mut OhCloudExtRelationSet, in OhCloudExtRelationSetGetRelations() [all …]
|
/ohos5.0/drivers/interface/codec/image/v2_0/ |
H A D | CodecImageType.idl | 393 DIMG, /**< Describe relation between base map and gain map for HDR. */ 394 THMB, /**< Describe relation between primary image and thumbnail. */ 395 AUXL, /**< Describe relation between primary image and auxilary image. */ 396 CDSC, /**< Describe relation between primary image and meta data. */ 400 * @brief Defines the relation between different items for heif encode. 408 unsigned int from; /**< One party to a relation. */ 409 unsigned int[] to; /**< The other party to a relation. */
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/grid/ |
H A D | render_grid.cpp | 632 RelationMap relation; in BuildPositionRelations() local 634 relation[KeyDirection::UP] = -1; in BuildPositionRelations() 635 relation[KeyDirection::DOWN] = -1; in BuildPositionRelations() 636 relation[KeyDirection::LEFT] = gridPos % columnCount_ > 0 ? index - 1 : -1; in BuildPositionRelations() 637 relation[KeyDirection::RIGHT] = (gridPos + columnSpan) % columnCount_ == 0 ? -1 : in BuildPositionRelations() 645 if (relation[KeyDirection::UP] == -1) { in BuildPositionRelations() 646 relation[KeyDirection::UP] = iter->second; in BuildPositionRelations() 658 childRelations_[index] = relation; in BuildPositionRelations()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/service/fuzztest/buscenterevent_fuzzer/ |
H A D | buscenterevent_fuzz.cpp | 74 uint8_t relation = GetData<uint8_t>(); in LnnNotifyLnnRelationChangedFuzzTest() local 88 LnnNotifyLnnRelationChanged(udid, type, relation, isJoin); in LnnNotifyLnnRelationChangedFuzzTest()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/service/include/ |
H A D | bus_center_event.h | 196 uint8_t relation; member 272 void LnnNotifyLnnRelationChanged(const char *udid, ConnectionAddrType type, uint8_t relation, bool …
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/include/ |
H A D | lnn_net_ledger_mock.h | 67 …virtual int32_t LnnGetLnnRelation(const char *id, IdCategory type, uint8_t *relation, uint32_t len… 204 uint8_t *relation, uint32_t len); 206 uint8_t *relation, uint32_t len);
|
H A D | lnn_service_mock.h | 56 uint8_t relation, bool isJoin) = 0;
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/src/ |
H A D | lnn_distributed_net_ledger.c | 626 info->relation[i] += oldInfo->relation[i]; in MergeLnnInfo() 627 info->relation[i] &= LNN_RELATION_MASK; in MergeLnnInfo() 939 return memcmp(info, &deviceInfo, (size_t)&(((NodeInfo *)0)->relation)) != 0 ? true : false; in IsDeviceInfoChanged() 1309 if (type != CONNECTION_ADDR_MAX && info->relation[type] > 0) { in LnnSetNodeOffline() 1310 info->relation[type]--; in LnnSetNodeOffline() 1432 int32_t LnnGetLnnRelation(const char *id, IdCategory type, uint8_t *relation, uint32_t len) in LnnGetLnnRelation() argument 1436 if (id == NULL || relation == NULL) { in LnnGetLnnRelation() 1449 if (memcpy_s(relation, len, info->relation, CONNECTION_ADDR_MAX) != EOK) { in LnnGetLnnRelation()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/extension/ |
H A D | cloud_server_impl.cpp | 537 OhCloudExtVector *relation = OhCloudExtVectorNew(OhCloudExtRustType::VALUETYPE_U32); in Unsubscribe() local 538 if (relation == nullptr) { in Unsubscribe() 548 if (OhCloudExtVectorPush(relation, &subId, sizeof(uint32_t)) != ERRNO_SUCCESS) { in Unsubscribe() 554 …ast<void *>(reinterpret_cast<const void *>(bundle.c_str())), bundle.size(), relation, relationLen); in Unsubscribe()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/include/ |
H A D | lnn_distributed_net_ledger.h | 76 int32_t LnnGetLnnRelation(const char *id, IdCategory type, uint8_t *relation, uint32_t len);
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/service/src/ |
H A D | bus_center_event.c | 486 void LnnNotifyLnnRelationChanged(const char *udid, ConnectionAddrType type, uint8_t relation, in LnnNotifyLnnRelationChanged() argument 493 info.relation = relation; in LnnNotifyLnnRelationChanged()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_ledger/ |
H A D | lnn_disctributed_net_ledger_test.cpp | 506 uint8_t relation[CONNECTION_ADDR_MAX] = {0}; variable 507 int32_t ret = LnnGetLnnRelation(nullptr, CATEGORY_UDID, relation, CONNECTION_ADDR_MAX); 509 ret = LnnGetLnnRelation(NODE1_UDID, CATEGORY_UDID, relation, CONNECTION_ADDR_MAX); 511 ret = LnnGetLnnRelation(NODE2_UDID, CATEGORY_UDID, relation, CONNECTION_ADDR_MAX);
|
/ohos5.0/docs/en/application-dev/media/camera/ |
H A D | camera-depth-data.md | 3 Depth data reflects the spatial arrangement of image pixels in relation to the camera lens. It faci…
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/include/ |
H A D | lnn_node_info.h | 188 uint8_t relation[CONNECTION_ADDR_MAX]; member
|