arccrash

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: 7 Imported by: 0

Documentation

Overview

Package arccrash provides utilities for tests of crash reporting.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBuildProp

func GetBuildProp(ctx context.Context, a *arc.ARC) (*buildProp, error)

GetBuildProp obtains the build property for ARC.

func UploadSystemBuildProp

func UploadSystemBuildProp(ctx context.Context, a *arc.ARC, outdir string) error

UploadSystemBuildProp uploads /system/build.prop. This should be called to invetigate when GetPop failed. GetProp sometimes fails to get the device name even though the device name should always exists. See details in https://bugs.chromium.org/p/chromium/issues/detail?id=1039512#c16

func ValidateBuildProp

func ValidateBuildProp(ctx context.Context, metafilePath string, bp *buildProp) (bool, error)

ValidateBuildProp checks that given meta file for crash_sender contains the specified build properties.

Types

This section is empty.

Jump to

Keyboard shortcuts

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