fragment/src/main/java/androidx/fragment/app/FragmentActivity.java
@Override
    public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) {
        super.dump(prefix, fd, writer, args);
        writer.print(prefix); writer.print("Local FragmentActivity ");
                writer.print(Integer.toHexString(System.identityHashCode(this)));
                writer.println(" State:");
        String innerPrefix = prefix + "  ";
        writer.print(innerPrefix); writer.print("mCreated=");
                writer.print(mCreated); writer.print(" mResumed=");
                writer.print(mResumed); writer.print(" mStopped=");
                writer.print(mStopped);
        LoaderManager.getInstance(this).dump(innerPrefix, fd, writer, args);
        mFragments.getSupportFragmentManager().dump(prefix, fd, writer, args);
    }
/**
     * Print the Activity's state into the given stream.  This gets invoked if
     * you run "adb shell dumpsys activity <activity_component_name>".
     *
     * @param prefix Desired prefix to prepend at each line of output.
     * @param fd The raw file descriptor that the dump is being sent to.
     * @param writer The PrintWriter to which you should dump your state.  This will be
     * closed for you after you return.
     * @param args additional arguments to the dump request.
     */
Print the Activity's state into the given stream.  This gets invoked if
you run "adb shell dumpsys activity ".

@param prefix Desired prefix to prepend at each line of output.
@param fd The raw file descriptor that the dump is being sent to.
@param writer The PrintWriter to which you should dump your state.  This will be
closed for you after you return.
@param args additional arguments to the dump request.
Print the Activity ' s state into the given stream . This gets invoked if you run " adb shell dumpsys activity " . @param prefix Desired prefix to prepend at each line of output . @param fd The raw file descriptor that the dump is being sent to . @param writer The PrintWriter to which you should dump your state . This will be closed for you after you return . @param args additional arguments to the dump request .
@Override
    public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) {
        super.dump(prefix, fd, writer, args);
        writer.print(prefix); writer.print("Local FragmentActivity ");
                writer.print(Integer.toHexString(System.identityHashCode(this)));
                writer.println(" State:");
        String innerPrefix = prefix + "  ";
        writer.print(innerPrefix); writer.print("mCreated=");
                writer.print(mCreated); writer.print(" mResumed=");
                writer.print(mResumed); writer.print(" mStopped=");
                writer.print(mStopped);
        LoaderManager.getInstance(this).dump(innerPrefix, fd, writer, args);
        mFragments.getSupportFragmentManager().dump(prefix, fd, writer, args);
    }
@ Override public void dump ( String prefix , FileDescriptor fd , PrintWriter writer , String [ ] args ) { super . dump ( prefix , fd , writer , args ) ; writer . print ( prefix ) ; writer . print ( "Local FragmentActivity " ) ; writer . print ( Integer . toHexString ( System . identityHashCode ( this ) ) ) ; writer . println ( " State:" ) ; String innerPrefix = prefix + "  " ; writer . print ( innerPrefix ) ; writer . print ( "mCreated=" ) ; writer . print ( mCreated ) ; writer . print ( " mResumed=" ) ; writer . print ( mResumed ) ; writer . print ( " mStopped=" ) ; writer . print ( mStopped ) ; LoaderManager . getInstance ( this ) . dump ( innerPrefix , fd , writer , args ) ; mFragments . getSupportFragmentManager ( ) . dump ( prefix , fd , writer , args ) ; }
Print the Activity's state into the given stream.
Print the Activity ' s state into the given stream .