/aosp12/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | SendKeyAction.java | 86 mLastSendKeyTime = getCurrentTime(); in start() 98 private long getCurrentTime() { in getCurrentTime() method in SendKeyAction 118 mLastSendKeyTime = getCurrentTime(); in processKeyEvent() 128 if (getCurrentTime() - mLastSendKeyTime >= IRT_MS) { in processKeyEvent() 130 mLastSendKeyTime = getCurrentTime(); in processKeyEvent() 192 mLastSendKeyTime = getCurrentTime(); in handleTimerEvent()
|
/aosp12/frameworks/base/services/core/java/com/android/server/power/ |
H A D | ScreenUndimDetector.java | 104 public long getCurrentTime() { in getCurrentTime() method in ScreenUndimDetector.InternalClock 148 final long now = mClock.getCurrentTime(); in recordScreenPolicy() 171 mUndimOccurredTime = mClock.getCurrentTime(); in recordScreenPolicy() 273 mInteractionAfterUndimTime = mClock.getCurrentTime(); in userActivity() 286 long now = mClock.getCurrentTime(); in checkAndLogUndim()
|
/aosp12/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
H A D | AppStateUsageStatsBridge.java | 102 long days = (TimeUnit.MILLISECONDS.toDays(mClock.getCurrentTime() - lastUsed)); in getDaysSinceLastUse() 120 return (TimeUnit.MILLISECONDS.toDays(mClock.getCurrentTime() - pi.firstInstallTime)); in getDaysSinceInstalled() 124 long now = mClock.getCurrentTime(); in getAggregatedUsageStats() 218 public long getCurrentTime() { in getCurrentTime() method in AppStateUsageStatsBridge.Clock
|
H A D | StorageManagerUpsellDialog.java | 97 long nextShowTime = noThanksDelay == NEVER ? NEVER : getCurrentTime() + noThanksDelay; in onClick() 111 editor.putLong(NEXT_SHOW_TIME, getCurrentTime() + getDismissDelay(dismissCount)); in onCancel() 158 private long getCurrentTime() { in getCurrentTime() method in StorageManagerUpsellDialog
|
H A D | AppsAsyncLoader.java | 102 long now = mClock.getCurrentTime(); in loadApps() 391 long days = (TimeUnit.MILLISECONDS.toDays(mClock.getCurrentTime() - lastUsed)); in getDaysSinceLastUse() 409 return (TimeUnit.MILLISECONDS.toDays(mClock.getCurrentTime() - pi.firstInstallTime)); in getDaysSinceInstalled() 534 public long getCurrentTime() { in getCurrentTime() method in AppsAsyncLoader.Clock
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/timezone/ |
H A D | BaseTimeZoneInfoPickerTest.java | 67 Truth.assertThat(item1.getCurrentTime()) in createAdapter_matchTimeZoneInfoAndOrder() 73 Truth.assertThat(item2.getCurrentTime()) in createAdapter_matchTimeZoneInfoAndOrder()
|
H A D | BaseTimeZoneAdapterTest.java | 127 public String getCurrentTime() { in getCurrentTime() method in BaseTimeZoneAdapterTest.TestItem
|
/aosp12/system/chre/pal/util/ |
H A D | wifi_scan_cache.c | 84 (timeNs >= gSystemApi->getCurrentTime() - in paramsMatchScanCache() 255 gSystemApi->getCurrentTime() / kOneMillisecondInNanoseconds); in chreWifiScanCacheScanEventAdd() 274 gWifiCacheState.event.referenceTime = gSystemApi->getCurrentTime(); in chreWifiScanCacheScanEventEnd()
|
/aosp12/hardware/interfaces/neuralnetworks/1.2/utils/src/ |
H A D | ExecutionBurstUtils.cpp | 504 auto& getCurrentTime = std::chrono::high_resolution_clock::now; in getPacketBlocking() local 505 const auto timeToStopPolling = getCurrentTime() + kPollingTimeWindow; in getPacketBlocking() 507 while (getCurrentTime() < timeToStopPolling) { in getPacketBlocking() 651 auto& getCurrentTime = std::chrono::high_resolution_clock::now; in getPacketBlocking() local 652 const auto timeToStopPolling = getCurrentTime() + kPollingTimeWindow; in getPacketBlocking() 654 while (getCurrentTime() < timeToStopPolling) { in getPacketBlocking()
|
/aosp12/system/chre/platform/linux/ |
H A D | pal_gnss.cc | 55 event->timestamp = gSystemApi->getCurrentTime(); in sendLocationEvents() 72 event->clock.time_ns = static_cast<int64_t>(gSystemApi->getCurrentTime()); in sendMeasurementEvents()
|
H A D | pal_wifi.cc | 46 event->referenceTime = gSystemApi->getCurrentTime(); in sendScanResponse()
|
H A D | pal_wwan.cc | 39 cell->timeStamp = gSystemApi->getCurrentTime(); in sendCellInfoResult()
|
/aosp12/packages/apps/StorageManager/src/com/android/storagemanager/automatic/ |
H A D | NotificationController.java | 170 return getCurrentTime() >= nextTimeToShow; in shouldShowNotification() 283 getCurrentTime() + timeInMillis); in delayNextNotification() 287 private long getCurrentTime() { in getCurrentTime() method in NotificationController
|
/aosp12/system/chre/pal/include/chre/pal/ |
H A D | system.h | 67 uint64_t (*getCurrentTime)(void); member
|
/aosp12/system/chre/chpp/platform/ |
H A D | pal_api.c | 75 .getCurrentTime = palSystemApiGetCurrentTime, in chppPalSystemApiInit()
|
/aosp12/hardware/qcom/sm7150/gps/android/2.0/location_api/ |
H A D | LocationUtil.h | 52 bool getCurrentTime(struct timespec& currentTime, int64_t& sinceBootTimeNanos);
|
H A D | LocationUtil.cpp | 84 bool getCurrentTime(struct timespec& currentTime, int64_t& sinceBootTimeNanos) in getCurrentTime() function 130 if (getCurrentTime(currentTime, sinceBootTimeNanos)) { in convertGnssLocation()
|
/aosp12/packages/apps/Settings/src/com/android/settings/datetime/timezone/ |
H A D | BaseTimeZoneAdapter.java | 163 String getCurrentTime(); in getCurrentTime() method 214 mTimeView.setText(item.getCurrentTime()); in setAdapterItem()
|
H A D | BaseTimeZoneInfoPicker.java | 166 public String getCurrentTime() { in getCurrentTime() method in BaseTimeZoneInfoPicker.TimeZoneInfoItem
|
/aosp12/packages/services/Car/cpp/computepipe/runner/input_manager/ |
H A D | VideoDecoder.cpp | 35 int64_t getCurrentTime() { in getCurrentTime() function 218 if (getCurrentTime() > frameTimeMicros) { in decoderThreadFunction()
|
/aosp12/packages/modules/NeuralNetworks/common/ |
H A D | ExecutionBurstController.cpp | 293 auto& getCurrentTime = std::chrono::high_resolution_clock::now; in getPacketBlocking() local 294 const auto timeToStopPolling = getCurrentTime() + kPollingTimeWindow; in getPacketBlocking() 296 while (getCurrentTime() < timeToStopPolling) { in getPacketBlocking()
|
H A D | ExecutionBurstServer.cpp | 376 auto& getCurrentTime = std::chrono::high_resolution_clock::now; in getPacketBlocking() local 377 const auto timeToStopPolling = getCurrentTime() + kPollingTimeWindow; in getPacketBlocking() 379 while (getCurrentTime() < timeToStopPolling) { in getPacketBlocking()
|
/aosp12/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/ |
H A D | TestUtils.java | 91 SystemClock.setCurrentTimeMillis(shadowLooper.getScheduler().getCurrentTime()); in runToEndOfTasks()
|
/aosp12/hardware/qcom/sm7250/gps/core/ |
H A D | LocApiBase.cpp | 954 if (getCurrentTime(currentTime, sinceBootTimeNanos)) { in open() 997 if (getCurrentTime(currentTime, sinceBootTimeNanos)) { in getElapsedRealtimeQtimer() 1031 bool ElapsedRealtimeEstimator::getCurrentTime( in getCurrentTime() function in loc_core::ElapsedRealtimeEstimator
|
/aosp12/hardware/qcom/sm8150/gps/core/ |
H A D | LocApiBase.cpp | 954 if (getCurrentTime(currentTime, sinceBootTimeNanos)) { in open() 997 if (getCurrentTime(currentTime, sinceBootTimeNanos)) { in getElapsedRealtimeQtimer() 1031 bool ElapsedRealtimeEstimator::getCurrentTime( in getCurrentTime() function in loc_core::ElapsedRealtimeEstimator
|