/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/ |
D | JsonFormatterTest.cs | 55 … var formatter = new JsonFormatter(new JsonFormatter.Settings(formatDefaultValues: false)); in DefaultValues_WhenOmitted() 57 AssertJson("{ }", formatter.Format(new ForeignMessage())); in DefaultValues_WhenOmitted() 58 AssertJson("{ }", formatter.Format(new TestAllTypes())); in DefaultValues_WhenOmitted() 59 AssertJson("{ }", formatter.Format(new TestMap())); in DefaultValues_WhenOmitted() 65 … var formatter = new JsonFormatter(new JsonFormatter.Settings(formatDefaultValues: true)); in DefaultValues_WhenIncluded() 66 AssertJson("{ 'c': 0 }", formatter.Format(new ForeignMessage())); in DefaultValues_WhenIncluded() 251 var formatter = new JsonFormatter(new JsonFormatter.Settings(false)); in Oneof() 252 AssertJson(expectedJson, formatter.Format(message)); in Oneof() 253 formatter = new JsonFormatter(new JsonFormatter.Settings(true)); in Oneof() 254 AssertJson(expectedJson, formatter.Format(message)); in Oneof() [all …]
|
D | JsonParserTest.cs | 806 …var formatter = new JsonFormatter(new JsonFormatter.Settings(false, TypeRegistry.FromMessages(Test… in Any_RegularMessage() 809 var json = formatter.Format(original); // This is tested in JsonFormatterTest in Any_RegularMessage() 845 var formatter = new JsonFormatter(new JsonFormatter.Settings(false, registry)); in Any_WellKnownType() 848 var json = formatter.Format(original); // This is tested in JsonFormatterTest in Any_WellKnownType() 859 var formatter = new JsonFormatter(new JsonFormatter.Settings(false, registry)); in Any_Nested() 864 var json = formatter.Format(message); in Any_Nested()
|
/frameworks/base/core/java/android/text/format/ |
D | DateUtils.java | 399 final MeasureFormat formatter = MeasureFormat.getInstance(Locale.getDefault(), width); in formatDuration() local 402 return formatter.format(new Measure(hours, MeasureUnit.HOUR)); in formatDuration() 405 return formatter.format(new Measure(minutes, MeasureUnit.MINUTE)); in formatDuration() 408 return formatter.format(new Measure(seconds, MeasureUnit.SECOND)); in formatDuration() 561 public static Formatter formatDateRange(Context context, Formatter formatter, long startMillis, in formatDateRange() argument 563 return formatDateRange(context, formatter, startMillis, endMillis, flags, null); in formatDateRange() 729 public static Formatter formatDateRange(Context context, Formatter formatter, long startMillis, in formatDateRange() argument 740 formatter.out().append(range); in formatDateRange() 744 return formatter; in formatDateRange()
|
D | Time.java | 1098 TimeFormatter formatter = new TimeFormatter(); in format() local 1099 return formatter.format(format, wallTime, zoneInfo); in format()
|
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/ |
D | EventsCommand.java | 59 SimpleDateFormat formatter = new SimpleDateFormat("MM-dd HH:mm:ss.SSS"); in run() 61 formatter.format(new Date()), event.toString())); in run()
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
D | TrackerDataHelper.java | 59 public TrackerDataHelper(Context context, IFormatter formatter) { in TrackerDataHelper() argument 61 mFormatter = formatter; in TrackerDataHelper()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Conformance/ |
D | Program.cs | 113 … var formatter = new JsonFormatter(new JsonFormatter.Settings(false, typeRegistry)); in PerformRequest() 114 return new ConformanceResponse { JsonPayload = formatter.Format(message) }; in PerformRequest()
|
/frameworks/base/core/java/android/text/style/ |
D | TtsSpan.java | 840 NumberFormat formatter = NumberFormat.getInstance(Locale.US); in setArgumentsFromDouble() local 841 formatter.setMinimumFractionDigits(maximumFractionDigits); in setArgumentsFromDouble() 842 formatter.setMaximumFractionDigits(maximumFractionDigits); in setArgumentsFromDouble() 843 formatter.setGroupingUsed(false); in setArgumentsFromDouble() 844 String str = formatter.format(number); in setArgumentsFromDouble()
|
/frameworks/base/core/java/android/app/admin/ |
D | FreezePeriod.java | 178 DateTimeFormatter formatter = DateTimeFormatter.ofPattern("MMM dd"); in toString() local 179 return LocalDate.ofYearDay(DUMMY_YEAR, mStartDay).format(formatter) + " - " in toString() 180 + LocalDate.ofYearDay(DUMMY_YEAR, mEndDay).format(formatter); in toString()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
D | StringUtil.java | 146 final RelativeDateTimeFormatter formatter = RelativeDateTimeFormatter.getInstance( in formatRelativeTime() local 152 return formatter.format(value, RelativeDateTimeFormatter.Direction.LAST, unit); in formatRelativeTime()
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | MainActivity.java | 224 DecimalFormat formatter = new DecimalFormat("#,###"); in onPostExecute() local 232 buffer.append(tag + ":" + formatter.format(t1) + ":" + in onPostExecute() 233 formatter.format(t2) + ":" + in onPostExecute()
|
/frameworks/base/tests/backup/src/com/android/backuptest/ |
D | BackupTestActivity.java | 82 DateFormat formatter = DateFormat.getDateTimeInstance(); 83 output.println(formatter.format(new Date()));
|
/frameworks/base/core/java/com/android/internal/os/ |
D | LoggingPrintStream.java | 185 private final Formatter formatter = new Formatter(builder, null); field in LoggingPrintStream 194 formatter.format(l, format, args); in format()
|
/frameworks/base/tests/DynamicCodeLoggerIntegrationTests/src/com/android/server/pm/dex/ |
D | DynamicCodeLoggerIntegrationTests.java | 406 Formatter formatter = new Formatter(); in toHexString() local 408 formatter.format("%02X", b); in toHexString() 411 return formatter.toString(); in toHexString()
|
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/ |
D | NetworkActivity.java | 223 DateFormat formatter = new SimpleDateFormat("MMM dd h:mmaa"); in loadXmlFromNetwork() local 232 formatter.format(rightNow.getTime()) + "</em>"); in loadXmlFromNetwork()
|
/frameworks/rs/tests/lldb/tests/ |
D | run_test.py | 275 for name, formatter in ( 289 parser.add_argument(name, type=formatter)
|
/frameworks/opt/setupwizard/library/gingerbread/test/instrumentation/src/com/android/setupwizardlib/util/ |
D | LinkAccessibilityHelperTest.java | 229 BidiFormatter formatter = BidiFormatter.getInstance(false /* rtlContext */); in testBidiMultilineLink() local 231 ssb.append("hello ").append(formatter.unicodeWrap(iwLoremIpsum)).append(" world"); in testBidiMultilineLink()
|
/frameworks/base/core/java/android/widget/ |
D | SimpleMonthView.java | 188 final SimpleDateFormat formatter = new SimpleDateFormat(format, mLocale); in updateMonthYearLabel() local 189 formatter.setContext(DisplayContext.CAPITALIZATION_FOR_STANDALONE); in updateMonthYearLabel() 190 mMonthYearLabel = formatter.format(mCalendar.getTime()); in updateMonthYearLabel()
|
D | NumberPicker.java | 1247 public void setFormatter(Formatter formatter) { in setFormatter() argument 1248 if (formatter == mFormatter) { in setFormatter() 1251 mFormatter = formatter; in setFormatter()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerServiceUtils.java | 365 SimpleDateFormat formatter = new SimpleDateFormat(); in logCriticalInfo() local 366 String dateString = formatter.format(new Date(System.currentTimeMillis())); in logCriticalInfo()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 30105 Landroid/icu/text/DecimalFormat;->formatter:Landroid/icu/number/LocalizedNumberFormatter; 30818 Landroid/icu/text/MessageFormat$PluralSelectorContext;->formatter:Ljava/text/Format; 31022 Landroid/icu/text/NFRule;->formatter:Landroid/icu/text/RuleBasedNumberFormat; 109945 Ljava/io/Console;->formatter:Ljava/util/Formatter; 110459 Ljava/io/PrintStream;->formatter:Ljava/util/Formatter; 110471 Ljava/io/PrintWriter;->formatter:Ljava/util/Formatter; 113882 Ljava/time/format/DateTimeFormatter$ClassicFormat;->formatter:Ljava/time/format/DateTimeFormatter; 113954 Ljava/time/format/DateTimeFormatterBuilder$LocalizedPrinterParser;->formatter(Ljava/util/Locale;Lja… 114118 Ljava/time/format/DateTimeParseContext;->formatter:Ljava/time/format/DateTimeFormatter; 114143 Ljava/time/format/DateTimePrintContext;->formatter:Ljava/time/format/DateTimeFormatter; [all …]
|