- fd
- The file descriptor that the dump should be written to. The file descriptor is not closed by this function; the caller continues to own it.
- packageName
- The name of the package that is to be dumped.
Perform a system dump of various state associated with the given application package name. This call blocks while the dump is being performed, so should not be done on a UI thread. The data will be written to the given file descriptor as text. An application must hold the NoType:android/Manifest$permission;Href=../../../reference/android/Manifest.permission.html#DUMP permission to make this call.