Home
last modified time | relevance | path

Searched refs:BundleMgrProxy (Results 1 – 25 of 91) sorted by relevance

1234

/ohos5.0/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/
H A Dmock_bundle_mgr_proxy.cpp35 BundleMgrProxy::BundleMgrProxy(const sptr<IRemoteObject> &impl) : IRemoteProxy<IBundleMgr>(impl) in BundleMgrProxy() function in OHOS::AppExecFwk::BundleMgrProxy
38 BundleMgrProxy::~BundleMgrProxy() in ~BundleMgrProxy()
41 bool BundleMgrProxy::GetBundleInfo( in GetBundleInfo()
48 std::string BundleMgrProxy::GetAppIdByBundleName(const std::string &bundleName, const int userId) in GetAppIdByBundleName()
53 bool BundleMgrProxy::GetBundleNameForUid(const int uid, std::string &bundleName) in GetBundleNameForUid()
59 std::string BundleMgrProxy::GetAppType(const std::string &bundleName) in GetAppType()
H A Dmock_bundle_manager.cpp54 ErrCode BundleMgrProxy::GetNameForUid(const int uid, std::string &name) in GetNameForUid()
61 bool BundleMgrProxy::GetBundleInfo(const std::string &bundleName, const BundleFlag flag, BundleInfo… in GetBundleInfo()
67 int BundleMgrProxy::GetUidByBundleName(const std::string &bundleName, const int userId) in GetUidByBundleName()
76 bool BundleMgrProxy::GetApplicationInfo( in GetApplicationInfo()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/
H A Dbundle_mgr_proxy.cpp28 sptr<AppExecFwk::BundleMgrProxy> BundleMgrProxy::GetBundleMgrProxy() in GetBundleMgrProxy()
32 return iface_cast<AppExecFwk::BundleMgrProxy>(proxy_); in GetBundleMgrProxy()
39 deathRecipient_ = new (std::nothrow)BundleMgrProxy::ServiceDeathRecipient(weak_from_this()); in GetBundleMgrProxy()
50 return iface_cast<AppExecFwk::BundleMgrProxy>(proxy_); in GetBundleMgrProxy()
53 sptr<IRemoteObject> BundleMgrProxy::CheckBMS() in CheckBMS()
64 int BundleMgrProxy::GetBundleInfoFromBMS( in GetBundleInfoFromBMS()
118 void BundleMgrProxy::OnProxyDied() in OnProxyDied()
129 BundleMgrProxy::~BundleMgrProxy() in ~BundleMgrProxy()
147 std::shared_ptr<BundleMgrProxy> BundleMgrProxy::GetInstance() in GetInstance()
149 static std::shared_ptr<BundleMgrProxy> proxy(new BundleMgrProxy()); in GetInstance()
[all …]
H A Dbundle_mgr_proxy.h64 class BundleMgrProxy final : public std::enable_shared_from_this<BundleMgrProxy> {
66 ~BundleMgrProxy();
67 static std::shared_ptr<BundleMgrProxy> GetInstance();
74 BundleMgrProxy() = default;
77 explicit ServiceDeathRecipient(std::weak_ptr<BundleMgrProxy> owner) : owner_(owner) {} in ServiceDeathRecipient()
87 std::weak_ptr<BundleMgrProxy> owner_;
89 sptr<AppExecFwk::BundleMgrProxy> GetBundleMgrProxy();
96 sptr<BundleMgrProxy::ServiceDeathRecipient> deathRecipient_;
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/
H A Dbundle_mgr_proxy.cpp71 BundleMgrProxy::BundleMgrProxy(const sptr<IRemoteObject> &impl) : IRemoteProxy<IBundleMgr>(impl) in BundleMgrProxy() function in OHOS::AppExecFwk::BundleMgrProxy
76 BundleMgrProxy::~BundleMgrProxy() in ~BundleMgrProxy()
81 bool BundleMgrProxy::GetApplicationInfo( in GetApplicationInfo()
116 bool BundleMgrProxy::GetApplicationInfo( in GetApplicationInfo()
263 bool BundleMgrProxy::GetBundleInfo( in GetBundleInfo()
295 bool BundleMgrProxy::GetBundleInfo( in GetBundleInfo()
538 bool BundleMgrProxy::GetBundleInfos( in GetBundleInfos()
564 bool BundleMgrProxy::GetBundleInfos( in GetBundleInfos()
1845 bool BundleMgrProxy::DumpInfos( in DumpInfos()
2300 bool BundleMgrProxy::GetAbilityInfo( in GetAbilityInfo()
[all …]
/ohos5.0/foundation/barrierfree/accessibility/services/test/mock/
H A Dmock_bundle_mgr_proxy.cpp25 BundleMgrProxy::BundleMgrProxy(const sptr<IRemoteObject>& impl) : IRemoteProxy<IBundleMgr>(impl) in BundleMgrProxy() function in OHOS::AppExecFwk::BundleMgrProxy
28 BundleMgrProxy::~BundleMgrProxy() in ~BundleMgrProxy()
/ohos5.0/base/notification/distributed_notification_service/services/test/moduletest/mock/
H A Dmock_bundle_mgr_proxy.cpp27 BundleMgrProxy::BundleMgrProxy(const sptr<IRemoteObject> &impl) : IRemoteProxy<IBundleMgr>(impl) in BundleMgrProxy() function in OHOS::AppExecFwk::BundleMgrProxy
30 BundleMgrProxy::~BundleMgrProxy() in ~BundleMgrProxy()
H A Dmock_bundle_manager.cpp37 ErrCode BundleMgrProxy::GetNameForUid(const int uid, std::string &name) in GetNameForUid()
44 bool BundleMgrProxy::GetBundleInfo(const std::string &bundleName, const BundleFlag flag, BundleInfo… in GetBundleInfo()
50 int BundleMgrProxy::GetUidByBundleName(const std::string &bundleName, const int userId) in GetUidByBundleName()
59 bool BundleMgrProxy::GetApplicationInfo( in GetApplicationInfo()
/ohos5.0/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_search_system_test/
H A Dbms_search_system_test.cpp182 static sptr<BundleMgrProxy> GetBundleMgrProxy();
194 sptr<BundleMgrProxy> bundleMgrProxy = GetBundleMgrProxy(); in SetUpTestCase()
206 sptr<BundleMgrProxy> bundleMgrProxy = GetBundleMgrProxy(); in TearDownTestCase()
221 sptr<BundleMgrProxy> BmsSearchSystemTest::GetBundleMgrProxy() in GetBundleMgrProxy()
237 return iface_cast<BundleMgrProxy>(remoteObject); in GetBundleMgrProxy()
242 sptr<BundleMgrProxy> bundleMgrProxy = GetBundleMgrProxy(); in GetInstallerProxy()
324 sptr<BundleMgrProxy> bundleMgrProxy = GetBundleMgrProxy();
362 sptr<BundleMgrProxy> bundleMgrProxy = GetBundleMgrProxy();
398 sptr<BundleMgrProxy> bundleMgrProxy = GetBundleMgrProxy();
426 sptr<BundleMgrProxy> bundleMgrProxy = GetBundleMgrProxy();
[all …]
/ohos5.0/foundation/communication/netmanager_base/utils/bundle_utils/src/
H A Dnet_bundle_impl.cpp26 sptr<AppExecFwk::BundleMgrProxy> GetBundleMgrProxy() in GetBundleMgrProxy()
39 return iface_cast<AppExecFwk::BundleMgrProxy>(remoteObject); in GetBundleMgrProxy()
44 sptr<AppExecFwk::BundleMgrProxy> bundleMgrProxy = GetBundleMgrProxy(); in GetJsonFromBundle()
66 sptr<AppExecFwk::BundleMgrProxy> bundleMgrProxy = GetBundleMgrProxy(); in IsAtomicService()
84 sptr<AppExecFwk::BundleMgrProxy> bundleMgrProxy = GetBundleMgrProxy(); in ObtainBundleNameForSelf()
102 sptr<AppExecFwk::BundleMgrProxy> bundleMgrProxy = GetBundleMgrProxy(); in ObtainTargetApiVersionForSelf()
/ohos5.0/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/acts_bms_kit_system_test/
H A Dacts_bms_kit_system_test.cpp271 static sptr<BundleMgrProxy> GetBundleMgrProxy();
411 sptr<BundleMgrProxy> ActsBmsKitSystemTest::GetBundleMgrProxy() in GetBundleMgrProxy()
427 return iface_cast<BundleMgrProxy>(remoteObject); in GetBundleMgrProxy()
432 sptr<BundleMgrProxy> bundleMgrProxy = GetBundleMgrProxy(); in GetInstallerProxy()
544 sptr<BundleMgrProxy> bundleMgrProxy = GetBundleMgrProxy();
576 sptr<BundleMgrProxy> bundleMgrProxy = GetBundleMgrProxy();
610 sptr<BundleMgrProxy> bundleMgrProxy = GetBundleMgrProxy();
722 sptr<BundleMgrProxy> bundleMgrProxy = GetBundleMgrProxy();
739 sptr<BundleMgrProxy> bundleMgrProxy = GetBundleMgrProxy();
9477 sptr<BundleMgrProxy> bundleMgrProxy = GetBundleMgrProxy();
[all …]
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/mock/
H A Dmock_bundle_mgr.cpp43 ErrCode BundleMgrProxy::GetNameForUid(const int uid, std::string &name) in GetNameForUid()
49 bool BundleMgrProxy::GetBundleInfo(const std::string &bundleName, const BundleFlag flag, BundleInfo… in GetBundleInfo()
55 int BundleMgrProxy::GetUidByBundleName(const std::string &bundleName, const int userId) in GetUidByBundleName()
64 bool BundleMgrProxy::GetApplicationInfo( in GetApplicationInfo()
/ohos5.0/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/
H A Dmock_bundle_manager.cpp25 bool BundleMgrProxy::GetApplicationInfo( in GetApplicationInfo()
36 std::string BundleMgrProxy::GetAppType(const std::string& bundleName) in GetAppType()
42 bool BundleMgrProxy::QueryAbilityInfo(const Want& want, AbilityInfo& abilityInfo) in QueryAbilityInfo()
55 bool BundleMgrProxy::GetHapModuleInfo(const AbilityInfo& abilityInfo, HapModuleInfo& hapModuleInfo) in GetHapModuleInfo()
62 bool BundleMgrProxy::GetHapModuleInfo(const AbilityInfo& abilityInfo, int32_t userId, HapModuleInfo… in GetHapModuleInfo()
69 sptr<IOverlayManager> BundleMgrProxy::GetOverlayManagerProxy() in GetOverlayManagerProxy()
H A Dmock_bundle_manager.h31 class BundleMgrProxy : public IRemoteProxy<IBundleMgr> {
33 explicit BundleMgrProxy(const sptr<IRemoteObject>& impl) : IRemoteProxy<IBundleMgr>(impl) in BundleMgrProxy() function
35 ~BundleMgrProxy() = default;
H A Dmock_bundle_manager_form.h33 class BundleMgrProxy : public IRemoteProxy<IBundleMgr> {
35 explicit BundleMgrProxy(const sptr<IRemoteObject>& impl) : IRemoteProxy<IBundleMgr>(impl) in BundleMgrProxy() function
37 virtual ~BundleMgrProxy() in ~BundleMgrProxy()
/ohos5.0/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_compatible_system_test/
H A Dbms_compatible_system_test.cpp78 static sptr<BundleMgrProxy> GetBundleMgrProxy();
82 sptr<BundleMgrProxy> BmsCompatibleSystemTest::GetBundleMgrProxy() in GetBundleMgrProxy()
98 return iface_cast<BundleMgrProxy>(remoteObject); in GetBundleMgrProxy()
103 sptr<BundleMgrProxy> bundleMgrProxy = GetBundleMgrProxy(); in GetInstallerProxy()
266 sptr<BundleMgrProxy> bundleMgrProxy = GetBundleMgrProxy();
311 sptr<BundleMgrProxy> bundleMgrProxy = GetBundleMgrProxy();
348 sptr<BundleMgrProxy> bundleMgrProxy = GetBundleMgrProxy();
391 sptr<BundleMgrProxy> bundleMgrProxy = GetBundleMgrProxy();
432 sptr<BundleMgrProxy> bundleMgrProxy = GetBundleMgrProxy();
461 sptr<BundleMgrProxy> bundleMgrProxy = GetBundleMgrProxy();
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/unittest/child_process_manager_test/include/
H A Dmock_bundle_manager.h28 class BundleMgrProxy : public IRemoteProxy<IBundleMgr> {
30 explicit BundleMgrProxy(const sptr<IRemoteObject>& impl) : IRemoteProxy<IBundleMgr>(impl) in BundleMgrProxy() function
32 ~BundleMgrProxy() = default;
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/mock/include/
H A Dmock_bundle_mgr.h25 class BundleMgrProxy : public IRemoteProxy<IBundleMgr> {
27 explicit BundleMgrProxy(const sptr<IRemoteObject> &impl) : IRemoteProxy<IBundleMgr>(impl) {} in BundleMgrProxy() function
28 virtual ~BundleMgrProxy() {} in ~BundleMgrProxy()
/ohos5.0/base/notification/distributed_notification_service/services/test/moduletest/mock/include/
H A Dmock_bundle_manager.h25 class BundleMgrProxy : public IRemoteProxy<IBundleMgr> {
27 explicit BundleMgrProxy(const sptr<IRemoteObject> &impl) : IRemoteProxy<IBundleMgr>(impl) {} in BundleMgrProxy() function
28 virtual ~BundleMgrProxy() {} in ~BundleMgrProxy()
/ohos5.0/foundation/bundlemanager/app_domain_verify/test/unittest/mock/include/
H A Dmock_bundle_manager.h28 class BundleMgrProxy : public IRemoteProxy<IBundleMgr> {
30 explicit BundleMgrProxy(const sptr<IRemoteObject>& impl) : IRemoteProxy<IBundleMgr>(impl) in BundleMgrProxy() function
33 virtual ~BundleMgrProxy() in ~BundleMgrProxy()
/ohos5.0/foundation/filemanagement/app_file_service/interfaces/common/src/
H A Dcommon_func.cpp39 static sptr<BundleMgrProxy> GetBundleMgrProxy() in GetBundleMgrProxy()
54 return iface_cast<BundleMgrProxy>(remoteObject); in GetBundleMgrProxy()
59 sptr<BundleMgrProxy> bundleMgrProxy = GetBundleMgrProxy(); in GetSelfBundleName()
/ohos5.0/foundation/filemanagement/app_file_service/tests/mock/bundle_manager/include/
H A Dmock_bundle_manager.h30 class BundleMgrProxy : public IRemoteProxy<IBundleMgr> {
32 explicit BundleMgrProxy(const sptr<IRemoteObject> &impl) : IRemoteProxy<IBundleMgr>(impl) {} in BundleMgrProxy() function
33 virtual ~BundleMgrProxy() {} in ~BundleMgrProxy()
/ohos5.0/foundation/ability/ability_runtime/test/mock/services_appmgr_test/src/
H A Dmock_bundle_manager.cpp92 bool BundleMgrProxy::QueryAbilityInfo(const AAFwk::Want& want, AbilityInfo& abilityInfo) in QueryAbilityInfo()
105 bool BundleMgrProxy::QueryAbilityInfoByUri(const std::string& uri, AbilityInfo& abilityInfo) in QueryAbilityInfoByUri()
110 bool BundleMgrProxy::GetApplicationInfo( in GetApplicationInfo()
121 std::string BundleMgrProxy::GetAppType(const std::string& bundleName) in GetAppType()
126 sptr<IOverlayManager> BundleMgrProxy::GetOverlayManagerProxy() in GetOverlayManagerProxy()
196 bool BundleMgrProxy::GetHapModuleInfo(const AbilityInfo& abilityInfo, HapModuleInfo& hapModuleInfo) in GetHapModuleInfo()
202 bool BundleMgrProxy::GetHapModuleInfo(const AbilityInfo& abilityInfo, int32_t userId, HapModuleInfo… in GetHapModuleInfo()
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/mock/src/
H A Dmock_bundle_mgr.cpp28 int BundleMgrProxy::QueryWantAbility( in QueryWantAbility()
34 bool BundleMgrProxy::QueryAbilityInfo(const AAFwk::Want& want, AbilityInfo& abilityInfo) in QueryAbilityInfo()
50 bool BundleMgrProxy::GetBundleInfo( in GetBundleInfo()
56 bool BundleMgrProxy::GetApplicationInfo( in GetApplicationInfo()
/ohos5.0/foundation/barrierfree/accessibility/services/aams/test/mock/include/
H A Dmock_bundle_manager.h52 class BundleMgrProxy : public IRemoteProxy<IBundleMgr> {
54 explicit BundleMgrProxy(const sptr<IRemoteObject>& impl) : IRemoteProxy<IBundleMgr>(impl) in BundleMgrProxy() function
56 virtual ~BundleMgrProxy() in ~BundleMgrProxy()

1234