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.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.java108 int maxConnections, int waitTime, boolean enabled, in DataProfile() argument
126 this.mWaitTime = waitTime; in DataProfile()
514 public @NonNull Builder setWaitTime(int waitTime) { in setWaitTime() argument
515 mWaitTime = waitTime; in setWaitTime()
DApnSetting.java681 boolean modemCognitive, int maxConns, int waitTime, int maxConnsTime, int mtu, in makeApnSetting() argument
704 .setWaitTime(waitTime) in makeApnSetting()
723 int maxConns, int waitTime, int maxConnsTime, int mtu, int mvnoType, in makeApnSetting() argument
728 modemCognitive, maxConns, waitTime, maxConnsTime, mtu, mvnoType, mvnoMatchData, in makeApnSetting()
913 int waitTime = 0; in fromString() local
943 waitTime = Integer.parseInt(a[21]); in fromString()
986 carrierEnabled, networkTypeBitmask, profileId, modemCognitive, maxConns, waitTime, in fromString()
1645 public Builder setWaitTime(int waitTime) { in setWaitTime() argument
1646 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.java261 long waitTime = SERVICE_CONNECTION_WAIT_TIME_MS; in getOrConnectService() local
262 while (waitTime > 0) { in getOrConnectService()
265 this.wait(waitTime); in getOrConnectService()
274 waitTime = shouldEnd - SystemClock.elapsedRealtime(); in getOrConnectService()
DVibratorService.java1304 long waitTime = delayLocked(duration); in playWaveform() local
1306 onDuration -= waitTime; in playWaveform()
/frameworks/base/core/java/android/net/
DNetworkAgent.java306 long waitTime = mLastBwRefreshTime + BW_REFRESH_MIN_WIN_MS - in handleMessage() local
309 CMD_REQUEST_BANDWIDTH_UPDATE, waitTime); in handleMessage()
/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/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/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java1400 dpi.waitTime = dp.getWaitTime(); in convertToHalDataProfile10()
1434 dpi.waitTime = dp.getWaitTime(); in convertToHalDataProfile14()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DRILTest.java1891 assertEquals(WAIT_TIME, dpi.waitTime); in testSetupDataCall()