Skip to content

liaozhiwei-liaozhiwei/frameworks_runtimes_services_pm

 
 

Repository files navigation

Project Name

[ English | 简体中文 ]

Package installation manager module for openvela's XMS module.

Table of Contents

Features

  • Provides package installation functionality
  • Provides package information querying capability
  • Provides package uninstallation capability

Examples

  • Package management can be done through the command line

    • Install a package:

      pm install [packagename]
      
    • Query which packages are installed:

      pm list
      
  • Use the package management tool through source code

    • Install a package using the following format:

      #include "pm/PackageManager.h"
      
      PackageManager pm;
      InstallParam parms;
      pm.installPackage(parms);
      
    • Retrieve all package-related information with:

      #include "pm/PackageManager.h"
      
      PackageManager pm;
      std::vector<PackageInfo> pgInfos;
      pm.getAllPackageInfo(&pgInfos);
      
    • Uninstall a package using:

      #include "pm/PackageManager.h"
      
      PackageManager pm;
      UninstallParam parms;
      pm.uninstallPackage(parms);
      

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 84.1%
  • AIDL 10.4%
  • CMake 2.7%
  • Makefile 2.0%
  • C 0.8%