Home
last modified time | relevance | path

Searched refs:startTimeMs (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/tests/bugreports/src/android/server/bugreports/
DBugreportManagerTest.java311 private static boolean shouldTimeout(long startTimeMs) { in shouldTimeout() argument
312 return now() - startTimeMs >= BUGREPORT_TIMEOUT_MS; in shouldTimeout()
316 long startTimeMs = now(); in waitTillDoneOrTimeout() local
319 if (shouldTimeout(startTimeMs)) { in waitTillDoneOrTimeout()
322 Log.d(TAG, "Waited " + (now() - startTimeMs) + "ms"); in waitTillDoneOrTimeout()
/frameworks/base/media/java/android/media/
DTimedText.java277 public final int startTimeMs; field in TimedText.Karaoke
304 public Karaoke(int startTimeMs, int endTimeMs, int startChar, int endChar) { in Karaoke() argument
305 this.startTimeMs = startTimeMs; in Karaoke()
645 int startTimeMs = parcel.readInt(); in readKaraoke() local
649 Karaoke kara = new Karaoke(startTimeMs, endTimeMs, in readKaraoke()
DTtmlRenderer.java282 public TtmlCue(long startTimeMs, long endTimeMs, String text, String ttmlFragment) { in TtmlCue() argument
283 this.mStartTimeMs = startTimeMs; in TtmlCue()
305 public TtmlNode(String name, String attributes, String text, long startTimeMs, long endTimeMs, in TtmlNode() argument
310 this.mStartTimeMs = startTimeMs; in TtmlNode()
324 public boolean isActive(long startTimeMs, long endTimeMs) { in isActive() argument
325 return this.mEndTimeMs > startTimeMs && this.mStartTimeMs < endTimeMs; in isActive()
/frameworks/base/services/usage/java/com/android/server/usage/
DAppTimeLimitController.java285 void noteUsageStart(long startTimeMs) { in noteUsageStart() argument
286 noteUsageStart(startTimeMs, startTimeMs); in noteUsageStart()
290 void noteUsageStart(long startTimeMs, long currentTimeMs) { in noteUsageStart() argument
297 startTimeMs = mLastUsageEndTimeMs > startTimeMs ? mLastUsageEndTimeMs : startTimeMs; in noteUsageStart()
298 mLastKnownUsageTimeMs = startTimeMs; in noteUsageStart()
300 mTimeLimitMs - mUsageTimeMs - currentTimeMs + startTimeMs; in noteUsageStart()
463 public void noteUsageStart(long startTimeMs, long currentTimeMs) { in noteUsageStart() argument
465 if (startTimeMs - mLastUsageEndTimeMs > mNewSessionThresholdMs) { in noteUsageStart()
471 super.noteUsageStart(startTimeMs, currentTimeMs); in noteUsageStart()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DCamera2SurfaceViewActivity.java75 long startTimeMs = SystemClock.elapsedRealtime(); in waitForSurfaceSizeChanged() local
90 waitTimeMs -= (SystemClock.elapsedRealtime() - startTimeMs); in waitForSurfaceSizeChanged()
/frameworks/base/telecomm/java/android/telecom/Logging/
DSession.java123 public Session(String sessionId, String shortMethodName, long startTimeMs, in Session() argument
127 mExecutionStartTimeMs = startTimeMs; in Session()
180 public void setExecutionStartTimeMs(long startTimeMs) { in setExecutionStartTimeMs() argument
181 mExecutionStartTimeMs = startTimeMs; in setExecutionStartTimeMs()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/
DTimedStatement.java158 long startTimeMs = System.currentTimeMillis(); in evaluate() local
162 timeStats.accept(stopTimeMs - startTimeMs); in evaluate()
/frameworks/base/cmds/am/src/com/android/commands/am/
DInstrument.java540 private static String readLogcat(long startTimeMs) { in readLogcat() argument
544 final String timestamp = format.format(new Date(startTimeMs)); in readLogcat()
/frameworks/base/core/java/android/view/textclassifier/
DTextClassifierImpl.java300 final long startTimeMs = System.currentTimeMillis(); in generateLinks() local
346 request.getText(), links, callingPackageName, endTimeMs - startTimeMs); in generateLinks()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStackSupervisor.java545 void waitActivityVisible(ComponentName name, WaitResult result, long startTimeMs) { in waitActivityVisible() argument
546 final WaitInfo waitInfo = new WaitInfo(name, result, startTimeMs); in waitActivityVisible()
2835 WaitInfo(ComponentName targetComponent, WaitResult result, long startTimeMs) { in WaitInfo() argument
2838 this.mStartTimeMs = startTimeMs; in WaitInfo()
DActivityStarter.java1349 final long startTimeMs = SystemClock.uptimeMillis(); in startActivityMayWait() local
1351 r.mActivityComponent, outResult, startTimeMs); in startActivityMayWait()
/frameworks/base/media/apex/java/android/media/
DMediaPlayer2.java4529 int startTimeMs = in.next().getInt32Value();