/frameworks/base/services/core/java/com/android/server/pm/verify/domain/ |
D | DomainVerificationDebug.java | 64 public void printState(@NonNull IndentingPrintWriter writer, @Nullable String packageName, in printState() argument 81 boolean wasHeaderPrinted = printState(writer, pkgState, pkgSetting.getPkg(), in printState() 83 printState(writer, pkgState, pkgSetting.getPkg(), userId, reusedSet, in printState() 98 printState(writer, pkgState, pkg, reusedMap, false); in printState() 99 printState(writer, pkgState, pkg, userId, reusedSet, true); in printState() 106 public void printOwners(@NonNull IndentingPrintWriter writer, @NonNull String domain, in printOwners() argument 108 writer.println(domain + ":"); in printOwners() 109 writer.increaseIndent(); in printOwners() 112 writer.println("none"); in printOwners() 113 writer.decreaseIndent(); in printOwners() [all …]
|
/frameworks/base/tools/protologtool/src/com/android/protolog/tool/ |
D | ViewerConfigBuilder.kt | 80 val writer = JsonWriter(stringWriter) in <lambda>() constant 81 writer.setIndent(" ") in <lambda>() 82 writer.beginObject() in <lambda>() 83 writer.name("version") in <lambda>() 84 writer.value(VERSION) in <lambda>() 85 writer.name("messages") in <lambda>() 86 writer.beginObject() in <lambda>() 88 writer.name(key.toString()) in <lambda>() 89 writer.beginObject() in <lambda>() 90 writer.name("message") in <lambda>() [all …]
|
/frameworks/base/tools/aapt2/format/ |
D | Archive_test.cpp | 91 std::unique_ptr<IArchiveWriter> writer = MakeDirectoryWriter(output_path); in TEST_F() local 95 ASSERT_TRUE(writer->StartEntry("test1", 0)); in TEST_F() 96 ASSERT_TRUE(writer->Write(static_cast<const void*>(data1.get()), kTestDataLength)); in TEST_F() 97 ASSERT_TRUE(writer->FinishEntry()); in TEST_F() 98 ASSERT_FALSE(writer->HadError()); in TEST_F() 100 ASSERT_TRUE(writer->StartEntry("test2", 0)); in TEST_F() 101 ASSERT_TRUE(writer->Write(static_cast<const void*>(data2.get()), kTestDataLength)); in TEST_F() 102 ASSERT_TRUE(writer->FinishEntry()); in TEST_F() 103 ASSERT_FALSE(writer->HadError()); in TEST_F() 105 writer.reset(); in TEST_F() [all …]
|
/frameworks/base/core/java/android/content/ |
D | CursorLoader.java | 239 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument 240 super.dump(prefix, fd, writer, args); in dump() 241 writer.print(prefix); writer.print("mUri="); writer.println(mUri); in dump() 242 writer.print(prefix); writer.print("mProjection="); in dump() 243 writer.println(Arrays.toString(mProjection)); in dump() 244 writer.print(prefix); writer.print("mSelection="); writer.println(mSelection); in dump() 245 writer.print(prefix); writer.print("mSelectionArgs="); in dump() 246 writer.println(Arrays.toString(mSelectionArgs)); in dump() 247 writer.print(prefix); writer.print("mSortOrder="); writer.println(mSortOrder); in dump() 248 writer.print(prefix); writer.print("mCursor="); writer.println(mCursor); in dump() [all …]
|
D | Loader.java | 552 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument 553 writer.print(prefix); writer.print("mId="); writer.print(mId); in dump() 554 writer.print(" mListener="); writer.println(mListener); in dump() 556 writer.print(prefix); writer.print("mStarted="); writer.print(mStarted); in dump() 557 writer.print(" mContentChanged="); writer.print(mContentChanged); in dump() 558 writer.print(" mProcessingChange="); writer.println(mProcessingChange); in dump() 561 writer.print(prefix); writer.print("mAbandoned="); writer.print(mAbandoned); in dump() 562 writer.print(" mReset="); writer.println(mReset); in dump()
|
D | AsyncTaskLoader.java | 368 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument 369 super.dump(prefix, fd, writer, args); in dump() 371 writer.print(prefix); writer.print("mTask="); writer.print(mTask); in dump() 372 writer.print(" waiting="); writer.println(mTask.waiting); in dump() 375 writer.print(prefix); writer.print("mCancellingTask="); writer.print(mCancellingTask); in dump() 376 writer.print(" waiting="); writer.println(mCancellingTask.waiting); in dump() 379 writer.print(prefix); writer.print("mUpdateThrottle="); in dump() 380 TimeUtils.formatDuration(mUpdateThrottle, writer); in dump() 381 writer.print(" mLastLoadCompleteTime="); in dump() 383 SystemClock.uptimeMillis(), writer); in dump() [all …]
|
/frameworks/base/core/java/android/app/ |
D | VoiceInteractor.java | 308 void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument 309 writer.print(prefix); writer.print("mRequestInterface="); in dump() 310 writer.println(mRequestInterface.asBinder()); in dump() 311 writer.print(prefix); writer.print("mActivity="); writer.println(mActivity); in dump() 312 writer.print(prefix); writer.print("mName="); writer.println(mName); in dump() 380 void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument 381 super.dump(prefix, fd, writer, args); in dump() 382 writer.print(prefix); writer.print("mPrompt="); writer.println(mPrompt); in dump() 384 writer.print(prefix); writer.print("mExtras="); writer.println(mExtras); in dump() 574 void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument [all …]
|
D | LoaderManager.java | 196 public abstract void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args); in dump() argument 520 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument 521 writer.print(prefix); writer.print("mId="); writer.print(mId); in dump() 522 writer.print(" mArgs="); writer.println(mArgs); in dump() 523 writer.print(prefix); writer.print("mCallbacks="); writer.println(mCallbacks); in dump() 524 writer.print(prefix); writer.print("mLoader="); writer.println(mLoader); in dump() 526 mLoader.dump(prefix + " ", fd, writer, args); in dump() 529 writer.print(prefix); writer.print("mHaveData="); writer.print(mHaveData); in dump() 530 writer.print(" mDeliveredData="); writer.println(mDeliveredData); in dump() 531 writer.print(prefix); writer.print("mData="); writer.println(mData); in dump() [all …]
|
D | DialogFragment.java | 569 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument 570 super.dump(prefix, fd, writer, args); in dump() 571 writer.print(prefix); writer.println("DialogFragment:"); in dump() 572 writer.print(prefix); writer.print(" mStyle="); writer.print(mStyle); in dump() 573 writer.print(" mTheme=0x"); writer.println(Integer.toHexString(mTheme)); in dump() 574 writer.print(prefix); writer.print(" mCancelable="); writer.print(mCancelable); in dump() 575 writer.print(" mShowsDialog="); writer.print(mShowsDialog); in dump() 576 writer.print(" mBackStackId="); writer.println(mBackStackId); in dump() 577 writer.print(prefix); writer.print(" mDialog="); writer.println(mDialog); in dump() 578 writer.print(prefix); writer.print(" mViewDestroyed="); writer.print(mViewDestroyed); in dump() [all …]
|
D | Fragment.java | 2377 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { 2378 writer.print(prefix); writer.print("mFragmentId=#"); 2379 writer.print(Integer.toHexString(mFragmentId)); 2380 writer.print(" mContainerId=#"); 2381 writer.print(Integer.toHexString(mContainerId)); 2382 writer.print(" mTag="); writer.println(mTag); 2383 writer.print(prefix); writer.print("mState="); writer.print(mState); 2384 writer.print(" mIndex="); writer.print(mIndex); 2385 writer.print(" mWho="); writer.print(mWho); 2386 writer.print(" mBackStackNesting="); writer.println(mBackStackNesting); [all …]
|
D | BackStackRecord.java | 248 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/libs/androidfw/tests/ |
D | BackupData_test.cpp | 76 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/base/core/jni/ |
D | android_hardware_camera2_DngCreator.cpp | 57 #define BAIL_IF_INVALID_RET_BOOL(expr, jnienv, tagId, writer) \ argument 60 "Invalid metadata for tag %s (%x)", (writer)->getTagName(tagId), (tagId)); \ 65 #define BAIL_IF_INVALID_RET_NULL_SP(expr, jnienv, tagId, writer) \ argument 68 "Invalid metadata for tag %s (%x)", (writer)->getTagName(tagId), (tagId)); \ 73 #define BAIL_IF_INVALID_R(expr, jnienv, tagId, writer) \ argument 76 "Invalid metadata for tag %s (%x)", (writer)->getTagName(tagId), (tagId)); \ 80 #define BAIL_IF_EMPTY_RET_NULL_SP(entry, jnienv, tagId, writer) \ argument 83 "Missing metadata fields for tag %s (%x)", (writer)->getTagName(tagId), (tagId)); \ 87 #define BAIL_IF_EMPTY_RET_BOOL(entry, jnienv, tagId, writer) \ argument 91 (writer)->getTagName(tagId), (tagId)); \ [all …]
|
/frameworks/minikin/tests/util/ |
D | BufferUtils.h | 27 BufferWriter writer(nullptr); in allocateBuffer() 28 t.writeTo(&writer); in allocateBuffer() 30 return std::vector<uint8_t>(writer.size(), 0xFFu); in allocateBuffer() 35 BufferWriter writer(nullptr); in allocateBuffer() 36 t.template writeTo<arg>(&writer); in allocateBuffer() 38 return std::vector<uint8_t>(writer.size(), 0xFFu); in allocateBuffer() 44 BufferWriter writer(buffer.data()); in writeToBuffer() 45 t.writeTo(&writer); in writeToBuffer() 52 BufferWriter writer(buffer.data()); in writeToBuffer() 53 t.template writeTo<arg>(&writer); in writeToBuffer()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | FrameType.java | 322 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/minikin/tests/unittest/ |
D | BufferTest.cpp | 25 void writeTo(BufferWriter* writer) const { in writeTo() 28 writer->write<uint8_t>(0xAB); in writeTo() 30 writer->write<uint16_t>(0xCDEF); in writeTo() 32 writer->write<uint8_t>(0x01); in writeTo() 35 writer->writeArray<uint32_t>(uint32Array, 2); in writeTo() 46 BufferWriter writer(buffer.data()); in TEST() local 47 testObject.writeTo(&writer); in TEST() 48 ASSERT_EQ(writer.size(), buffer.size()); in TEST() 73 BufferWriter writer(buffer.data()); in TEST() local 74 testObject.writeTo(&writer); in TEST() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/license/ |
D | LicenseHtmlGeneratorFromXml.java | 136 PrintWriter writer = null; in generateHtml() local 138 writer = new PrintWriter(outputFile); in generateHtml() 140 generateHtml(mFileNameToLibraryToContentIdMap, mContentIdToFileContentMap, writer, in generateHtml() 143 writer.flush(); in generateHtml() 144 writer.close(); in generateHtml() 149 if (writer != null) { in generateHtml() 150 writer.close(); in generateHtml() 276 Map<String, String> contentIdToFileContentMap, PrintWriter writer, in generateHtml() argument 297 writer.println(HTML_HEAD_STRING); in generateHtml() 300 writer.println(noticeHeader); in generateHtml() [all …]
|
/frameworks/base/services/core/java/com/android/server/display/whitebalance/ |
D | AmbientSensor.java | 129 public void dump(PrintWriter writer) { in dump() argument 130 writer.println(" " + mTag); in dump() 131 writer.println(" mLoggingEnabled=" + mLoggingEnabled); in dump() 132 writer.println(" mHandler=" + mHandler); in dump() 133 writer.println(" mSensorManager=" + mSensorManager); in dump() 134 writer.println(" mSensor=" + mSensor); in dump() 135 writer.println(" mEnabled=" + mEnabled); in dump() 136 writer.println(" mRate=" + mRate); in dump() 137 writer.println(" mEventsCount=" + mEventsCount); in dump() 138 writer.println(" mEventsHistory=" + mEventsHistory); in dump() [all …]
|
D | DisplayWhiteBalanceController.java | 353 public void dump(PrintWriter writer) { in dump() argument 354 writer.println("DisplayWhiteBalanceController"); in dump() 355 writer.println(" mLoggingEnabled=" + mLoggingEnabled); in dump() 356 writer.println(" mEnabled=" + mEnabled); in dump() 357 writer.println(" mStrongModeEnabled=" + mStrongModeEnabled); in dump() 358 writer.println(" mDisplayPowerControllerCallbacks=" + mDisplayPowerControllerCallbacks); in dump() 359 mBrightnessSensor.dump(writer); in dump() 360 mBrightnessFilter.dump(writer); in dump() 361 mColorTemperatureSensor.dump(writer); in dump() 362 mColorTemperatureFilter.dump(writer); in dump() [all …]
|
/frameworks/base/core/java/com/android/internal/util/dump/ |
D | DumpableContainerImpl.java | 99 private int dumpNumberDumpables(IndentingPrintWriter writer) { in dumpNumberDumpables() argument 102 writer.print("No dumpables"); in dumpNumberDumpables() 104 writer.print(size); writer.print(" dumpables"); in dumpNumberDumpables() 112 public void listDumpables(String prefix, PrintWriter writer) { in listDumpables() argument 113 IndentingPrintWriter ipw = new IndentingPrintWriter(writer, prefix, prefix); in listDumpables() 131 public void dumpAllDumpables(String prefix, PrintWriter writer, String[] args) { in dumpAllDumpables() argument 132 IndentingPrintWriter ipw = new IndentingPrintWriter(writer, prefix, prefix); in dumpAllDumpables() 148 private void indentAndDump(IndentingPrintWriter writer, Dumpable dumpable, String[] args) { in indentAndDump() argument 149 writer.increaseIndent(); in indentAndDump() 151 dumpable.dump(writer, args); in indentAndDump() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/ |
D | MetricsFeatureProvider.java | 81 for (LogWriter writer : mLoggerWriters) { in visible() 82 writer.visible(context, source, category, latency); in visible() 93 for (LogWriter writer : mLoggerWriters) { in hidden() 94 writer.hidden(context, category, visibleTime); in hidden() 105 for (LogWriter writer : mLoggerWriters) { in action() 106 writer.action(context, category, taggedData); in action() 114 for (LogWriter writer : mLoggerWriters) { in action() 115 writer.action(context, category, pkg); in action() 123 for (LogWriter writer : mLoggerWriters) { in action() 124 writer.action(attribution, action, pageId, key, value); in action() [all …]
|
/frameworks/base/core/java/android/service/voice/ |
D | VoiceInteractionSession.java | 500 void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument 501 writer.print(prefix); writer.print("mInterface="); in dump() 502 writer.println(mInterface.asBinder()); in dump() 503 writer.print(prefix); writer.print("mCallingPackage="); writer.print(mCallingPackage); in dump() 504 writer.print(" mCallingUid="); UserHandle.formatUid(writer, mCallingUid); in dump() 505 writer.println(); in dump() 506 writer.print(prefix); writer.print("mCallback="); in dump() 507 writer.println(mCallback.asBinder()); in dump() 509 writer.print(prefix); writer.print("mExtras="); in dump() 510 writer.println(mExtras); in dump() [all …]
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/results/ |
D | GlobalResultsStore.java | 292 try (FileWriter writer = new FileWriter(path, true)) { in exportToCsv() argument 293 writer.write("Run ID, " + runId + "\n"); in exportToCsv() 294 writer.write("Test, Iteration, Score, Jank Penalty, Consistency Bonus, 95th, " + in exportToCsv() 309 writer.write(testName); in exportToCsv() 310 writer.write(","); in exportToCsv() 311 writer.write("" + i); in exportToCsv() 312 writer.write(","); in exportToCsv() 313 writer.write("" + score); in exportToCsv() 314 writer.write(","); in exportToCsv() 315 writer.write("" + result.getJankPenalty()); in exportToCsv() [all …]
|
/frameworks/base/tools/aapt2/io/ |
D | Util.cpp | 30 uint32_t compression_flags, IArchiveWriter* writer) { in CopyInputStreamToArchive() argument 36 if (!writer->WriteFile(out_path, compression_flags, in)) { in CopyInputStreamToArchive() 38 << " to archive: " << writer->GetError()); in CopyInputStreamToArchive() 45 uint32_t compression_flags, IArchiveWriter* writer) { in CopyFileToArchive() argument 52 return CopyInputStreamToArchive(context, data.get(), out_path, compression_flags, writer); in CopyFileToArchive() 56 const std::string& out_path, IArchiveWriter* writer) { in CopyFileToArchivePreserveCompression() argument 58 return CopyFileToArchive(context, file, out_path, compression_flags, writer); in CopyFileToArchivePreserveCompression() 63 IArchiveWriter* writer) { in CopyProtoToArchive() argument 69 if (writer->StartEntry(out_path, compression_flags)) { in CopyProtoToArchive() 73 ::google::protobuf::io::CopyingOutputStreamAdaptor adaptor(writer); in CopyProtoToArchive() [all …]
|
/frameworks/base/core/java/android/view/ |
D | ScrollCaptureSearchResults.java | 251 void dump(IndentingPrintWriter writer) { in dump() argument 252 writer.println("results:"); in dump() 253 writer.increaseIndent(); in dump() 254 writer.println("complete: " + isComplete()); in dump() 255 writer.println("cancelled: " + mCancel.isCanceled()); in dump() 256 writer.println("targets:"); in dump() 257 writer.increaseIndent(); in dump() 259 writer.println("None"); in dump() 262 writer.println("[" + i + "]"); in dump() 263 writer.increaseIndent(); in dump() [all …]
|