Home
last modified time | relevance | path

Searched refs:preScanInfo (Results 1 - 6 of 6) sorted by relevance

/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dpre_bundle_profile.cpp73 PreScanInfo preScanInfo; in TransformTo() local
80 preScanInfo.Reset(); in TransformTo()
86 preScanInfo.bundleDir, in TransformTo()
92 preScanInfo.removable, in TransformTo()
96 (preScanInfo.bundleDir.find(RESOURCES_PATH_1) != preScanInfo.bundleDir.npos) || in TransformTo()
97 (preScanInfo.bundleDir.find(RESOURCES_PATH_2) != preScanInfo.bundleDir.npos); in TransformTo()
98 preScanInfo.priority = isResourcesPath ? HIGH_PRIORITY : COMMON_PRIORITY; in TransformTo()
110 APP_LOGD("preScanInfo( in TransformTo()
[all...]
H A Dbundle_mgr_service_event_handler.cpp925 void BMSEventHandler::ProcessSystemHspInstall(const PreScanInfo &preScanInfo) in ProcessSystemHspInstall() argument
927 LOG_I(BMS_TAG_DEFAULT, "Install systemHsp by bundleDir(%{public}s)", preScanInfo.bundleDir.c_str()); in ProcessSystemHspInstall()
935 SavePreInstallExceptionAppService(preScanInfo.bundleDir); in ProcessSystemHspInstall()
936 ErrCode ret = installer.Install({preScanInfo.bundleDir}, installParam); in ProcessSystemHspInstall()
937 LOG_I(BMS_TAG_DEFAULT, "Install systemHsp %{public}s result %{public}d", preScanInfo.bundleDir.c_str(), ret); in ProcessSystemHspInstall()
939 DeletePreInstallExceptionAppService(preScanInfo.bundleDir); in ProcessSystemHspInstall()
1052 const PreScanInfo &preScanInfo, Constants::AppType appType, int32_t userId) in ProcessSystemBundleInstall()
1054 LOG_D(BMS_TAG_DEFAULT, "Process system bundle install by bundleDir(%{public}s)", preScanInfo.bundleDir.c_str()); in ProcessSystemBundleInstall()
1060 installParam.removable = preScanInfo.removable; in ProcessSystemBundleInstall()
1065 ErrCode ret = installer.InstallSystemBundle(preScanInfo in ProcessSystemBundleInstall()
1051 ProcessSystemBundleInstall( const PreScanInfo &preScanInfo, Constants::AppType appType, int32_t userId) ProcessSystemBundleInstall() argument
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dpre_scan_info.h106 bool operator < (const PreScanInfo &preScanInfo) const in operator <()
108 if (bundleDir == preScanInfo.bundleDir) { in operator <()
112 return priority >= preScanInfo.priority; in operator <()
H A Dbundle_mgr_service_event_handler.h127 const PreScanInfo &preScanInfo,
556 void ProcessSystemHspInstall(const PreScanInfo &preScanInfo);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_event_handler_test/
H A Dbms_event_handler_test.cpp303 * @tc.desc: test ProcessSystemBundleInstall input preScanInfo success
308 PreScanInfo preScanInfo; in HWTEST_F() local
309 preScanInfo.bundleDir = CALL_MOCK_BUNDLE_DIR_SUCCESS; in HWTEST_F()
312 handler->ProcessSystemBundleInstall(preScanInfo, appType, userId); in HWTEST_F()
313 EXPECT_TRUE(preScanInfo.bundleDir.compare(RETURN_MOCK_BUNDLE_DIR_SUCCESS) == 0); in HWTEST_F()
319 * @tc.desc: test ProcessSystemBundleInstall input preScanInfo failed
324 PreScanInfo preScanInfo; in HWTEST_F() local
325 preScanInfo.bundleDir = CALL_MOCK_BUNDLE_DIR_FAILED; in HWTEST_F()
328 handler->ProcessSystemBundleInstall(preScanInfo, appType, userId); in HWTEST_F()
329 EXPECT_TRUE(preScanInfo in HWTEST_F()
965 PreScanInfo preScanInfo; HWTEST_F() local
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Dbundle_mgr_service_event_handler.cpp377 void BMSEventHandler::ProcessSystemHspInstall(const PreScanInfo& preScanInfo) {} in ProcessSystemHspInstall() argument
388 const PreScanInfo& preScanInfo, Constants::AppType appType, int32_t userId) in ProcessSystemBundleInstall()
387 ProcessSystemBundleInstall( const PreScanInfo& preScanInfo, Constants::AppType appType, int32_t userId) ProcessSystemBundleInstall() argument

Completed in 9 milliseconds