Home
last modified time | relevance | path

Searched refs:bundleName (Results 1 – 25 of 38) sorted by relevance

12

/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/utils/
DBundleMangerUtils.ts37 let bundleName = data[j].bundleName
39 if (mBundleNames[i] == bundleName) {
68 let bundleName = data[i].bundleName
69 … let bundleContext = globalThis.abilityContext.createBundleContext(data[i].bundleName)
73 bundle.getBundleInfo(bundleName, 1).then(bundleData => {
74 BundleManager.getAbility(bundleName).then(abilityName => {
76 … appInfoList.push(new AppInfoItem(bundleName, appName, bundleData.versionName, icon, abilityName))
90 static async getAbility(bundleName: string): Promise<string> {
94 bundleName: bundleName,
106 SPLogger.ERROR(TAG,"index[" + bundleName + "] getAbility err" + err);
[all …]
DAbilityUtils.ts22 export function commonStartAbility(bundleName: string, abilityName: string, parameters?: { [key: st…
23 … SPLogger.INFO(TAG, "Operation bundleName:" + bundleName + "Operation abilityName:" + abilityName);
25 "bundleName": bundleName,
/developtools/profiler/device/plugins/native_daemon/src/
Dhook_service.cpp67 std::string bundleName; in ProtocolProc() local
68 if (!LoadStringFromFile(filePath, bundleName)) { in ProtocolProc()
72 bundleName.resize(strlen(bundleName.c_str())); in ProtocolProc()
74 if (bundleName.substr(0, 2) == "./") { // 2: size in ProtocolProc()
75 bundleName = bundleName.substr(2); // 2: point in ProtocolProc()
77 size_t found = bundleName.rfind("/"); in ProtocolProc()
80 procName = bundleName.substr(found + 1); in ProtocolProc()
82 procName = bundleName; in ProtocolProc()
/developtools/packing_tool/adapter/ohos/
DDependencyItem.java26 private String bundleName = null; field in DependencyItem
39 return bundleName; in getBundleName()
42 public void setBundleName(String bundleName) { in setBundleName() argument
43 this.bundleName = bundleName; in setBundleName()
DHQFInfo.java24 private String bundleName = ""; field in HQFInfo
43 return bundleName; in getBundleName()
46 public void setBundleName(String bundleName) { in setBundleName() argument
47 this.bundleName = bundleName; in setBundleName()
DHapVerifyInfo.java30 private String bundleName = ""; field in HapVerifyInfo
143 return bundleName; in getBundleName()
149 public void setBundleName(String bundleName) { in setBundleName() argument
150 this.bundleName = bundleName; in setBundleName()
373 if (item.getBundleName() != null && item.getBundleName().equals(bundleName)) { in convertToDependency()
DHQFVerify.java57 String bundleName = hqfVerifyInfos.get(0).getBundleName(); in checkAppFields() local
63 if (bundleName == null || !bundleName.equals(hqfVerifyInfo.getBundleName())) { in checkAppFields()
DWant.java25 public String bundleName = ""; field in Want
DVerifyCollection.java29 public String bundleName = ""; field in VerifyCollection
DModuleAdaption.java79 appInfo.bundleName = moduleAppInfo.bundleName; in convertToAppInfo()
187 intentInfo.targetBundle = want.bundleName; in convertToShortcut()
DModuleAppInfo.java33 public String bundleName = ""; field in ModuleAppInfo
DAppInfo.java28 public String bundleName = ""; field in AppInfo
DModuleJsonUtil.java310 String bundleName = ""; in parseBundleName() local
312 bundleName = appObject.getString(BUNDLE_NAME); in parseBundleName()
317 return bundleName; in parseBundleName()
832 String bundleName = parseBundleName(hapVerifyInfo.getProfileStr()); in parseStageHapVerifyInfo() local
833 hapVerifyInfo.setBundleName(bundleName); in parseStageHapVerifyInfo()
846 … hapVerifyInfo.setDependencyItemList(parseDependencies(hapVerifyInfo.getProfileStr(), bundleName)); in parseStageHapVerifyInfo() local
871 String bundleName = parseBundleName(hapVerifyInfo.getProfileStr()); in parseFAHapVerifyInfo() local
872 hapVerifyInfo.setBundleName(bundleName); in parseFAHapVerifyInfo()
883 … hapVerifyInfo.setDependencyItemList(parseDependencies(hapVerifyInfo.getProfileStr(), bundleName)); in parseFAHapVerifyInfo() local
1081 …static List<DependencyItem> parseDependencies(String jsonString, String bundleName) throws BundleE… in parseDependencies() argument
[all …]
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/profile/model/
DBundleInfo.java50 private String bundleName; field in BundleInfo
96 return bundleName; in getBundleName()
99 public void setBundleName(String bundleName) { in setBundleName() argument
100 this.bundleName = bundleName; in setBundleName()
/developtools/profiler/device/plugins/xpower_plugin/src/
Dxpower_plugin.cpp57 std::string bundleName = protoConfig_.bundle_name(); in Start() local
58 if (bundleName.empty()) { in Start()
69 …PROFILER_LOG_INFO(LOG_CORE, "bundleName is %s,messagetype is %d", bundleName.c_str(), messageType); in Start()
74 int32_t uid = COMMON::GetPackageUid(bundleName); in Start()
76 PROFILER_LOG_ERROR(LOG_CORE, "the bundle name %s is not supported", bundleName.c_str()); in Start()
82 bool isExsit = COMMON::IsProcessExist(bundleName, processId); in Start()
84 … PROFILER_LOG_ERROR(LOG_CORE, "%s:the process %s does not exist.", __func__, bundleName.c_str()); in Start()
89 if (!StartPowerManager(messageType, bundleName)) { in Start()
97 bool XpowerPlugin::StartPowerManager(std::uint32_t messageType, std::string &bundleName) in StartPowerManager() argument
113 config_.packageName = bundleName; in StartPowerManager()
/developtools/profiler/device/plugins/native_daemon/native_memory_profiler_sa/src/
Dnative_memory_profiler_sa_service.cpp295 std::string bundleName; in ProtocolProc() local
296 if (!LoadStringFromFile(filePath, bundleName)) { in ProtocolProc()
300 bundleName.resize(strlen(bundleName.c_str())); in ProtocolProc()
302 …if (bundleName.substr(0, 2) == "./") { // 2: size, Command line programs will be prefixed with "./" in ProtocolProc()
303 bundleName = bundleName.substr(2); // 2: point in ProtocolProc()
305 …FillTaskConfigContext(peerConfig, bundleName); // Save the relevant context for subsequent inspect… in ProtocolProc()
309 auto [eventFd, smbFd] = iter->second->hookMgr->GetFds(peerConfig, bundleName); in ProtocolProc()
312 … "Get eventFd and smbFd failed!, name: %s, pid: %d", bundleName.c_str(), peerConfig); in ProtocolProc()
317 peerConfig, bundleName.c_str()); in ProtocolProc()
/developtools/hdc/hdcd_user_permit/src/
Dconnection.cpp64 string bundleName; in OnAbilityConnectDone() local
70 if (!GetSettingBundleName(bundleName)) { in OnAbilityConnectDone()
77 data.WriteString16(Str8ToStr16(bundleName)); in OnAbilityConnectDone()
101 bundleName.c_str(), abilityName.c_str(), parameters.c_str(), ret); in OnAbilityConnectDone()
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/
Dcache.ts59 …const bundleName: string = projectConfig.bundleName ? projectConfig.bundleName : 'null_bundleName'; constant
64 metaInfoArr.push(bundleName, allModuleNameHash, aotCompileMode, apPath);
/developtools/ace_ets2bundle/compiler/src/
Dark_utils.ts83 const bundleName: string = packageInfo[0]; constant
99 return `${bundleName}/${moduleName}@${namespace}/${relativePath}`;
101 return `${bundleName}/${moduleName}/${relativePath}`;
169 const bundleName: string = packageInfo[0]; constant
176 return `${bundleName}/${moduleName}@${namespace}/${relativeModulePath}`;
178 return `${bundleName}/${moduleName}/${relativeModulePath}`;
212 return `@app:${projectConfig.bundleName}/${projectConfig.moduleName}/${libsoKey}`;
364 const bundleName: string = packageInfo[0]; constant
366 moduleRequest = `@bundle:${bundleName}/${moduleName}/${result[5]}/${toUnixPath(result[7])}`;
572 const bundleName: string = data.app.bundleName; constant
[all …]
/developtools/profiler/device/base/src/
Dcommon.cpp418 std::string bundleName; in CheckApplicationPermission() local
421 if (!LoadStringFromFile(filePath, bundleName)) { in CheckApplicationPermission()
425 bundleName.resize(strlen(bundleName.c_str())); in CheckApplicationPermission()
427 bundleName = processName; in CheckApplicationPermission()
429 CHECK_TRUE(!bundleName.empty(), false, "Pid or process name is illegal!"); in CheckApplicationPermission()
436 int uid = proxy->GetUidByDebugBundleName(bundleName, Constants::ANY_USERID); in CheckApplicationPermission()
437 CHECK_TRUE(uid >= 0, false, "Get %s uid = %d", bundleName.c_str(), uid); in CheckApplicationPermission()
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/mock/rollup_mock/
Dproject_config.ts49 bundleName: string, property
61 bundleName: string = BUNDLE_NAME_DEFAULT; property in ProjectConfig
/developtools/profiler/device/plugins/xpower_plugin/include/
Dxpower_plugin.h36 bool StartPowerManager(std::uint32_t messageType, std::string& bundleName);
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/common/
Dprocess_ark_config.test.ts136 expect(arkConfig.bundleName === BUNDLE_NAME_DEFAULT).to.be.true;
155 expect(arkConfig.bundleName === BUNDLE_NAME_DEFAULT).to.be.true;
171 expect(arkConfig.bundleName === BUNDLE_NAME_DEFAULT).to.be.true;
187 expect(arkConfig.bundleName === BUNDLE_NAME_DEFAULT).to.be.true;
203 expect(arkConfig.bundleName === BUNDLE_NAME_DEFAULT).to.be.true;
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/module/ohmUrl/
DohmUrl.test.ts52 mainProjectConfig.bundleName = 'UtTestApplication';
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/common/
Dprocess_ark_config.ts130 arkProjectConfig.bundleName = moduleJsonInfo.app.bundleName;

12