1 
2 package com.android.phone;
3 
4 import android.content.Context;
5 
6 import com.android.phone.vvm.VvmDumpHandler;
7 
8 import java.io.FileDescriptor;
9 import java.io.PrintWriter;
10 
11 /**
12  * Handles "adb shell dumpsys phone" and bug report dump.
13  */
14 public class DumpsysHandler {
15 
dump(Context context, FileDescriptor fd, PrintWriter writer, String[] args)16     public static void dump(Context context, FileDescriptor fd, PrintWriter writer,
17             String[] args) {
18         PhoneGlobals.getInstance().dump(fd, writer, args);
19         // Dump OMTP visual voicemail log.
20         VvmDumpHandler.dump(context, fd, writer, args);
21     }
22 }
23