ActivityManagerAliases Class

Summary

Cake build aliases for Android ADB Activity Manager commands
Assembly
Cake.Android.Adb.dll
Namespace
Cake.AndroidAdb
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["ActivityManagerAliases"] class Type type-node

Syntax

public static class ActivityManagerAliases

Attributes

Type Description
CakeAliasCategoryAttribute

Methods

Name Value Summary
AmBroadcast(ICakeContext, string, string, AdbToolSettings) int
Broadcasts an Intent on the target.
static
AmClearDebugApp(ICakeContext, AdbToolSettings) List<string>
Clears the set debug app on the target.
static
AmDisplayDensity(ICakeContext, int, AdbToolSettings) List<string>
Override the target's display density. This command is helpful for testing your app across different screen densities on high-density screen environment using a low density screen, and vice versa.
static
AmDisplaySize(ICakeContext, int, int, AdbToolSettings) List<string>
Override the target's display size. This command is helpful for testing your app across different screen sizes by mimicking a small screen resolution using a device with a large screen, and vice versa.
static
AmDumpHeap(ICakeContext, string, FilePath, string, bool, AdbToolSettings) List<string>
Dumps the heap from a process on the target.
static
AmForceStop(ICakeContext, string, AdbToolSettings) void
Force stops an application on the target.
static
AmInstrument(ICakeContext, string, AmInstrumentOptions, AdbToolSettings) List<string>
Ams the instrument.
static
AmIntentToIntentURI(ICakeContext, string, AdbToolSettings) string
Convert the given intent specification to an Intent URI.
static
AmIntentToURI(ICakeContext, string, AdbToolSettings) string
Convert the given intent specification to a URI.
static
AmKill(ICakeContext, string, string, AdbToolSettings) void
Kills a service on the target.
static
AmKillAll(ICakeContext, AdbToolSettings) void
Kills all services on the target.
static
AmMonitor(ICakeContext, Nullable<int>, AdbToolSettings) List<string>
Starts monitoring for crashes or ANRs on the target.
static
AmResetDisplaySize(ICakeContext, AdbToolSettings) List<string>
Resets the target's display size.
static
AmScreenCompat(ICakeContext, bool, string, AdbToolSettings) List<string>
Turn screen compatibility mode on/off for the given package on the target.
static
AmSetDebugApp(ICakeContext, string, bool, bool, AdbToolSettings) List<string>
Set the debug app on the target.
static
AmStartActivity(ICakeContext, string, AmStartOptions, AdbToolSettings) bool
Starts an Activity on the target.
static
AmStartProfiling(ICakeContext, string, FilePath, AdbToolSettings) List<string>
Starts profiling on the target.
static
AmStartService(ICakeContext, string, string, AdbToolSettings) bool
Starts a Service on the target.
static
AmStopProfiling(ICakeContext, string, AdbToolSettings) List<string>
Stops profiling on the target.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin