Home
last modified time | relevance | path

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

12345678910

/frameworks/base/core/java/android/app/
DVoiceInteractor.java291 void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
292 writer.print(prefix); writer.print("mRequestInterface="); in dump()
293 writer.println(mRequestInterface.asBinder()); in dump()
294 writer.print(prefix); writer.print("mActivity="); writer.println(mActivity); in dump()
295 writer.print(prefix); writer.print("mName="); writer.println(mName); in dump()
363 void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
364 super.dump(prefix, fd, writer, args); in dump()
365 writer.print(prefix); writer.print("mPrompt="); writer.println(mPrompt); in dump()
367 writer.print(prefix); writer.print("mExtras="); writer.println(mExtras); in dump()
557 void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
[all …]
DLoaderManager.java188 public abstract void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args); in dump() argument
512 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(" mArgs="); writer.println(mArgs); in dump()
515 writer.print(prefix); writer.print("mCallbacks="); writer.println(mCallbacks); in dump()
516 writer.print(prefix); writer.print("mLoader="); writer.println(mLoader); in dump()
518 mLoader.dump(prefix + " ", fd, writer, args); in dump()
521 writer.print(prefix); writer.print("mHaveData="); writer.print(mHaveData); in dump()
522 writer.print(" mDeliveredData="); writer.println(mDeliveredData); in dump()
523 writer.print(prefix); writer.print("mData="); writer.println(mData); in dump()
[all …]
DDialogFragment.java557 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
558 super.dump(prefix, fd, writer, args); in dump()
559 writer.print(prefix); writer.println("DialogFragment:"); in dump()
560 writer.print(prefix); writer.print(" mStyle="); writer.print(mStyle); in dump()
561 writer.print(" mTheme=0x"); writer.println(Integer.toHexString(mTheme)); in dump()
562 writer.print(prefix); writer.print(" mCancelable="); writer.print(mCancelable); in dump()
563 writer.print(" mShowsDialog="); writer.print(mShowsDialog); in dump()
564 writer.print(" mBackStackId="); writer.println(mBackStackId); in dump()
565 writer.print(prefix); writer.print(" mDialog="); writer.println(mDialog); in dump()
566 writer.print(prefix); writer.print(" mViewDestroyed="); writer.print(mViewDestroyed); in dump()
[all …]
DFragment.java2484 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) {
2485 writer.print(prefix); writer.print("mFragmentId=#");
2486 writer.print(Integer.toHexString(mFragmentId));
2487 writer.print(" mContainerId=#");
2488 writer.print(Integer.toHexString(mContainerId));
2489 writer.print(" mTag="); writer.println(mTag);
2490 writer.print(prefix); writer.print("mState="); writer.print(mState);
2491 writer.print(" mIndex="); writer.print(mIndex);
2492 writer.print(" mWho="); writer.print(mWho);
2493 writer.print(" mBackStackNesting="); writer.println(mBackStackNesting);
[all …]
DBackStackRecord.java248 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
249 dump(prefix, writer, true); in dump()
252 void dump(String prefix, PrintWriter writer, boolean full) { in dump() argument
254 writer.print(prefix); in dump()
255 writer.print("mName="); in dump()
256 writer.print(mName); in dump()
257 writer.print(" mIndex="); in dump()
258 writer.print(mIndex); in dump()
259 writer.print(" mCommitted="); in dump()
260 writer.println(mCommitted); in dump()
[all …]
/frameworks/base/core/java/android/content/
DCursorLoader.java231 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
232 super.dump(prefix, fd, writer, args); in dump()
233 writer.print(prefix); writer.print("mUri="); writer.println(mUri); in dump()
234 writer.print(prefix); writer.print("mProjection="); in dump()
235 writer.println(Arrays.toString(mProjection)); in dump()
236 writer.print(prefix); writer.print("mSelection="); writer.println(mSelection); in dump()
237 writer.print(prefix); writer.print("mSelectionArgs="); in dump()
238 writer.println(Arrays.toString(mSelectionArgs)); in dump()
239 writer.print(prefix); writer.print("mSortOrder="); writer.println(mSortOrder); in dump()
240 writer.print(prefix); writer.print("mCursor="); writer.println(mCursor); in dump()
[all …]
DLoader.java539 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
540 writer.print(prefix); writer.print("mId="); writer.print(mId); in dump()
541 writer.print(" mListener="); writer.println(mListener); in dump()
543 writer.print(prefix); writer.print("mStarted="); writer.print(mStarted); in dump()
544 writer.print(" mContentChanged="); writer.print(mContentChanged); in dump()
545 writer.print(" mProcessingChange="); writer.println(mProcessingChange); in dump()
548 writer.print(prefix); writer.print("mAbandoned="); writer.print(mAbandoned); in dump()
549 writer.print(" mReset="); writer.println(mReset); in dump()
DAsyncTaskLoader.java361 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
362 super.dump(prefix, fd, writer, args); in dump()
364 writer.print(prefix); writer.print("mTask="); writer.print(mTask); in dump()
365 writer.print(" waiting="); writer.println(mTask.waiting); in dump()
368 writer.print(prefix); writer.print("mCancellingTask="); writer.print(mCancellingTask); in dump()
369 writer.print(" waiting="); writer.println(mCancellingTask.waiting); in dump()
372 writer.print(prefix); writer.print("mUpdateThrottle="); in dump()
373 TimeUtils.formatDuration(mUpdateThrottle, writer); in dump()
374 writer.print(" mLastLoadCompleteTime="); in dump()
376 SystemClock.uptimeMillis(), writer); in dump()
[all …]
/frameworks/support/core-utils/java/android/support/v4/content/
DCursorLoader.java227 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
228 super.dump(prefix, fd, writer, args); in dump()
229 writer.print(prefix); writer.print("mUri="); writer.println(mUri); in dump()
230 writer.print(prefix); writer.print("mProjection="); in dump()
231 writer.println(Arrays.toString(mProjection)); in dump()
232 writer.print(prefix); writer.print("mSelection="); writer.println(mSelection); in dump()
233 writer.print(prefix); writer.print("mSelectionArgs="); in dump()
234 writer.println(Arrays.toString(mSelectionArgs)); in dump()
235 writer.print(prefix); writer.print("mSortOrder="); writer.println(mSortOrder); in dump()
236 writer.print(prefix); writer.print("mCursor="); writer.println(mCursor); in dump()
[all …]
DLoader.java521 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
522 writer.print(prefix); writer.print("mId="); writer.print(mId); in dump()
523 writer.print(" mListener="); writer.println(mListener); in dump()
525 writer.print(prefix); writer.print("mStarted="); writer.print(mStarted); in dump()
526 writer.print(" mContentChanged="); writer.print(mContentChanged); in dump()
527 writer.print(" mProcessingChange="); writer.println(mProcessingChange); in dump()
530 writer.print(prefix); writer.print("mAbandoned="); writer.print(mAbandoned); in dump()
531 writer.print(" mReset="); writer.println(mReset); in dump()
DAsyncTaskLoader.java349 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
350 super.dump(prefix, fd, writer, args); in dump()
352 writer.print(prefix); writer.print("mTask="); writer.print(mTask); in dump()
353 writer.print(" waiting="); writer.println(mTask.waiting); in dump()
356 writer.print(prefix); writer.print("mCancellingTask="); writer.print(mCancellingTask); in dump()
357 writer.print(" waiting="); writer.println(mCancellingTask.waiting); in dump()
360 writer.print(prefix); writer.print("mUpdateThrottle="); in dump()
361 TimeUtils.formatDuration(mUpdateThrottle, writer); in dump()
362 writer.print(" mLastLoadCompleteTime="); in dump()
364 SystemClock.uptimeMillis(), writer); in dump()
[all …]
/frameworks/base/core/jni/
Dandroid_hardware_camera2_DngCreator.cpp54 #define BAIL_IF_INVALID_RET_BOOL(expr, jnienv, tagId, writer) \ argument
57 "Invalid metadata for tag %s (%x)", (writer)->getTagName(tagId), (tagId)); \
62 #define BAIL_IF_INVALID_RET_NULL_SP(expr, jnienv, tagId, writer) \ argument
65 "Invalid metadata for tag %s (%x)", (writer)->getTagName(tagId), (tagId)); \
70 #define BAIL_IF_INVALID_R(expr, jnienv, tagId, writer) \ argument
73 "Invalid metadata for tag %s (%x)", (writer)->getTagName(tagId), (tagId)); \
77 #define BAIL_IF_EMPTY_RET_NULL_SP(entry, jnienv, tagId, writer) \ argument
80 "Missing metadata fields for tag %s (%x)", (writer)->getTagName(tagId), (tagId)); \
84 #define BAIL_IF_EXPR_RET_NULL_SP(expr, jnienv, tagId, writer) \ argument
87 "Invalid metadata for tag %s (%x)", (writer)->getTagName(tagId), (tagId)); \
[all …]
/frameworks/base/libs/androidfw/tests/
DBackupData_test.cpp76 BackupDataWriter* writer = new BackupDataWriter(fd); in TEST_F() local
78 EXPECT_EQ(NO_ERROR, writer->WriteEntityHeader(mKey1, sizeof(DATA1))) in TEST_F()
80 EXPECT_EQ(NO_ERROR, writer->WriteEntityData(DATA1, sizeof(DATA1))) in TEST_F()
112 delete writer; in TEST_F()
118 BackupDataWriter* writer = new BackupDataWriter(fd); in TEST_F() local
119 writer->WriteEntityHeader(mKey1, sizeof(DATA1)); in TEST_F()
120 writer->WriteEntityData(DATA1, sizeof(DATA1)); in TEST_F()
121 writer->WriteEntityHeader(mKey2, sizeof(DATA2)); in TEST_F()
122 writer->WriteEntityData(DATA2, sizeof(DATA2)); in TEST_F()
160 delete writer; in TEST_F()
[all …]
/frameworks/support/fragment/java/android/support/v4/app/
DLoaderManager.java169 public abstract void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args); in dump() argument
499 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
500 writer.print(prefix); writer.print("mId="); writer.print(mId); in dump()
501 writer.print(" mArgs="); writer.println(mArgs); in dump()
502 writer.print(prefix); writer.print("mCallbacks="); writer.println(mCallbacks); in dump()
503 writer.print(prefix); writer.print("mLoader="); writer.println(mLoader); in dump()
505 mLoader.dump(prefix + " ", fd, writer, args); in dump()
508 writer.print(prefix); writer.print("mHaveData="); writer.print(mHaveData); in dump()
509 writer.print(" mDeliveredData="); writer.println(mDeliveredData); in dump()
510 writer.print(prefix); writer.print("mData="); writer.println(mData); in dump()
[all …]
DFragment.java2202 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) {
2203 writer.print(prefix); writer.print("mFragmentId=#");
2204 writer.print(Integer.toHexString(mFragmentId));
2205 writer.print(" mContainerId=#");
2206 writer.print(Integer.toHexString(mContainerId));
2207 writer.print(" mTag="); writer.println(mTag);
2208 writer.print(prefix); writer.print("mState="); writer.print(mState);
2209 writer.print(" mIndex="); writer.print(mIndex);
2210 writer.print(" mWho="); writer.print(mWho);
2211 writer.print(" mBackStackNesting="); writer.println(mBackStackNesting);
[all …]
DBackStackRecord.java250 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
251 dump(prefix, writer, true); in dump()
254 public void dump(String prefix, PrintWriter writer, boolean full) { in dump() argument
256 writer.print(prefix); writer.print("mName="); writer.print(mName); in dump()
257 writer.print(" mIndex="); writer.print(mIndex); in dump()
258 writer.print(" mCommitted="); writer.println(mCommitted); in dump()
260 writer.print(prefix); writer.print("mTransition=#"); in dump()
261 writer.print(Integer.toHexString(mTransition)); in dump()
262 writer.print(" mTransitionStyle=#"); in dump()
263 writer.println(Integer.toHexString(mTransitionStyle)); in dump()
[all …]
/frameworks/base/core/java/android/os/
DZygoteProcess.java79 final BufferedWriter writer; field in ZygoteProcess.ZygoteState
85 BufferedWriter writer, List<String> abiList) { in ZygoteState() argument
88 this.writer = writer; in ZygoteState()
227 private static String getAbiList(BufferedWriter writer, DataInputStream inputStream) in getAbiList() argument
230 writer.write("1"); in getAbiList()
232 writer.newLine(); in getAbiList()
234 writer.write("--query-abi-list"); in getAbiList()
235 writer.newLine(); in getAbiList()
236 writer.flush(); in getAbiList()
277 final BufferedWriter writer = zygoteState.writer; in zygoteSendArgsAndGetResult() local
[all …]
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionSession.java414 void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
415 writer.print(prefix); writer.print("mInterface="); in dump()
416 writer.println(mInterface.asBinder()); in dump()
417 writer.print(prefix); writer.print("mCallingPackage="); writer.print(mCallingPackage); in dump()
418 writer.print(" mCallingUid="); UserHandle.formatUid(writer, mCallingUid); in dump()
419 writer.println(); in dump()
420 writer.print(prefix); writer.print("mCallback="); in dump()
421 writer.println(mCallback.asBinder()); in dump()
423 writer.print(prefix); writer.print("mExtras="); in dump()
424 writer.println(mExtras); in dump()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFrameType.java322 static FrameType tryMerge(FrameType writer, FrameType reader) { in tryMerge() argument
323 if (writer.mElementId == ELEMENT_DONTCARE) { in tryMerge()
326 return writer; in tryMerge()
327 } else if (writer.mElementId == ELEMENT_OBJECT && reader.mElementId == ELEMENT_OBJECT) { in tryMerge()
328 return tryMergeObjectTypes(writer, reader); in tryMerge()
329 } else if (writer.mDimensions > 0 && writer.mElementId == reader.mElementId) { in tryMerge()
330 return tryMergeBuffers(writer, reader); in tryMerge()
336 static FrameType tryMergeObjectTypes(FrameType writer, FrameType reader) { in tryMergeObjectTypes() argument
337 int dimensions = Math.max(writer.mDimensions, reader.mDimensions); in tryMergeObjectTypes()
338 Class<?> mergedClass = mergeClasses(writer.mClass, reader.mClass); in tryMergeObjectTypes()
[all …]
/frameworks/base/tools/aapt2/io/
DUtil.cpp25 uint32_t compression_flags, IArchiveWriter* writer) { in CopyInputStreamToArchive() argument
30 if (!writer->WriteFile(out_path, compression_flags, in)) { in CopyInputStreamToArchive()
32 << " to archive: " << writer->GetError()); in CopyInputStreamToArchive()
39 uint32_t compression_flags, IArchiveWriter* writer) { in CopyFileToArchive() argument
45 return CopyInputStreamToArchive(context, data.get(), out_path, compression_flags, writer); in CopyFileToArchive()
50 IArchiveWriter* writer) { in CopyProtoToArchive() argument
55 if (writer->StartEntry(out_path, compression_flags)) { in CopyProtoToArchive()
59 ::google::protobuf::io::CopyingOutputStreamAdaptor adaptor(writer); in CopyProtoToArchive()
67 if (writer->FinishEntry()) { in CopyProtoToArchive()
72 << " to archive: " << writer->GetError()); in CopyProtoToArchive()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
DTaskKeyStrongCache.java43 public void dump(String prefix, PrintWriter writer) { in dump() argument
45 writer.print(prefix); writer.print(TAG); in dump()
46 writer.print(" numEntries="); writer.print(mKeys.size()); in dump()
47 writer.println(); in dump()
50 writer.print(innerPrefix); writer.println(mKeys.get(mKeys.keyAt(i))); in dump()
DTaskKeyLruCache.java63 public void dump(String prefix, PrintWriter writer) { in dump() argument
66 writer.print(prefix); writer.print(TAG); in dump()
67 writer.print(" numEntries="); writer.print(mKeys.size()); in dump()
68 writer.println(); in dump()
71 writer.print(innerPrefix); writer.println(mKeys.get(mKeys.keyAt(i))); in dump()
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dargument_encoder.h28 explicit ArgumentEncoder(MessageWriter* writer) : writer_{writer} {} in ArgumentEncoder() argument
46 explicit ArgumentEncoder(MessageWriter* writer) : writer_{writer} {} in ArgumentEncoder() argument
66 Return (*)(Args...), MessageWriter* writer) { in MakeArgumentEncoder() argument
67 return ArgumentEncoder<Return(Args...)>(writer); in MakeArgumentEncoder()
74 Return (Class::*)(Args...), MessageWriter* writer) { in MakeArgumentEncoder() argument
75 return ArgumentEncoder<Return(Args...)>(writer); in MakeArgumentEncoder()
82 Return (Class::*)(Args...) const, MessageWriter* writer) { in MakeArgumentEncoder() argument
83 return ArgumentEncoder<Return(Args...)>(writer); in MakeArgumentEncoder()
89 inline ArgumentEncoder<Signature> MakeArgumentEncoder(MessageWriter* writer) { in MakeArgumentEncoder() argument
90 return ArgumentEncoder<Signature>(writer); in MakeArgumentEncoder()
/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/data-binding/compiler/src/main/java/android/databinding/tool/writer/
DAnnotationJavaFileWriter.java16 package android.databinding.tool.writer;
37 Writer writer = null; in writeToFile() local
42 writer = javaFileObject.openWriter(); in writeToFile()
43 writer.write(contents); in writeToFile()
47 if (writer != null) { in writeToFile()
48 IOUtils.closeQuietly(writer); in writeToFile()

12345678910