Home
last modified time | relevance | path

Searched refs:appPath (Results 1 - 18 of 18) sorted by relevance

/foundation/ability/ability_lite/services/abilitymgr_lite/src/slite/
H A Dability_record.cpp35 AdapterFree(appPath); in ~AbilityRecord()
52 AdapterFree(appPath); in SetAppPath()
53 appPath = Utils::Strdup(path); in SetAppPath()
H A Dability_record_manager.cpp81 want->appPath = nullptr; in StartLauncher()
106 want->appPath = nullptr; in StartAbility()
113 want->appPath = Utils::Strdup(record->appPath); in StartAbility()
529 want.appPath = nullptr; in TerminateAll()
993 info->appPath = nullptr; in ScheduleLifecycleInner()
1104 want->appPath = OHOS::Utils::Strdup(record->appPath); in CreateWant()
1174 copiedWant->appPath = OHOS::Utils::Strdup(want->appPath); in CopyWant()
[all...]
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/
H A Dgt_bundle_manager_service.cpp650 char *appPath = reinterpret_cast<char *>(UI_Malloc(len)); in ScanThirdApp() local
651 if (appPath == nullptr) { in ScanThirdApp()
656 if (sprintf_s(appPath, len, "%s/%s", appDir, bundleName) < 0) { in ScanThirdApp()
658 UI_Free(appPath); in ScanThirdApp()
662 if (!BundleUtil::IsDir(appPath)) { in ScanThirdApp()
664 UI_Free(appPath); in ScanThirdApp()
668 if (IsSystemBundleInstalledPath(appPath, systemPathList)) { in ScanThirdApp()
670 UI_Free(appPath); in ScanThirdApp()
677 UI_Free(appPath); in ScanThirdApp()
681 ReloadEntireBundleInfo(appPath, bundleNam in ScanThirdApp()
690 IsSystemBundleInstalledPath(const char *appPath, const List<ToBeInstalledApp *> *systemPathList) IsSystemBundleInstalledPath() argument
706 CheckSystemBundleIsValid(const char *appPath, char **bundleName, int32_t &versionCode) CheckSystemBundleIsValid() argument
727 ReloadEntireBundleInfo(const char *appPath, const char *bundleName, List<ToBeInstalledApp *> *systemPathList, int32_t versionCode, uint8_t scanFlag) ReloadEntireBundleInfo() argument
1269 char *appPath = reinterpret_cast<char *>(AdapterMalloc(len)); QueryPreAppInfo() local
[all...]
H A Dbundle_manager_service.cpp398 std::string appPath = std::string(appDir) + PATH_SEPARATOR + ent->d_name; in ScanAppDir() local
400 if (!BundleUtil::IsDir(appPath.c_str())) { in ScanAppDir()
403 ReloadEntireBundleInfo(appPath.c_str(), ent->d_name, versionCode, scanFlag); in ScanAppDir()
408 bool res = CheckSystemBundleIsValid(appPath.c_str(), &bundleName, versionCode); in ScanAppDir()
419 ReloadEntireBundleInfo(appPath.c_str(), bundleName, versionCode, scanFlag); in ScanAppDir()
425 bool ManagerService::CheckSystemBundleIsValid(const char *appPath, char **bundleName, int32_t &versionCode) in CheckSystemBundleIsValid() argument
427 if (appPath == nullptr || bundleName == nullptr) { in CheckSystemBundleIsValid()
431 if (!BundleUtil::EndWith(appPath, INSTALL_FILE_SUFFIX)) { in CheckSystemBundleIsValid()
435 if (BundleParser::ParseBundleParam(appPath, bundleName, versionCode) != 0) { in CheckSystemBundleIsValid()
445 void ManagerService::ReloadEntireBundleInfo(const char *appPath, cons argument
[all...]
/foundation/ability/ability_runtime/frameworks/native/runtime/
H A Dcj_runtime.cpp85 std::string appPath = ""; in SetAppLibPath() local
90 appPath += appPath.empty() ? libPath : ":" + libPath; in SetAppLibPath()
99 cjEnv->initCJAppNS(appPath); in SetAppLibPath()
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/
H A Dapp_module.cpp79 char *appPath = const_cast<char *>(JsAppContext::GetInstance()->GetCurrentAbilityPath()); in ReadManifest() local
80 if ((appPath == nullptr) || !strlen(appPath)) { in ReadManifest()
85 char *manifestPath = RelocateJSSourceFilePath(appPath, FILE_MANIFEST); in ReadManifest()
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/
H A Dgt_bundle_manager_service.h93 void ReloadEntireBundleInfo(const char *appPath, const char *bundleName, List<ToBeInstalledApp *> *systemPathList,
95 bool CheckSystemBundleIsValid(const char *appPath, char **bundleName, int32_t &versionCode);
103 bool IsSystemBundleInstalledPath(const char *appPath, const List<ToBeInstalledApp *> *systemPathList);
H A Dbundle_manager_service.h74 void ReloadEntireBundleInfo(const char *appPath, const char *bundleName, int32_t versionCode, uint8_t scanFlag);
75 bool CheckSystemBundleIsValid(const char *appPath, char **bundleName, int32_t &versionCode);
/foundation/ability/ability_lite/frameworks/abilitymgr_lite/src/slite/
H A Dabilityms_slite_client.cpp92 info->appPath = nullptr; in StartAbility()
214 want->appPath = nullptr; in ForceStop()
241 info->appPath = nullptr; in ForceStop()
/foundation/ability/ability_lite/services/abilitymgr_lite/include/slite/
H A Dability_record.h49 char *appPath = nullptr; member
/foundation/ability/ability_lite/interfaces/kits/want_lite/
H A Dwant.h79 const char *appPath; member
/foundation/arkui/ace_engine_lite/frameworks/src/core/context/
H A Dslite_ace_ability.cpp27 jsAbility_.Launch(want.appPath, want.element->bundleName, token_); in OnCreate()
/foundation/arkui/ace_engine_lite/frameworks/tools/qt/simulator/jsfwk/targets/simulator/mock/amsthread/
H A Dams_thread.h34 char appPath[APP_RECORD_STRING_BUFFER_MAX] = {0}; member
H A Dams_thread.cpp250 if ((strcpy_s(newAppRecord->appPath, APP_RECORD_STRING_BUFFER_MAX, path) != 0) || in CreateNewAppRecord()
326 if (strcmp(path, record->appPath) == 0 && strcmp(bundleName, record->bundleName) == 0) { in GetAppRecordByInfo()
/foundation/arkui/ace_engine_lite/frameworks/src/core/base/
H A Djs_fwk_common.h212 char *ReadJSFile(const char * const appPath, const char * const jsFileName);
214 char *ReadJSFile(const char * const appPath, const char * const jsFileName, uint32_t &fileSize);
H A Djs_fwk_common.cpp554 char *ReadJSFile(const char * const appPath, const char * const jsFileName) in ReadJSFile() argument
557 return ReadJSFile(appPath, jsFileName, contentLength); in ReadJSFile()
723 char *ReadJSFile(const char * const appPath, const char * const jsFileName, uint32_t &fileSize) in ReadJSFile() argument
727 char *fullPath = RelocateJSSourceFilePath(appPath, jsFileName); in ReadJSFile()
/foundation/ability/ability_lite/frameworks/want_lite/src/
H A Dwant.cpp72 AdapterFree(want->appPath);
/foundation/ability/ability_runtime/frameworks/native/appkit/app/
H A Dmain_thread.cpp2723 std::string appPath = applicationLibraryPath; in LoadAppLibrary() local
2724 TAG_LOGI(AAFwkTag::APPKIT, "calling dlopen. appPath=%{public}s", appPath.c_str()); in LoadAppLibrary()
2725 handleAppLib_ = dlopen(appPath.c_str(), RTLD_NOW | RTLD_GLOBAL); in LoadAppLibrary()
2727 TAG_LOGE(AAFwkTag::APPKIT, "Fail to dlopen %{public}s, [%{public}s]", appPath.c_str(), dlerror()); in LoadAppLibrary()

Completed in 18 milliseconds