Searched refs:dateTime (Results 1 – 10 of 10) sorted by relevance
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | TimestampPartial.cs | 146 public static Timestamp FromDateTime(DateTime dateTime) in FromDateTime() argument 148 if (dateTime.Kind != DateTimeKind.Utc) in FromDateTime() 153 long secondsSinceBclEpoch = dateTime.Ticks / TimeSpan.TicksPerSecond; in FromDateTime() 154 … int nanoseconds = (int) (dateTime.Ticks % TimeSpan.TicksPerSecond) * Duration.NanosecondsPerTick; in FromDateTime() 204 DateTime dateTime = UnixEpoch.AddSeconds(seconds); in ToJson() 207 … builder.Append(dateTime.ToString("yyyy'-'MM'-'dd'T'HH:mm:ss", CultureInfo.InvariantCulture)); in ToJson()
|
D | TimeExtensions.cs | 48 public static Timestamp ToTimestamp(this DateTime dateTime) in ToTimestamp() argument 50 return Timestamp.FromDateTime(dateTime); in ToTimestamp()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/WellKnownTypes/ |
D | TimestampTest.cs | 87 private static void AssertRoundtrip(Timestamp timestamp, DateTime dateTime) in AssertRoundtrip() argument 89 Assert.AreEqual(timestamp, Timestamp.FromDateTime(dateTime)); in AssertRoundtrip() 90 Assert.AreEqual(dateTime, timestamp.ToDateTime()); in AssertRoundtrip()
|
/frameworks/av/media/mtp/ |
D | MtpUtils.cpp | 56 bool parseDateTime(const char* dateTime, time_t& outSeconds) { in parseDateTime() argument 58 if (sscanf(dateTime, "%04d%02d%02dT%02d%02d%02d", in parseDateTime() 63 const char* tail = dateTime + 15; in parseDateTime()
|
D | MtpUtils.h | 30 bool parseDateTime(const char* dateTime, time_t& outSeconds);
|
/frameworks/base/media/java/android/mtp/ |
D | MtpPropertyGroup.java | 236 String dateTime = Integer.toString(year) + "0101T000000"; in getPropertyList() local 237 list.append(id, property.code, dateTime); in getPropertyList()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/ |
D | JsonParser.cs | 794 var dateTime = match.Groups["datetime"].Value; in MergeTimestamp() 801 dateTime, in MergeTimestamp()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | CameraTestUtils.java | 2072 String dateTime = exif.getAttribute(ExifInterface.TAG_DATETIME); in verifyJpegExifExtraTags() local 2073 if (collector.expectTrue("Exif TAG_DATETIME shouldn't be null", dateTime != null)) { in verifyJpegExifExtraTags() 2075 dateTime.length() == EXIF_DATETIME_LENGTH); in verifyJpegExifExtraTags() 2077 new SimpleDateFormat("yyyy:MM:dd HH:mm:ss").parse(dateTime).getTime() / 1000; in verifyJpegExifExtraTags() 2083 dateTime.startsWith(localDatetime)); in verifyJpegExifExtraTags()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UserUsageStatsService.java | 706 static String formatDateTime(long dateTime, boolean pretty) { in formatDateTime() argument 708 return "\"" + sDateFormat.format(dateTime)+ "\""; in formatDateTime() 710 return Long.toString(dateTime); in formatDateTime()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 114282 Ljava/time/OffsetDateTime;->dateTime:Ljava/time/LocalDateTime; 114465 Ljava/time/ZonedDateTime;->dateTime:Ljava/time/LocalDateTime;
|