version

package
v0.0.0-...-683b059 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2022 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package version provides set of util functions used to work with ARC version properties.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildDescriptor

type BuildDescriptor struct {
	// true in case built by ab/
	Official bool
	// ab/buildID
	BuildID string
	// build type e.g. user, userdebug
	BuildType string
	// cpu abi e.g. x86_64, x86, arm
	CPUAbi string
}

BuildDescriptor contains essential parametrs of ARC Android image taken from test device.

func GetBuildDescriptorRemotely

func GetBuildDescriptorRemotely(ctx context.Context, dut *dut.DUT, vmEnabled bool) (*BuildDescriptor, error)

GetBuildDescriptorRemotely gets ARC build properties from the device, parses for build ID, ABI, and returns these fields as a combined string. It also return whether this is official build.

Jump to

Keyboard shortcuts

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