3.2 Capture over adb for Android devices

Connecting to your Android devices is automated through the Device Manager. The Device Manager detects any Android devices that are connected to the host then automatically installs the Graphics Analyzer components when the capture session starts.

Selecting an application using the Device Manager will only capture traces for user 0 in a multi-user Android installation. To capture a trace for other users, see the instructions for 2.3.3 Preparing to capture non-debuggable applications.

Prerequisites

Follow the instructions in 2.3.2 Preparing to capture debuggable applications.

Procedure

  1. Open Graphics Analyzer.
  2. Click Open the Device Manager .
  3. In the Android tab, choose which device you want to connect to.
  4. Choose the application that you want to capture from the list of available options.
    Figure 3-1 Connect to your Android device in the Device Manager


  5. Select the required API.
  6. Click Start Capture.
    Results: Graphics Analyzer connects to your device and installs the layer driver and daemon application that it uses to communicate with it. When the connection is established, the Device Manager closes and the live capture is shown.
  7. Optionally, select a preset configuration, or choose which API assets are captured.
    Figure 3-2 Trace Config dialog


    As you enable more asset types, the application runs slower, more memory is required, and the generated capture file is larger. See 3.4 Configure tracing assets for more information.

  8. Perform your test scenario on the device. Graphics Analyzer displays the data it receives from the device.
  9. When you see a problem area in the capture:
  10. When you have captured the data you need, click Stop tracing .
    Results: The frames are listed in the Trace Outline view. To identify the type of frame capture you performed, an icon is shown next to the frames when you have captured extra data.
  11. To show only the frames where you have captured extra data, select the Show Only Frames With Features Enabled check box.
    Figure 3-3 Show only frames with features enabled


  12. Expand a frame to see the render passes and draw calls within it. Select frames, renderpasses, and draw calls to explore their data using the different data views. See Chapter 5 The Graphics Analyzer interface for more information about the views.

Next Steps

To save or export the capture file, use the options under the File menu.
Non-Confidential - RELPDF file icon PDF version101545__00_en
Copyright © 2020–2022, 2024 Arm Limited or its affiliates. All rights reserved.