/frameworks/av/services/camera/libcameraservice/utils/ |
D | AutoConditionLock.cpp | 39 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()
|
D | AutoConditionLock.h | 80 const std::shared_ptr<WaitableMutexWrapper>& manager, nsecs_t waitTime);
|
/frameworks/base/core/java/android/app/ |
D | QueuedWork.java | 229 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/ |
D | rsThreadIO.cpp | 125 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/ |
D | TransferPipe.java | 196 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/ |
D | DeviceBasedSatelliteRepositoryImpl.kt | 251 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/ |
D | BlockingSessionCallback.java | 244 long waitTime = SystemClock.elapsedRealtime() - waitStartTime; in waitForSurfacePrepared() local 245 waitTimeRemaining -= waitTime; in waitForSurfacePrepared()
|
/frameworks/base/services/core/java/com/android/server/ |
D | MmsServiceBroker.java | 265 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/ |
D | PackageManagerTests.java | 282 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/ |
D | DatagramDispatcher.java | 750 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/ |
D | DeviceFoldStateProviderTest.kt | 643 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/ |
D | TemporaryViewDisplayControllerTest.kt | 257 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/ |
D | AudioPolicyService.cpp | 1789 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/ |
D | TextViewActivityTest.java | 1164 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/ |
D | ApnSetting.java | 1994 public Builder setWaitTime(int waitTime) { in setWaitTime() argument 1995 this.mWaitTime = waitTime; in setWaitTime()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RILUtils.java | 908 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/ |
D | WindowManagerService.java | 3923 long waitTime = SystemClock.elapsedRealtime() - mBootWaitForWindowsStartTime; in performEnableScreen() local 3925 if (waitTime > 10) { in performEnableScreen() 3928 waitTime); in performEnableScreen()
|