本文整理了Java中android.app.Activity.dump()
方法的一些代码示例,展示了Activity.dump()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Activity.dump()
方法的具体详情如下:
包路径:android.app.Activity
类名称:Activity
方法名:dump
暂无
代码示例来源:origin: iqiyi/Neptune
@Override
public void callDump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
if (null != mPlugin) {
mPlugin.dump(prefix, fd, writer, args);
} else if (null != mProxy) {
mProxy.dump(prefix, fd, writer, args);
}
}
}
代码示例来源:origin: com.google.android/support-v4
static void dump(Activity activity, String prefix, FileDescriptor fd,
PrintWriter writer, String[] args) {
activity.dump(prefix, fd, writer, args);
}
}
代码示例来源:origin: iqiyi/Neptune
@Override
public void dump(java.lang.String string0, java.io.FileDescriptor filedescriptor1, java.io.PrintWriter printwriter2, java.lang.String[] string3) {
mOriginActivity.dump(string0, filedescriptor1, printwriter2, string3);
}
代码示例来源:origin: kingargyle/adt-leanback-support
static void dump(Activity activity, String prefix, FileDescriptor fd,
PrintWriter writer, String[] args) {
activity.dump(prefix, fd, writer, args);
}
}
代码示例来源:origin: com.uphyca/android-junit4-robolectric
/**
* @param prefix
* @param fd
* @param writer
* @param args
* @see android.app.Activity#dump(java.lang.String, java.io.FileDescriptor,
* java.io.PrintWriter, java.lang.String[])
*/
public void dump(String prefix,
FileDescriptor fd,
PrintWriter writer,
String[] args) {
mActivity.dump(prefix, fd, writer, args);
}
代码示例来源:origin: WeAreFairphone/FP2-Launcher
@Override
public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) {
super.dump(prefix, fd, writer, args);
synchronized (sDumpLogs) {
writer.println(" ");
writer.println("Debug logs: ");
for (int i = 0; i < sDumpLogs.size(); i++) {
writer.println(" " + sDumpLogs.get(i));
}
}
}
代码示例来源:origin: fookwood/Launcher3
@Override
public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) {
super.dump(prefix, fd, writer, args);
synchronized (sDumpLogs) {
writer.println(" ");
writer.println("Debug logs: ");
for (int i = 0; i < sDumpLogs.size(); i++) {
writer.println(" " + sDumpLogs.get(i));
}
}
if (mLauncherCallbacks != null) {
mLauncherCallbacks.dump(prefix, fd, writer, args);
}
}
代码示例来源:origin: MoMoWait/LeanbackLauncher
public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) {
super.dump(prefix, fd, writer, args);
this.mAppsRanker.dump(prefix, writer);
this.mLaunchAnimation.dump(prefix, writer, this.mList);
}
代码示例来源:origin: iqiyi/Neptune
@Override
public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) {
super.dump(prefix, fd, writer, args);
if (getController() != null) {
getController().callDump(prefix, fd, writer, args);
}
}
代码示例来源:origin: klinker24/Android-Blur-Launcher
@Override
public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) {
super.dump(prefix, fd, writer, args);
代码示例来源:origin: klinker24/launcher3
@Override
public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) {
super.dump(prefix, fd, writer, args);
代码示例来源:origin: rockon999/LeanbackLauncher
public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) {
super.dump(prefix, fd, writer, args);
AppsManager.getInstance(getApplicationContext()).dump(prefix, writer);
this.mLaunchAnimation.dump(prefix, writer, this.mList);
this.mHomeAdapter.dump(prefix, writer);
}
内容来源于网络,如有侵权,请联系作者删除!