Home
last modified time | relevance | path

Searched refs:bundleObject (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/kits_impl/src/
H A Dstorage_statistics_n_exporter.cpp201 NVal bundleObject = NVal::CreateObject(env); in GetBundleStats() local
202 bundleObject.AddProp("appSize", NVal::CreateInt64(env, (bundleStats->appSize_)).val_); in GetBundleStats()
203 bundleObject.AddProp("cacheSize", NVal::CreateInt64(env, in GetBundleStats()
205 bundleObject.AddProp("dataSize", NVal::CreateInt64(env, (bundleStats->dataSize_)).val_); in GetBundleStats()
206 return bundleObject; in GetBundleStats()
253 NVal bundleObject = NVal::CreateObject(env); in GetCurrentBundleStats() local
254 bundleObject.AddProp("appSize", NVal::CreateInt64(env, (bundleStats->appSize_)).val_); in GetCurrentBundleStats()
255 bundleObject.AddProp("cacheSize", NVal::CreateInt64(env, in GetCurrentBundleStats()
257 bundleObject.AddProp("dataSize", NVal::CreateInt64(env, (bundleStats->dataSize_)).val_); in GetCurrentBundleStats()
258 return bundleObject; in GetCurrentBundleStats()
/ohos5.0/base/notification/common_event_service/services/test/unittest/
H A Dcommon_event_unsubscribe_unit_test.cpp43 static OHOS::sptr<OHOS::IRemoteObject> bundleObject = nullptr; variable
71 bundleObject = new MockBundleMgrService(); in SetUpTestCase()
73 OHOS::iface_cast<OHOS::AppExecFwk::IBundleMgr>(bundleObject); in SetUpTestCase()
H A Dcommon_event_publish_system_event_test.cpp41 static OHOS::sptr<OHOS::IRemoteObject> bundleObject = nullptr; variable
60 bundleObject = new MockBundleMgrService(); in SetUpTestCase()
62 OHOS::iface_cast<OHOS::AppExecFwk::IBundleMgr>(bundleObject); in SetUpTestCase()
H A Dcommon_event_sticky_test.cpp51 static OHOS::sptr<OHOS::IRemoteObject> bundleObject = nullptr; variable
79 bundleObject = new MockBundleMgrService(); in SetUpTestCase()
81 OHOS::iface_cast<OHOS::AppExecFwk::IBundleMgr>(bundleObject); in SetUpTestCase()
H A Dcommon_event_freeze_test.cpp57 static OHOS::sptr<OHOS::IRemoteObject> bundleObject = nullptr; variable
256 bundleObject = new MockBundleMgrService(); in SetUpTestCase()
258 OHOS::iface_cast<OHOS::AppExecFwk::IBundleMgr>(bundleObject); in SetUpTestCase()
H A Dcommon_event_publish_ordered_event_unit_test.cpp42 static OHOS::sptr<OHOS::IRemoteObject> bundleObject = nullptr; variable
86 bundleObject = new MockBundleMgrService(); in SetUpTestCase()
88 OHOS::iface_cast<OHOS::AppExecFwk::IBundleMgr>(bundleObject); in SetUpTestCase()
H A Dcommon_event_subscribe_unit_test.cpp50 static OHOS::sptr<OHOS::IRemoteObject> bundleObject = nullptr; variable
606 bundleObject = new MockBundleMgrService(); in SetUpTestCase()
608 OHOS::iface_cast<OHOS::AppExecFwk::IBundleMgr>(bundleObject); in SetUpTestCase()
H A Dcommon_event_publish_permission_event_unit_test.cpp45 static OHOS::sptr<OHOS::IRemoteObject> bundleObject = nullptr; variable
85 bundleObject = new MockBundleMgrService(); in SetUpTestCase()
87 OHOS::iface_cast<OHOS::AppExecFwk::IBundleMgr>(bundleObject); in SetUpTestCase()
H A Dcommon_event_dump_test.cpp88 static OHOS::sptr<OHOS::IRemoteObject> bundleObject = nullptr; variable
298 bundleObject = new MockBundleMgrService(); in SetUpTestCase()
300 OHOS::iface_cast<OHOS::AppExecFwk::IBundleMgr>(bundleObject); in SetUpTestCase()
/ohos5.0/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/
H A Dability_permission_test.cpp49 OHOS::sptr<OHOS::IRemoteObject> bundleObject = new (std::nothrow) BundleMgrService(); in SetUpTestCase() local
58 sysMgr->RegisterSystemAbility(OHOS::BUNDLE_MGR_SERVICE_SYS_ABILITY_ID, bundleObject); in SetUpTestCase()
H A Dability_context_test.cpp67 OHOS::sptr<OHOS::IRemoteObject> bundleObject = new (std::nothrow) BundleMgrService(); in SetUpTestCase() local
69 …GTEST_LOG_(INFO) << "AppExecFwk_AbilityContext_SetUpTestCase bundleObject->" << bundleObject.GetRe… in SetUpTestCase()
78 sysMgr->RegisterSystemAbility(OHOS::BUNDLE_MGR_SERVICE_SYS_ABILITY_ID, bundleObject); in SetUpTestCase()
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/quick_fix/quick_fix_manager_module_test/
H A Dquick_fix_manager_module_test.cpp84 sptr<IRemoteObject> bundleObject = new (std::nothrow) AppExecFwk::BundleMgrService(); in SetUp() local
85 quickFixUtil_->RegisterSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID, bundleObject); in SetUp()
/ohos5.0/foundation/ability/ability_runtime/test/unittest/quick_fix/quick_fix_manager_client_test/
H A Dquick_fix_manager_client_test.cpp60 sptr<IRemoteObject> bundleObject = new (std::nothrow) AppExecFwk::BundleMgrService(); in SetUp() local
61 quickFixUtil_->RegisterSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID, bundleObject); in SetUp()
/ohos5.0/base/notification/common_event_service/services/test/moduletest/common_event_services_module_test/
H A Dcommon_event_services_module_test.cpp44 static OHOS::sptr<OHOS::AppExecFwk::MockBundleMgrService> bundleObject = nullptr; variable
84 bundleObject = new OHOS::AppExecFwk::MockBundleMgrService(); in SetUpTestCase()
86 OHOS::iface_cast<OHOS::AppExecFwk::IBundleMgr>(bundleObject); in SetUpTestCase()
673 bundleObject->MockSetIsSystemApp(false);
722 bundleObject->MockSetIsSystemApp(false);
771 bundleObject->MockSetIsSystemApp(false);
845 bundleObject->MockSetIsSystemApp(true);
867 bundleObject->MockSetIsSystemApp(false);
895 bundleObject->MockSetIsSystemApp(true);
917 bundleObject->MockSetIsSystemApp(false);
/ohos5.0/foundation/ability/ability_runtime/test/unittest/quick_fix/quick_fix_manager_service_test/
H A Dquick_fix_manager_apply_task_test.cpp116 sptr<IRemoteObject> bundleObject = new (std::nothrow) AppExecFwk::BundleMgrService(); in SetUp() local
117 quickFixUtil_->RegisterSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID, bundleObject); in SetUp()
/ohos5.0/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/
H A Dcontext_impl_test.cpp70 sptr<IRemoteObject> bundleObject = new (std::nothrow) BundleMgrService(); in SetUp() local
72 bundleObject); in SetUp()
/ohos5.0/foundation/ability/ability_runtime/test/unittest/appkit/main_thread_test/
H A Dmain_thread_test.cpp73 sptr<IRemoteObject> bundleObject = new (std::nothrow) BundleMgrService(); in SetUpTestCase() local
80 sysMgr->RegisterSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID, bundleObject); in SetUpTestCase()