Home
last modified time | relevance | path

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

123

/frameworks/support/v4/java/android/support/v4/app/
DFragment.java1226 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
1227 writer.print(prefix); writer.print("mFragmentId=#"); in dump()
1228 writer.print(Integer.toHexString(mFragmentId)); in dump()
1229 writer.print(" mContainerId#="); in dump()
1230 writer.print(Integer.toHexString(mContainerId)); in dump()
1231 writer.print(" mTag="); writer.println(mTag); in dump()
1232 writer.print(prefix); writer.print("mState="); writer.print(mState); in dump()
1233 writer.print(" mIndex="); writer.print(mIndex); in dump()
1234 writer.print(" mWho="); writer.print(mWho); in dump()
1235 writer.print(" mBackStackNesting="); writer.println(mBackStackNesting); in dump()
[all …]
DLoaderManager.java168 public abstract void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args); in dump() argument
437 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
438 writer.print(prefix); writer.print("mId="); writer.print(mId); in dump()
439 writer.print(" mArgs="); writer.println(mArgs); in dump()
440 writer.print(prefix); writer.print("mCallbacks="); writer.println(mCallbacks); in dump()
441 writer.print(prefix); writer.print("mLoader="); writer.println(mLoader); in dump()
443 mLoader.dump(prefix + " ", fd, writer, args); in dump()
446 writer.print(prefix); writer.print("mHaveData="); writer.print(mHaveData); in dump()
447 writer.print(" mDeliveredData="); writer.println(mDeliveredData); in dump()
448 writer.print(prefix); writer.print("mData="); writer.println(mData); in dump()
[all …]
DBackStackRecord.java211 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
212 writer.print(prefix); writer.print("mName="); writer.print(mName); in dump()
213 writer.print(" mIndex="); writer.print(mIndex); in dump()
214 writer.print(" mCommitted="); writer.println(mCommitted); in dump()
216 writer.print(prefix); writer.print("mTransition=#"); in dump()
217 writer.print(Integer.toHexString(mTransition)); in dump()
218 writer.print(" mTransitionStyle=#"); in dump()
219 writer.println(Integer.toHexString(mTransitionStyle)); in dump()
222 writer.print(prefix); writer.print("mEnterAnim=#"); in dump()
223 writer.print(Integer.toHexString(mEnterAnim)); in dump()
[all …]
DFragmentManager.java326 public abstract void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args); in dump() argument
563 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
570 writer.print(prefix); writer.print("Active Fragments in "); in dump()
571 writer.print(Integer.toHexString(System.identityHashCode(this))); in dump()
572 writer.println(":"); in dump()
575 writer.print(prefix); writer.print(" #"); writer.print(i); in dump()
576 writer.print(": "); writer.println(f); in dump()
578 f.dump(innerPrefix, fd, writer, args); in dump()
587 writer.print(prefix); writer.println("Added Fragments:"); in dump()
590 writer.print(prefix); writer.print(" #"); writer.print(i); in dump()
[all …]
DFragmentActivity.java580 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
585 writer.print(prefix); writer.print("Local FragmentActivity "); in dump()
586 writer.print(Integer.toHexString(System.identityHashCode(this))); in dump()
587 writer.println(" State:"); in dump()
589 writer.print(innerPrefix); writer.print("mCreated="); in dump()
590 writer.print(mCreated); writer.print("mResumed="); in dump()
591 writer.print(mResumed); writer.print(" mStopped="); in dump()
592 writer.print(mStopped); writer.print(" mReallyStopped="); in dump()
593 writer.println(mReallyStopped); in dump()
594 writer.print(innerPrefix); writer.print("mLoadersStarted="); in dump()
[all …]
/frameworks/base/core/java/android/app/
DFragment.java1427 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
1428 writer.print(prefix); writer.print("mFragmentId=#"); in dump()
1429 writer.print(Integer.toHexString(mFragmentId)); in dump()
1430 writer.print(" mContainerId#="); in dump()
1431 writer.print(Integer.toHexString(mContainerId)); in dump()
1432 writer.print(" mTag="); writer.println(mTag); in dump()
1433 writer.print(prefix); writer.print("mState="); writer.print(mState); in dump()
1434 writer.print(" mIndex="); writer.print(mIndex); in dump()
1435 writer.print(" mWho="); writer.print(mWho); in dump()
1436 writer.print(" mBackStackNesting="); writer.println(mBackStackNesting); in dump()
[all …]
DLoaderManager.java187 public abstract void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args); in dump() argument
456 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
457 writer.print(prefix); writer.print("mId="); writer.print(mId); in dump()
458 writer.print(" mArgs="); writer.println(mArgs); in dump()
459 writer.print(prefix); writer.print("mCallbacks="); writer.println(mCallbacks); in dump()
460 writer.print(prefix); writer.print("mLoader="); writer.println(mLoader); in dump()
462 mLoader.dump(prefix + " ", fd, writer, args); in dump()
465 writer.print(prefix); writer.print("mHaveData="); writer.print(mHaveData); in dump()
466 writer.print(" mDeliveredData="); writer.println(mDeliveredData); in dump()
467 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.java211 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
212 writer.print(prefix); writer.print("mName="); writer.print(mName); in dump()
213 writer.print(" mIndex="); writer.print(mIndex); in dump()
214 writer.print(" mCommitted="); writer.println(mCommitted); in dump()
216 writer.print(prefix); writer.print("mTransition=#"); in dump()
217 writer.print(Integer.toHexString(mTransition)); in dump()
218 writer.print(" mTransitionStyle=#"); in dump()
219 writer.println(Integer.toHexString(mTransitionStyle)); in dump()
222 writer.print(prefix); writer.print("mEnterAnim=#"); in dump()
223 writer.print(Integer.toHexString(mEnterAnim)); in dump()
[all …]
DFragmentManager.java321 public abstract void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args); in dump() argument
562 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
569 writer.print(prefix); writer.print("Active Fragments in "); in dump()
570 writer.print(Integer.toHexString(System.identityHashCode(this))); in dump()
571 writer.println(":"); in dump()
574 writer.print(prefix); writer.print(" #"); writer.print(i); in dump()
575 writer.print(": "); writer.println(f); in dump()
577 f.dump(innerPrefix, fd, writer, args); in dump()
586 writer.print(prefix); writer.println("Added Fragments:"); in dump()
589 writer.print(prefix); writer.print(" #"); writer.print(i); in dump()
[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.java350 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
351 writer.print(prefix); writer.print("mId="); writer.print(mId); in dump()
352 writer.print(" mListener="); writer.println(mListener); in dump()
353 writer.print(prefix); writer.print("mStarted="); writer.print(mStarted); in dump()
354 writer.print(" mContentChanged="); writer.print(mContentChanged); in dump()
355 writer.print(" mAbandoned="); writer.print(mAbandoned); in dump()
356 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.java210 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
211 super.dump(prefix, fd, writer, args); in dump()
212 writer.print(prefix); writer.print("mUri="); writer.println(mUri); in dump()
213 writer.print(prefix); writer.print("mProjection="); in dump()
214 writer.println(Arrays.toString(mProjection)); in dump()
215 writer.print(prefix); writer.print("mSelection="); writer.println(mSelection); in dump()
216 writer.print(prefix); writer.print("mSelectionArgs="); in dump()
217 writer.println(Arrays.toString(mSelectionArgs)); in dump()
218 writer.print(prefix); writer.print("mSortOrder="); writer.println(mSortOrder); in dump()
219 writer.print(prefix); writer.print("mCursor="); writer.println(mCursor); in dump()
[all …]
DLoader.java372 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
373 writer.print(prefix); writer.print("mId="); writer.print(mId); in dump()
374 writer.print(" mListener="); writer.println(mListener); in dump()
375 writer.print(prefix); writer.print("mStarted="); writer.print(mStarted); in dump()
376 writer.print(" mContentChanged="); writer.print(mContentChanged); in dump()
377 writer.print(" mAbandoned="); writer.print(mAbandoned); in dump()
378 writer.print(" mReset="); writer.println(mReset); in dump()
DAsyncTaskLoader.java280 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
281 super.dump(prefix, fd, writer, args); in dump()
283 writer.print(prefix); writer.print("mTask="); writer.print(mTask); in dump()
284 writer.print(" waiting="); writer.println(mTask.waiting); in dump()
287 writer.print(prefix); writer.print("mCancellingTask="); writer.print(mCancellingTask); in dump()
288 writer.print(" waiting="); writer.println(mCancellingTask.waiting); in dump()
291 writer.print(prefix); writer.print("mUpdateThrottle="); in dump()
292 TimeUtils.formatDuration(mUpdateThrottle, writer); in dump()
293 writer.print(" mLastLoadCompleteTime="); in dump()
295 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/jni/
Dandroid_backup_BackupDataOutput.cpp49 BackupDataWriter* writer = (BackupDataWriter*)w; in writeEntityHeader_native() local
56 err = writer->WriteEntityHeader(String8(keyUTF), dataSize); in writeEntityHeader_native()
67 BackupDataWriter* writer = (BackupDataWriter*)w; in writeEntityData_native() local
79 err = writer->WriteEntityData(dataBytes, size); in writeEntityData_native()
90 BackupDataWriter* writer = (BackupDataWriter*)w; in setKeyPrefix_native() local
95 writer->SetKeyPrefix(keyPrefix); in setKeyPrefix_native()
Dandroid_app_backup_FullBackup.cpp95 BackupDataWriter* writer = (BackupDataWriter*) env->GetIntField(dataOutputObj, in backupToTar() local
99 if (!writer) { in backupToTar()
110 return write_tarfile(packageName, domain, rootpath, path, writer); in backupToTar()
/frameworks/base/cmds/stagefright/
Daudioloop.cpp61 sp<AMRWriter> writer = new AMRWriter("/sdcard/out.amr"); in main() local
62 writer->addSource(encoder); in main()
63 writer->start(); in main()
65 writer->stop(); in main()
Drecordvideo.cpp283 sp<MPEG4Writer> writer = new MPEG4Writer(fileName); in main() local
284 writer->addSource(encoder); in main()
286 CHECK_EQ(OK, writer->start()); in main()
287 while (!writer->reachedEOS()) { in main()
289 err = writer->stop(); in main()
Drecord.cpp231 sp<MPEG4Writer> writer = new MPEG4Writer("/sdcard/output.mp4"); in main() local
232 writer->addSource(encoder); in main()
233 writer->setMaxFileDuration(kDurationUs); in main()
234 CHECK_EQ(OK, writer->start()); in main()
235 while (!writer->reachedEOS()) { in main()
239 err = writer->stop(); in main()
/frameworks/support/v4/honeycomb/android/support/v4/app/
DActivityCompatHoneycomb.java33 PrintWriter writer, String[] args) { in dump() argument
34 activity.dump(prefix, fd, writer, args); in dump()
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseErrorHandlerTest.java69 BufferedWriter writer = new BufferedWriter(new FileWriter(mDatabaseFile.getPath())); in testDatabaseIsCorrupt() local
70 writer.write("blah"); in testDatabaseIsCorrupt()
71 writer.close(); in testDatabaseIsCorrupt()
/frameworks/base/media/libstagefright/tests/
DSurfaceMediaSource_test.cpp661 SimpleDummyRecorder writer(mSMS); in TEST_F() local
662 writer.start(); in TEST_F()
668 ASSERT_EQ(NO_ERROR, writer.readFromSource()); in TEST_F()
672 writer.stop(); in TEST_F()
684 SimpleDummyRecorder writer(mSMS); in TEST_F() local
685 writer.start(); in TEST_F()
693 ASSERT_EQ(NO_ERROR, writer.readFromSource()); in TEST_F()
697 writer.stop(); in TEST_F()
708 DummyRecorder writer(mSMS); in TEST_F() local
709 writer.start(); in TEST_F()
[all …]

123