Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppCacheTest.java468 long waitTime = 0; in invokePMDeleteAppCacheFiles() local
469 while(!observer.isDone() || (waitTime > MAX_WAIT_TIME)) { in invokePMDeleteAppCacheFiles()
471 waitTime += WAIT_TIME_INCR; in invokePMDeleteAppCacheFiles()
494 long waitTime = 0; in invokePMFreeApplicationCache() local
495 while(!observer.isDone() || (waitTime > MAX_WAIT_TIME)) { in invokePMFreeApplicationCache()
497 waitTime += WAIT_TIME_INCR; in invokePMFreeApplicationCache()
519 long waitTime = 0; in invokePMFreeStorage() local
520 while(!r.isDone() && (waitTime < MAX_WAIT_TIME)) { in invokePMFreeStorage()
522 waitTime += WAIT_TIME_INCR; in invokePMFreeStorage()
574 long waitTime = 0; in invokePMGetPackageSizeInfo() local
[all …]
DPackageManagerTests.java213 long waitTime = 0; in invokeInstallPackage() local
214 while ((!observer.isDone()) && (waitTime < MAX_WAIT_TIME)) { in invokeInstallPackage()
217 waitTime += WAIT_TIME_INCR; in invokeInstallPackage()
244 waitTime = 0; in invokeInstallPackage()
245 while ((!receiver.isDone()) && (waitTime < MAX_WAIT_TIME)) { in invokeInstallPackage()
248 waitTime += WAIT_TIME_INCR; in invokeInstallPackage()
269 long waitTime = 0; in invokeInstallPackageFail() local
270 while ((!observer.isDone()) && (waitTime < MAX_WAIT_TIME)) { in invokeInstallPackageFail()
273 waitTime += WAIT_TIME_INCR; in invokeInstallPackageFail()
932 long waitTime = timeoutMillis; in waitForCompletion() local
[all …]
/frameworks/rs/
DrsThreadIO.cpp128 int waitTime = -1; in playCoreCommands() local
130 int pr = poll(p, pollCount, waitTime); in playCoreCommands()
173 waitTime = 0; in playCoreCommands()
/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/android/os/storage/
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()
DAsecTests.java571 long waitTime = 0; in unmountMedia() local
572 while((!observer.isDone()) && (waitTime < MAX_WAIT_TIME) ) { in unmountMedia()
574 waitTime += WAIT_TIME_INCR; in unmountMedia()
639 long waitTime = 0; in testUnmountMultiple() local
640 while((!observer.isDone()) && (waitTime < MAX_WAIT_TIME) ) { in testUnmountMultiple()
642 waitTime += WAIT_TIME_INCR; in testUnmountMultiple()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DMountServiceTests.java99 long waitTime = 0; in waitForCompletion() local
101 while (!isDone() && waitTime < MAX_WAIT_TIME) { in waitForCompletion()
104 waitTime += WAIT_TIME_INCR; in waitForCompletion()
/frameworks/av/services/audioflinger/
DAudioPolicyService.cpp666 nsecs_t waitTime = INT64_MAX; in threadLoop() local
740 waitTime = INT64_MAX; in threadLoop()
742 waitTime = mAudioCommands[0]->mTime - curTime; in threadLoop()
751 mWaitWorkCV.waitRelative(mLock, waitTime); in threadLoop()