Searched refs:startTime (Results 1 - 25 of 140) sorted by relevance

123456

/frameworks/base/core/java/android/content/
H A DSyncInfo.java52 public final long startTime; field in class:SyncInfo
61 int authorityId, String authority, long startTime) {
62 return new SyncInfo(authorityId, REDACTED_ACCOUNT, authority, startTime);
66 public SyncInfo(int authorityId, Account account, String authority, long startTime) { argument
70 this.startTime = startTime;
78 this.startTime = other.startTime;
91 parcel.writeLong(startTime);
99 startTime
60 createAccountRedacted( int authorityId, String authority, long startTime) argument
[all...]
/frameworks/av/services/oboeservice/
H A DTimestampScheduler.cpp24 void TimestampScheduler::start(int64_t startTime) { argument
25 mStartTime = startTime;
26 mLastTime = startTime;
H A DTimestampScheduler.h40 void start(int64_t startTime);
/frameworks/base/libs/hwui/service/
H A DGraphicsStatsService.h47 int versionCode, int64_t startTime, int64_t endTime, const ProfileData* data);
51 int versionCode, int64_t startTime, int64_t endTime, const ProfileData* data);
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DConnectivityManagerTestBase.java160 long startTime = SystemClock.uptimeMillis();
167 if ((SystemClock.uptimeMillis() - startTime) > timeout) {
179 long startTime = SystemClock.uptimeMillis();
186 if ((SystemClock.uptimeMillis() - startTime) > timeout) {
198 long startTime = SystemClock.uptimeMillis();
205 if ((SystemClock.uptimeMillis() - startTime) > timeout) {
223 long startTime = SystemClock.uptimeMillis();
226 if ((SystemClock.uptimeMillis() - startTime) > timeout) {
288 long startTime = System.currentTimeMillis();
289 while ((System.currentTimeMillis() - startTime) < PING_TIME
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
H A DANQPRequestManagerTest.java163 long startTime = 0;
165 when(mClock.getElapsedSinceBootMillis()).thenReturn(startTime);
171 when(mClock.getElapsedSinceBootMillis()).thenReturn(startTime + 1);
179 .thenReturn(startTime + ANQPRequestManager.BASE_HOLDOFF_TIME_MILLISECONDS);
192 long startTime = 0;
194 when(mClock.getElapsedSinceBootMillis()).thenReturn(startTime);
200 when(mClock.getElapsedSinceBootMillis()).thenReturn(startTime);
213 long startTime = 0;
215 when(mClock.getElapsedSinceBootMillis()).thenReturn(startTime);
224 when(mClock.getElapsedSinceBootMillis()).thenReturn(startTime
[all...]
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
H A DCustomSurfaceView.java60 long startTime = System.currentTimeMillis();
61 while (System.currentTimeMillis() - startTime < DURATION_TO_WARMUP_MS) {
65 startTime = System.currentTimeMillis();
72 mFPS = (double)frameCnt * 1000.0 / (endTime - startTime);
73 if ((endTime - startTime) >= DURATION_TO_MEASURE_ROUGH_MS) {
79 if ((endTime - startTime) >= DURATION_TO_MEASURE_PRECISE_MS) {
/frameworks/base/core/java/android/app/usage/
H A DNetworkStatsManager.java137 * 'startTime' and 'endTime' parameters. State is going to be
146 * @param startTime Start of period. Defined in terms of "Unix time", see
154 long startTime, long endTime) throws SecurityException, RemoteException {
164 NetworkStats stats = new NetworkStats(mContext, template, mFlags, startTime, endTime);
174 * This means the bucket's start and end timestamp are going to be the same as the 'startTime'
184 * @param startTime Start of period. Defined in terms of "Unix time", see
191 public Bucket querySummaryForUser(int networkType, String subscriberId, long startTime, argument
202 stats = new NetworkStats(mContext, template, mFlags, startTime, endTime);
213 * start and end timestamps are going to be the same as the 'startTime' and 'endTime'
221 * @param startTime Star
153 querySummaryForDevice(int networkType, String subscriberId, long startTime, long endTime) argument
228 querySummary(int networkType, String subscriberId, long startTime, long endTime) argument
250 queryDetailsForUid(int networkType, String subscriberId, long startTime, long endTime, int uid) argument
281 queryDetailsForUidTag(int networkType, String subscriberId, long startTime, long endTime, int uid, int tag) argument
322 queryDetails(int networkType, String subscriberId, long startTime, long endTime) argument
[all...]
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
H A DRenderScriptTask.java103 long startTime = System.currentTimeMillis();
106 filter.logTiming(TAG, "TOTAL", endTime - startTime, "ms");
/frameworks/support/wear/tests/src/android/support/wear/widget/util/
H A DAsyncViewActions.java40 final long startTime = System.currentTimeMillis();
41 final long endTime = startTime + millis;
/frameworks/base/core/java/android/app/
H A DQueuedWork.java150 long startTime = System.currentTimeMillis();
196 long waitTime = System.currentTimeMillis() - startTime;
239 long startTime = 0;
242 startTime = System.currentTimeMillis();
263 +(System.currentTimeMillis() - startTime) + " ms");
H A DSharedPreferencesImpl.java411 final long startTime = System.currentTimeMillis();
423 + " applied after " + (System.currentTimeMillis() - startTime)
526 long startTime = 0;
529 startTime = System.currentTimeMillis();
543 + " committed after " + (System.currentTimeMillis() - startTime)
651 long startTime = 0;
662 startTime = System.currentTimeMillis();
771 Log.d(TAG, "write: " + (existsTime - startTime) + "/"
772 + (backupExistsTime - startTime) + "/"
773 + (outputStreamCreateTime - startTime)
[all...]
/frameworks/native/libs/binder/
H A DIServiceManager.cpp76 int64_t startTime = 0; local
82 if (startTime != 0) {
84 (int)((uptimeMillis()-startTime)/1000),
109 if (startTime == 0) {
110 startTime = uptimeMillis();
H A DAppOpsManager.cpp64 int64_t startTime = 0; local
70 if (startTime == 0) {
71 startTime = uptimeMillis();
73 } else if ((uptimeMillis()-startTime) > 10000) {
/frameworks/base/core/tests/coretests/src/android/view/
H A DPinchZoomAction.java82 final long startTime = SystemClock.uptimeMillis();
83 long eventTime = startTime;
86 final MotionEvent firstFingerEvent = MotionEvent.obtain(startTime,
91 final MotionEvent secondFingerEvent = MotionEvent.obtain(startTime, eventTime,
131 final MotionEvent event = MotionEvent.obtain(startTime, eventTime,
151 final MotionEvent secondFingerUpEvent = MotionEvent.obtain(startTime, eventTime,
166 final MotionEvent firstFingerUpEvent = MotionEvent.obtain(startTime, eventTime,
/frameworks/base/core/java/android/app/admin/
H A DSystemUpdatePolicy.java134 * @param startTime the start of the maintenance window, measured as the number of minutes from
140 public static SystemUpdatePolicy createWindowedInstallPolicy(int startTime, int endTime) { argument
141 if (startTime < 0 || startTime >= WINDOW_BOUNDARY
143 throw new IllegalArgumentException("startTime and endTime must be inside [0, 1440)");
147 policy.mMaintenanceWindowStart = startTime;
/frameworks/base/packages/MtpDocumentsProvider/perf_tests/src/com/android/mtp/
H A DAppFusePerfTest.java58 final long startTime = System.nanoTime();
60 readTime[i] = (System.nanoTime() - startTime) / 1000.0 / 1000.0;
70 final long startTime = System.nanoTime();
72 writeTime[i] = (System.nanoTime() - startTime) / 1000.0 / 1000.0;
/frameworks/base/services/core/jni/
H A Dcom_android_server_GraphicsStatsService.cpp42 jint versionCode, jlong startTime, jlong endTime, jbyteArray jdata) {
64 GraphicsStatsService::addToDump(dump, path, package, versionCode, startTime, endTime, data);
81 jint versionCode, jlong startTime, jlong endTime, jbyteArray jdata) {
93 GraphicsStatsService::saveBuffer(path, package, versionCode, startTime, endTime, data);
41 addToDump(JNIEnv* env, jobject, jlong dumpPtr, jstring jpath, jstring jpackage, jint versionCode, jlong startTime, jlong endTime, jbyteArray jdata) argument
80 saveBuffer(JNIEnv* env, jobject clazz, jstring jpath, jstring jpackage, jint versionCode, jlong startTime, jlong endTime, jbyteArray jdata) argument
/frameworks/base/core/java/android/accessibilityservice/
H A DGestureDescription.java221 * @param startTime The time, in milliseconds, from the time the gesture starts to the
227 @IntRange(from = 0) long startTime,
229 this(path, startTime, duration, false);
236 * @param startTime The time, in milliseconds, from the time the gesture starts to the
245 @IntRange(from = 0) long startTime,
250 Preconditions.checkArgument(startTime >= 0, "Start time must not be negative");
275 mStartTime = startTime;
276 mEndTime = startTime + duration;
325 * @param startTime The time, in milliseconds, from the time the gesture starts to the
333 public StrokeDescription continueStroke(Path path, long startTime, lon argument
226 StrokeDescription(@onNull Path path, @IntRange(from = 0) long startTime, @IntRange(from = 0) long duration) argument
244 StrokeDescription(@onNull Path path, @IntRange(from = 0) long startTime, @IntRange(from = 0) long duration, boolean willContinue) argument
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DKernelMemoryBandwidthStats.java41 final long startTime = SystemClock.uptimeMillis();
57 final long readTime = SystemClock.uptimeMillis() - startTime;
/frameworks/base/core/java/com/android/internal/policy/
H A DIKeyguardService.aidl102 * @param startTime the start time of the animation in uptime milliseconds
105 void startKeyguardExitAnimation(long startTime, long fadeoutDuration);
/frameworks/base/core/java/android/hardware/hdmi/
H A DHdmiTimerRecordSources.java50 * TimeOrDuration startTime = HdmiTimerRecordSources.ofTime(18, 00); // 6PM.
259 * @param startTime start time in {@link Time}
272 public static TimerInfo timerInfoOf(int dayOfMonth, int monthOfYear, Time startTime, argument
282 checkTimeValue(startTime.mHour, startTime.mMinute);
291 return new TimerInfo(dayOfMonth, monthOfYear, startTime, duration, recordingSequence);
337 private TimerInfo(int dayOfMonth, int monthOfYear, Time startTime, argument
341 mStartTime = startTime;
/frameworks/base/services/core/java/com/android/server/
H A DGraphicsStatsService.java218 normalizeDate(info.startTime).getTimeInMillis(), info.packageName, info.versionCode);
235 buffer.mInfo.startTime, buffer.mInfo.endTime, buffer.mData);
303 if (buffer.mInfo.startTime < today) {
328 buffer.mInfo.versionCode, buffer.mInfo.startTime, buffer.mInfo.endTime,
384 int versionCode, long startTime, long endTime, byte[] data);
388 long startTime, long endTime, byte[] data);
393 long startTime; field in class:GraphicsStatsService.BufferInfo
396 BufferInfo(String packageName, int versionCode, long startTime) { argument
399 this.startTime = startTime;
383 nAddToDump(long dump, String path, String packageName, int versionCode, long startTime, long endTime, byte[] data) argument
387 nSaveBuffer(String path, String packageName, int versionCode, long startTime, long endTime, byte[] data) argument
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DInstantAppResolver.java96 final long startTime = System.currentTimeMillis();
126 logMetrics(ACTION_INSTANT_APP_RESOLUTION_PHASE_ONE, startTime, token,
146 final long startTime = System.currentTimeMillis();
159 long startTime) {
204 logMetrics(ACTION_INSTANT_APP_RESOLUTION_PHASE_TWO, startTime, token,
212 shaPrefix, token, hostName, callback, callbackHandler, startTime);
218 logMetrics(ACTION_INSTANT_APP_RESOLUTION_PHASE_TWO, startTime, token,
390 private static void logMetrics(int action, long startTime, String token, argument
395 new Long(System.currentTimeMillis() - startTime))
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/wizard/
H A DGuidedDatePickerTest.java240 long startTime = System.currentTimeMillis();
279 long executionTime = System.currentTimeMillis() - startTime;
286 long startTime = System.currentTimeMillis();
325 long executionTime = System.currentTimeMillis() - startTime;
332 long startTime = System.currentTimeMillis();
371 long executionTime = System.currentTimeMillis() - startTime;
378 long startTime = System.currentTimeMillis();
417 long executionTime = System.currentTimeMillis() - startTime;
424 long startTime = System.currentTimeMillis();
463 long executionTime = System.currentTimeMillis() - startTime;
[all...]

Completed in 1027 milliseconds

123456