Home
last modified time | relevance | path

Searched refs:waitTime (Results 1 – 16 of 16) 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.java202 long waitTime = System.currentTimeMillis() - startTime; in waitToFinish() local
204 if (waitTime > 0 || hadMessages) { in waitToFinish()
205 mWaitTimes.add(Long.valueOf(waitTime).intValue()); in waitToFinish()
208 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/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.java263 long waitTime = SERVICE_CONNECTION_WAIT_TIME_MS; in getOrConnectService() local
264 while (waitTime > 0) { in getOrConnectService()
267 this.wait(waitTime); in getOrConnectService()
276 waitTime = shouldEnd - SystemClock.elapsedRealtime(); in getOrConnectService()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/
DPackageManagerTests.java279 long waitTime = 0; in invokeInstallPackage() local
280 while ((!receiver.isDone()) && (waitTime < MAX_WAIT_TIME)) { in invokeInstallPackage()
283 waitTime += WAIT_TIME_INCR; in invokeInstallPackage()
889 long waitTime = timeoutMillis; in waitForCompletion() local
890 while (waitTime > 0) { in waitForCompletion()
892 boolean done = mLatch.await(waitTime, TimeUnit.MILLISECONDS); in waitForCompletion()
901 waitTime = deadline - SystemClock.uptimeMillis(); in waitForCompletion()
950 long waitTime = 0; in invokeDeletePackage() local
951 while ((!receiver.isDone()) && (waitTime < MAX_WAIT_TIME)) { in invokeDeletePackage()
953 waitTime += WAIT_TIME_INCR; in invokeDeletePackage()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/updates/
DDeviceFoldStateProviderTest.kt608 private fun simulateTimeout(waitTime: Long = HALF_OPENED_TIMEOUT_MILLIS) { in <lambda>()
610 if (waitTime >= runnableDelay) { in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/temporarydisplay/
DTemporaryViewDisplayControllerTest.kt246 val waitTime = 1000L in displayView_calledAgainBeforeTimeout_timeoutReset() constant
247 fakeClock.advanceTime(waitTime) in displayView_calledAgainBeforeTimeout_timeoutReset()
251 fakeClock.advanceTime(TIMEOUT_MS - waitTime + 1) in displayView_calledAgainBeforeTimeout_timeoutReset()
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DFakeComposerClient.cpp103 void wakeAfter(std::chrono::nanoseconds waitTime) { in wakeAfter() argument
105 mWakeups.insert(Clock::now() + waitTime); in wakeAfter()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp1967 nsecs_t waitTime = -1; in threadLoop() local
2217 waitTime = -1; in threadLoop()
2225 waitTime = mAudioCommands[0]->mTime - curTime; in threadLoop()
2240 if (waitTime == -1) { in threadLoop()
2243 mWaitWorkCV.waitRelative(mLock, 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.java1845 public Builder setWaitTime(int waitTime) { in setWaitTime() argument
1846 this.mWaitTime = waitTime; in setWaitTime()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRILUtils.java862 dpi.waitTime = dp.getWaitTime(); in convertToHalDataProfile10()
896 dpi.waitTime = dp.getWaitTime(); in convertToHalDataProfile14()
934 dpi.waitTime = dp.getWaitTime(); in convertToHalDataProfile15()
973 dpi.waitTime = dp.getWaitTime(); in convertToHalDataProfile()
1011 .setWaitTime(dpi.waitTime) in convertToDataProfile()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java3765 long waitTime = SystemClock.elapsedRealtime() - mBootWaitForWindowsStartTime; in performEnableScreen() local
3767 if (waitTime > 10) { in performEnableScreen()
3770 waitTime); in performEnableScreen()