Home
last modified time | relevance | path

Searched refs:bundleNameId (Results 1 – 20 of 20) sorted by relevance

/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/src/mission/
H A Ddms_continue_send_manager.cpp236 bundleNameId, continueTypeId); in SendSoftbusEvent()
244 buffer->Data()[INDEX_2] = bundleNameId & DMS_0XFF; in SendSoftbusEvent()
333 uint16_t bundleNameId = 0; in FocusedBusinessSendEvent() local
402 uint16_t bundleNameId = 0; in DealUnfocusedBusiness() local
441 type, missionId, bundleName.c_str(), bundleNameId); in SendScreenOffEvent()
460 ret = SendSoftbusEvent(bundleNameId, continueTypeId, type); in SendScreenOffEvent()
571 uint16_t bundleNameId = 0; in DealSetMissionContinueStateBusiness() local
589 uint16_t& bundleNameId, uint8_t& continueTypeId) in GetBundleNameIdAndContinueTypeId() argument
728 uint16_t bundleNameId, std::string abilityName) in SetScreenOffInfo() argument
731 missionId, bundleName.c_str(), bundleNameId); in SetScreenOffInfo()
[all …]
H A Ddistributed_bm_storage.cpp307 …istributedBundleInfo.FromJsonString(value) && distributedBundleInfo.bundleNameId == bundleNameId) { in DealGetBundleName()
437 && distributedBundleInfoTmp.bundleNameId == bundleNameId) { in GetDistributedBundleInfo()
507 bundleNameId = distributedBundleInfo.bundleNameId; in GetBundleNameId()
512 bundleNameId); in GetBundleNameId()
606 bundleNameId = publicRecordsInfo.maxBundleNameId; in GetLastBundleNameId()
607 HILOGI("bundleNameId: %{public}d", bundleNameId); in GetLastBundleNameId()
616 uint16_t bundleNameId = 0; in CreateBundleNameId() local
619 return bundleNameId; in CreateBundleNameId()
625 return bundleNameId; in CreateBundleNameId()
638 GetBundleNameId(bundleName, bundleNameId); in CreateBundleNameId()
[all …]
H A Ddms_continue_recv_manager.cpp115 uint16_t bundleNameId = (payload[1] << CONTINUE_SHIFT_08) | payload[INDEX_2]; in NotifyDataRecv() local
117 HILOGI("bundleNameId: %{public}u, continueTypeId: %{public}u", bundleNameId, continueTypeId); in NotifyDataRecv()
122 PostOnBroadcastBusiness(senderNetworkId, bundleNameId, continueTypeId, state); in NotifyDataRecv()
237 auto feedfunc = [this, senderNetworkId, bundleNameId, continueTypeId, state, retry]() mutable { in PostOnBroadcastBusiness()
238 DealOnBroadcastBusiness(senderNetworkId, bundleNameId, continueTypeId, state, retry); in PostOnBroadcastBusiness()
249 uint16_t bundleNameId, uint8_t continueTypeId, const int32_t state, const int32_t retry) in RetryPostBroadcast() argument
308 uint16_t bundleNameId, uint8_t continueTypeId, const int32_t state, const int32_t retry) in DealOnBroadcastBusiness() argument
311 GetAnonymStr(senderNetworkId).c_str(), bundleNameId, state); in DealOnBroadcastBusiness()
313 if (!DmsBmStorage::GetInstance()->GetDistributedBundleInfo(senderNetworkId, bundleNameId, in DealOnBroadcastBusiness()
317 return RetryPostBroadcast(senderNetworkId, bundleNameId, continueTypeId, state, retry); in DealOnBroadcastBusiness()
[all …]
H A Ddistributed_bundle_info.cpp226 bundleNameId = parcel.ReadUint16(); in ReadFromParcel()
261 parcel.WriteUint16(bundleNameId); in Marshalling()
294 jsonObject[JSON_KEY_BUNDLE_NAME_ID] = bundleNameId; in ToString()
329 GetValueIfFindKey<uint16_t>(jsonObject, jsonObjectEnd, JSON_KEY_BUNDLE_NAME_ID, bundleNameId, in FromJsonString()
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/mission/
H A Ddistributed_bm_storage_test.cpp143 uint16_t bundleNameId = 0; variable
144 … bool ret = dmsBmStorage_->GetInstance()->GetDistributedBundleName("", bundleNameId, bundleName);
164 uint16_t bundleNameId = 0; variable
165 …bool ret = dmsBmStorage_->GetInstance()->GetDistributedBundleName(networkId, bundleNameId, bundleN…
185 uint16_t bundleNameId = 3; variable
186 …bool ret = dmsBmStorage_->GetInstance()->GetDistributedBundleName(networkId, bundleNameId, bundleN…
206 uint16_t bundleNameId = 4; variable
226 uint16_t bundleNameId = 0; variable
227 bool ret = dmsBmStorage_->GetInstance()->GetBundleNameId(bundleName, bundleNameId);
246 uint16_t bundleNameId = 1; variable
[all …]
H A Ddms_continue_manager_test.cpp438 uint16_t bundleNameId = 0; variable
442 …DMSContinueRecvMgr::GetInstance().PostOnBroadcastBusiness(senderNetworkId, bundleNameId, continueT…
444 …32_t ret = DMSContinueRecvMgr::GetInstance().DealOnBroadcastBusiness(senderNetworkId, bundleNameId,
448 …ret = DMSContinueRecvMgr::GetInstance().DealOnBroadcastBusiness(senderNetworkId, bundleNameId, con…
765 uint16_t bundleNameId = 0; variable
768 bool ret = DMSContinueSendMgr::GetInstance().SendSoftbusEvent(bundleNameId, continueType, type);
826 uint16_t bundleNameId = 0; variable
830 bundleNameId, continueTypeId);
867 uint16_t bundleNameId = 0; variable
871 bundleNameId, abilityName);
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/include/mission/
H A Ddistributed_bm_storage.h62 bool GetDistributedBundleName(const std::string &networkId, const uint16_t& bundleNameId,
64 bool GetDistributedBundleInfo(const std::string &networkId, const uint16_t &bundleNameId,
66 bool GetBundleNameId(const std::string& bundleName, uint16_t &bundleNameId);
85 …bool DealGetBundleName(const std::string &networkId, const uint16_t& bundleNameId, std::string &bu…
87 void AddBundleNameId(const uint16_t &bundleNameId, const std::string &bundleName);
102 bool GetLastBundleNameId(uint16_t &bundleNameId);
H A Ddms_continue_send_manager.h120 void SetScreenOffInfo(int32_t missionId, std::string bundleName, uint16_t bundleNameId,
145 int32_t SendSoftbusEvent(uint16_t bundleNameId, uint8_t continueTypeId, uint8_t type);
158 …t GetAccessTokenIdSendEvent(std::string bundleName, UnfocusedReason reason, uint16_t& bundleNameId,
160 int32_t SetStateSendEvent(const uint16_t bundleNameId, const uint8_t& continueTypeId,
165 uint16_t& bundleNameId, uint8_t& continueTypeId);
H A Ddms_continue_recv_manager.h95 …int32_t RetryPostBroadcast(const std::string& senderNetworkId, uint16_t bundleNameId, uint8_t cont…
101 …void PostOnBroadcastBusiness(const std::string& senderNetworkId, uint16_t bundleNameId, uint8_t co…
105 …int32_t DealOnBroadcastBusiness(const std::string& senderNetworkId, uint16_t bundleNameId, uint8_t…
H A Ddistributed_bundle_info.h60 uint16_t bundleNameId = 0; member
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/src/bundle/
H A Dbundle_manager_internal.cpp410 …t32_t BundleManagerInternal::GetBundleNameId(const std::string& bundleName, uint16_t& bundleNameId) in GetBundleNameId() argument
413 bool ret = DmsBmStorage::GetInstance()->GetBundleNameId(bundleName, bundleNameId); in GetBundleNameId()
414 HILOGI("bundleNameId: %{public}d end.", bundleNameId); in GetBundleNameId()
463 const uint16_t& bundleNameId, std::string& bundleName) in GetBundleNameById() argument
466 …bool result = DmsBmStorage::GetInstance()->GetDistributedBundleName(networkId, bundleNameId, bundl… in GetBundleNameById()
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/include/bundle/
H A Dbundle_manager_internal.h60 static int32_t GetBundleNameId(const std::string& bundleName, uint16_t& bundleNameId);
67 const uint16_t& bundleNameId, std::string& bundleName);
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/
H A Dbundle_manager_internal_test.cpp529 uint16_t bundleNameId = 0; variable
530 int32_t ret = BundleManagerInternal::GetBundleNameId(bundleName, bundleNameId);
544 uint16_t bundleNameId = 0; variable
546 int32_t ret = BundleManagerInternal::GetBundleNameId(bundleName, bundleNameId);
H A Ddistributed_sched_permission_test.cpp1742 uint16_t bundleNameId = 0; variable
1743 int32_t ret = BundleManagerInternal::GetBundleNameId(bundleName, bundleNameId);
1745 DistributedSchedPermission::GetInstance().MarkUriPermission(want, bundleNameId);
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/cloud_disk/mock/
H A Dfile_operations_local_mock.cpp64 data->bundleNameId++; in DoLocalLookup()
65 localId = data->bundleNameId + BUNDLE_NAME_OFFSET; in DoLocalLookup()
H A Dfile_operations_helper_mock.cpp212 data->bundleNameId++; in GenerateCloudDiskInode()
213 localId = data->bundleNameId + BUNDLE_NAME_OFFSET; in GenerateCloudDiskInode()
/ohos5.0/foundation/filemanagement/dfs_service/services/cloudfiledaemon/src/cloud_disk/
H A Dfile_operations_local.cpp64 data->bundleNameId++; in DoLocalLookup()
65 localId = data->bundleNameId + BUNDLE_NAME_OFFSET; in DoLocalLookup()
H A Dfile_operations_helper.cpp185 data->bundleNameId++; in GenerateCloudDiskInode()
186 localId = data->bundleNameId + BUNDLE_NAME_OFFSET; in GenerateCloudDiskInode()
/ohos5.0/foundation/filemanagement/dfs_service/services/cloudfiledaemon/include/cloud_disk/
H A Dcloud_disk_inode.h85 int64_t bundleNameId{1};
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/src/continue/
H A Ddsched_continue_manager.cpp256 uint16_t bundleNameId; in GetFirstBundleName() local
258 DmsBmStorage::GetInstance()->GetBundleNameId(bundleName, bundleNameId); in GetFirstBundleName()
260 bundleNameId, distributedBundleInfo); in GetFirstBundleName()