Home
last modified time | relevance | path

Searched refs:waitTime (Results 1 – 17 of 17) sorted by relevance

/frameworks/av/services/camera/libcameraservice/utils/
DAutoConditionLock.cpp39 const std::shared_ptr<WaitableMutexWrapper>& manager, nsecs_t waitTime) { in waitAndAcquire() argument
50 nsecs_t failTime = systemTime(SYSTEM_TIME_MONOTONIC) + waitTime; in waitAndAcquire()
54 status_t ret = manager->mCondition.waitRelative(*(manager->mMutex), waitTime); in waitAndAcquire()
59 waitTime = failTime - systemTime(SYSTEM_TIME_MONOTONIC); in waitAndAcquire()
DAutoConditionLock.h80 const std::shared_ptr<WaitableMutexWrapper>& manager, nsecs_t waitTime);
/frameworks/base/core/java/android/app/
DQueuedWork.java229 long waitTime = System.currentTimeMillis() - startTime; in waitToFinish() local
231 if (waitTime > 0 || hadMessages) { in waitToFinish()
232 mWaitTimes.add(Long.valueOf(waitTime).intValue()); in waitToFinish()
235 if (DEBUG || mNumWaits % 1024 == 0 || waitTime > MAX_WAIT_TIME_MILLIS) { in waitToFinish()
/frameworks/rs/
DrsThreadIO.cpp125 int waitTime = -1; in playCoreCommands() local
127 int pr = poll(p, pollCount, waitTime); in playCoreCommands()
161 waitTime = 0; in playCoreCommands()
/frameworks/base/core/java/com/android/internal/os/
DTransferPipe.java196 long waitTime = mEndTime - SystemClock.uptimeMillis(); in go() local
197 if (waitTime <= 0) { in go()
204 wait(waitTime); in go()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/satellite/data/prod/
DDeviceBasedSatelliteRepositoryImpl.kt251 val waitTime = ensureMinUptime(systemClock, MIN_UPTIME) in checkSatelliteSupportAfterMinUptime() constant
252 if (waitTime > 0) { in checkSatelliteSupportAfterMinUptime()
253 logBuffer.i({ long1 = waitTime }) { in checkSatelliteSupportAfterMinUptime()
256 delay(waitTime) in checkSatelliteSupportAfterMinUptime()
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
DBlockingSessionCallback.java244 long waitTime = SystemClock.elapsedRealtime() - waitStartTime; in waitForSurfacePrepared() local
245 waitTimeRemaining -= waitTime; in waitForSurfacePrepared()
/frameworks/base/services/core/java/com/android/server/
DMmsServiceBroker.java265 long waitTime = SERVICE_CONNECTION_WAIT_TIME_MS; in getOrConnectService() local
266 while (waitTime > 0) { in getOrConnectService()
269 this.wait(waitTime); in getOrConnectService()
278 waitTime = shouldEnd - SystemClock.elapsedRealtime(); in getOrConnectService()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageManagerTests.java282 long waitTime = 0; in invokeInstallPackage() local
283 while ((!receiver.isDone()) && (waitTime < MAX_WAIT_TIME)) { in invokeInstallPackage()
286 waitTime += WAIT_TIME_INCR; in invokeInstallPackage()
892 long waitTime = timeoutMillis; in waitForCompletion() local
893 while (waitTime > 0) { in waitForCompletion()
895 boolean done = mLatch.await(waitTime, TimeUnit.MILLISECONDS); in waitForCompletion()
904 waitTime = deadline - SystemClock.uptimeMillis(); in waitForCompletion()
953 long waitTime = 0; in invokeDeletePackage() local
954 while ((!receiver.isDone()) && (waitTime < MAX_WAIT_TIME)) { in invokeDeletePackage()
956 waitTime += WAIT_TIME_INCR; in invokeDeletePackage()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/
DDatagramDispatcher.java750 long waitTime = SatelliteServiceUtils.isLastSosMessage(argument.datagramType) in startWaitForDatagramSendingResponseTimer() local
754 + ", waitTime=" + waitTime); in startWaitForDatagramSendingResponseTimer()
756 EVENT_WAIT_FOR_DATAGRAM_SENDING_RESPONSE_TIMED_OUT, argument), waitTime); in startWaitForDatagramSendingResponseTimer() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/updates/
DDeviceFoldStateProviderTest.kt643 private fun simulateTimeout(waitTime: Long = HALF_OPENED_TIMEOUT_MILLIS) { in <lambda>()
645 if (waitTime >= runnableDelay) { in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/temporarydisplay/
DTemporaryViewDisplayControllerTest.kt257 val waitTime = 1000L in displayView_calledAgainBeforeTimeout_timeoutReset() constant
258 fakeClock.advanceTime(waitTime) in displayView_calledAgainBeforeTimeout_timeoutReset()
262 fakeClock.advanceTime(TIMEOUT_MS - waitTime + 1) in displayView_calledAgainBeforeTimeout_timeoutReset()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp1789 nsecs_t waitTime = -1; in threadLoop() local
2039 waitTime = -1; in threadLoop()
2047 waitTime = mAudioCommands[0]->mTime - curTime; in threadLoop()
2062 if (waitTime == -1) { in threadLoop()
2066 mWaitWorkCV.wait_for(ul, std::chrono::nanoseconds(waitTime)); in threadLoop()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewActivityTest.java1164 long waitTime = 0; in testSelectionMetricsLogger_abandonEventIncludesEntityType() local
1173 waitTime += pollInterval; in testSelectionMetricsLogger_abandonEventIncludesEntityType()
1174 } while (waitTime < abandonDelay * 10); in testSelectionMetricsLogger_abandonEventIncludesEntityType()
/frameworks/base/telephony/java/android/telephony/data/
DApnSetting.java1994 public Builder setWaitTime(int waitTime) { in setWaitTime() argument
1995 this.mWaitTime = waitTime; in setWaitTime()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRILUtils.java908 dpi.waitTime = dp.getWaitTime(); in convertToHalDataProfile14()
946 dpi.waitTime = dp.getWaitTime(); in convertToHalDataProfile15()
986 dpi.waitTime = dp.getWaitTime(); in convertToHalDataProfile()
1027 .setWaitTime(dpi.waitTime) in convertToDataProfile()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java3923 long waitTime = SystemClock.elapsedRealtime() - mBootWaitForWindowsStartTime; in performEnableScreen() local
3925 if (waitTime > 10) { in performEnableScreen()
3928 waitTime); in performEnableScreen()