Home
last modified time | relevance | path

Searched refs:durationMillis (Results 1 – 20 of 20) sorted by relevance

/packages/providers/MediaProvider/src/com/android/providers/media/util/
DMetrics.java52 long durationMillis, int insertCount, int updateCount, int deleteCount) { in logScan() argument
55 volumeName, translateReason(reason), itemCount, durationMillis, insertCount, in logScan()
58 final float normalizedDurationMillis = ((float) durationMillis) / itemCount; in logScan()
119 long itemCount, long durationMillis, @NonNull String databaseUuid) { in logSchemaChange() argument
122 volumeName, versionFrom, versionTo, itemCount, durationMillis, databaseUuid); in logSchemaChange()
124 final float normalizedDurationMillis = ((float) durationMillis) / itemCount; in logSchemaChange()
132 long durationMillis, int staleThumbnails, int expiredMedia) { in logIdleMaintenance() argument
135 volumeName, itemCount, durationMillis, staleThumbnails, expiredMedia); in logIdleMaintenance()
137 final float normalizedDurationMillis = ((float) durationMillis) / itemCount; in logIdleMaintenance()
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/
DBlockCheckerAdapter.java78 int durationMillis = (int) ((System.nanoTime() - startTimeNano) / 1000000); in getBlockStatus() local
79 if (durationMillis > 500 || Log.isLoggable(android.util.Log.DEBUG)) { in getBlockStatus()
80 Log.d(TAG, "Blocked number lookup took: " + durationMillis + " ms."); in getBlockStatus()
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DQnsCallStatusTracker.java600 long durationMillis = cq.mDurationMillis; in getUpLinkQualityLevelDuringCall() local
602 if (durationMillis == 0) { in getUpLinkQualityLevelDuringCall()
603 durationMillis = QnsUtils.getSystemElapsedRealTime() in getUpLinkQualityLevelDuringCall()
607 if (durationMillis > 0) { in getUpLinkQualityLevelDuringCall()
608 totalDuration += durationMillis; in getUpLinkQualityLevelDuringCall()
634 long durationMillis = cq.mDurationMillis; in getDownLinkQualityLevelDuringCall() local
636 if (durationMillis == 0) { in getDownLinkQualityLevelDuringCall()
637 durationMillis = QnsUtils.getSystemElapsedRealTime() in getDownLinkQualityLevelDuringCall()
641 if (durationMillis > 0) { in getDownLinkQualityLevelDuringCall()
642 totalDuration += durationMillis; in getDownLinkQualityLevelDuringCall()
/packages/modules/Media/apex/framework/jni/
Dandroid_media_MediaParserJNI.cpp71 jlong resourceByteCount, jlong durationMillis, jstring trackMimeTypesJstring, in JNI_FUNCTION() argument
85 mediametrics_setInt64(item, kAttributeDurationMillis, durationMillis); in JNI_FUNCTION()
/packages/apps/Camera2/src/com/android/camera/stats/profiler/
DProfilers.java119 public Profile guard(String name, int durationMillis) { in guard() argument
120 return guard().create(name, durationMillis).start(); in guard()
/packages/modules/Permission/service/java/com/android/safetycenter/data/
DSafetyCenterInFlightIssueActionRepository.java149 long durationMillis = SystemClock.elapsedRealtime() - startElapsedMillis; in dump() local
150 fout.println("\t[" + i + "] " + printableId + "(duration=" + durationMillis + "ms)"); in dump()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DRateLimitTest.java246 final long durationMillis = mStopMillis - mStartMillis; in stopAndGetResult() local
247 return (long) ((double) mBytesReceived / (durationMillis / 1000.0)); in stopAndGetResult()
/packages/services/Telecomm/src/com/android/server/telecom/
DInCallTonePlayer.java447 int durationMillis = mToneMediaPlayer.getDuration(); in playMediaTone() local
461 if (mPlaybackLatch.await(durationMillis * 2, TimeUnit.MILLISECONDS)) { in playMediaTone()
/packages/apps/TV/src/com/android/tv/ui/
DTunableTvView.java1284 int durationMillis, TimeInterpolator interpolator, final Runnable actionAfterFade) { in fadeOut() argument
1290 .setDuration(durationMillis) in fadeOut()
1302 int durationMillis, TimeInterpolator interpolator, final Runnable actionAfterFade) { in fadeIn() argument
1308 .setDuration(durationMillis) in fadeIn()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningServiceDetails.java131 info.durationMillis = SystemClock.elapsedRealtime()-mActiveItem.mFirstRunTime; in onClick()
133 info.durationMillis = -1; in onClick()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarInstancesHelper.java340 long durationMillis = duration.getMillis(); in performInstanceExpansion() local
346 long dtendMillis = date + durationMillis; in performInstanceExpansion()
/packages/apps/TV/src/com/android/tv/dvr/data/
DRecordedProgram.java305 public abstract Builder setDurationMillis(long durationMillis); in setDurationMillis() argument
/packages/services/Car/cpp/watchdog/server/tests/
DPerformanceProfilerTest.cpp1283 void advanceTime(int durationMillis) { in advanceTime() argument
1284 mNowMillis += std::chrono::milliseconds(durationMillis); in advanceTime()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/elements/rotaryinput/
DRotary.kt531 animationSpec = tween(durationMillis = 100, easing = FastOutSlowInEasing), in snapToClosestItem()
/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DModernMediaScanner.java445 final long durationMillis = SystemClock.elapsedRealtime() - startTime; in runInternal() local
446 Metrics.logScan(mVolumeName, mReason, mFileCount, durationMillis, in runInternal()
/packages/modules/Media/apex/framework/java/android/media/
DMediaParser.java2218 long durationMillis, in nativeSubmitMetrics() argument
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsServiceTest.java693 private void incrementWifiStats(long durationMillis, String iface, in incrementWifiStats() argument
695 incrementCurrentTime(durationMillis); in incrementWifiStats()
/packages/providers/MediaProvider/src/com/android/providers/media/
DDatabaseHelper.java242 long itemCount, long durationMillis, String databaseUuid); in onSchemaChange() argument
DMediaProvider.java1670 final long durationMillis = (SystemClock.elapsedRealtime() - startTime); in onIdleMaintenance() local
1672 durationMillis, staleThumbnails, deletedExpiredMedia); in onIdleMaintenance()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java2697 final long durationMillis = SystemClock.elapsedRealtime() - nai.getConnectedTime();
2700 c.setDurationSec((int) ((durationMillis + millisPerSecond / 2) / millisPerSecond));