/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_accesstokenid_test/ |
H A D | bms_bundle_accesstokenid_test.cpp | 220 * Function: GetApplicationInfo 230 bool result = dataMgr->GetApplicationInfo(BUNDLE_NAME, ApplicationFlag::GET_BASIC_APPLICATION_INFO, USERID, info); in HWTEST_F() 237 * Function: GetApplicationInfo 250 bool result = dataMgr->GetApplicationInfo(BUNDLE_NAME, ApplicationFlag::GET_BASIC_APPLICATION_INFO, USERID, info); in HWTEST_F() 259 * Function: GetApplicationInfo 272 bool result = dataMgr->GetApplicationInfo(BUNDLE_NAME, ApplicationFlag::GET_BASIC_APPLICATION_INFO, USERID, info); in HWTEST_F() 279 * Function: GetApplicationInfo 296 * Function: GetApplicationInfo 309 bool result = dataMgr->GetApplicationInfo(BUNDLE_NAME, ApplicationFlag::GET_BASIC_APPLICATION_INFO, USERID, info); in HWTEST_F() 314 result = dataMgr->GetApplicationInfo(BUNDLE_NAM in HWTEST_F() [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_crowdtesting_test/ |
H A D | bms_bundle_crowdtesting_test.cpp | 264 * Function: GetApplicationInfo 276 bool result = dataMgr->GetApplicationInfo(BUNDLE_NAME, 0, USERID, appInfo); in HWTEST_F() 287 * Function: GetApplicationInfo 299 bool result = dataMgr->GetApplicationInfo(BUNDLE_NAME_2, 0, USERID, appInfo); in HWTEST_F() 310 * Function: GetApplicationInfo 322 bool result = dataMgr->GetApplicationInfo(BUNDLE_NAME_2, 0, USERID, appInfo); in HWTEST_F() 334 * Function: GetApplicationInfo 346 bool result = dataMgr->GetApplicationInfo(BUNDLE_NAME, 0, USERID, appInfo); in HWTEST_F() 358 * Function: GetApplicationInfo 370 bool result = dataMgr->GetApplicationInfo(BUNDLE_NAM in HWTEST_F() [all...] |
/foundation/resourceschedule/device_standby/services/test/unittest/ |
H A D | mock_standby_service_unit_test.cpp | 77 EXPECT_CALL(*bundleManagerHelperMock_, GetApplicationInfo(_, _, _, _)).WillOnce(Return(false)); in HWTEST_F() 91 EXPECT_CALL(*bundleManagerHelperMock_, GetApplicationInfo(_, _, _, _)) in HWTEST_F() 106 EXPECT_CALL(*bundleManagerHelperMock_, GetApplicationInfo(_, _, _, _)) in HWTEST_F() 121 EXPECT_CALL(*bundleManagerHelperMock_, GetApplicationInfo(_, _, _, _)) in HWTEST_F()
|
/foundation/resourceschedule/background_task_mgr/services/test/unittest/ |
H A D | mock_efficiency_resources_mgr_test.cpp | 85 EXPECT_CALL(*bundleManagerHelperMock_, GetApplicationInfo(_, _, _, _)).WillOnce(Return(false)); in HWTEST_F() 99 EXPECT_CALL(*bundleManagerHelperMock_, GetApplicationInfo(_, _, _, _)) in HWTEST_F() 114 EXPECT_CALL(*bundleManagerHelperMock_, GetApplicationInfo(_, _, _, _)) in HWTEST_F() 129 EXPECT_CALL(*bundleManagerHelperMock_, GetApplicationInfo(_, _, _, _)) in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_information/getapplicationinfo_fuzzer/ |
H A D | getapplicationinfo_fuzzer.cpp | 32 bundleMgrProxy.GetApplicationInfo(appName, flag, reinterpret_cast<uintptr_t>(data), appInfo); in DoSomethingInterestingWithMyAPI() 33 bundleMgrProxy.GetApplicationInfo(appName, reinterpret_cast<uintptr_t>(data), in DoSomethingInterestingWithMyAPI()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/ |
H A D | bms_bundle_ota_update_test.cpp | 222 ret = dataMgr->GetApplicationInfo(bundleName, 0, USERID, applicationInfo); in HWTEST_F() 235 ret = dataMgr->GetApplicationInfo(bundleName, 0, USERID, applicationInfo); in HWTEST_F() 374 ret = dataMgr->GetApplicationInfo(bundleName, 0, USERID, applicationInfo); in HWTEST_F() 385 ret = dataMgr->GetApplicationInfo(bundleName, 0, USERID, applicationInfo); in HWTEST_F() 399 ret = dataMgr->GetApplicationInfo(bundleName, 0, USERID, applicationInfo); in HWTEST_F() 429 ret = dataMgr->GetApplicationInfo(bundleName, 0, USERID, applicationInfo); in HWTEST_F() 437 ret = dataMgr->GetApplicationInfo(bundleName, 0, USERID, applicationInfo); in HWTEST_F() 467 ret = dataMgr->GetApplicationInfo(bundleName, 0, USERID, applicationInfo); in HWTEST_F() 475 ret = dataMgr->GetApplicationInfo(bundleName, 0, USERID, applicationInfo); in HWTEST_F() 586 ret = dataMgr->GetApplicationInfo(bundleNam in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/src/data_ability/ |
H A D | data_ability_record.cpp | 137 ability_->GetApplicationInfo().bundleName.c_str(), in Attach() 174 ability_->GetApplicationInfo().bundleName.c_str(), in OnTransitionDone() 258 ability_->GetApplicationInfo().bundleName.c_str(), in RemoveClient() 307 client->GetApplicationInfo().bundleName.c_str(), in RemoveClients() 309 ability_->GetApplicationInfo().bundleName.c_str(), in RemoveClients() 378 clientAbilityRecord->GetApplicationInfo().bundleName.c_str(), in KillBoundClientProcesses() 380 ability_->GetApplicationInfo().bundleName.c_str(), in KillBoundClientProcesses() 427 clientAbilityRecord->GetApplicationInfo().bundleName.c_str(), in Dump() 491 ability_->GetApplicationInfo().bundleName.c_str(), in OnSchedulerDied() 504 ability_->GetApplicationInfo() in OnSchedulerDied() [all...] |
/foundation/ability/ability_runtime/test/moduletest/common/ams/app_life_cycle_test/ |
H A D | ams_app_life_cycle_module_test.cpp | 72 std::shared_ptr<ApplicationInfo> GetApplicationInfo(const std::string& appName) const; 150 std::shared_ptr<ApplicationInfo> AmsAppLifeCycleModuleTest::GetApplicationInfo(const std::string& appName) const in GetApplicationInfo() function in OHOS::AppExecFwk::AmsAppLifeCycleModuleTest 398 auto appInfo = GetApplicationInfo("com.ohos.test.helloworld"); in HWTEST_F() 455 appInfo = GetApplicationInfo("com.ohos.test.helloworld"); in HWTEST_F() 512 appInfo = GetApplicationInfo("com.ohos.test.helloworld1"); in HWTEST_F() 554 auto appInfo = GetApplicationInfo("com.ohos.test.helloworld"); in HWTEST_F() 603 auto appInfo = GetApplicationInfo("com.ohos.test.helloworld"); in HWTEST_F() 675 auto appInfo = GetApplicationInfo("com.ohos.test.helloworld"); in HWTEST_F() 725 auto appInfo = GetApplicationInfo("com.ohos.test.helloworld"); in HWTEST_F() 777 auto appInfo_0 = GetApplicationInfo("co in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/include/utils/ |
H A D | dlp_utils.h | 56 if (abilityRecord->GetApplicationInfo().bundleName == want.GetElement().GetBundleName()) { in DlpAccessOtherAppsCheck() 59 int32_t uid = abilityRecord->GetApplicationInfo().uid; in DlpAccessOtherAppsCheck() 97 int32_t uid = callerRecord.GetApplicationInfo().uid; in SandboxAuthCheck()
|
/foundation/ability/ability_runtime/services/abilitymgr/src/interceptor/ |
H A D | start_other_app_interceptor.cpp | 68 if (!GetApplicationInfo(param.callerToken, callerApplicationInfo)) { in DoProcess() 107 bool StartOtherAppInterceptor::GetApplicationInfo(const sptr<IRemoteObject> &callerToken, in GetApplicationInfo() function in OHOS::AAFwk::StartOtherAppInterceptor 124 applicationInfo = abilityRecord->GetApplicationInfo(); in GetApplicationInfo()
|
/foundation/resourceschedule/device_usage_statistics/services/common/src/ |
H A D | bundle_active_bundle_mgr_helper.cpp | 52 bool BundleActiveBundleMgrHelper::GetApplicationInfo(const std::string &appName, const AppExecFwk::ApplicationFlag flag,
in GetApplicationInfo() function in OHOS::DeviceUsageStats::BundleActiveBundleMgrHelper 65 if (bundleMgr_ != nullptr && bundleMgr_->GetApplicationInfo(appName, flag, userId, appInfo)) {
in GetApplicationInfo() 138 if (!GetApplicationInfo(bundleName,
in IsLauncherApp()
|
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/ |
H A D | auto_fill_extension_test.cpp | 154 auto appInfo = appContext->GetApplicationInfo(); in HWTEST_F() 155 EXPECT_EQ(context->GetApplicationInfo(), appInfo); in HWTEST_F() 202 auto appInfo = appContext->GetApplicationInfo(); in HWTEST_F() 203 EXPECT_EQ(context->GetApplicationInfo(), appInfo); in HWTEST_F()
|
/foundation/window/window_manager/wm/src/ |
H A D | window.cpp | 74 if (context != nullptr && context->GetApplicationInfo() != nullptr) { in Create() 75 version = context->GetApplicationInfo()->apiCompatibleVersion; in Create() 121 if ((context != nullptr) && (context->GetApplicationInfo() != nullptr)) { in Create() 122 version = context->GetApplicationInfo()->apiCompatibleVersion; in Create()
|
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/bundle_parser/ |
H A D | bundle_container.cpp | 45 std::shared_ptr<ApplicationInfo> BundleContainer::GetApplicationInfo() const in GetApplicationInfo() function in OHOS::AppExecFwk::BundleContainer 49 bundleInfo_->GetApplicationInfo(0, Constants::UNSPECIFIED_USERID, *appInfo); in GetApplicationInfo()
|
/foundation/resourceschedule/device_standby/services/core/src/ |
H A D | bundle_manager_helper.cpp | 51 bool WEAK_FUNC BundleManagerHelper::GetApplicationInfo(const std::string &appName, const in GetApplicationInfo() function in OHOS::DevStandbyMgr::BundleManagerHelper 59 if (bundleMgr_ == nullptr || !bundleMgr_->GetApplicationInfo(appName, flag, userId, appInfo)) { in GetApplicationInfo()
|
/foundation/resourceschedule/background_task_mgr/services/test/unittest/mock/ |
H A D | mock_bundle_manager_helper.cpp | 46 bool BundleManagerHelper::GetApplicationInfo(const std::string &appName, const AppExecFwk::ApplicationFlag flag,
in GetApplicationInfo() function in OHOS::BackgroundTaskMgr::BundleManagerHelper 51 ret = bundleManagerHelperMock->GetApplicationInfo(appName, flag, userId, appInfo);
in GetApplicationInfo()
|
/foundation/resourceschedule/background_task_mgr/services/test/unittest/mock/include/ |
H A D | ibundle_manager_helper_mock.h | 28 MOCK_METHOD4(GetApplicationInfo, bool(const std::string &, const AppExecFwk::ApplicationFlag,
|
H A D | ibundle_manager_helper.h | 24 virtual bool GetApplicationInfo(const std::string &appName, const AppExecFwk::ApplicationFlag flag,
|
/foundation/resourceschedule/device_standby/services/test/unittest/mock/include/ |
H A D | mock_bundle_manager_helper.h | 28 MOCK_METHOD4(GetApplicationInfo, bool(const std::string &, const AppExecFwk::ApplicationFlag,
|
H A D | ibundle_manager_helper.h | 24 virtual bool GetApplicationInfo(const std::string &appName, const AppExecFwk::ApplicationFlag flag,
|
/foundation/ability/ability_runtime/test/unittest/ability_cache_manager_test/ |
H A D | ability_cache_manager_test.cpp | 99 EXPECT_EQ(rec->GetApplicationInfo().accessTokenId, applicationInfo.accessTokenId); in HWTEST_F() 139 EXPECT_EQ(rec->GetApplicationInfo().accessTokenId, applicationInfo.accessTokenId); in HWTEST_F() 179 EXPECT_EQ(rec->GetApplicationInfo().accessTokenId, applicationInfo.accessTokenId); in HWTEST_F() 219 EXPECT_EQ(rec->GetApplicationInfo().accessTokenId, applicationInfo.accessTokenId); in HWTEST_F() 268 EXPECT_EQ(rec->GetApplicationInfo().accessTokenId, applicationInfo1.accessTokenId); in HWTEST_F() 315 EXPECT_EQ(rec->GetApplicationInfo().accessTokenId, applicationInfo2.accessTokenId); in HWTEST_F() 375 EXPECT_EQ(rec->GetApplicationInfo().accessTokenId, applicationInfo3.accessTokenId); in HWTEST_F() 424 EXPECT_EQ(rec->GetApplicationInfo().accessTokenId, applicationInfo1.accessTokenId); in HWTEST_F() 489 EXPECT_EQ(recordFind->GetApplicationInfo().accessTokenId, applicationInfo.accessTokenId); in HWTEST_F() 497 EXPECT_EQ(recGet->GetApplicationInfo() in HWTEST_F() [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_quick_fix_query_test/ |
H A D | bms_bundle_quick_fix_query_test.cpp | 271 * Function: GetApplicationInfo
272 * @tc.name: test GetApplicationInfo
275 * 2.GetApplicationInfo before deploy AppQuickFix, so get empty AppQuickFix
282 bool ret = GetBundleDataMgr()->GetApplicationInfo(
in HWTEST_F() 294 * Function: GetApplicationInfo
295 * @tc.name: test GetApplicationInfo
305 bool ret = GetBundleDataMgr()->GetApplicationInfo(
in HWTEST_F() 316 * Function: GetApplicationInfo
317 * @tc.name: test GetApplicationInfo
329 bool ret = GetBundleDataMgr()->GetApplicationInfo(
in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/test/unittest/free_install_observer_manager_test/ |
H A D | mock_bundle_manager.h | 57 bool GetApplicationInfo( 90 bool GetApplicationInfo(
|
/foundation/ability/ability_runtime/services/abilitymgr/src/scene_board/ |
H A D | status_bar_delegate_manager.cpp | 74 auto accessTokenId = abilityRecord->GetApplicationInfo().accessTokenId; in DoProcessAttachment() 95 auto accessTokenId = abilityRecord->GetApplicationInfo().accessTokenId; in DoCallerProcessAttachment()
|
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/ |
H A D | mock_bundle_manager.cpp | 25 bool BundleMgrProxy::GetApplicationInfo( in GetApplicationInfo() function in OHOS::AppExecFwk::BundleMgrProxy 28 GTEST_LOG_(INFO) << " BundleMgrProxy::GetApplicationInfo"; in GetApplicationInfo() 82 bool BundleMgrService::GetApplicationInfo( in GetApplicationInfo() function in OHOS::AppExecFwk::BundleMgrService
|