/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/kits_impl/src/ |
H A D | storage_statistics_n_exporter.cpp | 201 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 D | common_event_unsubscribe_unit_test.cpp | 43 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 D | common_event_publish_system_event_test.cpp | 41 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 D | common_event_sticky_test.cpp | 51 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 D | common_event_freeze_test.cpp | 57 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 D | common_event_publish_ordered_event_unit_test.cpp | 42 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 D | common_event_subscribe_unit_test.cpp | 50 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 D | common_event_publish_permission_event_unit_test.cpp | 45 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 D | common_event_dump_test.cpp | 88 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 D | ability_permission_test.cpp | 49 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 D | ability_context_test.cpp | 67 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 D | quick_fix_manager_module_test.cpp | 84 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 D | quick_fix_manager_client_test.cpp | 60 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 D | common_event_services_module_test.cpp | 44 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 D | quick_fix_manager_apply_task_test.cpp | 116 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 D | context_impl_test.cpp | 70 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 D | main_thread_test.cpp | 73 sptr<IRemoteObject> bundleObject = new (std::nothrow) BundleMgrService(); in SetUpTestCase() local 80 sysMgr->RegisterSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID, bundleObject); in SetUpTestCase()
|