Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnectionPool.java682 final ConnectionWaiter waiter; in waitForConnection() local
708 waiter = obtainConnectionWaiterLocked(Thread.currentThread(), startTime, in waitForConnection()
714 waiter.mNext = successor; in waitForConnection()
721 predecessor.mNext = waiter; in waitForConnection()
723 mConnectionWaiterQueue = waiter; in waitForConnection()
726 nonce = waiter.mNonce; in waitForConnection()
735 if (waiter.mNonce == nonce) { in waitForConnection()
736 cancelConnectionWaiterLocked(waiter); in waitForConnection()
746 long nextBusyTimeoutTime = waiter.mStartTime + busyTimeoutMillis; in waitForConnection()
765 final SQLiteConnection connection = waiter.mAssignedConnection; in waitForConnection()
[all …]
/frameworks/native/libs/binder/
DIServiceManager.cpp326 sp<Waiter> waiter = new Waiter; in waitForService() local
328 name, waiter).isOk()) { in waitForService()
332 mTheRealServiceManager->unregisterForNotifications(name, waiter); in waitForService()
342 std::unique_lock<std::mutex> lock(waiter->mMutex); in waitForService()
344 waiter->mCv.wait_for(lock, 1s, [&] { in waitForService()
345 return waiter->mBinder != nullptr; in waitForService()
347 if (waiter->mBinder != nullptr) return waiter->mBinder; in waitForService()
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DVirtualDisplayTest.java317 Runnable waiter = new Runnable() { in runOnUiThread() local
325 synchronized (waiter) { in runOnUiThread()
327 mHandler.post(waiter); in runOnUiThread()
329 waiter.wait(TIMEOUT); in runOnUiThread()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DAdnRecordCache.java328 Message waiter = waiters.get(i); in notifyWaiters() local
330 AsyncResult.forMessage(waiter, ar.result, ar.exception); in notifyWaiters()
331 waiter.sendToTarget(); in notifyWaiters()
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/
DWorkflowTest.java87 private void waitWithTimeout(Supplier<Boolean> condition, InterruptableConsumer<Long> waiter) in waitWithTimeout() argument
96 waiter.accept(timeLeft); in waitWithTimeout()
/frameworks/base/core/java/android/app/
DInstrumentation.java2245 public ActivityGoing(ActivityWaiter waiter) { in ActivityGoing() argument
2246 mWaiter = waiter; in ActivityGoing()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java1801 final ProgressWaiter waiter = wait ? new ProgressWaiter() : null;
1802 boolean success = mInterface.startUserInBackgroundWithListener(userId, waiter);
1804 success = waiter.waitForFinish(USER_OPERATION_TIMEOUT_MS);
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt108411 Ljava/util/concurrent/ConcurrentHashMap$TreeBin;->waiter:Ljava/lang/Thread;
109144 Ljava/util/concurrent/LinkedTransferQueue$Node;->waiter:Ljava/lang/Thread;
109535 Ljava/util/concurrent/SynchronousQueue$TransferQueue$QNode;->waiter:Ljava/lang/Thread;
109562 Ljava/util/concurrent/SynchronousQueue$TransferStack$SNode;->waiter:Ljava/lang/Thread;