Home
last modified time | relevance | path

Searched refs:waitSuccess (Results 1 – 4 of 4) sorted by relevance

/system/chre/platform/slpi/smgr/
Dsmr_helper.cc46 bool waitSuccess = true; in releaseSync() local
47 while (mWaiting && waitSuccess) { in releaseSync()
48 waitSuccess = mCond.wait_for(mMutex, timeout); in releaseSync()
51 if (!waitSuccess) { in releaseSync()
118 bool waitSuccess = true; in sendReqSyncUntyped() local
152 while (mWaiting && waitSuccess) { in sendReqSyncUntyped()
153 waitSuccess = mCond.wait_for(mMutex, timeout); in sendReqSyncUntyped()
156 if (waitSuccess) { in sendReqSyncUntyped()
173 return waitSuccess; in sendReqSyncUntyped()
/system/chre/pal/tests/src/
Dgnss_pal_impl_test.cc231 bool waitSuccess = true; in waitForAsyncResponseAssertSuccess() local
232 while (errorCode_ == CHRE_ERROR_LAST && waitSuccess) { in waitForAsyncResponseAssertSuccess()
233 waitSuccess = condVar_.wait_for(mutex_, timeoutNs); in waitForAsyncResponseAssertSuccess()
235 ASSERT_TRUE(waitSuccess); in waitForAsyncResponseAssertSuccess()
259 bool waitSuccess = true; in TEST_F() local
260 while (!locationEventVector_.full() && waitSuccess) { in TEST_F()
261 waitSuccess = condVar_.wait_for(mutex_, kGnssEventTimeoutNs); in TEST_F()
298 bool waitSuccess = true; in TEST_F() local
299 while (!measurementEventVector_.full() && waitSuccess) { in TEST_F()
300 waitSuccess = condVar_.wait_for(mutex_, kGnssEventTimeoutNs); in TEST_F()
Dwifi_pal_impl_test.cc201 bool waitSuccess = true; in waitForAsyncResponseAssertSuccess() local
202 while (errorCode_ == CHRE_ERROR_LAST && waitSuccess) { in waitForAsyncResponseAssertSuccess()
203 waitSuccess = condVar_.wait_for(mutex_, timeoutNs); in waitForAsyncResponseAssertSuccess()
205 ASSERT_TRUE(waitSuccess); in waitForAsyncResponseAssertSuccess()
238 bool waitSuccess = true; in TEST_F() local
239 while (!lastScanEventReceived_ && waitSuccess) { in TEST_F()
240 waitSuccess = condVar_.wait_for(mutex_, kScanResultTimeoutNs); in TEST_F()
/system/chre/platform/slpi/see/
Dsee_helper.cc1809 bool waitSuccess = true; in sendSeeReqSync() local
1811 while (mWaitingOnResp && waitSuccess) { in sendSeeReqSync()
1812 waitSuccess = mCond.wait_for(mMutex, timeoutResp); in sendSeeReqSync()
1815 if (!waitSuccess) { in sendSeeReqSync()
1882 bool waitSuccess = true; in waitForInd() local
1884 while (mWaitingOnInd && waitSuccess) { in waitForInd()
1885 waitSuccess = mCond.wait_for(mMutex, timeoutInd); in waitForInd()
1888 if (!waitSuccess) { in waitForInd()