Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppCacheTest.java467 long waitTime = 0; in invokePMDeleteAppCacheFiles() local
468 while(!observer.isDone() || (waitTime > MAX_WAIT_TIME)) { in invokePMDeleteAppCacheFiles()
470 waitTime += WAIT_TIME_INCR; in invokePMDeleteAppCacheFiles()
493 long waitTime = 0; in invokePMFreeApplicationCache() local
494 while(!observer.isDone() || (waitTime > MAX_WAIT_TIME)) { in invokePMFreeApplicationCache()
496 waitTime += WAIT_TIME_INCR; in invokePMFreeApplicationCache()
518 long waitTime = 0; in invokePMFreeStorage() local
519 while(!r.isDone() && (waitTime < MAX_WAIT_TIME)) { in invokePMFreeStorage()
521 waitTime += WAIT_TIME_INCR; in invokePMFreeStorage()
573 long waitTime = 0; in invokePMGetPackageSizeInfo() local
[all …]
DPackageManagerTests.java183 long waitTime = 0; in invokeInstallPackage() local
184 while((!observer.isDone()) && (waitTime < MAX_WAIT_TIME) ) { in invokeInstallPackage()
187 waitTime += WAIT_TIME_INCR; in invokeInstallPackage()
200 waitTime = 0; in invokeInstallPackage()
201 while((!receiver.isDone()) && (waitTime < MAX_WAIT_TIME) ) { in invokeInstallPackage()
204 waitTime += WAIT_TIME_INCR; in invokeInstallPackage()
226 long waitTime = 0; in invokeInstallPackageFail() local
227 while((!observer.isDone()) && (waitTime < MAX_WAIT_TIME) ) { in invokeInstallPackageFail()
230 waitTime += WAIT_TIME_INCR; in invokeInstallPackageFail()
816 long waitTime = 0; in invokeDeletePackage() local
[all …]
/frameworks/base/core/tests/coretests/src/android/os/storage/
DAsecTests.java425 long waitTime = 0; in unmountMedia() local
426 while((!observer.isDone()) && (waitTime < MAX_WAIT_TIME) ) { in unmountMedia()
428 waitTime += WAIT_TIME_INCR; in unmountMedia()
491 long waitTime = 0; in testUnmountMultiple() local
492 while((!observer.isDone()) && (waitTime < MAX_WAIT_TIME) ) { in testUnmountMultiple()
494 waitTime += WAIT_TIME_INCR; in testUnmountMultiple()
DStorageManagerIntegrationTest.java180 long waitTime = 0; in testUnmount_DontForce() local
185 waitTime += WAIT_TIME_INCR; in testUnmount_DontForce()
186 if (waitTime > MAX_WAIT_TIME) { in testUnmount_DontForce()
/frameworks/base/services/java/com/android/server/am/
DTransferPipe.java142 long waitTime = mEndTime - SystemClock.uptimeMillis(); in go() local
143 if (waitTime <= 0) { in go()
150 wait(waitTime); in go()
/frameworks/base/core/tests/coretests/src/com/android/server/
DMountServiceTests.java97 long waitTime = 0; in waitForCompletion() local
99 while (!isDone() && waitTime < MAX_WAIT_TIME) { in waitForCompletion()
102 waitTime += WAIT_TIME_INCR; in waitForCompletion()
/frameworks/base/wifi/java/android/net/wifi/
DWifiWatchdogStateMachine.java431 private static long waitTime(long interval, Long lastTime) { in waitTime() method in WifiWatchdogStateMachine
774 long waitTime = waitTime(mWalledGardenIntervalMs, in shouldCheckWalledGarden() local
776 if (waitTime > 0) { in shouldCheckWalledGarden()
779 waitTime + " ms."); in shouldCheckWalledGarden()
931 waitTime(waitInterval, lastCheckTime)); in triggerSingleDnsCheck()
/frameworks/base/libs/rs/
DrsContext.cpp253 uint64_t waitTime = 0; in threadProc() local
257 waitTime = targetTime - now; in threadProc()
262 mDraw |= rsc->mIO.playCoreCommands(rsc, doWait, waitTime); in threadProc()
/frameworks/base/services/audioflinger/
DAudioPolicyService.cpp658 nsecs_t waitTime = INT64_MAX; in threadLoop() local
733 waitTime = INT64_MAX; in threadLoop()
735 waitTime = mAudioCommands[0]->mTime - curTime; in threadLoop()
744 mWaitWorkCV.waitRelative(mLock, waitTime); in threadLoop()
/frameworks/base/services/surfaceflinger/
DSurfaceFlinger.cpp333 nsecs_t waitTime = freezeDisplayTimeout - (now - mFreezeDisplayTime); in waitForEvent() local
334 timeout = waitTime>0 ? waitTime : 0; in waitForEvent()