Java 类android.support.v4.util.LogWriter 实例源码

项目:letv    文件:BackStackRecord.java   
int commitInternal(boolean allowStateLoss) {
    if (this.mCommitted) {
        throw new IllegalStateException("commit already called");
    }
    if (FragmentManagerImpl.DEBUG) {
        Log.v(TAG, "Commit: " + this);
        dump("  ", null, new PrintWriter(new LogWriter(TAG)), null);
    }
    this.mCommitted = true;
    if (this.mAddToBackStack) {
        this.mIndex = this.mManager.allocBackStackIndex(this);
    } else {
        this.mIndex = -1;
    }
    this.mManager.enqueueAction(this, allowStateLoss);
    return this.mIndex;
}
项目:boohee_v5.6    文件:BackStackRecord.java   
int commitInternal(boolean allowStateLoss) {
    if (this.mCommitted) {
        throw new IllegalStateException("commit already called");
    }
    if (FragmentManagerImpl.DEBUG) {
        Log.v(TAG, "Commit: " + this);
        dump("  ", null, new PrintWriter(new LogWriter(TAG)), null);
    }
    this.mCommitted = true;
    if (this.mAddToBackStack) {
        this.mIndex = this.mManager.allocBackStackIndex(this);
    } else {
        this.mIndex = -1;
    }
    this.mManager.enqueueAction(this, allowStateLoss);
    return this.mIndex;
}
项目:FMTech    文件:BackStackRecord.java   
private int commitInternal(boolean paramBoolean)
{
  if (this.mCommitted) {
    throw new IllegalStateException("commit already called");
  }
  if (FragmentManagerImpl.DEBUG)
  {
    Log.v("FragmentManager", "Commit: " + this);
    dump$ec96877("  ", new PrintWriter(new LogWriter("FragmentManager")));
  }
  this.mCommitted = true;
  if (this.mAddToBackStack) {}
  for (this.mIndex = this.mManager.allocBackStackIndex(this);; this.mIndex = -1)
  {
    this.mManager.enqueueAction(this, paramBoolean);
    return this.mIndex;
  }
}
项目:ShoppingMall    文件:BackStackRecord.java   
int commitInternal(boolean allowStateLoss) {
    if (mCommitted) throw new IllegalStateException("commit already called");
    if (FragmentManagerImpl.DEBUG) {
        Log.v(TAG, "Commit: " + this);
        LogWriter logw = new LogWriter(TAG);
        PrintWriter pw = new PrintWriter(logw);
        dump("  ", null, pw, null);
    }
    mCommitted = true;
    if (mAddToBackStack) {
        mIndex = mManager.allocBackStackIndex(this);
    } else {
        mIndex = -1;
    }
    mManager.enqueueAction(this, allowStateLoss);
    return mIndex;
}
项目:MiBandDecompiled    文件:l.java   
int a(boolean flag)
{
    if (w)
    {
        throw new IllegalStateException("commit already called");
    }
    if (v.a)
    {
        Log.v("FragmentManager", (new StringBuilder()).append("Commit: ").append(this).toString());
        a("  ", ((FileDescriptor) (null)), new PrintWriter(new LogWriter("FragmentManager")), ((String []) (null)));
    }
    w = true;
    if (t)
    {
        x = b.a(this);
    } else
    {
        x = -1;
    }
    b.a(this, flag);
    return x;
}
项目:CodenameOne    文件:BackStackRecord.java   
int commitInternal(boolean allowStateLoss) {
    if (mCommitted) throw new IllegalStateException("commit already called");
    if (FragmentManagerImpl.DEBUG) {
        Log.v(TAG, "Commit: " + this);
        LogWriter logw = new LogWriter(TAG);
        PrintWriter pw = new PrintWriter(logw);
        dump("  ", null, pw, null);
    }
    mCommitted = true;
    if (mAddToBackStack) {
        mIndex = mManager.allocBackStackIndex(this);
    } else {
        mIndex = -1;
    }
    mManager.enqueueAction(this, allowStateLoss);
    return mIndex;
}
项目:MyCTFWriteUps    文件:BackStackRecord.java   
int commitInternal(boolean flag)
{
    if (mCommitted)
    {
        throw new IllegalStateException("commit already called");
    }
    if (FragmentManagerImpl.DEBUG)
    {
        Log.v("FragmentManager", (new StringBuilder()).append("Commit: ").append(this).toString());
        dump("  ", null, new PrintWriter(new LogWriter("FragmentManager")), null);
    }
    mCommitted = true;
    if (mAddToBackStack)
    {
        mIndex = mManager.allocBackStackIndex(this);
    } else
    {
        mIndex = -1;
    }
    mManager.enqueueAction(this, flag);
    return mIndex;
}
项目:adt-leanback-support    文件:BackStackRecord.java   
int commitInternal(boolean allowStateLoss) {
    if (mCommitted) throw new IllegalStateException("commit already called");
    if (FragmentManagerImpl.DEBUG) {
        Log.v(TAG, "Commit: " + this);
        LogWriter logw = new LogWriter(TAG);
        PrintWriter pw = new PrintWriter(logw);
        dump("  ", null, pw, null);
    }
    mCommitted = true;
    if (mAddToBackStack) {
        mIndex = mManager.allocBackStackIndex(this);
    } else {
        mIndex = -1;
    }
    mManager.enqueueAction(this, allowStateLoss);
    return mIndex;
}
项目:generator-android    文件:BackStackRecord.java   
int commitInternal(boolean allowStateLoss) {
    if (mCommitted) throw new IllegalStateException("commit already called");
    if (FragmentManagerImpl.DEBUG) {
        Log.v(TAG, "Commit: " + this);
        LogWriter logw = new LogWriter(TAG);
        PrintWriter pw = new PrintWriter(logw);
        dump("  ", null, pw, null);
    }
    mCommitted = true;
    if (mAddToBackStack) {
        mIndex = mManager.allocBackStackIndex(this);
    } else {
        mIndex = -1;
    }
    mManager.enqueueAction(this, allowStateLoss);
    return mIndex;
}
项目:informant-droid    文件:BackStackRecord.java   
int commitInternal(boolean allowStateLoss) {
    if (mCommitted) throw new IllegalStateException("commit already called");
    if (FragmentManagerImpl.DEBUG) {
        Log.v(TAG, "Commit: " + this);
        LogWriter logw = new LogWriter(TAG);
        PrintWriter pw = new PrintWriter(logw);
        dump("  ", null, pw, null);
    }
    mCommitted = true;
    if (mAddToBackStack) {
        mIndex = mManager.allocBackStackIndex(this);
    } else {
        mIndex = -1;
    }
    mManager.enqueueAction(this, allowStateLoss);
    return mIndex;
}
项目:android-recipes-app    文件:BackStackRecord.java   
int commitInternal(boolean allowStateLoss) {
    if (mCommitted) throw new IllegalStateException("commit already called");
    if (FragmentManagerImpl.DEBUG) {
        Log.v(TAG, "Commit: " + this);
        LogWriter logw = new LogWriter(TAG);
        PrintWriter pw = new PrintWriter(logw);
        dump("  ", null, pw, null);
    }
    mCommitted = true;
    if (mAddToBackStack) {
        mIndex = mManager.allocBackStackIndex(this);
    } else {
        mIndex = -1;
    }
    mManager.enqueueAction(this, allowStateLoss);
    return mIndex;
}
项目:bitcast    文件:BackStackRecord.java   
int commitInternal(boolean allowStateLoss) {
    if (mCommitted) throw new IllegalStateException("commit already called");
    if (FragmentManagerImpl.DEBUG) {
        Log.v(TAG, "Commit: " + this);
        LogWriter logw = new LogWriter(TAG);
        PrintWriter pw = new PrintWriter(logw);
        dump("  ", null, pw, null);
    }
    mCommitted = true;
    if (mAddToBackStack) {
        mIndex = mManager.allocBackStackIndex(this);
    } else {
        mIndex = -1;
    }
    mManager.enqueueAction(this, allowStateLoss);
    return mIndex;
}
项目:V.FlyoutTest    文件:BackStackRecord.java   
int commitInternal(boolean allowStateLoss) {
    if (mCommitted) throw new IllegalStateException("commit already called");
    if (FragmentManagerImpl.DEBUG) {
        Log.v(TAG, "Commit: " + this);
        LogWriter logw = new LogWriter(TAG);
        PrintWriter pw = new PrintWriter(logw);
        dump("  ", null, pw, null);
    }
    mCommitted = true;
    if (mAddToBackStack) {
        mIndex = mManager.allocBackStackIndex(this);
    } else {
        mIndex = -1;
    }
    mManager.enqueueAction(this, allowStateLoss);
    return mIndex;
}
项目:guideshow    文件:BackStackRecord.java   
int commitInternal(boolean allowStateLoss) {
    if (mCommitted) throw new IllegalStateException("commit already called");
    if (FragmentManagerImpl.DEBUG) {
        Log.v(TAG, "Commit: " + this);
        LogWriter logw = new LogWriter(TAG);
        PrintWriter pw = new PrintWriter(logw);
        dump("  ", null, pw, null);
    }
    mCommitted = true;
    if (mAddToBackStack) {
        mIndex = mManager.allocBackStackIndex(this);
    } else {
        mIndex = -1;
    }
    mManager.enqueueAction(this, allowStateLoss);
    return mIndex;
}
项目:IntranetEpitechV2    文件:BackStackRecord.java   
int commitInternal(boolean allowStateLoss) {
    if (mCommitted) throw new IllegalStateException("commit already called");
    if (FragmentManagerImpl.DEBUG) {
        Log.v(TAG, "Commit: " + this);
        LogWriter logw = new LogWriter(TAG);
        PrintWriter pw = new PrintWriter(logw);
        dump("  ", null, pw, null);
    }
    mCommitted = true;
    if (mAddToBackStack) {
        mIndex = mManager.allocBackStackIndex(this);
    } else {
        mIndex = -1;
    }
    mManager.enqueueAction(this, allowStateLoss);
    return mIndex;
}
项目:MoSeS--Client-    文件:BackStackRecord.java   
int commitInternal(boolean allowStateLoss) {
    if (mCommitted) throw new IllegalStateException("commit already called");
    if (FragmentManagerImpl.DEBUG) {
        Log.v(TAG, "Commit: " + this);
        LogWriter logw = new LogWriter(TAG);
        PrintWriter pw = new PrintWriter(logw);
        dump("  ", null, pw, null);
    }
    mCommitted = true;
    if (mAddToBackStack) {
        mIndex = mManager.allocBackStackIndex(this);
    } else {
        mIndex = -1;
    }
    mManager.enqueueAction(this, allowStateLoss);
    return mIndex;
}
项目:android.support.v4    文件:BackStackRecord.java   
int commitInternal(boolean allowStateLoss) {
    if (mCommitted) throw new IllegalStateException("commit already called");
    if (FragmentManagerImpl.DEBUG) {
        Log.v(TAG, "Commit: " + this);
        LogWriter logw = new LogWriter(TAG);
        PrintWriter pw = new PrintWriter(logw);
        dump("  ", null, pw, null);
    }
    mCommitted = true;
    if (mAddToBackStack) {
        mIndex = mManager.allocBackStackIndex(this);
    } else {
        mIndex = -1;
    }
    mManager.enqueueAction(this, allowStateLoss);
    return mIndex;
}
项目:FMTech    文件:FragmentManagerImpl.java   
private void throwException(RuntimeException paramRuntimeException)
{
  Log.e("FragmentManager", paramRuntimeException.getMessage());
  Log.e("FragmentManager", "Activity state:");
  PrintWriter localPrintWriter = new PrintWriter(new LogWriter("FragmentManager"));
  if (this.mHost != null) {}
  for (;;)
  {
    try
    {
      this.mHost.onDump$ec96877("  ", localPrintWriter, new String[0]);
      throw paramRuntimeException;
    }
    catch (Exception localException2)
    {
      Log.e("FragmentManager", "Failed dumping state", localException2);
      continue;
    }
    try
    {
      dump("  ", null, localPrintWriter, new String[0]);
    }
    catch (Exception localException1)
    {
      Log.e("FragmentManager", "Failed dumping state", localException1);
    }
  }
}
项目:MiBandDecompiled    文件:v.java   
private void a(RuntimeException runtimeexception)
{
    Log.e("FragmentManager", runtimeexception.getMessage());
    Log.e("FragmentManager", "Activity state:");
    PrintWriter printwriter = new PrintWriter(new LogWriter("FragmentManager"));
    if (t != null)
    {
        try
        {
            t.dump("  ", null, printwriter, new String[0]);
        }
        catch (Exception exception1)
        {
            Log.e("FragmentManager", "Failed dumping state", exception1);
        }
    } else
    {
        try
        {
            dump("  ", null, printwriter, new String[0]);
        }
        catch (Exception exception)
        {
            Log.e("FragmentManager", "Failed dumping state", exception);
        }
    }
    throw runtimeexception;
}
项目:Android-Print-SDK    文件:AKiteActivity.java   
/*****************************************************
 *
 * Logs the back stack, for debugging.
 *
 *****************************************************/
protected void logFragments()
  {
  mFragmentManager.dump( "", null, new PrintWriter( new LogWriter( "" ) ), new String[] {} );
  }