Home
last modified time | relevance | path

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

12345

/frameworks/base/core/java/android/content/
DSyncInfo.java52 public final long startTime; field in SyncInfo
61 int authorityId, String authority, long startTime) { in createAccountRedacted() argument
62 return new SyncInfo(authorityId, REDACTED_ACCOUNT, authority, startTime); in createAccountRedacted()
66 public SyncInfo(int authorityId, Account account, String authority, long startTime) { in SyncInfo() argument
70 this.startTime = startTime; in SyncInfo()
78 this.startTime = other.startTime; in SyncInfo()
91 parcel.writeLong(startTime); in writeToParcel()
99 startTime = parcel.readLong(); in SyncInfo()
/frameworks/base/core/java/android/app/usage/
DNetworkStatsManager.java124 long startTime, long endTime) throws SecurityException, RemoteException { in querySummaryForDevice() argument
134 NetworkStats stats = new NetworkStats(mContext, template, startTime, endTime); in querySummaryForDevice()
159 public Bucket querySummaryForUser(int networkType, String subscriberId, long startTime, in querySummaryForUser() argument
170 stats = new NetworkStats(mContext, template, startTime, endTime); in querySummaryForUser()
195 public NetworkStats querySummary(int networkType, String subscriberId, long startTime, in querySummary() argument
206 result = new NetworkStats(mContext, template, startTime, endTime); in querySummary()
218 long startTime, long endTime, int uid) throws SecurityException, RemoteException { in queryDetailsForUid() argument
219 return queryDetailsForUidTag(networkType, subscriberId, startTime, endTime, uid, in queryDetailsForUid()
247 long startTime, long endTime, int uid, int tag) throws SecurityException { in queryDetailsForUidTag() argument
253 result = new NetworkStats(mContext, template, startTime, endTime); in queryDetailsForUidTag()
[all …]
/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/base/tests/SurfaceComposition/src/android/surfacecomposition/
DCustomSurfaceView.java60 long startTime = System.currentTimeMillis(); in run() local
61 while (System.currentTimeMillis() - startTime < DURATION_TO_WARMUP_MS) { in run()
65 startTime = System.currentTimeMillis(); in run()
72 mFPS = (double)frameCnt * 1000.0 / (endTime - startTime); in run()
73 if ((endTime - startTime) >= DURATION_TO_MEASURE_ROUGH_MS) { in run()
79 if ((endTime - startTime) >= DURATION_TO_MEASURE_PRECISE_MS) { in run()
/frameworks/native/libs/binder/
DIServiceManager.cpp80 int64_t startTime = 0; in checkPermission() local
86 if (startTime != 0) { in checkPermission()
88 (int)((uptimeMillis()-startTime)/1000), in checkPermission()
113 if (startTime == 0) { in checkPermission()
114 startTime = uptimeMillis(); in checkPermission()
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()
/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/com/android/internal/os/
DZygoteInit.java263 long startTime = SystemClock.uptimeMillis(); in warmUpJcaProviders() local
271 + (SystemClock.uptimeMillis() - startTime) + "ms."); in warmUpJcaProviders()
274 startTime = SystemClock.uptimeMillis(); in warmUpJcaProviders()
281 + (SystemClock.uptimeMillis() - startTime) + "ms."); in warmUpJcaProviders()
304 long startTime = SystemClock.uptimeMillis(); in preloadClasses() local
373 + (SystemClock.uptimeMillis()-startTime) + "ms."); in preloadClasses()
414 long startTime = SystemClock.uptimeMillis(); in preloadResources() local
420 + (SystemClock.uptimeMillis()-startTime) + "ms."); in preloadResources()
422 startTime = SystemClock.uptimeMillis(); in preloadResources()
428 + (SystemClock.uptimeMillis()-startTime) + "ms."); in preloadResources()
[all …]
/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/base/graphics/java/android/graphics/drawable/
DAnimatedVectorDrawable.java1039 private void parseAnimatorSet(AnimatorSet set, long startTime) { in parseAnimatorSet() argument
1048 parseAnimatorSet((AnimatorSet) animator, startTime); in parseAnimatorSet() local
1050 createRTAnimator((ObjectAnimator) animator, startTime); in parseAnimatorSet() local
1056 startTime += animator.getTotalDuration(); in parseAnimatorSet()
1064 private void createRTAnimator(ObjectAnimator animator, long startTime) { in createRTAnimator() argument
1069 startTime); in createRTAnimator()
1076 startTime); in createRTAnimator()
1079 startTime); in createRTAnimator()
1088 (VectorDrawable.VectorDrawableState) target, startTime); in createRTAnimator()
1099 long startTime) { in createRTAnimatorForGroup() argument
[all …]
/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/test-runner/src/android/test/
DInstrumentationCoreTestRunner.java97 private long startTime; in getAndroidTestRunner()
108 startTime = System.currentTimeMillis(); in getAndroidTestRunner()
121 long timeTaken = System.currentTimeMillis() - startTime; in getAndroidTestRunner()
/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/core/tests/coretests/src/android/animation/
DValueAnimatorTests.java76 final long[] startTime = new long[1]; in testStartDelay() local
85 startTime[0] = SystemClock.uptimeMillis(); in testStartDelay()
96 assertTrue(listener.firstRunningFrameTime - startTime[0] >= delay); in testStartDelay()
186 final long[] startTime = new long[1]; in testIsStarted() local
193 startTime[0] = SystemClock.uptimeMillis(); in testIsStarted()
205 if (SystemClock.uptimeMillis() - startTime[0] < startDelay) { in testIsStarted()
538 assertTrue(listener.startTime > 0);
539 assertTrue(currentTime - listener.startTime < frameDelay * 2);
867 assertTrue(l1.endTime >= l1.startTime);
872 assertTrue(l2.endTime >= l1.startTime);
[all …]
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/
DRenderScriptTask.java84 long startTime = System.currentTimeMillis(); in applyRefocusFilter() local
104 float duration = (endTime - startTime); in applyRefocusFilter()
/frameworks/base/core/java/android/animation/
DAnimationHandler.java175 Long startTime = mDelayedCallbackStartTime.get(callback); in isCallbackDue() local
176 if (startTime == null) { in isCallbackDue()
179 if (startTime < currentTime) { in isCallbackDue()
/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/base/core/jni/
Dandroid_app_admin_SecurityLog.cpp129 static void readEvents(JNIEnv* env, int loggerMode, jlong startTime, jobject out) { in readEvents() argument
131 if (startTime) { in readEvents()
133 log_time(startTime / NS_PER_SEC, startTime % NS_PER_SEC), 0); in readEvents()
/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/services/core/java/com/android/server/connectivity/
DNetworkDiagnostics.java120 long startTime; field in NetworkDiagnostics.Measurement
152 if (startTime == 0) { startTime = finishTime; } in maybeFixupTimes()
157 return description + ": " + result + " (" + (finishTime - startTime) + "ms)"; in toString()
468 mMeasurement.startTime = now(); in run()
559 mMeasurement.startTime = now(); in run()
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
DUtils.java94 long startTime = System.currentTimeMillis(); in rotateDevice() local
110 (System.currentTimeMillis() - startTime); in rotateDevice()
/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/packages/SettingsLib/src/com/android/settingslib/
DBatteryInfo.java54 public void onParsingStarted(long startTime, long endTime) { in bindHistory()
55 timePeriod = endTime - startTime - remainingTimeUs / 1000; in bindHistory()
57 view.configureGraph((int) (endTime - startTime), 100, remainingTimeUs != 0, in bindHistory()
196 void onParsingStarted(long startTime, long endTime); in onParsingStarted() argument
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMotionEventInjector.java151 long startTime = SystemClock.uptimeMillis(); in injectEventsMainThread() local
172 MotionEvent offsetEvent = MotionEvent.obtain(startTime + event.getDownTime(), in injectEventsMainThread()
173 startTime + event.getEventTime(), event.getAction(), numPointers, in injectEventsMainThread()
/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();

12345