Android aliases

Cake.Android.Adb addin

Cake build aliases for Android ADB commands

General

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