Searched refs:bundleManager (Results 1 – 8 of 8) sorted by relevance
/base/customization/enterprise_device_management/common/native/src/ |
D | bundle_manager_utils.cpp | 31 sptr<AppExecFwk::IBundleMgr> bundleManager = iface_cast<AppExecFwk::IBundleMgr>(remoteObject); in GetAppIdByCallingUid() local 32 if (bundleManager == nullptr) { in GetAppIdByCallingUid() 38 bundleManager->GetNameForUid(IPCSkeleton::GetCallingUid(), callingBundleName); in GetAppIdByCallingUid() 43 appId = bundleManager->GetAppIdByBundleName(callingBundleName, userId); in GetAppIdByCallingUid()
|
/base/notification/distributed_notification_service/services/ans/src/ |
D | permission_filter.cpp | 38 std::shared_ptr<BundleManagerHelper> bundleManager = BundleManagerHelper::GetInstance(); in OnPublish() local 39 if (bundleManager != nullptr) { in OnPublish() 40 enable = bundleManager->CheckApiCompatibility(record->bundleOption); in OnPublish()
|
D | advanced_notification_service.cpp | 125 std::shared_ptr<BundleManagerHelper> bundleManager = BundleManagerHelper::GetInstance(); in GetClientBundleName() local 126 if (bundleManager != nullptr) { in GetClientBundleName() 127 bundle = bundleManager->GetBundleNameByUid(callingUid); in GetClientBundleName() 237 std::shared_ptr<BundleManagerHelper> bundleManager = BundleManagerHelper::GetInstance(); in PrepareNotificationRequest() local 239 if (bundleManager != nullptr) { in PrepareNotificationRequest() 240 …uid = bundleManager->GetDefaultUidByBundleName(request->GetOwnerBundleName(), request->GetOwnerUse… in PrepareNotificationRequest() 394 std::shared_ptr<BundleManagerHelper> bundleManager = BundleManagerHelper::GetInstance(); in GenerateValidBundleOption() local 395 if (bundleManager != nullptr) { in GenerateValidBundleOption() 401 …int32_t uid = bundleManager->GetDefaultUidByBundleName(bundleOption->GetBundleName(), activeUserId… in GenerateValidBundleOption() 811 std::shared_ptr<BundleManagerHelper> bundleManager = BundleManagerHelper::GetInstance(); in CancelAsBundle() local [all …]
|
D | notification_preferences.cpp | 687 std::shared_ptr<BundleManagerHelper> bundleManager = BundleManagerHelper::GetInstance(); in CheckApiCompatibility() local 688 if (bundleManager == nullptr) { in CheckApiCompatibility() 691 return bundleManager->CheckApiCompatibility(bundleOption); in CheckApiCompatibility()
|
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
D | bundle_manager_helper_test.cpp | 50 std::shared_ptr<BundleManagerHelper> bundleManager = BundleManagerHelper::GetInstance(); variable 51 EXPECT_EQ(bundleManager->GetBundleNameByUid(callingUid), "bundleName"); 62 std::shared_ptr<BundleManagerHelper> bundleManager = BundleManagerHelper::GetInstance(); variable 63 EXPECT_TRUE(bundleManager->IsSystemApp(callingUid));
|
D | advanced_notification_service_test.cpp | 3239 std::shared_ptr<BundleManagerHelper> bundleManager = nullptr; variable
|
/base/customization/enterprise_device_management/services/edm/src/ |
D | enterprise_device_mgr_ability.cpp | 347 auto bundleManager = GetBundleMgr(); in GetAllPermissionsByAdmin() local 351 …ret = bundleManager->GetBundleInfo(bundleInfoName, AppExecFwk::BundleFlag::GET_BUNDLE_WITH_REQUEST… in GetAllPermissionsByAdmin() 493 auto bundleManager = GetBundleMgr(); in EnableAdmin() local 494 if (!bundleManager) { in EnableAdmin() 500 …if (!bundleManager->QueryExtensionAbilityInfos(want, AppExecFwk::ExtensionAbilityType::ENTERPRISE_… in EnableAdmin() 667 auto bundleManager = GetBundleMgr(); in CheckCallingUid() local 669 if (bundleManager->GetNameForUid(uid, callingBundleName) != ERR_OK) { in CheckCallingUid()
|
/base/theme/wallpaper_mgr/frameworks/js/napi/test/unittest/src/wallpaper_js/ |
D | Wallpaper.test.js | 19 import bundleManager from "@ohos.bundle.bundleManager" 83 …bundleManager.getBundleInfo(BUNDLE_NAME, bundleManager.BundleFlag.GET_BUNDLE_INFO_DEFAULT, (e) => {
|