Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataProfile.java51 public final int waitTime; field in DataProfile
58 int waitTime, boolean enabled) { in DataProfile() argument
69 this.waitTime = waitTime; in DataProfile()
78 apn.maxConnsTime, apn.maxConns, apn.waitTime, apn.carrierEnabled); in DataProfile()
98 pc.writeInt(dps[i].waitTime); in toParcel()
108 + "/" + maxConns + "/" + waitTime + "/" + enabled; in toString()
DApnSetting.java91 public final int waitTime; field in ApnSetting
120 int bearerBitmask, int profileId, boolean modemCognitive, int maxConns, int waitTime, in ApnSetting() argument
146 this.waitTime = waitTime; in ApnSetting()
158 apn.profileId, apn.modemCognitive, apn.maxConns, apn.waitTime, apn.maxConnsTime, in ApnSetting()
224 int waitTime = 0; in fromString() local
251 waitTime = Integer.parseInt(a[21]); in fromString()
270 bearerBitmask, profileId, modemCognitive, maxConns, waitTime, maxConnsTime, mtu, in fromString()
325 sb.append(", ").append(waitTime); in toString()
503 waitTime == other.waitTime && in equals()
DDcTracker.java3507 (dest.modemCognitive || src.modemCognitive), dest.maxConns, dest.waitTime, in mergeApns()
/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/tests/coretests/src/android/content/pm/
DAppCacheTest.java470 long waitTime = 0; in invokePMDeleteAppCacheFiles() local
471 while(!observer.isDone() || (waitTime > MAX_WAIT_TIME)) { in invokePMDeleteAppCacheFiles()
473 waitTime += WAIT_TIME_INCR; in invokePMDeleteAppCacheFiles()
496 long waitTime = 0; in invokePMFreeApplicationCache() local
497 while(!observer.isDone() || (waitTime > MAX_WAIT_TIME)) { in invokePMFreeApplicationCache()
499 waitTime += WAIT_TIME_INCR; in invokePMFreeApplicationCache()
521 long waitTime = 0; in invokePMFreeStorage() local
522 while(!r.isDone() && (waitTime < MAX_WAIT_TIME)) { in invokePMFreeStorage()
524 waitTime += WAIT_TIME_INCR; in invokePMFreeStorage()
576 long waitTime = 0; in invokePMGetPackageSizeInfo() local
[all …]
DPackageManagerTests.java224 long waitTime = 0; in invokeInstallPackage() local
225 while ((!observer.isDone()) && (waitTime < MAX_WAIT_TIME)) { in invokeInstallPackage()
228 waitTime += WAIT_TIME_INCR; in invokeInstallPackage()
255 waitTime = 0; in invokeInstallPackage()
256 while ((!receiver.isDone()) && (waitTime < MAX_WAIT_TIME)) { in invokeInstallPackage()
259 waitTime += WAIT_TIME_INCR; in invokeInstallPackage()
280 long waitTime = 0; in invokeInstallPackageFail() local
281 while ((!observer.isDone()) && (waitTime < MAX_WAIT_TIME)) { in invokeInstallPackageFail()
284 waitTime += WAIT_TIME_INCR; in invokeInstallPackageFail()
931 long waitTime = timeoutMillis; in waitForCompletion() local
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataProfileTest.java94 assertEquals(mApn1.waitTime, dp.waitTime); in testCreateFromApnSetting()
119 assertEquals("i = " + i, mApn1.waitTime, p.readInt()); in testParcel()
DApnSettingTest.java134 assertEquals(a1.waitTime, a2.waitTime); in assertApnSettingEqual()
/frameworks/rs/
DrsThreadIO.cpp126 int waitTime = -1; in playCoreCommands() local
128 int pr = poll(p, pollCount, waitTime); in playCoreCommands()
162 waitTime = 0; in playCoreCommands()
/frameworks/base/core/tests/coretests/src/android/os/storage/
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()
DStorageManagerIntegrationTest.java182 long waitTime = 0; in testUnmount_DontForce() local
187 waitTime += WAIT_TIME_INCR; in testUnmount_DontForce()
188 if (waitTime > MAX_WAIT_TIME) { in testUnmount_DontForce()
/frameworks/base/core/java/com/android/internal/os/
DTransferPipe.java142 long waitTime = mEndTime - SystemClock.uptimeMillis(); in go() local
143 if (waitTime <= 0) { in go()
150 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/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()
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
DBlockingSessionCallback.java236 long waitTime = SystemClock.elapsedRealtime() - waitStartTime; in waitForSurfacePrepared() local
237 waitTimeRemaining -= waitTime; in waitForSurfacePrepared()
/frameworks/base/core/java/android/net/
DNetworkAgent.java282 long waitTime = mLastBwRefreshTime + BW_REFRESH_MIN_WIN_MS - in handleMessage() local
285 CMD_REQUEST_BANDWIDTH_UPDATE, waitTime); in handleMessage()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbAlsaManager.java230 long waitTime = timeout - SystemClock.elapsedRealtime(); in waitForAlsaDevice() local
231 if (waitTime > 0) { in waitForAlsaDevice()
233 mAlsaDevices.wait(waitTime); in waitForAlsaDevice()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp457 nsecs_t waitTime = -1; in threadLoop() local
623 waitTime = -1; in threadLoop()
631 waitTime = mAudioCommands[0]->mTime - curTime; in threadLoop()
645 if (waitTime == -1) { in threadLoop()
648 mWaitWorkCV.waitRelative(mLock, waitTime); in threadLoop()