Home
last modified time | relevance | path

Searched refs:startTimeMs (Results 1 – 15 of 15) 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.java278 public final int startTimeMs; field in TimedText.Karaoke
305 public Karaoke(int startTimeMs, int endTimeMs, int startChar, int endChar) { in Karaoke() argument
306 this.startTimeMs = startTimeMs; in Karaoke()
646 int startTimeMs = parcel.readInt(); in readKaraoke() local
650 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.java128 public Session(String sessionId, String shortMethodName, long startTimeMs, in Session() argument
132 mExecutionStartTimeMs = startTimeMs; in Session()
185 public void setExecutionStartTimeMs(long startTimeMs) { in setExecutionStartTimeMs() argument
186 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/packages/SystemUI/src/com/android/systemui/screenshot/
DGlobalScreenshot.java1053 long startTimeMs = SystemClock.uptimeMillis(); in getSmartActionsFuture() local
1065 long waitTimeMs = SystemClock.uptimeMillis() - startTimeMs; in getSmartActionsFuture()
1080 long startTimeMs = SystemClock.uptimeMillis(); in getSmartActions() local
1084 long waitTimeMs = SystemClock.uptimeMillis() - startTimeMs; in getSmartActions()
1093 long waitTimeMs = SystemClock.uptimeMillis() - startTimeMs; in getSmartActions()
/frameworks/base/cmds/am/src/com/android/commands/am/
DInstrument.java545 private static String readLogcat(long startTimeMs) { in readLogcat() argument
549 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.java560 void waitActivityVisible(ComponentName name, WaitResult result, long startTimeMs) { in waitActivityVisible() argument
561 final WaitInfo waitInfo = new WaitInfo(name, result, startTimeMs); in waitActivityVisible()
2839 WaitInfo(ComponentName targetComponent, WaitResult result, long startTimeMs) { in WaitInfo() argument
2842 this.mStartTimeMs = startTimeMs; in WaitInfo()
DActivityStarter.java1359 final long startTimeMs = SystemClock.uptimeMillis(); in startActivityMayWait() local
1361 r.mActivityComponent, outResult, startTimeMs); in startActivityMayWait()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java11748 final long startTimeMs = mClocks.uptimeMillis(); in readKernelUidCpuTimesLocked() local
11805 final long elapsedTimeMs = mClocks.uptimeMillis() - startTimeMs; in readKernelUidCpuTimesLocked()
11861 final long startTimeMs = mClocks.uptimeMillis(); in readKernelUidCpuFreqTimesLocked() local
11931 final long elapsedTimeMs = mClocks.uptimeMillis() - startTimeMs; in readKernelUidCpuFreqTimesLocked()
11974 final long startTimeMs = mClocks.uptimeMillis(); in readKernelUidCpuActiveTimesLocked() local
11991 final long elapsedTimeMs = mClocks.uptimeMillis() - startTimeMs; in readKernelUidCpuActiveTimesLocked()
12003 final long startTimeMs = mClocks.uptimeMillis(); in readKernelUidCpuClusterTimesLocked() local
12020 final long elapsedTimeMs = mClocks.uptimeMillis() - startTimeMs; in readKernelUidCpuClusterTimesLocked()
/frameworks/base/core/java/android/os/
DBatteryStats.java7358 final long startTimeMs = roundUsToMs(ss.getStartTime(batteryUptimeUs, which)); in dumpProtoAppsLocked() local
7361 if (startTimeMs == 0 && starts == 0 && launches == 0) { in dumpProtoAppsLocked()
7368 proto.write(UidProto.Package.Service.START_DURATION_MS, startTimeMs); in dumpProtoAppsLocked()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt40853 Landroid/media/TimedText$Karaoke;->startTimeMs:I