/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/binary/ |
D | writer_test.js | 62 var writer = new jspb.BinaryWriter(); 66 writer.writeMessage(-1, dummyMessage, goog.nullFunction); 70 writer = new jspb.BinaryWriter(); 71 assertFails(function() {writer.writeUint64(-1, 1);}); 74 writer = new jspb.BinaryWriter(); 76 assertFails(function() {writer.writeInt32(1, -Infinity);}); 77 assertFails(function() {writer.writeInt32(1, Infinity);}); 79 assertFails(function() {writer.writeInt64(1, -Infinity);}); 80 assertFails(function() {writer.writeInt64(1, Infinity);}); 82 assertFails(function() {writer.writeUint32(1, -1);}); [all …]
|
D | reader_test.js | 57 var writer = new jspb.BinaryWriter(); 59 writer.writeMessage(1, dummyMessage, goog.nullFunction); 60 writer.writeMessage(2, dummyMessage, goog.nullFunction); 62 var buffer = writer.getResultBuffer(); 206 var writer = new jspb.BinaryWriter(); 209 writeField.call(writer, 1, filter(0)); 210 writeField.call(writer, 2, filter(epsilon)); 211 writeField.call(writer, 3, filter(upperLimit)); 215 writeField.call(writer, 4, filter(cursor)); 218 var reader = jspb.BinaryReader.alloc(writer.getResultBuffer()); [all …]
|
D | utils_test.js | 482 var writer = new jspb.BinaryWriter(); 483 writer.writePackedUint64(1, values); 485 var buffer = new Uint8Array(writer.getResultBuffer()); 498 var writer = new jspb.BinaryWriter(); 502 writer.writeUint64(1, Math.floor(i)); 505 writer.writeString(2, 'terminator'); 507 var buffer = new Uint8Array(writer.getResultBuffer()); 511 writer = new jspb.BinaryWriter(); 515 writer.writeUint64(123456789, Math.floor(i)); 518 writer.writeString(2, 'terminator'); [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/ |
D | JsonFormatter.cs | 146 var writer = new StringWriter(); in Format() 147 Format(message, writer); in Format() 148 return writer.ToString(); in Format() 157 public void Format(IMessage message, TextWriter writer) in Format() argument 160 ProtoPreconditions.CheckNotNull(writer, nameof(writer)); in Format() 164 WriteWellKnownTypeValue(writer, message.Descriptor, message); in Format() 168 WriteMessage(writer, message); in Format() 195 private void WriteMessage(TextWriter writer, IMessage message) in WriteMessage() argument 199 WriteNull(writer); in WriteMessage() 207 writer.Write(customDiagnosticMessage.ToDiagnosticString()); in WriteMessage() [all …]
|
/frameworks/base/core/java/android/content/ |
D | CursorLoader.java | 238 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument 239 super.dump(prefix, fd, writer, args); in dump() 240 writer.print(prefix); writer.print("mUri="); writer.println(mUri); in dump() 241 writer.print(prefix); writer.print("mProjection="); in dump() 242 writer.println(Arrays.toString(mProjection)); in dump() 243 writer.print(prefix); writer.print("mSelection="); writer.println(mSelection); in dump() 244 writer.print(prefix); writer.print("mSelectionArgs="); in dump() 245 writer.println(Arrays.toString(mSelectionArgs)); in dump() 246 writer.print(prefix); writer.print("mSortOrder="); writer.println(mSortOrder); in dump() 247 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 | 310 void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument 311 writer.print(prefix); writer.print("mRequestInterface="); in dump() 312 writer.println(mRequestInterface.asBinder()); in dump() 313 writer.print(prefix); writer.print("mActivity="); writer.println(mActivity); in dump() 314 writer.print(prefix); writer.print("mName="); writer.println(mName); in dump() 382 void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument 383 super.dump(prefix, fd, writer, args); in dump() 384 writer.print(prefix); writer.print("mPrompt="); writer.println(mPrompt); in dump() 386 writer.print(prefix); writer.print("mExtras="); writer.println(mExtras); in dump() 576 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 | 568 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument 569 super.dump(prefix, fd, writer, args); in dump() 570 writer.print(prefix); writer.println("DialogFragment:"); in dump() 571 writer.print(prefix); writer.print(" mStyle="); writer.print(mStyle); in dump() 572 writer.print(" mTheme=0x"); writer.println(Integer.toHexString(mTheme)); in dump() 573 writer.print(prefix); writer.print(" mCancelable="); writer.print(mCancelable); in dump() 574 writer.print(" mShowsDialog="); writer.print(mShowsDialog); in dump() 575 writer.print(" mBackStackId="); writer.println(mBackStackId); in dump() 576 writer.print(prefix); writer.print(" mDialog="); writer.println(mDialog); in dump() 577 writer.print(prefix); writer.print(" mViewDestroyed="); writer.print(mViewDestroyed); in dump() [all …]
|
D | Fragment.java | 2406 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { 2407 writer.print(prefix); writer.print("mFragmentId=#"); 2408 writer.print(Integer.toHexString(mFragmentId)); 2409 writer.print(" mContainerId=#"); 2410 writer.print(Integer.toHexString(mContainerId)); 2411 writer.print(" mTag="); writer.println(mTag); 2412 writer.print(prefix); writer.print("mState="); writer.print(mState); 2413 writer.print(" mIndex="); writer.print(mIndex); 2414 writer.print(" mWho="); writer.print(mWho); 2415 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 | 56 #define BAIL_IF_INVALID_RET_BOOL(expr, jnienv, tagId, writer) \ argument 59 "Invalid metadata for tag %s (%x)", (writer)->getTagName(tagId), (tagId)); \ 64 #define BAIL_IF_INVALID_RET_NULL_SP(expr, jnienv, tagId, writer) \ argument 67 "Invalid metadata for tag %s (%x)", (writer)->getTagName(tagId), (tagId)); \ 72 #define BAIL_IF_INVALID_R(expr, jnienv, tagId, writer) \ argument 75 "Invalid metadata for tag %s (%x)", (writer)->getTagName(tagId), (tagId)); \ 79 #define BAIL_IF_EMPTY_RET_NULL_SP(entry, jnienv, tagId, writer) \ argument 82 "Missing metadata fields for tag %s (%x)", (writer)->getTagName(tagId), (tagId)); \ 86 #define BAIL_IF_EXPR_RET_NULL_SP(expr, jnienv, tagId, writer) \ argument 89 "Invalid metadata for tag %s (%x)", (writer)->getTagName(tagId), (tagId)); \ [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/ |
D | MetricsFeatureProvider.java | 71 for (LogWriter writer : mLoggerWriters) { in visible() 72 writer.visible(context, source, category); in visible() 77 for (LogWriter writer : mLoggerWriters) { in hidden() 78 writer.hidden(context, category); in hidden() 86 for (LogWriter writer : mLoggerWriters) { in action() 87 writer.action(context, category, taggedData); in action() 95 for (LogWriter writer : mLoggerWriters) { in action() 96 writer.action(context, category, pkg); in action() 104 for (LogWriter writer : mLoggerWriters) { in action() 105 writer.action(attribution, action, pageId, key, value); in action() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/license/ |
D | LicenseHtmlGeneratorFromXml.java | 125 PrintWriter writer = null; in generateHtml() local 127 writer = new PrintWriter(outputFile); in generateHtml() 129 generateHtml(mFileNameToContentIdMap, mContentIdToFileContentMap, writer, in generateHtml() 132 writer.flush(); in generateHtml() 133 writer.close(); in generateHtml() 138 if (writer != null) { in generateHtml() 139 writer.close(); in generateHtml() 244 Map<String, String> contentIdToFileContentMap, PrintWriter writer, in generateHtml() argument 250 writer.println(HTML_HEAD_STRING); in generateHtml() 253 writer.println(noticeHeader); in generateHtml() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | FieldMaskPartial.cs | 61 var writer = new StringWriter(); in ToJson() 64 JsonFormatter.WriteString(writer, string.Join(",", query.ToArray())); in ToJson() 66 … JsonFormatter.WriteString(writer, string.Join(",", paths.Select(JsonFormatter.ToCamelCase))); in ToJson() 68 return writer.ToString(); in ToJson() 74 var writer = new StringWriter(); in ToJson() 75 writer.Write("{ \"@warning\": \"Invalid FieldMask\", \"paths\": "); in ToJson() 76 JsonFormatter.Default.WriteList(writer, (IList)paths); in ToJson() 77 writer.Write(" }"); in ToJson() 78 return writer.ToString(); in ToJson()
|
/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/base/services/core/java/com/android/server/display/whitebalance/ |
D | AmbientSensor.java | 128 public void dump(PrintWriter writer) { in dump() argument 129 writer.println(" " + mTag); in dump() 130 writer.println(" mLoggingEnabled=" + mLoggingEnabled); in dump() 131 writer.println(" mHandler=" + mHandler); in dump() 132 writer.println(" mSensorManager=" + mSensorManager); in dump() 133 writer.println(" mSensor=" + mSensor); in dump() 134 writer.println(" mEnabled=" + mEnabled); in dump() 135 writer.println(" mRate=" + mRate); in dump() 136 writer.println(" mEventsCount=" + mEventsCount); in dump() 137 writer.println(" mEventsHistory=" + mEventsHistory); in dump() [all …]
|
D | DisplayWhiteBalanceController.java | 231 public void dump(PrintWriter writer) { in dump() argument 232 writer.println("DisplayWhiteBalanceController"); in dump() 233 writer.println(" mLoggingEnabled=" + mLoggingEnabled); in dump() 234 writer.println(" mEnabled=" + mEnabled); in dump() 235 writer.println(" mCallbacks=" + mCallbacks); in dump() 236 mBrightnessSensor.dump(writer); in dump() 237 mBrightnessFilter.dump(writer); in dump() 238 mColorTemperatureSensor.dump(writer); in dump() 239 mColorTemperatureFilter.dump(writer); in dump() 240 mThrottler.dump(writer); in dump() [all …]
|
D | DisplayWhiteBalanceThrottler.java | 133 public void dump(PrintWriter writer) { in dump() argument 134 writer.println(" DisplayWhiteBalanceThrottler"); in dump() 135 writer.println(" mLoggingEnabled=" + mLoggingEnabled); in dump() 136 writer.println(" mIncreaseDebounce=" + mIncreaseDebounce); in dump() 137 writer.println(" mDecreaseDebounce=" + mDecreaseDebounce); in dump() 138 writer.println(" mLastTime=" + mLastTime); in dump() 139 writer.println(" mBaseThresholds=" + Arrays.toString(mBaseThresholds)); in dump() 140 writer.println(" mIncreaseThresholds=" + Arrays.toString(mIncreaseThresholds)); in dump() 141 writer.println(" mDecreaseThresholds=" + Arrays.toString(mDecreaseThresholds)); in dump() 142 writer.println(" mIncreaseThreshold=" + mIncreaseThreshold); in dump() [all …]
|
/frameworks/base/core/java/android/service/voice/ |
D | VoiceInteractionSession.java | 466 void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument 467 writer.print(prefix); writer.print("mInterface="); in dump() 468 writer.println(mInterface.asBinder()); in dump() 469 writer.print(prefix); writer.print("mCallingPackage="); writer.print(mCallingPackage); in dump() 470 writer.print(" mCallingUid="); UserHandle.formatUid(writer, mCallingUid); in dump() 471 writer.println(); in dump() 472 writer.print(prefix); writer.print("mCallback="); in dump() 473 writer.println(mCallback.asBinder()); in dump() 475 writer.print(prefix); writer.print("mExtras="); in dump() 476 writer.println(mExtras); in dump() [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/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/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/model/ |
D | TaskKeyStrongCache.java | 43 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()
|