/frameworks/base/core/java/android/content/ |
D | SyncInfo.java | 55 public final long startTime; field in SyncInfo 64 int authorityId, String authority, long startTime) { in createAccountRedacted() argument 65 return new SyncInfo(authorityId, REDACTED_ACCOUNT, authority, startTime); in createAccountRedacted() 70 public SyncInfo(int authorityId, Account account, String authority, long startTime) { in SyncInfo() argument 74 this.startTime = startTime; in SyncInfo() 82 this.startTime = other.startTime; in SyncInfo() 95 parcel.writeLong(startTime); in writeToParcel() 104 startTime = parcel.readLong(); in SyncInfo()
|
/frameworks/base/core/java/android/app/usage/ |
D | NetworkStatsManager.java | 176 long startTime, long endTime) throws SecurityException, RemoteException { in querySummaryForDevice() argument 178 NetworkStats stats = new NetworkStats(mContext, template, mFlags, startTime, endTime, in querySummaryForDevice() 209 long startTime, long endTime) throws SecurityException, RemoteException { in querySummaryForDevice() argument 218 return querySummaryForDevice(template, startTime, endTime); in querySummaryForDevice() 241 public Bucket querySummaryForUser(int networkType, String subscriberId, long startTime, in querySummaryForUser() argument 252 stats = new NetworkStats(mContext, template, mFlags, startTime, endTime, mService); in querySummaryForUser() 278 public NetworkStats querySummary(int networkType, String subscriberId, long startTime, in querySummary() argument 288 return querySummary(template, startTime, endTime); in querySummary() 292 public NetworkStats querySummary(NetworkTemplate template, long startTime, in querySummary() argument 295 result = new NetworkStats(mContext, template, mFlags, startTime, endTime, mService); in querySummary() [all …]
|
/frameworks/av/media/codec2/hidl/1.0/vts/functional/component/ |
D | VtsHalMediaC2V1_0TargetComponentTest.cpp | 266 int64_t startTime = getNowUs(); in TEST_F() local 268 int64_t timeConsumed = getNowUs() - startTime; in TEST_F() 273 startTime = getNowUs(); in TEST_F() 275 timeConsumed = getNowUs() - startTime; in TEST_F() 285 startTime = getNowUs(); in TEST_F() 287 timeConsumed = getNowUs() - startTime; in TEST_F() 298 startTime = getNowUs(); in TEST_F() 300 timeConsumed = getNowUs() - startTime; in TEST_F() 307 startTime = getNowUs(); in TEST_F() 309 timeConsumed = getNowUs() - startTime; in TEST_F() [all …]
|
/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/tests/ |
D | BroadcastPerfTest.java | 40 final long startTime = System.nanoTime(); in manifestBroadcastRunning() local 46 return endTime - startTime; in manifestBroadcastRunning() 56 final long startTime = System.nanoTime(); in manifestBroadcastNotRunning() local 62 return endTime - startTime; in manifestBroadcastNotRunning() 74 final long startTime = System.nanoTime(); in registeredBroadcast() local 80 return endTime - startTime; in registeredBroadcast()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | ANQPRequestManagerTest.java | 163 long startTime = 0; in requestANQPElementsWithPendingRequest() local 165 when(mClock.getElapsedSinceBootMillis()).thenReturn(startTime); in requestANQPElementsWithPendingRequest() 171 when(mClock.getElapsedSinceBootMillis()).thenReturn(startTime + 1); in requestANQPElementsWithPendingRequest() 179 .thenReturn(startTime + ANQPRequestManager.BASE_HOLDOFF_TIME_MILLISECONDS); in requestANQPElementsWithPendingRequest() 192 long startTime = 0; in requestANQPElementsAfterRequestSendFailure() local 194 when(mClock.getElapsedSinceBootMillis()).thenReturn(startTime); in requestANQPElementsAfterRequestSendFailure() 200 when(mClock.getElapsedSinceBootMillis()).thenReturn(startTime); in requestANQPElementsAfterRequestSendFailure() 213 long startTime = 0; in requestANQPElementsAfterRequestSucceeded() local 215 when(mClock.getElapsedSinceBootMillis()).thenReturn(startTime); in requestANQPElementsAfterRequestSucceeded() 224 when(mClock.getElapsedSinceBootMillis()).thenReturn(startTime + 1); in requestANQPElementsAfterRequestSucceeded() [all …]
|
/frameworks/av/media/libaaudio/tests/ |
D | test_clock_model.cpp | 117 const int64_t startTime = 100000; in TEST_F() local 118 model.start(startTime); in TEST_F() 120 int64_t position = model.convertTimeToPosition(startTime); in TEST_F() 124 EXPECT_EQ(startTime, time); in TEST_F() 126 time = startTime + (500 * NANOS_PER_MICROSECOND); in TEST_F() 133 const int64_t startTime = 100000000; in TEST_F() local 134 model.start(startTime); in TEST_F() 137 int64_t markerTime = startTime + NANOS_PER_MILLISECOND + (200 * NANOS_PER_MICROSECOND); in TEST_F()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | ConnectivityManagerTestBase.java | 154 long startTime = SystemClock.uptimeMillis(); in waitForNetworkState() local 161 if ((SystemClock.uptimeMillis() - startTime) > timeout) { in waitForNetworkState() 173 long startTime = SystemClock.uptimeMillis(); in waitForWifiState() local 180 if ((SystemClock.uptimeMillis() - startTime) > timeout) { in waitForWifiState() 192 long startTime = SystemClock.uptimeMillis(); in waitForWifiApState() local 199 if ((SystemClock.uptimeMillis() - startTime) > timeout) { in waitForWifiApState() 217 long startTime = SystemClock.uptimeMillis(); in waitForTetherStateChange() local 220 if ((SystemClock.uptimeMillis() - startTime) > timeout) { in waitForTetherStateChange() 282 long startTime = System.currentTimeMillis(); in pingTest() local 283 while ((System.currentTimeMillis() - startTime) < PING_TIMER) { in pingTest() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | IccRecordsTest.java | 147 long startTime; in testGetIccSimChallengeResponseNull() local 156 startTime = SystemClock.elapsedRealtime(); in testGetIccSimChallengeResponseNull() 160 timeSpent = SystemClock.elapsedRealtime() - startTime; in testGetIccSimChallengeResponseNull() 168 long startTime; in testGetIccSimChallengeResponseTimeout() local 176 startTime = SystemClock.elapsedRealtime(); in testGetIccSimChallengeResponseTimeout() 180 timeSpent = SystemClock.elapsedRealtime() - startTime; in testGetIccSimChallengeResponseTimeout() 205 long startTime; in testGetIccSimChallengeResponseDefault() local 217 startTime = SystemClock.elapsedRealtime(); in testGetIccSimChallengeResponseDefault() 221 timeSpent = SystemClock.elapsedRealtime() - startTime; in testGetIccSimChallengeResponseDefault() 227 startTime = SystemClock.elapsedRealtime(); in testGetIccSimChallengeResponseDefault() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | LayerHistoryTest.cpp | 84 nsecs_t startTime = systemTime(); in TEST_F() local 86 mLayerHistory->insert(test30FpsLayer, startTime + (i * THIRTY_FPS_INTERVAL), in TEST_F() 104 nsecs_t startTime = systemTime(); in TEST_F() local 110 startTime = systemTime(); in TEST_F() 112 mLayerHistory->insert(test30FpsLayer, startTime + (i * THIRTY_FPS_INTERVAL), in TEST_F() 118 mLayerHistory->insert(test30FpsLayer, startTime + (i * THIRTY_FPS_INTERVAL), in TEST_F() 133 startTime + (RELEVANT_FRAME_THRESHOLD * THIRTY_FPS_INTERVAL), in TEST_F()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/ |
D | Interaction.java | 109 long startTime = SystemClock.uptimeMillis() + 100; in createInterpolatedEventList() local 116 startTime, startTime, MotionEvent.ACTION_DOWN, startX, startY, 0); in createInterpolatedEventList() 130 MotionEvent moveEvent = MotionEvent.obtain(startTime, startTime + deltaT, in createInterpolatedEventList() 141 MotionEvent lastEvent = MotionEvent.obtain(startTime, startTime + duration, in createInterpolatedEventList()
|
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
D | CustomSurfaceView.java | 60 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/av/services/oboeservice/ |
D | TimestampScheduler.cpp | 24 void TimestampScheduler::start(int64_t startTime) { in start() argument 25 mStartTime = startTime; in start() 26 mLastTime = startTime; in start()
|
/frameworks/native/libs/binder/ |
D | PermissionController.cpp | 33 int64_t startTime = 0; in getService() local 39 if (startTime == 0) { in getService() 40 startTime = uptimeMillis(); in getService() 42 } else if ((uptimeMillis() - startTime) > 10000) { in getService()
|
D | IServiceManager.cpp | 153 int64_t startTime = 0; in checkPermission() local 159 if (startTime != 0) { in checkPermission() 161 (int)((uptimeMillis()-startTime)/1000), in checkPermission() 186 if (startTime == 0) { in checkPermission() 187 startTime = uptimeMillis(); in checkPermission() 224 int64_t startTime = uptimeMillis(); in getService() local 242 while (uptimeMillis() - startTime < timeout) { in getService() 250 uptimeMillis() - startTime); in getService()
|
D | ActivityManager.cpp | 35 int64_t startTime = 0; in getService() local 41 if (startTime == 0) { in getService() 42 startTime = uptimeMillis(); in getService() 44 } else if ((uptimeMillis() - startTime) > 1000000) { in getService()
|
/frameworks/base/core/java/android/app/ |
D | SharedPreferencesImpl.java | 459 final long startTime = System.currentTimeMillis(); in apply() local 472 + " applied after " + (System.currentTimeMillis() - startTime) in apply() 577 long startTime = 0; in commit() local 580 startTime = System.currentTimeMillis(); in commit() 594 + " committed after " + (System.currentTimeMillis() - startTime) in commit() 699 long startTime = 0; in writeToFile() local 710 startTime = System.currentTimeMillis(); in writeToFile() 819 Log.d(TAG, "write: " + (existsTime - startTime) + "/" in writeToFile() 820 + (backupExistsTime - startTime) + "/" in writeToFile() 821 + (outputStreamCreateTime - startTime) + "/" in writeToFile() [all …]
|
D | QueuedWork.java | 155 long startTime = System.currentTimeMillis(); in waitToFinish() local 201 long waitTime = System.currentTimeMillis() - startTime; in waitToFinish() 245 long startTime = 0; in processPendingWork() local 248 startTime = System.currentTimeMillis(); in processPendingWork() 269 +(System.currentTimeMillis() - startTime) + " ms"); in processPendingWork()
|
/frameworks/native/libs/sensorprivacy/ |
D | SensorPrivacyManager.cpp | 35 int64_t startTime = 0; in getService() local 41 if (startTime == 0) { in getService() 42 startTime = uptimeMillis(); in getService() 44 } else if ((uptimeMillis() - startTime) > 1000000) { in getService()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | PinchZoomAction.java | 81 final long startTime = SystemClock.uptimeMillis(); in sendPinchZoomAction() local 82 long eventTime = startTime; in sendPinchZoomAction() 85 final MotionEvent firstFingerEvent = MotionEvent.obtain(startTime, in sendPinchZoomAction() 90 final MotionEvent secondFingerEvent = MotionEvent.obtain(startTime, eventTime, in sendPinchZoomAction() 130 final MotionEvent event = MotionEvent.obtain(startTime, eventTime, in sendPinchZoomAction() 150 final MotionEvent secondFingerUpEvent = MotionEvent.obtain(startTime, eventTime, in sendPinchZoomAction() 165 final MotionEvent firstFingerUpEvent = MotionEvent.obtain(startTime, eventTime, in sendPinchZoomAction()
|
/frameworks/base/tests/net/java/android/app/usage/ |
D | NetworkStatsManagerTest.java | 73 final long startTime = 1; in testQueryDetails() local 112 eq(NetworkStatsHistory.FIELD_ALL), eq(startTime), eq(endTime))) in testQueryDetails() 123 eq(NetworkStatsHistory.FIELD_ALL), eq(startTime), eq(endTime))) in testQueryDetails() 133 ConnectivityManager.TYPE_MOBILE, subscriberId, startTime, endTime); in testQueryDetails() 171 final long startTime = 1; in testQueryDetails_NoSubscriberId() local 180 ConnectivityManager.TYPE_MOBILE, null, startTime, endTime); in testQueryDetails_NoSubscriberId() 192 eq(NetworkStatsHistory.FIELD_ALL), eq(startTime), eq(endTime)); in testQueryDetails_NoSubscriberId() 200 eq(NetworkStatsHistory.FIELD_ALL), eq(startTime), eq(endTime)); in testQueryDetails_NoSubscriberId()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | WificondScannerImpl.java | 330 if (timestamp_ms > mLastPnoScanSettings.startTime) { in pollLatestScanDataForPno() 382 if (timestamp_ms > mLastScanSettings.startTime) { in pollLatestScanData() 505 LastScanSettings(long startTime, in LastScanSettings() argument 509 this.startTime = startTime; in LastScanSettings() 515 public long startTime; field in WificondScannerImpl.LastScanSettings 523 LastPnoScanSettings(long startTime, in LastPnoScanSettings() argument 526 this.startTime = startTime; in LastPnoScanSettings() 531 public long startTime; field in WificondScannerImpl.LastPnoScanSettings
|
/frameworks/base/services/core/java/com/android/server/ |
D | GraphicsStatsService.java | 219 … normalizeDate(info.startTime).getTimeInMillis(), info.packageName, info.versionCode); in pathForApp() 236 buffer.mInfo.startTime, buffer.mInfo.endTime, buffer.mData); in saveBuffer() 304 if (buffer.mInfo.startTime < today) { in fetchActiveBuffersLocked() 329 buffer.mInfo.versionCode, buffer.mInfo.startTime, buffer.mInfo.endTime, in dumpActiveLocked() 385 long versionCode, long startTime, long endTime, byte[] data); in nAddToDump() argument 389 long startTime, long endTime, byte[] data); in nSaveBuffer() argument 394 long startTime; field in GraphicsStatsService.BufferInfo 397 BufferInfo(String packageName, long versionCode, long startTime) { in BufferInfo() argument 400 this.startTime = startTime; in BufferInfo()
|
/frameworks/base/packages/MtpDocumentsProvider/perf_tests/src/com/android/mtp/ |
D | AppFusePerfTest.java | 56 final long startTime = System.nanoTime(); in testReadWriteFile() local 58 readTime[i] = (System.nanoTime() - startTime) / 1000.0 / 1000.0; in testReadWriteFile() 68 final long startTime = System.nanoTime(); in testReadWriteFile() local 70 writeTime[i] = (System.nanoTime() - startTime) / 1000.0 / 1000.0; in testReadWriteFile()
|
/frameworks/base/core/java/android/hardware/hdmi/ |
D | HdmiTimerRecordSources.java | 271 public static TimerInfo timerInfoOf(int dayOfMonth, int monthOfYear, Time startTime, in timerInfoOf() argument 281 checkTimeValue(startTime.mHour, startTime.mMinute); in timerInfoOf() 290 return new TimerInfo(dayOfMonth, monthOfYear, startTime, duration, recordingSequence); in timerInfoOf() 336 private TimerInfo(int dayOfMonth, int monthOfYear, Time startTime, in TimerInfo() argument 340 mStartTime = startTime; in TimerInfo()
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | GestureDescription.java | 227 @IntRange(from = 0) long startTime, in StrokeDescription() 229 this(path, startTime, duration, false); in StrokeDescription() 245 @IntRange(from = 0) long startTime, in StrokeDescription() 250 Preconditions.checkArgument(startTime >= 0, "Start time must not be negative"); in StrokeDescription() 275 mStartTime = startTime; in StrokeDescription() 276 mEndTime = startTime + duration; in StrokeDescription() 333 public StrokeDescription continueStroke(Path path, long startTime, long duration, in continueStroke() argument 340 new StrokeDescription(path, startTime, duration, willContinue); in continueStroke()
|