Home
last modified time | relevance | path

Searched refs:getCurrentTime (Results 1 – 25 of 35) sorted by relevance

12

/aosp12/frameworks/base/services/core/java/com/android/server/hdmi/
H A DSendKeyAction.java86 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 DScreenUndimDetector.java104 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 DAppStateUsageStatsBridge.java102 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 DStorageManagerUpsellDialog.java97 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 DAppsAsyncLoader.java102 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 DBaseTimeZoneInfoPickerTest.java67 Truth.assertThat(item1.getCurrentTime()) in createAdapter_matchTimeZoneInfoAndOrder()
73 Truth.assertThat(item2.getCurrentTime()) in createAdapter_matchTimeZoneInfoAndOrder()
H A DBaseTimeZoneAdapterTest.java127 public String getCurrentTime() { in getCurrentTime() method in BaseTimeZoneAdapterTest.TestItem
/aosp12/system/chre/pal/util/
H A Dwifi_scan_cache.c84 (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 DExecutionBurstUtils.cpp504 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 Dpal_gnss.cc55 event->timestamp = gSystemApi->getCurrentTime(); in sendLocationEvents()
72 event->clock.time_ns = static_cast<int64_t>(gSystemApi->getCurrentTime()); in sendMeasurementEvents()
H A Dpal_wifi.cc46 event->referenceTime = gSystemApi->getCurrentTime(); in sendScanResponse()
H A Dpal_wwan.cc39 cell->timeStamp = gSystemApi->getCurrentTime(); in sendCellInfoResult()
/aosp12/packages/apps/StorageManager/src/com/android/storagemanager/automatic/
H A DNotificationController.java170 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 Dsystem.h67 uint64_t (*getCurrentTime)(void); member
/aosp12/system/chre/chpp/platform/
H A Dpal_api.c75 .getCurrentTime = palSystemApiGetCurrentTime, in chppPalSystemApiInit()
/aosp12/hardware/qcom/sm7150/gps/android/2.0/location_api/
H A DLocationUtil.h52 bool getCurrentTime(struct timespec& currentTime, int64_t& sinceBootTimeNanos);
H A DLocationUtil.cpp84 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 DBaseTimeZoneAdapter.java163 String getCurrentTime(); in getCurrentTime() method
214 mTimeView.setText(item.getCurrentTime()); in setAdapterItem()
H A DBaseTimeZoneInfoPicker.java166 public String getCurrentTime() { in getCurrentTime() method in BaseTimeZoneInfoPicker.TimeZoneInfoItem
/aosp12/packages/services/Car/cpp/computepipe/runner/input_manager/
H A DVideoDecoder.cpp35 int64_t getCurrentTime() { in getCurrentTime() function
218 if (getCurrentTime() > frameTimeMicros) { in decoderThreadFunction()
/aosp12/packages/modules/NeuralNetworks/common/
H A DExecutionBurstController.cpp293 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 DExecutionBurstServer.cpp376 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 DTestUtils.java91 SystemClock.setCurrentTimeMillis(shadowLooper.getScheduler().getCurrentTime()); in runToEndOfTasks()
/aosp12/hardware/qcom/sm7250/gps/core/
H A DLocApiBase.cpp954 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 DLocApiBase.cpp954 if (getCurrentTime(currentTime, sinceBootTimeNanos)) { in open()
997 if (getCurrentTime(currentTime, sinceBootTimeNanos)) { in getElapsedRealtimeQtimer()
1031 bool ElapsedRealtimeEstimator::getCurrentTime( in getCurrentTime() function in loc_core::ElapsedRealtimeEstimator

12