Home
last modified time | relevance | path

Searched defs:seconds (Results 1 – 25 of 54) sorted by relevance

123

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/main/java/com/google/protobuf/util/
DDurations.java76 public static boolean isValid(long seconds, long nanos) { in isValid()
95 private static void checkValid(long seconds, int nanos) { in checkValid()
117 long seconds = duration.getSeconds(); in toString() local
159 long seconds = Long.parseLong(secondValue); in parse() local
240 static Duration normalizedDuration(long seconds, int nanos) { in normalizedDuration()
DTimestamps.java100 public static boolean isValid(long seconds, long nanos) { in isValid()
114 private static void checkValid(long seconds, int nanos) { in checkValid()
138 long seconds = timestamp.getSeconds(); in toString() local
190 long seconds = date.getTime() / MILLIS_PER_SECOND; in parse() local
298 private static Timestamp normalizedTimestamp(long seconds, int nanos) { in normalizedTimestamp()
DTimeUtil.java333 long seconds = (long) result; in multiply() local
377 long seconds = value.divide(new BigInteger(String.valueOf(NANOS_PER_SECOND))).longValue(); in createDurationFromBigInteger() local
382 private static Duration normalizedDuration(long seconds, int nanos) { in normalizedDuration()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/
Dtime_util.cc62 Timestamp CreateNormalized(int64 seconds, int64 nanos) { in CreateNormalized()
82 Duration CreateNormalized(int64 seconds, int64 nanos) { in CreateNormalized()
116 string FormatTime(int64 seconds, int32 nanos) { in FormatTime()
120 bool ParseTime(const string& value, int64* seconds, int32* nanos) { in ParseTime()
124 void CurrentTime(int64* seconds, int32* nanos) { in CurrentTime()
157 int64 seconds; in FromString() local
167 int64 seconds; in GetCurrentTime() local
177 int64 seconds = duration.seconds(); in ToString() local
218 int64 seconds = strto64(seconds_part.c_str(), &end, 10); in FromString() local
254 Duration TimeUtil::SecondsToDuration(int64 seconds) { in SecondsToDuration()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DDurationTest.cs106 public void ToTimeSpan_Invalid(long seconds, int nanoseconds) in ToTimeSpan_Invalid()
117 public void ToTimeSpan_Valid(long seconds, int nanoseconds) in ToTimeSpan_Valid()
DTimestampTest.cs69 public void ToDateTime_OutOfRange(long seconds, int nanoseconds) in ToDateTime_OutOfRange()
81 public void ToDateTime_ValidBoundaries(long seconds, int nanoseconds) in ToDateTime_ValidBoundaries()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/WellKnownTypes/
DDurationPartial.cs65 internal static bool IsNormalized(long seconds, int nanoseconds) in IsNormalized()
164 internal static Duration Normalize(long seconds, int nanoseconds) in Normalize()
197 internal static string ToJson(long seconds, int nanoseconds, bool diagnosticOnly) in ToJson()
DTimestampPartial.cs48 private static bool IsNormalized(long seconds, int nanoseconds) => in IsNormalized()
173 internal static Timestamp Normalize(long seconds, int nanoseconds) in Normalize()
199 internal static string ToJson(long seconds, int nanoseconds, bool diagnosticOnly) in ToJson()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dtime.cc211 bool SecondsToDateTime(int64 seconds, DateTime* time) { in SecondsToDateTime()
256 bool DateTimeToSeconds(const DateTime& time, int64* seconds) { in DateTimeToSeconds()
264 void GetCurrentTime(int64* seconds, int32* nanos) { in GetCurrentTime()
271 string FormatTime(int64 seconds, int32 nanos) { in FormatTime()
285 bool ParseTime(const string& value, int64* seconds, int32* nanos) { in ParseTime()
Dtime_test.cc68 int64 seconds; in TEST() local
180 int64 seconds; in TEST() local
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dduration.proto89 int64 seconds = 1; field
Dtimestamp.proto104 int64 seconds = 1; field
Dduration.pb.h143 inline ::google::protobuf::int64 Duration::seconds() const { in seconds() function
Dtimestamp.pb.h156 inline ::google::protobuf::int64 Timestamp::seconds() const { in seconds() function
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
DStringUtil.java55 int seconds = (int) Math.floor(millis / 1000); in formatElapsedTime() local
126 final int seconds = (int) Math.floor(millis / 1000); in formatRelativeTime() local
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/
DJsonFormatterTest.cs354 public void TimestampStandalone_NonNormalized(long seconds, int nanoseconds) in TimestampStandalone_NonNormalized()
391 public void DurationStandalone(long seconds, int nanoseconds, string expected) in DurationStandalone()
400 public void DurationStandalone_NonNormalized(long seconds, int nanoseconds) in DurationStandalone_NonNormalized()
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
DDurationTest.java28 int minutes, int seconds) throws DateException { in verifyDuration()
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DDuration.java36 public int seconds; field in Duration
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
DManageDialog.java138 long seconds = (SystemClock.elapsedRealtime() - mConfig.startTime) / 1000; in handleMessage() local
/frameworks/base/core/java/android/net/
DSntpClient.java256 long seconds = read32(buffer, offset); in readTimeStamp() local
276 long seconds = time / 1000L; in writeTimeStamp() local
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/
Dprotostream_objectwriter.cc94 void SplitSecondsAndNanos(StringPiece input, StringPiece* seconds, in SplitSecondsAndNanos()
878 int64 seconds; in RenderTimestamp() local
952 int64 seconds = sign * unsigned_seconds; in RenderDuration() local
/frameworks/av/media/libaaudio/examples/utils/
DSineGenerator.h33 void setSweep(double frequencyLow, double frequencyHigh, double seconds) { in setSweep()
/frameworks/ml/nn/runtime/test/fuzzing/
DRandomGraphGeneratorUtils.cpp39 int seconds = (ms % 60000) / 1000; in getElapsedTime() local
/frameworks/wilhelm/tests/sandbox/
Dconfigbq.c150 float seconds = (((i * 8) / (format->bitsPerSample * format->numChannels)) * 1000.0) / in main() local
/frameworks/base/media/java/android/mtp/
DMtpPropertyGroup.java281 private native String format_date_time(long seconds); in format_date_time()

123