Home
last modified time | relevance | path

Searched refs:waitTime (Results 1 – 18 of 18) 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.java201 long waitTime = System.currentTimeMillis() - startTime; in waitToFinish() local
203 if (waitTime > 0 || hadMessages) { in waitToFinish()
204 mWaitTimes.add(Long.valueOf(waitTime).intValue()); in waitToFinish()
207 if (DEBUG || mNumWaits % 1024 == 0 || waitTime > MAX_WAIT_TIME_MILLIS) { in waitToFinish()
/frameworks/native/services/surfaceflinger/Scheduler/
DIdleTimer.cpp85 auto waitTime = triggerTime - std::chrono::steady_clock::now(); in loop() local
86 if (waitTime > zero) mCondition.wait_for(mMutex, waitTime); in loop()
/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/telephony/java/android/telephony/data/
DDataProfile.java110 int maxConnections, int waitTime, boolean enabled, in DataProfile() argument
127 this.mWaitTime = waitTime; in DataProfile()
535 public @NonNull Builder setWaitTime(int waitTime) { in setWaitTime() argument
536 mWaitTime = waitTime; in setWaitTime()
DApnSetting.java783 boolean modemCognitive, int maxConns, int waitTime, int maxConnsTime, int mtu, in makeApnSetting() argument
806 .setWaitTime(waitTime) in makeApnSetting()
825 int maxConns, int waitTime, int maxConnsTime, int mtu, int mvnoType, in makeApnSetting() argument
830 modemCognitive, maxConns, waitTime, maxConnsTime, mtu, mvnoType, mvnoMatchData, in makeApnSetting()
1015 int waitTime = 0; in fromString() local
1045 waitTime = Integer.parseInt(a[21]); in fromString()
1088 carrierEnabled, networkTypeBitmask, profileId, modemCognitive, maxConns, waitTime, in fromString()
1759 public Builder setWaitTime(int waitTime) { in setWaitTime() argument
1760 this.mWaitTime = waitTime; in setWaitTime()
/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/services/tests/servicestests/src/com/android/server/
DMountServiceTests.java87 long waitTime = 0; in waitForCompletion() local
89 while (!isDone() && waitTime < MAX_WAIT_TIME) { in waitForCompletion()
92 waitTime += WAIT_TIME_INCR; in waitForCompletion()
/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.java260 long waitTime = SERVICE_CONNECTION_WAIT_TIME_MS; in getOrConnectService() local
261 while (waitTime > 0) { in getOrConnectService()
264 this.wait(waitTime); in getOrConnectService()
273 waitTime = shouldEnd - SystemClock.elapsedRealtime(); in getOrConnectService()
DVibratorService.java1430 long waitTime = delayLocked(duration); in playWaveform() local
1432 onDuration -= waitTime; in playWaveform()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java266 long waitTime = 0; in invokeInstallPackage() local
267 while ((!receiver.isDone()) && (waitTime < MAX_WAIT_TIME)) { in invokeInstallPackage()
270 waitTime += WAIT_TIME_INCR; in invokeInstallPackage()
876 long waitTime = timeoutMillis; in waitForCompletion() local
877 while (waitTime > 0) { in waitForCompletion()
879 boolean done = mLatch.await(waitTime, TimeUnit.MILLISECONDS); in waitForCompletion()
888 waitTime = deadline - SystemClock.uptimeMillis(); in waitForCompletion()
937 long waitTime = 0; in invokeDeletePackage() local
938 while ((!receiver.isDone()) && (waitTime < MAX_WAIT_TIME)) { in invokeDeletePackage()
940 waitTime += WAIT_TIME_INCR; in invokeDeletePackage()
/frameworks/base/core/java/android/net/
DNetworkAgent.java479 long waitTime = mLastBwRefreshTime + BW_REFRESH_MIN_WIN_MS in handleMessage() local
482 CMD_REQUEST_BANDWIDTH_UPDATE, waitTime); in handleMessage()
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DFakeComposerClient.cpp99 void wakeAfter(std::chrono::nanoseconds waitTime) { in wakeAfter() argument
101 mWakeups.insert(Clock::now() + waitTime); in wakeAfter()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp1110 nsecs_t waitTime = -1; in threadLoop() local
1302 waitTime = -1; in threadLoop()
1310 waitTime = mAudioCommands[0]->mTime - curTime; in threadLoop()
1324 if (waitTime == -1) { in threadLoop()
1327 mWaitWorkCV.waitRelative(mLock, waitTime); in threadLoop()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java1713 dpi.waitTime = dp.getWaitTime(); in convertToHalDataProfile10()
1747 dpi.waitTime = dp.getWaitTime(); in convertToHalDataProfile14()
1784 dpi.waitTime = dp.getWaitTime(); in convertToHalDataProfile15()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DRILTest.java2363 assertEquals(WAIT_TIME, dpi.waitTime); in testSetupDataCall()