/foundation/ability/ability_runtime/test/moduletest/mock/include/ |
H A D | mock_bundle_mgr.h | 52 abilityInfo.bundleName = elementTemp.GetBundleName(); 53 abilityInfo.applicationInfo.bundleName = elementTemp.GetBundleName(); 67 abilityInfo.bundleName = elementTemp.GetBundleName(); 68 abilityInfo.applicationInfo.bundleName = elementTemp.GetBundleName(); 102 abilityInfo.bundleName = elementTemp.GetBundleName(); 103 abilityInfo.applicationInfo.bundleName = elementTemp.GetBundleName(); 123 abilityInfo.bundleName = elementTemp.GetBundleName(); 124 abilityInfo.applicationInfo.bundleName = elementTemp.GetBundleName(); 134 abilityInfo.bundleName = elementTemp.GetBundleName(); 135 abilityInfo.applicationInfo.bundleName = elementTemp.GetBundleName(); [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_exception_handler.cpp | 37 ServiceConstants::PATH_SEPARATOR + info.GetBundleName(); in HandleInvalidBundle() 39 RemoveBundleAndDataDir(appCodePath, info.GetBundleName(), info.GetUserId()); in HandleInvalidBundle() 78 APP_LOGD("remove bundle info of %{public}s from the storage", info.GetBundleName().c_str()); in DeleteBundleInfoFromStorage() 81 APP_LOGE(" fail to remove bundle info of %{public}s from the storage", info.GetBundleName().c_str()); in DeleteBundleInfoFromStorage() 88 APP_LOGD("bundleName:%{public}s no need to check", info.GetBundleName().c_str()); in IsBundleHapPathExist() 91 APP_LOGD("start, need to check bundleName:%{public}s hap file", info.GetBundleName().c_str()); in IsBundleHapPathExist() 97 APP_LOGW("bundleName:%{public}s check hap path failed", info.GetBundleName().c_str()); in IsBundleHapPathExist() 101 APP_LOGE("bundleName:%{public}s hap Path is not exist", info.GetBundleName().c_str()); in IsBundleHapPathExist() 115 APP_LOGI_NOFUNC("%{public}s status is %{public}d", info.GetBundleName().c_str(), mark.status); in InnerHandleInvalidBundle() 117 ServiceConstants::PATH_SEPARATOR + info.GetBundleName(); in InnerHandleInvalidBundle() [all...] |
H A D | preinstall_data_storage_rdb.cpp | 86 if (key != preInstallBundleInfo.GetBundleName()) { in TransformStrToInfo() 121 if (preInstallBundleInfo.GetBundleName().empty()) { in SavePreInstallStorageBundleInfo() 127 preInstallBundleInfo.GetBundleName(), preInstallBundleInfo.ToString()); in SavePreInstallStorageBundleInfo() 140 if (preInstallBundleInfo.GetBundleName().empty()) { in DeletePreInstallStorageBundleInfo() 145 bool ret = rdbDataManager_->DeleteData(preInstallBundleInfo.GetBundleName()); in DeletePreInstallStorageBundleInfo()
|
H A D | bundle_data_storage_rdb.cpp | 94 infos.emplace(innerBundleInfo.GetBundleName(), innerBundleInfo); in TransformStrToInfo() 97 if (key != innerBundleInfo.GetBundleName()) { in TransformStrToInfo() 131 innerBundleInfo.GetBundleName(), innerBundleInfo.ToString()); in SaveStorageBundleInfo() 144 bool ret = rdbDataManager_->DeleteData(innerBundleInfo.GetBundleName()); in DeleteStorageBundleInfo()
|
/foundation/communication/nfc/services/src/card_emulation/ |
H A D | ce_service.cpp | 100 return type == KITS::TYPE_PAYMENT && element.GetBundleName() == defaultPaymentElement_.GetBundleName() && in IsDefaultService() 165 if (bundleName != foregroundElement_.GetBundleName()) { in HandleAppStateChanged() 185 bool isForeground = appAidInfo.element.GetBundleName() == foregroundElement_.GetBundleName() && in BuildAidEntries() 187 bool isDefaultPayment = appAidInfo.element.GetBundleName() == defaultPaymentElement_.GetBundleName() && in BuildAidEntries() 249 ExternalDepsProxy::GetInstance().WriteDefaultPaymentAppChangeHiSysEvent(defaultPaymentElement_.GetBundleName(), in OnDefaultPaymentServiceChange() 250 newElement.GetBundleName()); in OnDefaultPaymentServiceChange() 265 std::string bundleName = element.GetBundleName(); in OnAppAddOrChangeOrRemove() [all...] |
/foundation/barrierfree/accessibility/services/test/mock/ |
H A D | mock_bundle_manager.cpp | 40 abilityInfo.bundleName = elementTemp.GetBundleName(); 41 abilityInfo.applicationInfo.bundleName = elementTemp.GetBundleName(); 51 abilityInfo.bundleName = elementTemp.GetBundleName(); 52 abilityInfo.applicationInfo.bundleName = elementTemp.GetBundleName(); 75 abilityInfo.bundleName = elementTemp.GetBundleName(); 76 abilityInfo.applicationInfo.bundleName = elementTemp.GetBundleName(); 92 abilityInfo.bundleName = elementTemp.GetBundleName(); 93 abilityInfo.applicationInfo.bundleName = elementTemp.GetBundleName(); 103 abilityInfo.bundleName = elementTemp.GetBundleName(); 104 abilityInfo.applicationInfo.bundleName = elementTemp.GetBundleName(); [all...] |
/foundation/ability/ability_runtime/test/mock/services_abilitymgr_test/libs/appexecfwk_core/include/bundlemgr/ |
H A D | mock_bundle_manager.h | 53 abilityInfo.bundleName = elementTemp.GetBundleName(); 54 abilityInfo.applicationInfo.bundleName = elementTemp.GetBundleName(); 65 abilityInfo.bundleName = elementTemp.GetBundleName(); 66 abilityInfo.applicationInfo.bundleName = elementTemp.GetBundleName(); 89 abilityInfo.bundleName = elementTemp.GetBundleName(); 90 abilityInfo.applicationInfo.bundleName = elementTemp.GetBundleName(); 106 abilityInfo.bundleName = elementTemp.GetBundleName(); 107 abilityInfo.applicationInfo.bundleName = elementTemp.GetBundleName(); 117 abilityInfo.bundleName = elementTemp.GetBundleName(); 118 abilityInfo.applicationInfo.bundleName = elementTemp.GetBundleName(); [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bundle_resource/ |
H A D | bundle_resource_process.cpp | 32 if (innerBundleInfo.GetBundleName().empty()) { in GetBundleResourceInfo() 37 APP_LOGD("bundleName:%{public}s is shared", innerBundleInfo.GetBundleName().c_str()); in GetBundleResourceInfo() 224 innerBundleInfo.GetBundleName().c_str(), extendResourceInfo.iconId); in GetDynamicIcon() 240 innerBundleInfo.GetBundleName().c_str()); in InnerGetResourceInfo() 244 APP_LOGI("%{public}s no default icon, build new", innerBundleInfo.GetBundleName().c_str()); in InnerGetResourceInfo() 246 defaultResourceInfo.bundleName_ = innerBundleInfo.GetBundleName(); in InnerGetResourceInfo() 256 APP_LOGI("bundle %{public}s has dynamicIcon", innerBundleInfo.GetBundleName().c_str()); in InnerGetResourceInfo() 262 APP_LOGI("bundleName:%{public}s contains clone bundle", innerBundleInfo.GetBundleName().c_str()); in InnerGetResourceInfo() 276 std::string bundleName = innerBundleInfo.GetBundleName(); in OnGetResourceInfo() 315 resourceInfo.bundleName_ = innerBundleInfo.GetBundleName(); in ConvertToBundleResourceInfo() [all...] |
/foundation/ability/ability_runtime/test/moduletest/mock/src/ |
H A D | mock_bundle_mgr.cpp | 37 if (eleName.GetBundleName().empty()) { in QueryAbilityInfo() 42 abilityInfo.bundleName = eleName.GetBundleName(); in QueryAbilityInfo() 97 std::string bundleNameTemp = elementTemp.GetBundleName(); in QueryAbilityInfo() 113 if (std::string::npos != elementTemp.GetBundleName().find("Service")) { in QueryAbilityInfo() 116 if (std::string::npos != elementTemp.GetBundleName().find("Data")) { in QueryAbilityInfo() 119 if (std::string::npos != elementTemp.GetBundleName().find("Extension")) { in QueryAbilityInfo() 123 abilityInfo.bundleName = elementTemp.GetBundleName(); in QueryAbilityInfo() 124 abilityInfo.applicationName = elementTemp.GetBundleName(); in QueryAbilityInfo() 126 abilityInfo.applicationInfo.bundleName = elementTemp.GetBundleName(); in QueryAbilityInfo() 156 element.GetBundleName() in CheckWantEntity() [all...] |
/foundation/ability/ability_runtime/test/mock/services_abilitymgr_test/libs/appexecfwk_core/src/bundlemgr/ |
H A D | mock_bundle_manager.cpp | 33 if (eleName.GetBundleName().empty()) { in QueryAbilityInfo() 37 abilityInfo.bundleName = eleName.GetBundleName(); in QueryAbilityInfo() 108 std::string bundleNameTemp = elementTemp.GetBundleName(); in QueryAbilityInfo() 123 if (std::string::npos != elementTemp.GetBundleName().find("Service")) { in QueryAbilityInfo() 126 if (std::string::npos != elementTemp.GetBundleName().find("Data")) { in QueryAbilityInfo() 129 if (std::string::npos != elementTemp.GetBundleName().find("Extension")) { in QueryAbilityInfo() 133 abilityInfo.bundleName = elementTemp.GetBundleName(); in QueryAbilityInfo() 134 abilityInfo.applicationName = elementTemp.GetBundleName(); in QueryAbilityInfo() 136 abilityInfo.applicationInfo.bundleName = elementTemp.GetBundleName(); in QueryAbilityInfo() 191 element.GetBundleName() in CheckWantEntity() [all...] |
/foundation/communication/nfc/services/src/external_deps/ |
H A D | app_data_parser.cpp | 80 std::string bundleName = element.GetBundleName(); in HandleAppAddOrChangedEvent() 99 std::string bundleName = element.GetBundleName(); in HandleAppRemovedEvent() 173 std::string bundleName = element.GetBundleName(); in UpdateAppListInfo() 234 if (src.GetBundleName().compare(target.GetBundleName()) == 0) { in IsMatchedByBundleName() 266 if (!GetMatchedTagKeyElement(element).GetBundleName().empty()) { in UpdateTagAppList() 267 WarnLog("UpdateTagAppList, rm duplicated app %{public}s", element.GetBundleName().c_str()); in UpdateTagAppList() 306 DebugLog("UpdateTagAppList, ignore for app %{public}s %{public}s", element.GetBundleName().c_str(), in UpdateTagAppList() 315 DebugLog("UpdateTagAppList, push for app %{public}s %{public}s", element.GetBundleName().c_str(), in UpdateTagAppList() 321 if (!GetMatchedHceKeyElement(element).GetBundleName() in UpdateHceAppList() [all...] |
/foundation/ability/dmsfwk/services/dtbschedmgr/src/ |
H A D | common_event_listener.cpp | 76 HILOGI("PACKAGE_ADDED: %{public}s", want.GetElement().GetBundleName().c_str()); in OnReceiveEvent() 77 DmsBmStorage::GetInstance()->SaveStorageDistributeInfo(want.GetElement().GetBundleName()); in OnReceiveEvent() 80 HILOGI("PACKAGE_CHANGED: %{public}s", want.GetElement().GetBundleName().c_str()); in OnReceiveEvent() 81 DmsBmStorage::GetInstance()->SaveStorageDistributeInfo(want.GetElement().GetBundleName(), true); in OnReceiveEvent() 84 HILOGI("PACKAGE_REMOVED: %{public}s", want.GetElement().GetBundleName().c_str()); in OnReceiveEvent() 85 DmsBmStorage::GetInstance()->DeleteStorageDistributeInfo(want.GetElement().GetBundleName()); in OnReceiveEvent() 86 DMSContinueRecvMgr::GetInstance().NotifyPackageRemoved(want.GetElement().GetBundleName()); in OnReceiveEvent()
|
/foundation/barrierfree/accessibility/services/aams/test/mock/src/aafwk/ |
H A D | mock_bundle_manager.cpp | 61 std::string bundleNameTemp = elementTemp.GetBundleName(); in QueryAbilityInfo() 76 if (std::string::npos != elementTemp.GetBundleName().find("service")) { in QueryAbilityInfo() 80 abilityInfo.bundleName = elementTemp.GetBundleName(); in QueryAbilityInfo() 81 abilityInfo.applicationName = elementTemp.GetBundleName(); in QueryAbilityInfo() 83 abilityInfo.applicationInfo.bundleName = elementTemp.GetBundleName(); in QueryAbilityInfo() 151 element.GetBundleName().empty()) { in CheckWantEntity() 157 auto bundleName = element.GetBundleName(); in CheckWantEntity()
|
/foundation/ability/ability_runtime/interfaces/kits/native/ability/ability_runtime/ |
H A D | connection_manager.h | 64 connectReceiver.GetBundleName() < that.connectReceiver.GetBundleName()) { in operator <() 68 connectReceiver.GetBundleName() == that.connectReceiver.GetBundleName() && in operator <() 73 connectReceiver.GetBundleName() == that.connectReceiver.GetBundleName() && in operator <() 79 connectReceiver.GetBundleName() == that.connectReceiver.GetBundleName() && in operator <()
|
/foundation/ability/ability_runtime/interfaces/inner_api/extension_manager/src/ |
H A D | extension_manager_client.cpp | 102 want.GetElement().GetBundleName().c_str(), want.GetElement().GetAbilityName().c_str());
in ConnectServiceExtensionAbility() 106 want.GetElement().GetBundleName().c_str(), want.GetElement().GetAbilityName().c_str(), userId);
in ConnectServiceExtensionAbility() 118 want.GetElement().GetBundleName().c_str(), want.GetElement().GetAbilityName().c_str());
in ConnectServiceExtensionAbility() 122 want.GetElement().GetBundleName().c_str(), want.GetElement().GetAbilityName().c_str(), userId);
in ConnectServiceExtensionAbility() 134 want.GetElement().GetBundleName().c_str(), want.GetElement().GetAbilityName().c_str());
in ConnectEnterpriseAdminExtensionAbility() 138 want.GetElement().GetBundleName().c_str(), want.GetElement().GetAbilityName().c_str(), userId);
in ConnectEnterpriseAdminExtensionAbility() 150 want.GetElement().GetBundleName().c_str(), want.GetElement().GetAbilityName().c_str());
in ConnectExtensionAbility() 155 want.GetElement().GetBundleName().c_str(), want.GetElement().GetAbilityName().c_str(), userId);
in ConnectExtensionAbility()
|
/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | app_mgr_event.cpp | 65 eventInfo.bundleName = appRecord->GetBundleName(); in SendCreateAtomicServiceProcessEvent() 109 if (callerAppRecord->GetBundleName().empty()) { in SendProcessStartEvent() 112 eventInfo.callerBundleName = callerAppRecord->GetBundleName(); in SendProcessStartEvent() 117 if (!appRecord->GetBundleName().empty()) { in SendProcessStartEvent() 118 eventInfo.bundleName = appRecord->GetBundleName(); in SendProcessStartEvent() 156 if (!appRecord->GetBundleName().empty()) { in SendProcessStartFailedEvent() 157 eventInfo.bundleName = appRecord->GetBundleName(); in SendProcessStartFailedEvent() 182 if (callerAppRecord->GetBundleName().empty()) { in UpdateCallerInfo() 185 eventInfo.callerBundleName = callerAppRecord->GetBundleName(); in UpdateCallerInfo() 213 eventInfo.callerBundleName = hostRecord->GetBundleName(); in SendChildProcessStartFailedEvent() [all...] |
H A D | cache_process_manager.cpp | 160 auto &bundleName = appRecord->GetBundleName(); in CheckAndNotifyCachedState() 260 appRecord->GetBundleName().c_str(), appRecord->GetUid(), PrintCacheQueue().c_str()); in ReuseCachedProcess() 282 appRecord->GetProcessName().c_str(), appRecord->GetBundleName().c_str()); in IsProcessSupportHotStart() 287 appRecord->GetProcessName().c_str(), appRecord->GetBundleName().c_str()); in IsProcessSupportHotStart() 320 appRecord->GetProcessName().c_str(), appRecord->GetBundleName().c_str()); in IsAppSupportProcessCache() 343 if (appRecord->GetBundleName() == AAFwk::AppUtils::GetInstance().GetBrokerDelegateBundleName()) { in IsAppSupportProcessCacheInnerFirst() 349 appRecord->GetProcessName().c_str(), appRecord->GetBundleName().c_str()); in IsAppSupportProcessCacheInnerFirst() 363 appRecord->GetBundleName().c_str()); in IsAppSupportProcessCacheInnerFirst() 369 appRecord->GetBundleName().c_str()); in IsAppSupportProcessCacheInnerFirst() 501 auto &bundleName = appRecord->GetBundleName(); in AddToApplicationSet() [all...] |
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/ |
H A D | mock_bundle_manager.cpp | 46 if (eleName.GetBundleName().empty()) { in QueryAbilityInfo() 51 abilityInfo.bundleName = eleName.GetBundleName(); in QueryAbilityInfo() 110 if (elementName.GetBundleName().empty()) { in QueryAbilityInfo() 113 if (std::string::npos != elementName.GetBundleName().find("service")) { in QueryAbilityInfo() 118 abilityInfo.bundleName = elementName.GetBundleName(); in QueryAbilityInfo() 119 abilityInfo.applicationName = elementName.GetBundleName(); in QueryAbilityInfo()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/aging/ |
H A D | recently_unused_bundle_aging_handler.cpp | 75 bool isBundleRunning = AbilityManagerHelper::IsRunning(agingBundle.GetBundleName()); in ProcessBundle() 77 agingBundle.GetBundleName().c_str(), isBundleRunning); in ProcessBundle() 122 return UnInstallBundle(agingBundleInfo.GetBundleName()); in AgingClean() 129 APP_LOGW("Get cache path failed: %{public}s", agingBundle.GetBundleName().c_str()); in CleanCache() 131 agingBundle.GetBundleName(), Constants::ALL_USERID, true, true); in CleanCache() 148 agingBundle.GetBundleName(), Constants::ALL_USERID, true, !hasCleanCache); in CleanCache() 162 if (!dataMgr->GetInnerBundleUserInfos(agingBundle.GetBundleName(), innerBundleUserInfos)) { in GetCachePath() 164 agingBundle.GetBundleName().c_str()); in GetCachePath() 175 ServiceConstants::BASE + agingBundle.GetBundleName(); in GetCachePath()
|
/foundation/communication/nfc/services/src/ipc/tags/ |
H A D | tag_session.cpp | 416 if (element.GetBundleName() == bundleName && element.GetAbilityName() == abilityName) {
in CheckFgAppStateChanged() 448 if (element.GetBundleName() == bundleName && element.GetAbilityName() == abilityName) {
in CheckReaderAppStateChanged() 488 if (element.GetBundleName() == fgElement.GetBundleName() &&
in IsSameAppAbility() 510 if (!g_appStateObserver->IsForegroundApp(element.GetBundleName())) {
in RegForegroundDispatch() 529 WarnLog("%{public}s already RegForegroundDispatch", element.GetBundleName().c_str());
in RegForegroundDispatchInner() 533 element.GetBundleName().c_str(), element.GetAbilityName().c_str());
in RegForegroundDispatchInner() 540 SubErrorCode::REG_FOREGROUND_DISPATCH, element.GetBundleName());
in RegForegroundDispatchInner() 556 fgElement.GetBundleName().c_str(), fgElement.GetAbilityName().c_str());
in IsFgRegistered() 563 InfoLog("Add new FgData to vector: %{public}s, %{public}s", element.GetBundleName() in IsFgRegistered() [all...] |
/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/src/common/ |
H A D | js_ability.cpp | 25 bundleName_ = stageContext->GetBundleName(); in Context() 31 bundleName_ = abilityContext->GetBundleName(); in Context() 35 std::string Context::GetBundleName() in GetBundleName() function in OHOS::ObjectStore::Context
|
/foundation/ability/ability_lite/frameworks/ability_lite/src/ |
H A D | ability_env.cpp | 22 const char *GetBundleName() in GetBundleName() function 24 const std::string &bundleName = OHOS::AbilityEnvImpl::GetInstance().GetBundleName(); in GetBundleName()
|
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/ |
H A D | application_env_impl_test.cpp | 71 EXPECT_EQ(ApplicationEnvImpl::GetInstance()->GetBundleName(), "bundleName"); in HWTEST_F() 90 EXPECT_EQ(ApplicationEnvImpl::GetInstance()->GetBundleName(), "bundleName"); in HWTEST_F() 109 std::string bundleName(GetBundleName()); in HWTEST_F() 131 std::string bundleName(GetBundleName()); in HWTEST_F()
|
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/test/unittest/network/softbus/ |
H A D | softbus_session_listener_test.cpp | 86 * @tc.desc: test GetBundleName function. 93 string bundleName = SoftBusSessionListener::GetBundleName(TEST_URI); in HWTEST_F() 96 bundleName = SoftBusSessionListener::GetBundleName(testUri); in HWTEST_F() 99 bundleName = SoftBusSessionListener::GetBundleName(testUri); in HWTEST_F() 102 bundleName = SoftBusSessionListener::GetBundleName(testUri); in HWTEST_F()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_scan_sa/ |
H A D | wifi_scan_service_impl.cpp | 119 WriteWifiScanApiFailHiSysEvent(GetBundleName(), -1); in Scan() 127 WriteWifiScanApiFailHiSysEvent(GetBundleName(), -1); in Scan() 135 WriteWifiScanApiFailHiSysEvent(GetBundleName(), -1); in Scan() 142 WriteWifiScanApiFailHiSysEvent(GetBundleName(), -1); in Scan() 150 WriteWifiScanApiFailHiSysEvent(GetBundleName(), -1); in Scan() 166 WriteWifiScanApiFailHiSysEvent(GetBundleName(), -1); in PermissionVerification() 186 WriteWifiScanApiFailHiSysEvent(GetBundleName(), -1); in PermissionVerification() 437 || GetBundleName() == WifiSettings::GetInstance().GetVariablePackageName("SETTINGS")) { in UpdateScanMode()
|