Home
last modified time | relevance | path

Searched refs:startTime (Results 1 – 25 of 87) sorted by relevance

1234

/frameworks/base/core/java/android/content/
DSyncInfo.java45 public final long startTime; field in SyncInfo
48 public SyncInfo(int authorityId, Account account, String authority, long startTime) { in SyncInfo() argument
52 this.startTime = startTime; in SyncInfo()
60 this.startTime = other.startTime; in SyncInfo()
73 parcel.writeLong(startTime); in writeToParcel()
81 startTime = parcel.readLong(); in SyncInfo()
/frameworks/base/core/java/android/app/usage/
DNetworkStatsManager.java92 long startTime, long endTime) throws SecurityException, RemoteException { in querySummaryForDevice() argument
99 NetworkStats stats = new NetworkStats(mContext, template, startTime, endTime); in querySummaryForDevice()
124 public Bucket querySummaryForUser(int networkType, String subscriberId, long startTime, in querySummaryForUser() argument
132 stats = new NetworkStats(mContext, template, startTime, endTime); in querySummaryForUser()
157 public NetworkStats querySummary(int networkType, String subscriberId, long startTime, in querySummary() argument
165 result = new NetworkStats(mContext, template, startTime, endTime); in querySummary()
193 long startTime, long endTime, int uid) throws SecurityException, RemoteException { in queryDetailsForUid() argument
200 result = new NetworkStats(mContext, template, startTime, endTime); in queryDetailsForUid()
226 public NetworkStats queryDetails(int networkType, String subscriberId, long startTime, in queryDetails() argument
233 result = new NetworkStats(mContext, template, startTime, endTime); in queryDetails()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java160 long startTime = SystemClock.uptimeMillis(); in waitForNetworkState() local
167 if ((SystemClock.uptimeMillis() - startTime) > timeout) { in waitForNetworkState()
179 long startTime = SystemClock.uptimeMillis(); in waitForWifiState() local
186 if ((SystemClock.uptimeMillis() - startTime) > timeout) { in waitForWifiState()
198 long startTime = SystemClock.uptimeMillis(); in waitForWifiApState() local
205 if ((SystemClock.uptimeMillis() - startTime) > timeout) { in waitForWifiApState()
223 long startTime = SystemClock.uptimeMillis(); in waitForTetherStateChange() local
226 if ((SystemClock.uptimeMillis() - startTime) > timeout) { in waitForTetherStateChange()
288 long startTime = System.currentTimeMillis(); in pingTest() local
289 while ((System.currentTimeMillis() - startTime) < PING_TIMER) { in pingTest()
[all …]
/frameworks/native/libs/binder/
DAppOpsManager.cpp44 int64_t startTime = 0; in getService() local
51 if (startTime == 0) { in getService()
52 startTime = uptimeMillis(); in getService()
54 } else if ((uptimeMillis()-startTime) > 10000) { in getService()
DIServiceManager.cpp75 int64_t startTime = 0; in checkPermission() local
81 if (startTime != 0) { in checkPermission()
83 (int)((uptimeMillis()-startTime)/1000), in checkPermission()
108 if (startTime == 0) { in checkPermission()
109 startTime = uptimeMillis(); in checkPermission()
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiTimerRecordSources.java272 public static TimerInfo timerInfoOf(int dayOfMonth, int monthOfYear, Time startTime, in timerInfoOf() argument
282 checkTimeValue(startTime.mHour, startTime.mMinute); in timerInfoOf()
291 return new TimerInfo(dayOfMonth, monthOfYear, startTime, duration, recordingSequence); in timerInfoOf()
337 private TimerInfo(int dayOfMonth, int monthOfYear, Time startTime, in TimerInfo() argument
341 mStartTime = startTime; in TimerInfo()
/frameworks/base/core/java/android/app/admin/
DSystemUpdatePolicy.java120 public static SystemUpdatePolicy createWindowedInstallPolicy(int startTime, int endTime) { in createWindowedInstallPolicy() argument
121 if (startTime < 0 || startTime >= WINDOW_BOUNDARY in createWindowedInstallPolicy()
127 policy.mMaintenanceWindowStart = startTime; in createWindowedInstallPolicy()
/frameworks/native/opengl/tools/glgen2/registry/
Dgenheaders.py82 startTime = None variable
84 global startTime
85 startTime = time.clock()
87 global startTime
90 write(msg, endTime - startTime)
91 startTime = None
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java369 long startTime = System.currentTimeMillis(); in startDownloadAndWait() local
371 if ((System.currentTimeMillis() - startTime) > timeout) { in startDownloadAndWait()
435 long startTime = System.currentTimeMillis(); in waitForNetworkState() local
437 if ((System.currentTimeMillis() - startTime) > timeout) { in waitForNetworkState()
488 long startTime = System.currentTimeMillis(); in waitForWifiState() local
490 if ((System.currentTimeMillis() - startTime) > timeout) { in waitForWifiState()
593 long startTime = System.currentTimeMillis(); in connectToWifiWithConfiguration() local
595 if ((System.currentTimeMillis() - startTime) > WIFI_SCAN_TIMEOUT) { in connectToWifiWithConfiguration()
/frameworks/base/test-runner/src/android/test/
DInstrumentationCoreTestRunner.java102 private long startTime; in getAndroidTestRunner()
113 startTime = System.currentTimeMillis(); in getAndroidTestRunner()
126 long timeTaken = System.currentTimeMillis() - startTime; in getAndroidTestRunner()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkDiagnostics.java114 public long startTime; field in NetworkDiagnostics.Measurement
142 if (startTime == 0) { startTime = finishTime; } in maybeFixupTimes()
147 return description + ": " + result + " (" + (finishTime - startTime) + "ms)"; in toString()
386 mMeasurement.startTime = now(); in run()
478 mMeasurement.startTime = now(); in run()
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/
DPowerTestActivity.java56 private long startTime; field in PowerTestActivity
125 startTime = System.currentTimeMillis(); in navigate()
266 pageLoadTime = System.currentTimeMillis() - startTime; in run()
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
DRecurrenceProcessorTest.java2466 long startTime = System.currentTimeMillis(); in performanceTextExpand() local
2492 long elapsed = endTime - startTime; in performanceTextExpand()
2504 long startTime = System.currentTimeMillis(); in performanceTestNormalize() local
2516 long elapsed = endTime - startTime; in performanceTestNormalize()
2522 startTime = System.currentTimeMillis(); in performanceTestNormalize()
2533 elapsed = endTime - startTime; in performanceTestNormalize()
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseLockTest.java125 long startTime = System.currentTimeMillis(); in testLockLatency() local
128 long elapsedTime = endTime - startTime; in testLockLatency()
/frameworks/base/core/java/com/android/internal/os/
DZygoteInit.java229 long startTime = SystemClock.uptimeMillis(); in preloadClasses() local
296 + (SystemClock.uptimeMillis()-startTime) + "ms."); in preloadClasses()
335 long startTime = SystemClock.uptimeMillis(); in preloadResources() local
341 + (SystemClock.uptimeMillis()-startTime) + "ms."); in preloadResources()
343 startTime = SystemClock.uptimeMillis(); in preloadResources()
349 + (SystemClock.uptimeMillis()-startTime) + "ms."); in preloadResources()
/frameworks/native/libs/input/
DVirtualKeyMap.cpp63 nsecs_t startTime = systemTime(SYSTEM_TIME_MONOTONIC); in load() local
68 nsecs_t elapsedTime = systemTime(SYSTEM_TIME_MONOTONIC) - startTime; in load()
/frameworks/base/core/java/com/android/internal/net/
DVpnConfig.java98 public long startTime = -1; field in VpnConfig
158 out.writeLong(startTime); in writeToParcel()
183 config.startTime = in.readLong();
/frameworks/base/services/core/java/com/android/server/policy/
DStatusBarController.java73 long startTime = calculateStatusBarTransitionStartTime(openAnimation,
75 statusbar.appTransitionStarting(startTime, TRANSITION_DURATION);
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardService.java177 public void startKeyguardExitAnimation(long startTime, long fadeoutDuration) {
179 mKeyguardViewMediator.startKeyguardExitAnimation(startTime, fadeoutDuration);
/frameworks/base/core/java/android/view/animation/
DAnimationSet.java268 long startTime = Long.MAX_VALUE; in getStartTime() local
275 startTime = Math.min(startTime, a.getStartTime()); in getStartTime()
278 return startTime; in getStartTime()
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
DDownloadManagerBaseTest.java190 long startTime = SystemClock.uptimeMillis(); in waitForDownloadToFinish() local
193 if (SystemClock.uptimeMillis() - startTime > timeout) { in waitForDownloadToFinish()
213 long startTime = SystemClock.uptimeMillis(); in waitForMultipleDownloadsToFinish() local
216 if (SystemClock.uptimeMillis() - startTime > timeout) { in waitForMultipleDownloadsToFinish()
/frameworks/av/media/libstagefright/httplive/
DLiveSession.cpp588 HLSTime lastTime(lastEnqueueMeta), startTime(firstNewMeta[i]); in checkSwitchProgress() local
592 *needResumeUntil |= (startTime.mSeq == lastTime.mSeq in checkSwitchProgress()
593 && startTime.mTimeUs - lastTime.mTimeUs > kResumeThresholdUs); in checkSwitchProgress()
596 stopParams->setInt32("discontinuitySeq", startTime.mSeq); in checkSwitchProgress()
597 stopParams->setInt64(getKeyForStream(stream), startTime.mTimeUs); in checkSwitchProgress()
1835 HLSTime startTime; in onChangeConfiguration3() local
1840 startTime = latestMediaSegmentStartTime(); in onChangeConfiguration3()
1850 startTime.mTimeUs = timeUs; in onChangeConfiguration3()
1869 if (startTime < tmpTime) { in onChangeConfiguration3()
1870 startTime = tmpTime; in onChangeConfiguration3()
[all …]
/frameworks/base/media/java/android/media/tv/
DTvContract.java250 public static final Uri buildProgramsUriForChannel(long channelId, long startTime, in buildProgramsUriForChannel() argument
253 return uri.buildUpon().appendQueryParameter(PARAM_START_TIME, String.valueOf(startTime)) in buildProgramsUriForChannel()
267 public static final Uri buildProgramsUriForChannel(Uri channelUri, long startTime, in buildProgramsUriForChannel() argument
272 return buildProgramsUriForChannel(ContentUris.parseId(channelUri), startTime, endTime); in buildProgramsUriForChannel()
/frameworks/av/media/libstagefright/mpeg2ts/
DMPEG2TSExtractor.cpp150 int64_t startTime = ALooper::GetNowUs(); in init() local
185 if (ALooper::GetNowUs() - startTime > 2000000ll) { in init()
202 && ALooper::GetNowUs() - startTime <= 2000000ll) { in init()
245 haveAudio, haveVideo, ALooper::GetNowUs() - startTime); in init()
/frameworks/base/services/core/java/com/android/server/policy/keyguard/
DKeyguardServiceWrapper.java209 public void startKeyguardExitAnimation(long startTime, long fadeoutDuration) { in startKeyguardExitAnimation() argument
211 mService.startKeyguardExitAnimation(startTime, fadeoutDuration); in startKeyguardExitAnimation()

1234