/foundation/resourceschedule/device_standby/services/core/src/ |
H A D | bundle_manager_helper.cpp | 44 if (bundleMgr_ != nullptr) { in GetClientBundleName() 45 bundleMgr_->GetNameForUid(uid, bundle); in GetClientBundleName() 58 STANDBYSERVICE_LOGD("bundleMgr is null: %{public}d ", bundleMgr_ == nullptr); in GetApplicationInfo() 59 if (bundleMgr_ == nullptr || !bundleMgr_->GetApplicationInfo(appName, flag, userId, appInfo)) { in GetApplicationInfo() 71 STANDBYSERVICE_LOGD("bundleMgr is null: %{public}d ", bundleMgr_ == nullptr); in GetApplicationInfos() 72 if (bundleMgr_ == nullptr || !bundleMgr_->GetApplicationInfos(flag, userId, appInfos)) { in GetApplicationInfos() 82 STANDBYSERVICE_LOGD("bundleMgr is null: %{public}d ", bundleMgr_ == nullptr); in CheckIsSystemAppByUid() 83 if (bundleMgr_ in CheckIsSystemAppByUid() [all...] |
/foundation/filemanagement/storage_service/services/storage_manager/storage/src/ |
H A D | bundle_manager_connector.cpp | 36 bundleMgr_ = nullptr;
in ~BundleMgrConnector() 43 if (bundleMgr_ == nullptr) {
in GetBundleMgrProxy() 54 bundleMgr_ = iface_cast<AppExecFwk::IBundleMgr>(remoteObject);
in GetBundleMgrProxy() 55 if (bundleMgr_ == nullptr) {
in GetBundleMgrProxy() 62 bundleMgr_ = nullptr;
in GetBundleMgrProxy() 65 bundleMgr_->AsObject()->AddDeathRecipient(deathRecipient_);
in GetBundleMgrProxy() 67 return bundleMgr_;
in GetBundleMgrProxy() 73 if ((bundleMgr_ != nullptr) && (bundleMgr_->AsObject() != nullptr)) {
in ResetBundleMgrProxy() 74 bundleMgr_ in ResetBundleMgrProxy() [all...] |
/foundation/resourceschedule/background_task_mgr/services/common/src/ |
H A D | bundle_manager_helper.cpp | 52 if (bundleMgr_ != nullptr) {
in GetClientBundleName() 53 bundleMgr_->GetNameForUid(uid, bundle);
in GetClientBundleName() 82 if (bundleMgr_ != nullptr && bundleMgr_->GetBundleInfo(bundleName, flag, bundleInfo, userId)) {
in GetBundleInfo() 95 BGTASK_LOGD("bundleMgr is null: %{public}d ", bundleMgr_ == nullptr);
in GetApplicationInfo() 96 if (bundleMgr_ != nullptr && bundleMgr_->GetApplicationInfo(appName, flag, userId, appInfo)) {
in GetApplicationInfo() 107 if (bundleMgr_ != nullptr && bundleMgr_->QueryAbilityInfo(want, flags, userId, abilityInfo)) {
in QueryAbilityInfo() 115 if (bundleMgr_ ! in Connect() [all...] |
/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/src/EGL/ |
H A D | egl_bundle_mgr_helper.cpp | 27 if (bundleMgr_ != nullptr && bundleMgr_->AsObject() != nullptr && deathRecipient_ != nullptr) { in ~EGLBundleMgrHelper() 28 bundleMgr_->AsObject()->RemoveDeathRecipient(deathRecipient_); in ~EGLBundleMgrHelper() 36 if (bundleMgr_ == nullptr) { in Connect() 45 if (remoteObject_ == nullptr || (bundleMgr_ = iface_cast<IBundleMgr>(remoteObject_)) == nullptr) { in Connect() 63 if (bundleMgr_->AsObject() != nullptr) { in Connect() 64 bundleMgr_->AsObject()->AddDeathRecipient(deathRecipient_); in Connect() 67 return bundleMgr_; in Connect() 74 if (bundleMgr_ == nullptr || bundleMgr_ in OnDeath() [all...] |
H A D | egl_bundle_mgr_helper.h | 39 sptr<IBundleMgr> bundleMgr_; member in OHOS::AppExecFwk::EGLBundleMgrHelper
|
/foundation/resourceschedule/device_usage_statistics/services/common/src/ |
H A D | bundle_active_bundle_mgr_helper.cpp | 45 if (!bundleMgr_) {
in GetNameForUid() 48 bundleMgr_->GetNameForUid(uid, bundleName);
in GetNameForUid() 61 if (!bundleMgr_) {
in GetApplicationInfo() 64 BUNDLE_ACTIVE_LOGD("bundleMgr is null: %{public}d ", bundleMgr_ == nullptr);
in GetApplicationInfo() 65 if (bundleMgr_ != nullptr && bundleMgr_->GetApplicationInfo(appName, flag, userId, appInfo)) {
in GetApplicationInfo() 80 BUNDLE_ACTIVE_LOGI("bundleMgr is null: %{public}d ", bundleMgr_ == nullptr);
in GetApplicationInfos() 81 if (bundleMgr_ != nullptr && bundleMgr_->GetApplicationInfos(flag, userId, appInfos)) {
in GetApplicationInfos() 95 if (!bundleMgr_) {
in GetBundleInfo() [all...] |
H A D | bundle_active_continuous_task_observer.cpp | 55 if (!bundleMgr_) { in GetBundleMgr() 67 bundleMgr_ = iface_cast<IBundleMgr>(remoteObject); in GetBundleMgr() 68 if (!bundleMgr_) { in GetBundleMgr() 69 BUNDLE_ACTIVE_LOGE("Failed to get system bundle manager services ability, bundleMgr_"); in GetBundleMgr() 72 auto object = bundleMgr_->AsObject(); in GetBundleMgr() 74 BUNDLE_ACTIVE_LOGE("Failed to get system bundle manager services ability, bundleMgr_->AsObject()"); in GetBundleMgr() 91 bundleMgr_->GetNameForUid(uid, bundleName); in ReportContinuousTaskEvent()
|
/foundation/ability/ability_runtime/test/moduletest/ui_extension_ability_test/ui_extension_info_module_test/ |
H A D | ui_extension_info_module_test.cpp | 68 static sptr<AppExecFwk::IBundleMgr> bundleMgr_; member in OHOS::AAFwk::UIExtensionInfoModuleTest 71 sptr<AppExecFwk::IBundleMgr> UIExtensionInfoModuleTest::bundleMgr_ = nullptr; member in OHOS::AAFwk::UIExtensionInfoModuleTest 94 bundleMgr_ = bundleMgr; in SetUpTestCase() 116 ASSERT_NE(bundleMgr_, nullptr); in HWTEST_F() 120 bool queryResult = bundleMgr_->QueryExtensionAbilityInfos(type, AppExecFwk::Constants::ALL_USERID, in HWTEST_F()
|
/foundation/multimedia/media_library/frameworks/utils/src/ |
H A D | permission_utils.cpp | 52 sptr<AppExecFwk::IBundleMgr> PermissionUtils::bundleMgr_ = nullptr; member in OHOS::Media::PermissionUtils 56 if (bundleMgr_ != nullptr) { in GetSysBundleManager() 57 return bundleMgr_; in GetSysBundleManager() 61 if (bundleMgr_ != nullptr) { in GetSysBundleManager() 62 return bundleMgr_; in GetSysBundleManager() 82 bundleMgr_ = bundleMgr; in GetSysBundleManager() 84 return bundleMgr_; in GetSysBundleManager() 96 bundleMgr_ = GetSysBundleManager(); in GetBundleNameFromCache() 97 if (bundleMgr_ == nullptr) { in GetBundleNameFromCache() 101 auto result = bundleMgr_ in GetBundleNameFromCache() 154 auto bundleMgr_ = GetSysBundleManager(); GetAppIdFromCache() local [all...] |
/foundation/ability/ability_runtime/test/unittest/insight_intent/insight_intent_utils_test/ |
H A D | insight_intent_utils_test.cpp | 126 bundleMgrHelper_->bundleMgr_ = mockBundleMgr; in HWTEST_F() 144 bundleMgrHelper_->bundleMgr_ = nullptr; in HWTEST_F() 157 bundleMgrHelper_->bundleMgr_ = mockBundleMgr; in HWTEST_F() 171 bundleMgrHelper_->bundleMgr_ = nullptr; in HWTEST_F() 184 bundleMgrHelper_->bundleMgr_ = mockBundleMgr; in HWTEST_F() 193 bundleMgrHelper_->bundleMgr_ = nullptr; in HWTEST_F() 206 bundleMgrHelper_->bundleMgr_ = mockBundleMgr; in HWTEST_F() 228 bundleMgrHelper_->bundleMgr_ = nullptr; in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/ |
H A D | bundle_mgr_client_impl.cpp | 55 if (bundleMgr_ != nullptr && deathRecipient_ != nullptr) { in ~BundleMgrClientImpl() 56 bundleMgr_->AsObject()->RemoveDeathRecipient(deathRecipient_); in ~BundleMgrClientImpl() 67 return bundleMgr_->GetNameForUid(uid, name); in GetNameForUid() 82 return bundleMgr_->GetBundleInfo(bundleName, flag, bundleInfo, userId); in GetBundleInfo() 95 return bundleMgr_->GetBundlePackInfo(bundleName, flag, bundlePackInfo, userId); in GetBundlePackInfo() 107 return bundleMgr_->CreateBundleDataDir(userId); in CreateBundleDataDir() 123 return bundleMgr_->GetHapModuleInfo(info, hapModuleInfo); in GetHapModuleInfo() 476 return bundleMgr_->GetSandboxBundleInfo(bundleName, appIndex, userId, info); in GetSandboxBundleInfo() 494 return bundleMgr_->GetSandboxAbilityInfo(want, appIndex, flags, userId, abilityInfo); in GetSandboxAbilityInfo() 512 return bundleMgr_ in GetSandboxExtAbilityInfos() [all...] |
H A D | launcher_service.cpp | 28 OHOS::sptr<OHOS::AppExecFwk::IBundleMgr> LauncherService::bundleMgr_ = nullptr; member in OHOS::AppExecFwk::LauncherService 38 bundleMgr_ = nullptr; in OnRemoteDied() 59 if (bundleMgr_ != nullptr && deathRecipient_ != nullptr) { in ~LauncherService() 60 bundleMgr_->AsObject()->RemoveDeathRecipient(deathRecipient_); in ~LauncherService() 66 if (bundleMgr_ == nullptr) { in GetBundleMgr() 68 if (bundleMgr_ == nullptr) { in GetBundleMgr() 79 bundleMgr_ = OHOS::iface_cast<IBundleMgr>(bundleMgrSa); in GetBundleMgr() 80 if (bundleMgr_ == nullptr) { in GetBundleMgr() 84 bundleMgr_->AsObject()->AddDeathRecipient(deathRecipient_); in GetBundleMgr() 87 return bundleMgr_; in GetBundleMgr() [all...] |
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/bundlemgr_graphics/src/ |
H A D | bundle_graphics_client_impl.cpp | 35 if (bundleMgr_ == nullptr) { in GetBundleMgr() 50 bundleMgr_ = bundleMgr; in GetBundleMgr() 53 return bundleMgr_; in GetBundleMgr()
|
/foundation/window/window_manager/window_scene/session/host/src/ |
H A D | multi_instance_manager.cpp | 46 bundleMgr_ = bundleMgr; in Init() 60 if (!bundleMgr_ || !bundleMgr_->GetApplicationInfos( in SetCurrentUserId() 81 if (bundleMgr_ && bundleMgr_->GetApplicationInfo( in IsMultiInstance() 98 if (bundleMgr_ && bundleMgr_->GetApplicationInfo( in GetMaxInstanceCount() 223 if (bundleMgr_ && bundleMgr_->GetApplicationInfo( in RefreshAppInfo()
|
/foundation/resourceschedule/device_standby/services/test/unittest/mock/ |
H A D | mock_connect.cpp | 34 bundleMgr_ = nullptr; in Connect()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/bundlemgr_graphics/include/ |
H A D | bundle_graphics_client_impl.h | 42 OHOS::sptr<OHOS::AppExecFwk::IBundleMgr> bundleMgr_ = nullptr; member in OHOS::AppExecFwk::BundleGraphicsClientImpl
|
/foundation/filemanagement/storage_service/services/storage_manager/include/storage/ |
H A D | bundle_manager_connector.h | 38 sptr<AppExecFwk::IBundleMgr> bundleMgr_ = nullptr;
member in OHOS::StorageManager::BundleMgrConnector
|
/foundation/resourceschedule/device_usage_statistics/services/common/include/ |
H A D | bundle_active_bundle_mgr_helper.h | 74 sptr<AppExecFwk::IBundleMgr> bundleMgr_ = nullptr;
member in OHOS::DeviceUsageStats::BundleActiveBundleMgrHelper
|
H A D | bundle_active_continuous_task_observer.h | 44 sptr<IBundleMgr> bundleMgr_; member in OHOS::DeviceUsageStats::BundleActiveContinuousTaskObserver
|
/foundation/resourceschedule/device_standby/services/core/include/ |
H A D | bundle_manager_helper.h | 57 sptr<AppExecFwk::IBundleMgr> bundleMgr_ = nullptr; member in OHOS::BundleManagerHelper
|
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_bundle_manager_helper/ |
H A D | bundle_mgr_helper.cpp | 31 if (bundleMgr_ != nullptr && bundleMgr_->AsObject() != nullptr && deathRecipient_ != nullptr) { in ~BundleMgrHelper() 32 bundleMgr_->AsObject()->RemoveDeathRecipient(deathRecipient_); in ~BundleMgrHelper() 230 if (bundleMgr_ == nullptr) { in Connect() 239 if (remoteObject_ == nullptr || (bundleMgr_ = iface_cast<IBundleMgr>(remoteObject_)) == nullptr) { in Connect() 257 if (bundleMgr_->AsObject() != nullptr) { in Connect() 258 bundleMgr_->AsObject()->AddDeathRecipient(deathRecipient_); in Connect() 262 return bundleMgr_; in Connect() 295 if (bundleMgr_ == nullptr || bundleMgr_ in OnDeath() [all...] |
/foundation/resourceschedule/background_task_mgr/services/common/include/ |
H A D | bundle_manager_helper.h | 48 sptr<AppExecFwk::IBundleMgr> bundleMgr_ = nullptr;
member in OHOS::BackgroundTaskMgr::BundleManagerHelper
|
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_runtime/context/ |
H A D | context_impl.cpp | 257 bool ret = bundleMgr_->GetGroupDir(groupId, groupDirGet); in GetGroupDirWithCheck() 420 ErrCode ret = bundleMgr_->GetDependentBundleInfo(bundleName, bundleInfo, in CreateModuleContext() 523 ErrCode ret = bundleMgr_->GetDependentBundleInfo(bundleName, bundleInfo, in CreateSystemHspModuleResourceManager() 572 bundleMgr_->GetBundleInfoForSelf(( in GetBundleInfo() 585 bundleMgr_->GetBundleInfoV9(bundleName, in GetBundleInfo() 593 ErrCode ret = bundleMgr_->GetUninstalledBundleInfo(bundleName, bundleInfo); in GetBundleInfo() 606 if (bundleMgr_ == nullptr) { in GetBundleInfo() 615 bundleMgr_->GetBundleInfoForSelf( in GetBundleInfo() 624 bundleMgr_->GetBundleInfoV9(bundleName, in GetBundleInfo() 726 bundleMgr_ in CreateBundleContext() [all...] |
/foundation/ability/ability_runtime/test/unittest/ability_manager_service_sixth_test/ |
H A D | ability_manager_service_sixth_test.cpp | 303 bundleMgrHelper_->bundleMgr_ = mockBundleMgr; in HWTEST_F() 315 bundleMgrHelper_->bundleMgr_ = nullptr; in HWTEST_F() 357 bundleMgrHelper_->bundleMgr_ = mockBundleMgr; in HWTEST_F() 373 bundleMgrHelper_->bundleMgr_ = nullptr; in HWTEST_F() 986 bundleMgrHelper_->bundleMgr_ = mockBundleMgr; in HWTEST_F() 1013 bundleMgrHelper_->bundleMgr_ = nullptr; in HWTEST_F() 1047 bundleMgrHelper_->bundleMgr_ = mockBundleMgr; in HWTEST_F() 1069 bundleMgrHelper_->bundleMgr_ = nullptr; in HWTEST_F() 1097 bundleMgrHelper_->bundleMgr_ = mockBundleMgr; in HWTEST_F() 1129 bundleMgrHelper_->bundleMgr_ in HWTEST_F() [all...] |
/foundation/resourceschedule/device_usage_statistics/test/unittest/ |
H A D | bundle_active_total_test.cpp | 106 test.bundleMgr_ = nullptr; in HWTEST_F() 132 test.bundleMgr_ = nullptr; in HWTEST_F()
|