Table of Contents

Class SystemHealthManager

Namespace
Android.Os.Health
Assembly
MASES.Netdroid.dll
public class SystemHealthManager : JVMBridgeBase<SystemHealthManager>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
Inheritance
SystemHealthManager
Implements
Extension Methods

Constructors

SystemHealthManager(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public SystemHealthManager(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

GetCpuHeadroom(CpuHeadroomParams)

public float GetCpuHeadroom(CpuHeadroomParams arg0)

Parameters

arg0 CpuHeadroomParams

CpuHeadroomParams

Returns

float

float

GetCpuHeadroomCalculationWindowRange()

public Pair<Integer, Integer> GetCpuHeadroomCalculationWindowRange()

Returns

Pair<Integer, Integer>

Pair

GetCpuHeadroomMinIntervalMillis()

public long GetCpuHeadroomMinIntervalMillis()

Returns

long

long

GetGpuHeadroom(GpuHeadroomParams)

public float GetGpuHeadroom(GpuHeadroomParams arg0)

Parameters

arg0 GpuHeadroomParams

GpuHeadroomParams

Returns

float

float

GetGpuHeadroomCalculationWindowRange()

public Pair<Integer, Integer> GetGpuHeadroomCalculationWindowRange()

Returns

Pair<Integer, Integer>

Pair

GetGpuHeadroomMinIntervalMillis()

public long GetGpuHeadroomMinIntervalMillis()

Returns

long

long

GetMaxCpuHeadroomTidsSize()

public int GetMaxCpuHeadroomTidsSize()

Returns

int

int

GetPowerMonitorReadings(List<PowerMonitor>, Executor, OutcomeReceiver<PowerMonitorReadings, RuntimeException>)

public void GetPowerMonitorReadings(List<PowerMonitor> arg0, Executor arg1, OutcomeReceiver<PowerMonitorReadings, RuntimeException> arg2)

Parameters

arg0 List<PowerMonitor>

List

arg1 Executor

Executor

arg2 OutcomeReceiver<PowerMonitorReadings, RuntimeException>

OutcomeReceiver

GetSupportedPowerMonitors(Executor, Consumer<List<PowerMonitor>>)

public void GetSupportedPowerMonitors(Executor arg0, Consumer<List<PowerMonitor>> arg1)

Parameters

arg0 Executor

Executor

arg1 Consumer<List<PowerMonitor>>

Consumer

TakeMyUidSnapshot()

public HealthStats TakeMyUidSnapshot()

Returns

HealthStats

HealthStats

TakeUidSnapshot(int)

public HealthStats TakeUidSnapshot(int arg0)

Parameters

arg0 int

int

Returns

HealthStats

HealthStats

TakeUidSnapshots(int[])

public HealthStats[] TakeUidSnapshots(int[] arg0)

Parameters

arg0 int[]

int

Returns

HealthStats[]

HealthStats