Home
last modified time | relevance | path

Searched refs:timeLeft (Results 1 – 14 of 14) sorted by relevance

/aosp12/packages/apps/EmergencyInfo/EmergencyGestureAction/src/com/android/emergency/widgets/countdown/
H A DCountDownAnimationView.java129 public void setCountDownLeft(Duration timeLeft) { in setCountDownLeft() argument
131 mLoopingAnimationThread.setCountDownLeft(timeLeft); in setCountDownLeft()
137 msgArgs.put("seconds_left", timeLeft.getSeconds()); in setCountDownLeft()
H A DLoopingAnimationThread.java137 synchronized void setCountDownLeft(Duration timeLeft) { in setCountDownLeft() argument
138 if (timeLeft.isNegative() || timeLeft.isZero()) { in setCountDownLeft()
141 mCountDownRenderer.setCountDownLeft(timeLeft); in setCountDownLeft()
H A DCountDownRenderer.java153 synchronized void setCountDownLeft(Duration timeLeft) { in setCountDownLeft() argument
154 mCountDownLeft = timeLeft; in setCountDownLeft()
/aosp12/packages/services/Car/tools/emulator/
H A Ddriving_info_generator.py170 timeLeft = duration - timeElapsed
171 self.odometerInKm += (self.speedInMps + gpxFrame.speedInMps) / 2.0 * timeLeft / 1000
173 time.sleep(timeLeft)
/aosp12/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/
H A DWorkflowTest.java96 long timeLeft = OPERATION_TIMEOUT_MILLIS - (System.currentTimeMillis() - startTime); in waitWithTimeout() local
97 if (timeLeft < 0) { in waitWithTimeout()
101 waiter.accept(timeLeft); in waitWithTimeout()
/aosp12/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothDiscoverableEnabler.java289 int timeLeft = (int) ((endTimestamp - currentTimestamp) / 1000L); in updateCountdownSummary() local
290 updateTimerDisplay(timeLeft); in updateCountdownSummary()
/aosp12/hardware/interfaces/sensors/common/default/2.X/multihal/
H A DHalProxy.cpp609 int64_t timeLeft; in handleWakelocks() local
610 if (sharedWakelockDidTimeout(&timeLeft)) { in handleWakelocks()
617 static_cast<uint32_t>(WakeLockQueueFlagBits::DATA_WRITTEN), timeLeft); in handleWakelocks()
629 bool HalProxy::sharedWakelockDidTimeout(int64_t* timeLeft) { in sharedWakelockDidTimeout() argument
636 *timeLeft = kWakelockTimeoutNs - duration; in sharedWakelockDidTimeout()
/aosp12/frameworks/native/cmds/atrace/
H A Datrace.cpp1352 struct timespec timeLeft; in main() local
1353 timeLeft.tv_sec = g_traceDurationSeconds; in main()
1354 timeLeft.tv_nsec = 0; in main()
1359 } while (nanosleep(&timeLeft, &timeLeft) == -1 && errno == EINTR); in main()
/aosp12/packages/apps/Contacts/src/com/android/contacts/list/
H A DPinnedHeaderListView.java556 int timeLeft = (int)(header.targetTime - currentTime); in drawHeader() local
557 if (timeLeft <= 0) { in drawHeader()
562 header.y = header.targetY + (header.sourceY - header.targetY) * timeLeft in drawHeader()
/aosp12/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
H A DE2ePerformanceTest.java296 long timeLeft = timeoutMs - (SystemClock.elapsedRealtime() - start); in awaitCountDownLatches() local
297 if (!latches[i].await(timeLeft, TimeUnit.MILLISECONDS)) { in awaitCountDownLatches()
/aosp12/frameworks/base/core/java/android/animation/
H A DValueAnimator.java1202 long timeLeft = getScaledDuration() - currentPlayTime; in reverse() local
1203 mStartTime = currentTime - timeLeft; in reverse()
/aosp12/hardware/interfaces/sensors/common/default/2.X/multihal/include/
H A DHalProxy.h321 bool sharedWakelockDidTimeout(int64_t* timeLeft);
/aosp12/frameworks/base/services/incremental/
H A DIncrementalService.cpp1423 const auto timeLeft = timeLimit - Clock::now(); in checkUidReadTimeouts() local
1424 if (timeLeft < Constants::progressUpdateInterval) { in checkUidReadTimeouts()
/aosp12/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...