Home
last modified time | relevance | path

Searched refs:writer (Results 1 – 25 of 75) sorted by relevance

123

/frameworks/support/v4/java/android/support/v4/app/
DFragment.java1332 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
1333 writer.print(prefix); writer.print("mFragmentId=#"); in dump()
1334 writer.print(Integer.toHexString(mFragmentId)); in dump()
1335 writer.print(" mContainerId=#"); in dump()
1336 writer.print(Integer.toHexString(mContainerId)); in dump()
1337 writer.print(" mTag="); writer.println(mTag); in dump()
1338 writer.print(prefix); writer.print("mState="); writer.print(mState); in dump()
1339 writer.print(" mIndex="); writer.print(mIndex); in dump()
1340 writer.print(" mWho="); writer.print(mWho); in dump()
1341 writer.print(" mBackStackNesting="); writer.println(mBackStackNesting); in dump()
[all …]
DLoaderManager.java169 public abstract void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args); in dump() argument
450 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
451 writer.print(prefix); writer.print("mId="); writer.print(mId); in dump()
452 writer.print(" mArgs="); writer.println(mArgs); in dump()
453 writer.print(prefix); writer.print("mCallbacks="); writer.println(mCallbacks); in dump()
454 writer.print(prefix); writer.print("mLoader="); writer.println(mLoader); in dump()
456 mLoader.dump(prefix + " ", fd, writer, args); in dump()
459 writer.print(prefix); writer.print("mHaveData="); writer.print(mHaveData); in dump()
460 writer.print(" mDeliveredData="); writer.println(mDeliveredData); in dump()
461 writer.print(prefix); writer.print("mData="); writer.println(mData); in dump()
[all …]
DBackStackRecord.java236 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
237 dump(prefix, writer, true); in dump()
240 public void dump(String prefix, PrintWriter writer, boolean full) { in dump() argument
242 writer.print(prefix); writer.print("mName="); writer.print(mName); in dump()
243 writer.print(" mIndex="); writer.print(mIndex); in dump()
244 writer.print(" mCommitted="); writer.println(mCommitted); in dump()
246 writer.print(prefix); writer.print("mTransition=#"); in dump()
247 writer.print(Integer.toHexString(mTransition)); in dump()
248 writer.print(" mTransitionStyle=#"); in dump()
249 writer.println(Integer.toHexString(mTransitionStyle)); in dump()
[all …]
DFragmentManager.java326 public abstract void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args); in dump() argument
599 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
606 writer.print(prefix); writer.print("Active Fragments in "); in dump()
607 writer.print(Integer.toHexString(System.identityHashCode(this))); in dump()
608 writer.println(":"); in dump()
611 writer.print(prefix); writer.print(" #"); writer.print(i); in dump()
612 writer.print(": "); writer.println(f); in dump()
614 f.dump(innerPrefix, fd, writer, args); in dump()
623 writer.print(prefix); writer.println("Added Fragments:"); in dump()
626 writer.print(prefix); writer.print(" #"); writer.print(i); in dump()
[all …]
DFragmentActivity.java645 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
650 writer.print(prefix); writer.print("Local FragmentActivity "); in dump()
651 writer.print(Integer.toHexString(System.identityHashCode(this))); in dump()
652 writer.println(" State:"); in dump()
654 writer.print(innerPrefix); writer.print("mCreated="); in dump()
655 writer.print(mCreated); writer.print("mResumed="); in dump()
656 writer.print(mResumed); writer.print(" mStopped="); in dump()
657 writer.print(mStopped); writer.print(" mReallyStopped="); in dump()
658 writer.println(mReallyStopped); in dump()
659 writer.print(innerPrefix); writer.print("mLoadersStarted="); in dump()
[all …]
/frameworks/base/core/java/android/app/
DFragment.java1571 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
1572 writer.print(prefix); writer.print("mFragmentId=#"); in dump()
1573 writer.print(Integer.toHexString(mFragmentId)); in dump()
1574 writer.print(" mContainerId=#"); in dump()
1575 writer.print(Integer.toHexString(mContainerId)); in dump()
1576 writer.print(" mTag="); writer.println(mTag); in dump()
1577 writer.print(prefix); writer.print("mState="); writer.print(mState); in dump()
1578 writer.print(" mIndex="); writer.print(mIndex); in dump()
1579 writer.print(" mWho="); writer.print(mWho); in dump()
1580 writer.print(" mBackStackNesting="); writer.println(mBackStackNesting); in dump()
[all …]
DLoaderManager.java188 public abstract void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args); in dump() argument
506 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
507 writer.print(prefix); writer.print("mId="); writer.print(mId); in dump()
508 writer.print(" mArgs="); writer.println(mArgs); in dump()
509 writer.print(prefix); writer.print("mCallbacks="); writer.println(mCallbacks); in dump()
510 writer.print(prefix); writer.print("mLoader="); writer.println(mLoader); in dump()
512 mLoader.dump(prefix + " ", fd, writer, args); in dump()
515 writer.print(prefix); writer.print("mHaveData="); writer.print(mHaveData); in dump()
516 writer.print(" mDeliveredData="); writer.println(mDeliveredData); in dump()
517 writer.print(prefix); writer.print("mData="); writer.println(mData); in dump()
[all …]
DDialogFragment.java545 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
546 super.dump(prefix, fd, writer, args); in dump()
547 writer.print(prefix); writer.println("DialogFragment:"); in dump()
548 writer.print(prefix); writer.print(" mStyle="); writer.print(mStyle); in dump()
549 writer.print(" mTheme=0x"); writer.println(Integer.toHexString(mTheme)); in dump()
550 writer.print(prefix); writer.print(" mCancelable="); writer.print(mCancelable); in dump()
551 writer.print(" mShowsDialog="); writer.print(mShowsDialog); in dump()
552 writer.print(" mBackStackId="); writer.println(mBackStackId); in dump()
553 writer.print(prefix); writer.print(" mDialog="); writer.println(mDialog); in dump()
554 writer.print(prefix); writer.print(" mViewDestroyed="); writer.print(mViewDestroyed); in dump()
[all …]
DBackStackRecord.java236 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
237 dump(prefix, writer, true); in dump()
240 void dump(String prefix, PrintWriter writer, boolean full) { in dump() argument
242 writer.print(prefix); writer.print("mName="); writer.print(mName); in dump()
243 writer.print(" mIndex="); writer.print(mIndex); in dump()
244 writer.print(" mCommitted="); writer.println(mCommitted); in dump()
246 writer.print(prefix); writer.print("mTransition=#"); in dump()
247 writer.print(Integer.toHexString(mTransition)); in dump()
248 writer.print(" mTransitionStyle=#"); in dump()
249 writer.println(Integer.toHexString(mTransitionStyle)); in dump()
[all …]
DFragmentManager.java334 public abstract void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args); in dump() argument
617 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
624 writer.print(prefix); writer.print("Active Fragments in "); in dump()
625 writer.print(Integer.toHexString(System.identityHashCode(this))); in dump()
626 writer.println(":"); in dump()
629 writer.print(prefix); writer.print(" #"); writer.print(i); in dump()
630 writer.print(": "); writer.println(f); in dump()
632 f.dump(innerPrefix, fd, writer, args); in dump()
641 writer.print(prefix); writer.println("Added Fragments:"); in dump()
644 writer.print(prefix); writer.print(" #"); writer.print(i); in dump()
[all …]
DActivity.java4762 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
4763 dumpInner(prefix, fd, writer, args); in dump()
4766 void dumpInner(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dumpInner() argument
4767 writer.print(prefix); writer.print("Local Activity "); in dumpInner()
4768 writer.print(Integer.toHexString(System.identityHashCode(this))); in dumpInner()
4769 writer.println(" State:"); in dumpInner()
4771 writer.print(innerPrefix); writer.print("mResumed="); in dumpInner()
4772 writer.print(mResumed); writer.print(" mStopped="); in dumpInner()
4773 writer.print(mStopped); writer.print(" mFinished="); in dumpInner()
4774 writer.println(mFinished); in dumpInner()
[all …]
/frameworks/support/v4/java/android/support/v4/content/
DCursorLoader.java203 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
204 super.dump(prefix, fd, writer, args); in dump()
205 writer.print(prefix); writer.print("mUri="); writer.println(mUri); in dump()
206 writer.print(prefix); writer.print("mProjection="); in dump()
207 writer.println(Arrays.toString(mProjection)); in dump()
208 writer.print(prefix); writer.print("mSelection="); writer.println(mSelection); in dump()
209 writer.print(prefix); writer.print("mSelectionArgs="); in dump()
210 writer.println(Arrays.toString(mSelectionArgs)); in dump()
211 writer.print(prefix); writer.print("mSortOrder="); writer.println(mSortOrder); in dump()
212 writer.print(prefix); writer.print("mCursor="); writer.println(mCursor); in dump()
[all …]
DLoader.java365 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
366 writer.print(prefix); writer.print("mId="); writer.print(mId); in dump()
367 writer.print(" mListener="); writer.println(mListener); in dump()
368 writer.print(prefix); writer.print("mStarted="); writer.print(mStarted); in dump()
369 writer.print(" mContentChanged="); writer.print(mContentChanged); in dump()
370 writer.print(" mAbandoned="); writer.print(mAbandoned); in dump()
371 writer.print(" mReset="); writer.println(mReset); in dump()
DAsyncTaskLoader.java265 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
266 super.dump(prefix, fd, writer, args); in dump()
268 writer.print(prefix); writer.print("mTask="); writer.print(mTask); in dump()
269 writer.print(" waiting="); writer.println(mTask.waiting); in dump()
272 writer.print(prefix); writer.print("mCancellingTask="); writer.print(mCancellingTask); in dump()
273 writer.print(" waiting="); writer.println(mCancellingTask.waiting); in dump()
276 writer.print(prefix); writer.print("mUpdateThrottle="); in dump()
277 TimeUtils.formatDuration(mUpdateThrottle, writer); in dump()
278 writer.print(" mLastLoadCompleteTime="); in dump()
280 SystemClock.uptimeMillis(), writer); in dump()
[all …]
/frameworks/base/core/java/android/content/
DCursorLoader.java235 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
236 super.dump(prefix, fd, writer, args); in dump()
237 writer.print(prefix); writer.print("mUri="); writer.println(mUri); in dump()
238 writer.print(prefix); writer.print("mProjection="); in dump()
239 writer.println(Arrays.toString(mProjection)); in dump()
240 writer.print(prefix); writer.print("mSelection="); writer.println(mSelection); in dump()
241 writer.print(prefix); writer.print("mSelectionArgs="); in dump()
242 writer.println(Arrays.toString(mSelectionArgs)); in dump()
243 writer.print(prefix); writer.print("mSortOrder="); writer.println(mSortOrder); in dump()
244 writer.print(prefix); writer.print("mCursor="); writer.println(mCursor); in dump()
[all …]
DLoader.java512 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
513 writer.print(prefix); writer.print("mId="); writer.print(mId); in dump()
514 writer.print(" mListener="); writer.println(mListener); in dump()
515 writer.print(prefix); writer.print("mStarted="); writer.print(mStarted); in dump()
516 writer.print(" mContentChanged="); writer.print(mContentChanged); in dump()
517 writer.print(" mAbandoned="); writer.print(mAbandoned); in dump()
518 writer.print(" mReset="); writer.println(mReset); in dump()
DAsyncTaskLoader.java347 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
348 super.dump(prefix, fd, writer, args); in dump()
350 writer.print(prefix); writer.print("mTask="); writer.print(mTask); in dump()
351 writer.print(" waiting="); writer.println(mTask.waiting); in dump()
354 writer.print(prefix); writer.print("mCancellingTask="); writer.print(mCancellingTask); in dump()
355 writer.print(" waiting="); writer.println(mCancellingTask.waiting); in dump()
358 writer.print(prefix); writer.print("mUpdateThrottle="); in dump()
359 TimeUtils.formatDuration(mUpdateThrottle, writer); in dump()
360 writer.print(" mLastLoadCompleteTime="); in dump()
362 SystemClock.uptimeMillis(), writer); in dump()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DPerformanceCollectorTest.java104 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testBeginSnapshot() local
105 mPerfCollector.setPerformanceResultsWriter(writer); in testBeginSnapshot()
108 assertEquals("testBeginSnapshot", writer.snapshotLabel); in testBeginSnapshot()
118 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testEndSnapshot() local
119 mPerfCollector.setPerformanceResultsWriter(writer); in testEndSnapshot()
123 Bundle snapshot2 = writer.snapshotResults; in testEndSnapshot()
131 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testStartTiming() local
132 mPerfCollector.setPerformanceResultsWriter(writer); in testStartTiming()
135 assertEquals("testStartTiming", writer.timingLabel); in testStartTiming()
171 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testAddMeasurementLong() local
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DFileRotatorTest.java81 rotate1.combineActive(reader, writer("foo"), currentTime); in testEmpty()
97 rotate.combineActive(reader, writer("foo"), currentTime); in testCombine()
105 rotate.combineActive(reader, writer("bar"), currentTime); in testCombine()
118 rotate.combineActive(reader, writer("foo"), currentTime); in testRotate()
125 rotate.combineActive(reader, writer("bar"), currentTime); in testRotate()
137 rotate.combineActive(reader, writer("baz"), currentTime); in testRotate()
150 rotate.combineActive(reader, writer("foo"), currentTime); in testDelete()
157 rotate.combineActive(reader, writer("bar"), currentTime); in testDelete()
180 rotate.combineActive(reader, writer("foo"), currentTime); in testThrowRestoresBackup()
242 rotate.combineActive(reader, writer(RED), currentTime); in testQueryMatch()
[all …]
/frameworks/base/core/jni/
Dandroid_backup_BackupDataOutput.cpp49 BackupDataWriter* writer = (BackupDataWriter*)w; in writeEntityHeader_native() local
55 err = writer->WriteEntityHeader(String8(keyUTF), dataSize); in writeEntityHeader_native()
66 BackupDataWriter* writer = (BackupDataWriter*)w; in writeEntityData_native() local
78 err = writer->WriteEntityData(dataBytes, size); in writeEntityData_native()
89 BackupDataWriter* writer = (BackupDataWriter*)w; in setKeyPrefix_native() local
94 writer->SetKeyPrefix(keyPrefix); in setKeyPrefix_native()
/frameworks/testing/androidtestlib/src/com/android/test/runner/
DAndroidJUnitRunner.java226 PrintStream writer = new PrintStream(byteArrayOutputStream); in onStart() local
229 testRunner.addListener(new TextListener(writer)); in onStart()
233 TestRequest testRequest = buildRequest(getArguments(), writer); in onStart()
240 writer.println(String.format( in onStart()
243 t.printStackTrace(writer); in onStart()
246 writer.close(); in onStart()
260 TestRequest buildRequest(Bundle arguments, PrintStream writer) { in buildRequest() argument
264 TestRequestBuilder builder = createTestRequestBuilder(writer, in buildRequest()
301 TestRequestBuilder createTestRequestBuilder(PrintStream writer, String... packageCodePaths) { in createTestRequestBuilder() argument
302 return new TestRequestBuilder(writer, packageCodePaths); in createTestRequestBuilder()
/frameworks/av/cmds/stagefright/
Daudioloop.cpp59 sp<AMRWriter> writer = new AMRWriter("/sdcard/out.amr"); in main() local
60 writer->addSource(encoder); in main()
61 writer->start(); in main()
63 writer->stop(); in main()
Drecordvideo.cpp292 sp<MPEG4Writer> writer = new MPEG4Writer(fileName); in main() local
293 writer->addSource(encoder); in main()
295 CHECK_EQ((status_t)OK, writer->start()); in main()
296 while (!writer->reachedEOS()) { in main()
299 err = writer->stop(); in main()
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/
DGraphReader.java44 StringWriter writer = new StringWriter(); in readGraphResource() local
49 writer.write(buffer, 0, bytesRead); in readGraphResource()
54 return readGraphString(writer.toString()); in readGraphResource()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DKeyValueMap.java68 StringWriter writer = new StringWriter(); in toString() local
77 writer.write(entry.getKey() + " = " + valueString + ";\n"); in toString()
79 return writer.toString(); in toString()

123