gapidapk

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2017 License: Apache-2.0 Imports: 16 Imported by: 37

Documentation

Overview

Package gapidapk holds functions relating to the GAPID Android APK.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PackageList

func PackageList(ctx context.Context, d adb.Device, includeIcons bool, iconDensityScale float32) (*pkginfo.PackageList, error)

PackageList returns the list of packages installed on the device.

Types

type APK

type APK struct {
	*android.InstalledPackage
	// contains filtered or unexported fields
}

APK represents the installed GAPIR APK.

func EnsureInstalled

func EnsureInstalled(ctx context.Context, d adb.Device, abi *device.ABI) (*APK, error)

EnsureInstalled ensures that gapid.apk with the specified ABI is installed on d with the same version as the host APK and returns the installed APK. If abi is nil or UnknownABI then the preferred ABI of the device is used.

func (APK) LibGAPIIPath

func (a APK) LibGAPIIPath(abi *device.ABI) string

LibGAPIIPath returns the path on the Android device to libgapii.so. gapid.apk must be installed for this path to be valid.

func (APK) LibInterceptorPath

func (a APK) LibInterceptorPath(abi *device.ABI) string

LibInterceptorPath returns the path on the Android device to libinterceptor.so. gapid.apk must be installed for this path to be valid.

func (APK) LibsPath

func (a APK) LibsPath(abi *device.ABI) string

LibsPath returns the path on the Android device to the GAPID libs directory. gapid.apk must be installed for this path to be valid.

Directories

Path Synopsis
Package pkginfo contains support for dealing with package manager information.
Package pkginfo contains support for dealing with package manager information.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL