| /frameworks/av/services/audioflinger/ |
| Effects.cpp | 58 AudioFlinger::EffectModule::EffectModule(ThreadBase *thread, 64 mThread(thread), mChain(chain), mId(id), mSessionId(sessionId), 72 mAudioFlinger(thread->mAudioFlinger) 78 mStatus = EffectCreate(&desc->uuid, sessionId, thread->id(), &mEffectInterface); 203 sp<ThreadBase> thread = mThread.promote(); local 204 if (thread != 0) { 205 Mutex::Autolock _l(thread->mLock); 206 thread->removeEffect_l(this); 321 sp<ThreadBase> thread; local 330 thread = mThread.promote() 447 sp<ThreadBase> thread = mThread.promote(); local 527 sp<ThreadBase> thread = mThread.promote(); local 1090 sp<ThreadBase> thread = mEffect->thread().promote(); local 1148 sp<ThreadBase> thread = mEffect->thread().promote(); local 1174 sp<ThreadBase> thread = mEffect->thread().promote(); local 1402 sp<ThreadBase> thread = mThread.promote(); local 1425 sp<ThreadBase> thread = mThread.promote(); local 1474 sp<ThreadBase> thread = mThread.promote(); local [all...] |
| Tracks.cpp | 65 ThreadBase *thread, 79 mThread(thread), 100 mThreadIoHandle(thread->id()) 141 const sp<MemoryDealer> roHeap(thread->readOnlyHeap()); 156 mBufferMemory = thread->pipeMemory(); 281 // will be freed from the main thread once all pending buffers have 374 PlaybackThread *thread, 387 : TrackBase(thread, client, sampleRate, format, channelMask, frameCount, 397 mMainBuffer(thread->mixBuffer()), 430 mName = thread->getTrackName_l(channelMask, format, sessionId) 487 sp<ThreadBase> thread = mThread.promote(); local 660 sp<ThreadBase> thread = mThread.promote(); local 725 sp<ThreadBase> thread = mThread.promote(); local 753 sp<ThreadBase> thread = mThread.promote(); local 784 sp<ThreadBase> thread = mThread.promote(); local 867 sp<ThreadBase> thread = mThread.promote(); local 886 sp<ThreadBase> thread = mThread.promote(); local 946 sp<ThreadBase> thread = mThread.promote(); local 1094 sp<ThreadBase> thread = mThread.promote(); local 1724 sp<ThreadBase> thread = mThread.promote(); local 1800 sp<ThreadBase> thread = mThread.promote(); local 2053 sp<ThreadBase> thread = mThread.promote(); local 2064 sp<ThreadBase> thread = mThread.promote(); local 2084 sp<ThreadBase> thread = mThread.promote(); local [all...] |
| /frameworks/base/core/java/android/database/sqlite/ |
| SQLiteConnectionPool.java | 50 * The connection pool is thread-safe (but the connections themselves are not). 141 * This flag indicates that the connection is needed by the UI thread. 480 // unless we started an extra Thread to function as a reference queue. Second, 622 waiter = obtainConnectionWaiterLocked(Thread.currentThread(), startTime, 657 // Park the thread until a connection is assigned or the pool is closed. 673 Thread.interrupted(); 738 final Thread thread = Thread.currentThread(); local 741 msg.append("' has been unable to grant a connection to thread "); [all...] |
| /libcore/libart/src/main/java/java/lang/ |
| Thread.java | 43 * A {@code Thread} is a concurrent unit of execution. It has its own call stack 45 * has at least one thread running when it is started, the main thread, in the main 46 * {@link ThreadGroup}. The runtime keeps its own threads in the system thread 49 * <p>There are two ways to execute code in a new thread. 50 * You can either subclass {@code Thread} and overriding its {@link #run()} method, 51 * or construct a new {@code Thread} and pass a {@link Runnable} to the constructor. 53 * the new {@code Thread}. 55 * <p>Each {@code Thread} has an integer priority that affect how the thread i 504 Thread thread = Thread.currentThread(); local [all...] |
| /libcore/luni/src/main/java/java/util/concurrent/ |
| ThreadPoolExecutor.java | 23 * <p>Thread pools address two different problems: they usually 35 * Executors#newCachedThreadPool} (unbounded thread pool, with 36 * automatic thread reclamation), {@link Executors#newFixedThreadPool} 37 * (fixed size thread pool) and {@link 38 * Executors#newSingleThreadExecutor} (single background thread), that 54 * and fewer than corePoolSize threads are running, a new thread is 57 * maximumPoolSize threads running, a new thread will be created only 59 * the same, you create a fixed-size thread pool. By setting 82 * alter the thread's name, thread group, priority, daemon status 569 final Thread thread; field in class:ThreadPoolExecutor.Worker [all...] |
| /libcore/luni/src/main/java/java/util/concurrent/locks/ |
| AbstractQueuedLongSynchronizer.java | 57 * information about a thread in the predecessor of its node. A 58 * "status" field in each node keeps track of whether a thread 62 * thread. The status field does NOT control whether threads are 63 * granted locks etc though. A thread may try to acquire if it is 66 * contender thread may need to rewait. 92 * The thread id for each node is kept in its own node, so a 94 * next link to determine which thread it is. Determination of 135 /** waitStatus value to indicate thread has cancelled */ 137 /** waitStatus value to indicate successor's thread needs unparking */ 139 /** waitStatus value to indicate thread is waiting on condition * 215 volatile Thread thread; field in class:AbstractQueuedLongSynchronizer.Node [all...] |
| AbstractQueuedSynchronizer.java | 48 * waiting thread (if one exists) must also determine whether it can 59 * held with respect to the current thread, method {@link #release} 76 * thread queues. Typical subclasses requiring serializability will 97 * must be internally thread-safe, and should in general be short and 103 * AbstractOwnableSynchronizer} useful to keep track of the thread 115 * <em>enqueue thread if it is not already queued</em>; 116 * <em>possibly block current thread</em>; 121 * <em>unblock the first queued thread</em>; 127 * enqueuing, a newly acquiring thread may <em>barge</em> ahead of 133 * #getFirstQueuedThread} does not return the current thread. 445 volatile Thread thread; field in class:AbstractQueuedSynchronizer.Node [all...] |
| /prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/raid/ |
| md_k.h | 102 struct mdk_thread_s *thread; member in struct:mddev_s
|
| /prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/raid/ |
| md_k.h | 102 struct mdk_thread_s *thread; member in struct:mddev_s
|
| /prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/raid/ |
| md_k.h | 102 struct mdk_thread_s *thread; member in struct:mddev_s
|
| /prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/linux/raid/ |
| md_k.h | 102 struct mdk_thread_s *thread; member in struct:mddev_s
|
| /prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/linux/raid/ |
| md_k.h | 102 struct mdk_thread_s *thread; member in struct:mddev_s
|
| /prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/linux/raid/ |
| md_k.h | 102 struct mdk_thread_s *thread; member in struct:mddev_s
|
| /prebuilts/ndk/5/platforms/android-3/arch-arm/usr/include/linux/raid/ |
| md_k.h | 102 struct mdk_thread_s *thread; member in struct:mddev_s
|
| /prebuilts/ndk/6/platforms/android-3/arch-arm/usr/include/linux/raid/ |
| md_k.h | 102 struct mdk_thread_s *thread; member in struct:mddev_s
|
| /prebuilts/ndk/6/platforms/android-3/arch-x86/usr/include/linux/raid/ |
| md_k.h | 102 struct mdk_thread_s *thread; member in struct:mddev_s
|
| /prebuilts/ndk/7/platforms/android-14/arch-arm/usr/include/linux/raid/ |
| md_k.h | 102 struct mdk_thread_s *thread; member in struct:mddev_s
|
| /prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/linux/raid/ |
| md_k.h | 102 struct mdk_thread_s *thread; member in struct:mddev_s
|
| /prebuilts/ndk/7/platforms/android-3/arch-arm/usr/include/linux/raid/ |
| md_k.h | 102 struct mdk_thread_s *thread; member in struct:mddev_s
|
| /prebuilts/ndk/7/platforms/android-3/arch-x86/usr/include/linux/raid/ |
| md_k.h | 102 struct mdk_thread_s *thread; member in struct:mddev_s
|
| /prebuilts/ndk/7/platforms/android-4/arch-arm/usr/include/linux/raid/ |
| md_k.h | 102 struct mdk_thread_s *thread; member in struct:mddev_s
|
| /prebuilts/ndk/7/platforms/android-4/arch-x86/usr/include/linux/raid/ |
| md_k.h | 102 struct mdk_thread_s *thread; member in struct:mddev_s
|
| /prebuilts/ndk/7/platforms/android-5/arch-arm/usr/include/linux/raid/ |
| md_k.h | 102 struct mdk_thread_s *thread; member in struct:mddev_s
|
| /prebuilts/ndk/7/platforms/android-5/arch-x86/usr/include/linux/raid/ |
| md_k.h | 102 struct mdk_thread_s *thread; member in struct:mddev_s
|
| /prebuilts/ndk/7/platforms/android-8/arch-arm/usr/include/linux/raid/ |
| md_k.h | 102 struct mdk_thread_s *thread; member in struct:mddev_s
|