Home
last modified time | relevance | path

Searched refs:mStartTimeMs (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/net/java/android/net/util/
DStopwatch.java26 private long mStartTimeMs; field in Stopwatch
30 return (mStartTimeMs > 0); in isStarted()
46 mStartTimeMs = SystemClock.elapsedRealtime(); in start()
57 return (mStopTimeMs - mStartTimeMs); in stop()
65 return (SystemClock.elapsedRealtime() - mStartTimeMs); in lap()
72 mStartTimeMs = 0; in reset()
/frameworks/av/packages/MediaComponents/src/com/android/media/subtitle/
DSubtitleTrack.java137 } else if (cue.mStartTimeMs == event.first) { in updateActiveCues()
309 cue.mStartTimeMs + " <= " + nowMs + ", " + in addCue()
313 cue.mStartTimeMs <= nowMs && in addCue()
345 (cue.mStartTimeMs < mNextScheduledTimeMs || in addCue()
399 if (cue.mStartTimeMs >= cue.mEndTimeMs) in add()
402 if (!addEvent(cue, cue.mStartTimeMs)) { in add()
406 long lastTimeMs = cue.mStartTimeMs; in add()
420 removeEvent(cue, cue.mStartTimeMs); in remove()
498 removeEvent(cue, cue.mStartTimeMs); in remove()
552 public long mStartTimeMs;
/frameworks/base/media/java/android/media/
DSubtitleTrack.java147 } else if (cue.mStartTimeMs == event.first) { in updateActiveCues()
334 cue.mStartTimeMs + " <= " + nowMs + ", " + in addCue()
338 cue.mStartTimeMs <= nowMs && in addCue()
370 (cue.mStartTimeMs < mNextScheduledTimeMs || in addCue()
426 if (cue.mStartTimeMs >= cue.mEndTimeMs) in add()
429 if (!addEvent(cue, cue.mStartTimeMs)) { in add()
433 long lastTimeMs = cue.mStartTimeMs; in add()
447 removeEvent(cue, cue.mStartTimeMs); in remove()
525 removeEvent(cue, cue.mStartTimeMs); in remove()
580 public long mStartTimeMs;
DSRTRenderer.java87 cue.mStartTimeMs = data.getStartTimeUs() / 1000; in onData()
126 cue.mStartTimeMs = parseMs(startEnd[0]); in onData()
174 parcel.writeInt((int) cue.mStartTimeMs); in updateView()
DTtmlRenderer.java281 this.mStartTimeMs = startTimeMs; in TtmlCue()
300 public final long mStartTimeMs; field in TtmlNode
308 this.mStartTimeMs = startTimeMs; in TtmlNode()
323 return this.mEndTimeMs > startTimeMs && this.mStartTimeMs < endTimeMs; in isActive()
475 start += parent.mStartTimeMs; in parseNode()
477 end += parent.mStartTimeMs; in parseNode()
644 mTimeEvents.add(node.mStartTimeMs); in addTimeEvents()
DTimedText.java405 int mStartTimeMs = parcel.readInt(); in parseParcel() local
406 mKeyObjectMap.put(type, mStartTimeMs); in parseParcel()
DWebVttRenderer.java522 res.append(WebVttParser.timeToString(mStartTimeMs)) in toString()
857 mCue.mStartTimeMs = parseTimestampMs(start);
1055 if (span.mTimestampMs > cue.mStartTimeMs && in onCueParsed()
/frameworks/support/media/src/main/java/androidx/media/subtitle/
DSubtitleTrack.java149 } else if (cue.mStartTimeMs == event.first) { in updateActiveCues()
325 + cue.mStartTimeMs + " <= " + nowMs + ", " in addCue()
329 if (mVisible && cue.mStartTimeMs <= nowMs in addCue()
360 && (cue.mStartTimeMs < mNextScheduledTimeMs || mNextScheduledTimeMs < 0)) { in addCue()
416 if (cue.mStartTimeMs >= cue.mEndTimeMs) return; in add()
418 if (!addEvent(cue, cue.mStartTimeMs)) { in add()
422 long lastTimeMs = cue.mStartTimeMs; in add()
436 removeEvent(cue, cue.mStartTimeMs); in remove()
514 removeEvent(cue, cue.mStartTimeMs); in remove()
568 public long mStartTimeMs;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRILRequest.java54 long mStartTimeMs; field in RILRequest
98 rr.mStartTimeMs = SystemClock.elapsedRealtime(); in obtain()
DRIL.java507 rr.mStartTimeMs = SystemClock.elapsedRealtime(); in addRequest()
4439 int totalTime = (int) (endTime - rr.mStartTimeMs); in addToRilHistogram()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java2223 long mStartTimeMs = -1; field in BatteryStatsImpl.DurationTimer
2288 mStartTimeMs = -1; in readSummaryFromParcelLocked()
2300 mStartTimeMs = baseRealtime / 1000; in onTimeStarted()
2314 mCurrentDurationMs += (baseRealtimeUs / 1000) - mStartTimeMs; in onTimeStopped()
2316 mStartTimeMs = -1; in onTimeStopped()
2329 mStartTimeMs = mTimeBase.getRealtime(elapsedRealtimeMs * 1000) / 1000; in startRunningLocked()
2347 mStartTimeMs = -1; in stopRunningLocked()
2362 mStartTimeMs = mTimeBase.getRealtime(mClocks.elapsedRealtime()*1000) / 1000; in reset()
2364 mStartTimeMs = -1; in reset()
2402 - mStartTimeMs; in getCurrentDurationMsLocked()