Home
last modified time | relevance | path

Searched refs:appDir (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/
H A Dgt_bundle_manager_service.cpp614 void GtManagerService::ScanThirdApp(const char *appDir, const List<ToBeInstalledApp *> *systemPathL… in ScanThirdApp() argument
618 if (appDir == nullptr) { in ScanThirdApp()
622 DIR *dir = opendir(appDir); in ScanThirdApp()
649 int32_t len = strlen(appDir) + 1 + strlen(bundleName) + 1; in ScanThirdApp()
656 if (sprintf_s(appPath, len, "%s/%s", appDir, bundleName) < 0) { in ScanThirdApp()
1239 void GtManagerService::QueryPreAppInfo(const char *appDir, PreAppList *list) in QueryPreAppInfo() argument
1242 if (appDir == nullptr) { in QueryPreAppInfo()
1246 DIR *dir = opendir(appDir); in QueryPreAppInfo()
1268 int32_t len = strlen(appDir) + 1 + strlen(fileName) + 1; in QueryPreAppInfo()
1274 if (sprintf_s(appPath, len, "%s/%s", appDir, fileName) < 0) { in QueryPreAppInfo()
H A Dbundle_manager_service.cpp380 void ManagerService::ScanAppDir(const char *appDir, const cJSON *uninstallRecord, uint8_t scanFlag) in ScanAppDir() argument
386 if (appDir == nullptr) { in ScanAppDir()
390 DIR *dir = opendir(appDir); in ScanAppDir()
398 std::string appPath = std::string(appDir) + PATH_SEPARATOR + ent->d_name; in ScanAppDir()
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/
H A Dgt_bundle_manager_service.h90 void ScanThirdApp(const char *appDir, const List<ToBeInstalledApp *> *systemPathList);
105 void QueryPreAppInfo(const char *appDir, PreAppList *list);
H A Dbundle_manager_service.h70 void ScanAppDir(const char *appDir, const cJSON *uninstallRecord, uint8_t scanFlag);