Android aliases

Cake.Android.Adb addin

Cake build aliases for Android ADB commands

General

AdbBugReport(ICakeContext, AdbToolSettings)
Alias from Cake.Android.Adb addin
Dumps out a bug report.
AdbConnect(ICakeContext, string, int, AdbToolSettings)
Alias from Cake.Android.Adb addin
Connects to a device or emulator by IP address.
AdbDevices(ICakeContext, AdbToolSettings)
Alias from Cake.Android.Adb addin
Gets a list of all attached emulator/device instances.
AdbDisconnect(ICakeContext, string, int, AdbToolSettings)
Alias from Cake.Android.Adb addin
Disconnects from a device or emulator.
AdbEmuKill(ICakeContext, AdbToolSettings)
Alias from Cake.Android.Adb addin
Kills an emulator by serial
AdbGetAvdName(ICakeContext, string)
Alias from Cake.Android.Adb addin
Connects to an emulator and queries its avd name
AdbGetSerialNumber(ICakeContext, AdbToolSettings)
Alias from Cake.Android.Adb addin
Gets the target's serial.
AdbGetState(ICakeContext, AdbToolSettings)
Alias from Cake.Android.Adb addin
Gets the target's state.
AdbInstall(ICakeContext, FilePath, AdbToolSettings)
Alias from Cake.Android.Adb addin
Installs an Android .APK file.
AdbKillServer(ICakeContext, AdbToolSettings)
Alias from Cake.Android.Adb addin
Terminates the adb server process.
AdbLogcat(ICakeContext, AdbLogcatOptions, string, AdbToolSettings)
Alias from Cake.Android.Adb addin
Dumps out Logcat output.
AdbPull(ICakeContext, DirectoryPath, DirectoryPath, AdbToolSettings)
Alias from Cake.Android.Adb addin
Pulls a directory from the target to a local destination.
AdbPull(ICakeContext, FilePath, DirectoryPath, AdbToolSettings)
Alias from Cake.Android.Adb addin
Pulls a file from the target to a local destination.
AdbPull(ICakeContext, FilePath, FilePath, AdbToolSettings)
Alias from Cake.Android.Adb addin
Pulls a file from the target to a local destination.
AdbPush(ICakeContext, DirectoryPath, DirectoryPath, AdbToolSettings)
Alias from Cake.Android.Adb addin
Pushes a local directory to the remote destination on the target.
AdbPush(ICakeContext, FilePath, DirectoryPath, AdbToolSettings)
Alias from Cake.Android.Adb addin
Pushes a local file to the remote destination on the target.
AdbPush(ICakeContext, FilePath, FilePath, AdbToolSettings)
Alias from Cake.Android.Adb addin
Pushes a local file to the remote destination on the target.
AdbRun(ICakeContext, string[], AdbToolSettings)
Alias from Cake.Android.Adb addin
Runs adb with an arbitrary list of arguments
AdbScreenCapture(ICakeContext, FilePath, AdbToolSettings)
Alias from Cake.Android.Adb addin
Captures a screenshot from the target.
AdbScreenRecord(ICakeContext, FilePath, Nullable<CancellationToken>, Nullable<TimeSpan>, Nullable<int>, Nullable<int>, Nullable<int>, bool, bool, AdbToolSettings)
Alias from Cake.Android.Adb addin
Records the screen of the target.
AdbShell(ICakeContext, string, AdbToolSettings)
Alias from Cake.Android.Adb addin
Executes a shell command on the target.
AdbStartServer(ICakeContext, AdbToolSettings)
Alias from Cake.Android.Adb addin
Checks whether the adb server process is running and starts it, if not.
AdbUninstall(ICakeContext, string, bool, AdbToolSettings)
Alias from Cake.Android.Adb addin
Uninstalls an application from the target.
AdbVersion(ICakeContext, AdbToolSettings)
Alias from Cake.Android.Adb addin
Gets the adb version number.
AdbWaitFor(ICakeContext, AdbTransport, AdbState, AdbToolSettings)
Alias from Cake.Android.Adb addin
Waits for a given transport and state
AdbWaitForEmulatorToBoot(ICakeContext, TimeSpan, AdbToolSettings)
Alias from Cake.Android.Adb addin
Waits for an emulator to boot (dev.bootcomplete=1)
AmBroadcast(ICakeContext, string, string, AdbToolSettings)
Alias from Cake.Android.Adb addin
Broadcasts an Intent on the target.
AmClearDebugApp(ICakeContext, AdbToolSettings)
Alias from Cake.Android.Adb addin
Clears the set debug app on the target.
AmDisplayDensity(ICakeContext, int, AdbToolSettings)
Alias from Cake.Android.Adb addin
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.
AmDisplaySize(ICakeContext, int, int, AdbToolSettings)
Alias from Cake.Android.Adb addin
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.
AmDumpHeap(ICakeContext, string, FilePath, string, bool, AdbToolSettings)
Alias from Cake.Android.Adb addin
Dumps the heap from a process on the target.
AmForceStop(ICakeContext, string, AdbToolSettings)
Alias from Cake.Android.Adb addin
Force stops an application on the target.
AmInstrument(ICakeContext, string, AmInstrumentOptions, AdbToolSettings)
Alias from Cake.Android.Adb addin
Ams the instrument.
AmIntentToIntentURI(ICakeContext, string, AdbToolSettings)
Alias from Cake.Android.Adb addin
Convert the given intent specification to an Intent URI.
AmIntentToURI(ICakeContext, string, AdbToolSettings)
Alias from Cake.Android.Adb addin
Convert the given intent specification to a URI.
AmKill(ICakeContext, string, string, AdbToolSettings)
Alias from Cake.Android.Adb addin
Kills a service on the target.
AmKillAll(ICakeContext, AdbToolSettings)
Alias from Cake.Android.Adb addin
Kills all services on the target.
AmMonitor(ICakeContext, Nullable<int>, AdbToolSettings)
Alias from Cake.Android.Adb addin
Starts monitoring for crashes or ANRs on the target.
AmResetDisplaySize(ICakeContext, AdbToolSettings)
Alias from Cake.Android.Adb addin
Resets the target's display size.
AmScreenCompat(ICakeContext, bool, string, AdbToolSettings)
Alias from Cake.Android.Adb addin
Turn screen compatibility mode on/off for the given package on the target.
AmSetDebugApp(ICakeContext, string, bool, bool, AdbToolSettings)
Alias from Cake.Android.Adb addin
Set the debug app on the target.
AmStartActivity(ICakeContext, string, AmStartOptions, AdbToolSettings)
Alias from Cake.Android.Adb addin
Starts an Activity on the target.
AmStartProfiling(ICakeContext, string, FilePath, AdbToolSettings)
Alias from Cake.Android.Adb addin
Starts profiling on the target.
AmStartService(ICakeContext, string, string, AdbToolSettings)
Alias from Cake.Android.Adb addin
Starts a Service on the target.
AmStopProfiling(ICakeContext, string, AdbToolSettings)
Alias from Cake.Android.Adb addin
Stops profiling on the target.
PmClear(ICakeContext, string, AdbToolSettings)
Alias from Cake.Android.Adb addin
Clears all data associated with the package.
PmCreateUser(ICakeContext, string, AdbToolSettings)
Alias from Cake.Android.Adb addin
Creates a new user on the target.
PmDisable(ICakeContext, string, AdbToolSettings)
Alias from Cake.Android.Adb addin
Disables the given package or component
PmDisableUser(ICakeContext, string, string, AdbToolSettings)
Alias from Cake.Android.Adb addin
Disables a user for the given package or component.
PmEnable(ICakeContext, string, AdbToolSettings)
Alias from Cake.Android.Adb addin
Enables the given package or component
PmGetInstallLocation(ICakeContext, AdbToolSettings)
Alias from Cake.Android.Adb addin
Gets the current default install location for the target.
PmGetMaxUsers(ICakeContext, AdbToolSettings)
Alias from Cake.Android.Adb addin
Gets the max # of users the target supports.
PmGrant(ICakeContext, string, string, AdbToolSettings)
Alias from Cake.Android.Adb addin
Grants a permission to a package.
PmInstall(ICakeContext, FilePath, bool, bool, bool, string, bool, bool, bool, bool, AdbToolSettings)
Alias from Cake.Android.Adb addin
Installs an APK file from the given path on the target.
PmListFeatures(ICakeContext, AdbToolSettings)
Alias from Cake.Android.Adb addin
Gets a list of features implemented on the target.
PmListLibraries(ICakeContext, AdbToolSettings)
Alias from Cake.Android.Adb addin
Gets a list of libraries that exist on the target.
PmListPackages(ICakeContext, bool, PackageListState, PackageSourceType, AdbToolSettings)
Alias from Cake.Android.Adb addin
Gets a list of packages from the target.
PmListPermissionGroups(ICakeContext, AdbToolSettings)
Alias from Cake.Android.Adb addin
Gets a list of Permission Groups on the target.
PmListPermissions(ICakeContext, bool, bool, AdbToolSettings)
Alias from Cake.Android.Adb addin
Gets a list of Permissions, grouped by Permission Group on the target
PmPathToPackage(ICakeContext, string, AdbToolSettings)
Alias from Cake.Android.Adb addin
Gets the path for a given package name.
PmRemoveUser(ICakeContext, string, AdbToolSettings)
Alias from Cake.Android.Adb addin
Removes a user from a target.
PmRevoke(ICakeContext, string, string, AdbToolSettings)
Alias from Cake.Android.Adb addin
Revokes a permission from a package.
PmSetInstallLocation(ICakeContext, AdbInstallLocation, AdbToolSettings)
Alias from Cake.Android.Adb addin
Sets the default install location for the target. Note: This is only intended for debugging; using this can cause applications to break and other undesireable behavior.
PmSetPermissionEnforced(ICakeContext, string, bool, AdbToolSettings)
Alias from Cake.Android.Adb addin
Sets whether or not a permission is enforced on the target.
PmTrimCaches(ICakeContext, string, AdbToolSettings)
Alias from Cake.Android.Adb addin
Tries to free up space on the target by deleting caches.
PmUninstall(ICakeContext, string, bool, AdbToolSettings)
Alias from Cake.Android.Adb addin
Uninstalls a package from the target