/frameworks/base/core/java/com/android/internal/view/ |
H A D | WindowManagerPolicyThread.java | 22 * Static storage of the thread running the window manager policy, to 29 public static void set(Thread thread, Looper looper) { argument 30 mThread = thread;
|
/frameworks/base/libs/hwui/ |
H A D | DeferredLayerUpdater.cpp | 27 DeferredLayerUpdater::DeferredLayerUpdater(renderthread::RenderThread& thread, Layer* layer) argument 34 , mRenderThread(thread) {
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | DrawFrameTask.cpp | 43 void DrawFrameTask::setContext(RenderThread* thread, CanvasContext* context) { argument 44 mRenderThread = thread;
|
H A D | EglManager.cpp | 72 EglManager::EglManager(RenderThread& thread) argument 73 : mRenderThread(thread)
|
H A D | CanvasContext.cpp | 42 CanvasContext::CanvasContext(RenderThread& thread, bool translucent, argument 44 : mRenderThread(thread) 45 , mEglManager(thread.eglManager()) 49 , mJankTracker(thread.timeLord().frameIntervalNanos()) 210 // as we will just end up fighting the UI thread. 305 void CanvasContext::invokeFunctor(RenderThread& thread, Functor* functor) { argument 308 if (thread.eglManager().hasEglContext()) { 312 thread.renderState().invokeFunctor(functor, mode, nullptr); 378 void CanvasContext::trimMemory(RenderThread& thread, int level) { argument 380 if (!thread 402 setTextureAtlas(RenderThread& thread, const sp<GraphicBuffer>& buffer, int64_t* map, size_t mapSize) argument [all...] |
H A D | RenderProxy.cpp | 62 CREATE_BRIDGE4(createContext, RenderThread* thread, bool translucent, argument 64 return new CanvasContext(*args->thread, args->translucent, 74 args->thread = &mRenderThread; 237 // the render thread. 241 CREATE_BRIDGE2(invokeFunctor, RenderThread* thread, Functor* functor) { argument 242 CanvasContext::invokeFunctor(*args->thread, args->functor); 248 RenderThread& thread = RenderThread::getInstance(); local 250 args->thread = &thread; 258 thread 274 CREATE_BRIDGE2(createTextureLayer, RenderThread* thread, CanvasContext* context) argument 345 CREATE_BRIDGE2(trimMemory, RenderThread* thread, int level) argument 353 RenderThread& thread = RenderThread::getInstance(); local 409 CREATE_BRIDGE4(dumpProfileInfo, CanvasContext* context, RenderThread* thread, int fd, int dumpFlags) argument 442 CREATE_BRIDGE2(dumpGraphicsMemory, int fd, RenderThread* thread) argument 465 CREATE_BRIDGE4(setTextureAtlas, RenderThread* thread, GraphicBuffer* buffer, int64_t* map, size_t size) argument 481 CREATE_BRIDGE2(setProcessStatsBuffer, RenderThread* thread, int fd) argument 509 RenderThread& thread = RenderThread::getInstance(); local [all...] |
/frameworks/base/libs/hwui/thread/ |
H A D | TaskManager.cpp | 37 // we do want to limit ourselves to 1 worker thread on dual-core devices. 67 sp<WorkerThread> thread; local 71 thread = mThreads[i]; 76 return thread->addTask(wrapper);
|
/frameworks/base/core/java/android/content/ |
H A D | AbstractThreadedSyncAdapter.java | 30 * An abstract implementation of a SyncAdapter that spawns a thread to invoke a sync operation. 33 * However if there is no sync in progress then a thread will be spawned and {@link #onPerformSync} 34 * will be invoked on that thread. 44 * A sync is cancelled by issuing a {@link Thread#interrupt()} on the syncing thread. <strong>Either 138 * at the same time, each in their own thread. This must be consistent with the setting 234 * The thread that invokes {@link AbstractThreadedSyncAdapter#onPerformSync}. It also acquires 236 * this thread in order to cancel the sync. 341 * thread than the sync thread and so you must consider the multi-threaded implications 359 * thread tha 366 onSyncCanceled(Thread thread) argument [all...] |
/frameworks/volley/src/main/java/com/android/volley/ |
H A D | VolleyLog.java | 81 * calling thread ID and method name. 106 * A simple event log with records containing a name, thread ID, and timestamp. 116 public final long thread; field in class:VolleyLog.MarkerLog.Marker 119 public Marker(String name, long thread, long time) { argument 121 this.thread = thread; 155 d("(+%-4d) [%2d] %s", (thisTime - prevTime), marker.thread, marker.name);
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | ALooper.cpp | 133 sp<LooperThread> thread; local 139 thread = mThread; 145 if (thread == NULL && !runningLocally) { 149 if (thread != NULL) { 150 thread->requestExit(); 159 if (!runningLocally && !thread->isCurrentThread()) { 160 // If not running locally and this thread _is_ the looper thread, 162 thread->requestExitAndWait();
|
/frameworks/av/services/audioflinger/ |
H A D | PatchPanel.cpp | 223 sp<ThreadBase> thread = local 225 newPatch->mPlaybackThread = (MixerThread *)thread.get(); 226 if (thread == 0) { 227 ALOGW("createAudioPatch() cannot get playback thread"); 278 sp<ThreadBase> thread = audioflinger->checkRecordThread_l( local 280 if (thread == 0) { 286 status = thread->sendCreateAudioPatchConfigEvent(patch, &halHandle); 327 sp<ThreadBase> thread = local 329 if (thread == 0) { 335 if (thread 553 sp<ThreadBase> thread = audioflinger->checkRecordThread_l( local 580 sp<ThreadBase> thread = local [all...] |
H A D | Effects.h | 44 EffectModule(ThreadBase *thread, 92 void setThread(const wp<ThreadBase>& thread) { mThread = thread; } argument 93 const wp<ThreadBase>& thread() { return mThread; } function in class:EffectModule 141 wp<ThreadBase> mThread; // parent thread 237 // There can be any number of EffectChain objects per output mixer thread (PlaybackThread). 246 EffectChain(ThreadBase *thread, int sessionId); 358 void clearInputBuffer_l(sp<ThreadBase> thread); 360 void setThread(const sp<ThreadBase>& thread); 362 wp<ThreadBase> mThread; // parent mixer thread [all...] |
H A D | PlaybackTracks.h | 25 Track( PlaybackThread *thread, 109 // FIXME parameters not needed, could get them from the thread 157 bool mFlushHwPending; // track requests for thread flush 163 static sp<TimedTrack> create(PlaybackThread *thread, 206 TimedTrack(PlaybackThread *thread, 257 OutputTrack(PlaybackThread *thread, 273 const wp<ThreadBase>& thread() const { return mThread; } function in class:OutputTrack
|
/frameworks/base/core/java/android/app/ |
H A D | Service.java | 46 * thread of their hosting process. This means that, if your service is going 48 * networking) operations, it should spawn its own thread in which to do that 52 * as a standard implementation of Service that has its own thread where it 81 * <li> A Service is <b>not</b> a thread. It is not a means itself to do work off 82 * of the main thread (to avoid Application Not Responding errors). 104 * main thread. It is up to the Service to implement these with the appropriate 105 * behavior, such as creating a secondary thread in which it does its work.</p> 232 * to schedule work to be done asynchronously or in another thread, then you 375 * and spawns a thread to do its networking. If its process is killed 436 * service's main thread 700 attach( Context context, ActivityThread thread, String className, IBinder token, Application application, Object activityManager) argument [all...] |
/frameworks/base/libs/hwui/renderstate/ |
H A D | RenderState.cpp | 25 RenderState::RenderState(renderthread::RenderThread& thread) argument 26 : mRenderThread(thread) 184 LOG_ALWAYS_FATAL_IF(!pthread_equal(mThreadId, curr), "Wrong thread!");
|
/frameworks/base/services/tests/servicestests/src/com/android/server/location/ |
H A D | LocationBasedCountryDetectorTest.java | 211 // Wait for query thread ending 234 // There is no way to stop the thread, let's test it could be stopped, after get country 236 // Wait for query thread ending 313 // Wait for query thread ending 336 // Wait for query thread ending 358 private void waitForThreadEnding(Thread thread) { argument 360 thread.join(5000); 375 Thread thread = detector.getQueryThread(); 376 assertTrue(thread != null); 377 return thread; [all...] |
/frameworks/base/tests/touchlag/ |
H A D | touchlag.cpp | 173 sp<EventThread> thread; member in class:TouchEvents 177 thread = new EventThread(); 178 thread->run("EventThread", PRIORITY_URGENT_DISPLAY); 182 *x = thread->x; 183 *y = thread->y; 184 return thread->down;
|
/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTextureClient_test.cpp | 545 MyThread* thread = new MyThread(mST); local 546 sp<Thread> threadBase(thread); 550 thread->run(); 555 thread->bufferDequeued(); 556 thread->requestExitAndWait();
|
/frameworks/base/core/java/com/android/internal/content/ |
H A D | PackageMonitor.java | 67 public void register(Context context, Looper thread, boolean externalStorage) { argument 68 register(context, thread, null, externalStorage); 71 public void register(Context context, Looper thread, UserHandle user, argument 77 if (thread == null) { 80 mRegisteredHandler = new Handler(thread);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | Watchdog.java | 53 // Set this to true to have the watchdog record kernel thread stacks when it fires 74 /* This handler will be used to post message back onto the main thread */ 112 // to do a context switch to check the thread. Note that we 194 * there is a binder thread available to process in coming IPCs to make sure other processes 218 // Initialize handler checkers for each common thread we want to check. Note 219 // that we are not currently checking the background thread, since it can 223 // The shared foreground thread is the main checker. It is where we 226 "foreground thread", DEFAULT_TIMEOUT); 228 // Add checker for main thread. We only do a quick check since there 229 // can be UI running on the thread 284 addThread(Handler thread) argument 288 addThread(Handler thread, long timeoutMillis) argument [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
H A D | 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. 657 // Park the thread until a connection is assigned or the pool is closed. 738 final Thread thread = Thread.currentThread(); 741 msg.append("' has been unable to grant a connection to thread "); 742 msg.append(thread.getId()).append(" (").append(thread.getName()).append(") "); 967 private ConnectionWaiter obtainConnectionWaiterLocked(Thread thread, long startTime, argument 976 waiter.mThread = thread; 1045 + " ms - thread [all...] |
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | NetworkDiagnostics.java | 119 public Thread thread; field in class:NetworkDiagnostics.Measurement 219 measurement.thread = new Thread(new IcmpCheck(target, measurement)); 231 measurement.thread = new Thread(new IcmpCheck(source, target, measurement)); 241 measurement.thread = new Thread(new DnsUdpCheck(target, measurement)); 252 measurement.thread.start(); 255 measurement.thread.start(); 258 measurement.thread.start();
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_tv_TvInputHal.cpp | 540 sp<BufferProducerThread> thread; local 546 ALOGE("capture thread not existing."); 549 thread = connection.mThread; 551 thread->onCaptured(seq, succeeded);
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | playbq.c | 113 // This thread reads from a (slow) filesystem with unpredictable latency and writes to pipe 541 // create thread to read from file 542 pthread_t thread; local 543 int ok = pthread_create(&thread, (const pthread_attr_t *) NULL, file_reader_loop, NULL); 546 // give thread a head start so that the pipe is initially filled 602 // wait for reader thread to exit 603 ok = pthread_join(thread, (void **) NULL);
|
H A D | playbq.cpp | 113 // This thread reads from a (slow) filesystem with unpredictable latency and writes to pipe 541 // create thread to read from file 542 pthread_t thread; local 543 int ok = pthread_create(&thread, (const pthread_attr_t *) NULL, file_reader_loop, NULL); 546 // give thread a head start so that the pipe is initially filled 602 // wait for reader thread to exit 603 ok = pthread_join(thread, (void **) NULL);
|