Lines Matching refs:bundleName
664 bool IsExistDebugByApp(const std::string& bundleName)
666 std::string bundleNameTmp = bundleName;
684 std::string bundleName = GetProcessName(pid);
685 auto pos = bundleName.find(":");
687 bundleName = bundleName.substr(0, pos);
689 if (!IsSupportNonDebuggableApp() && !IsDebugableApp(bundleName)) {
690 HLOGE("-p option only support debug application for %s", bundleName.c_str());
698 bool IsDebugableApp(const std::string& bundleName)
701 CHECK_TRUE(bundleName.empty(), false, LOG_TYPE_PRINTF, "bundleName is empty!\n");
709 bool ret = proxy->GetApplicationInfo(bundleName, AppExecFwk::GET_APPLICATION_INFO_WITH_DISABLE,
711 CHECK_TRUE(!ret, false, 1, "%s GetApplicationInfo failed!", bundleName.c_str());
712 HLOGD("bundleName is %s,appProvisionType: %s", bundleName.c_str(), appInfo.appProvisionType.c_str());
795 std::string bundleName = ReadFileToString(filePath);
796 return bundleName.substr(0, strlen(bundleName.c_str()));
874 std::string bundleName = GetProcessName(pid);
875 CHECK_TRUE(bundleName.empty(), false, 1, "bundleName is empty,pid is %d", pid);
884 bool ret = proxy->GetApplicationInfo(bundleName, AppExecFwk::ApplicationFlag::GET_BASIC_APPLICATION_INFO,
886 CHECK_TRUE(!ret, false, 1, "%s:%s GetApplicationInfo failed!", __func__, bundleName.c_str());
889 HLOGD("check application encryped.%d : %s, pid:%d", isEncrypted, bundleName.c_str(), pid);