Lines Matching defs:thread
97 * {@link #start} to begin the instrumentation thread, which will then
100 * <p>If you do not need your own thread -- that is you are writing your
113 * Create and start a new thread in which to run instrumentation. This new
114 * thread will call to {@link #onStart} where you can implement the
126 * Method where the instrumentation thread enters execution. This allows
127 * you to run your instrumentation code in a separate thread than the
304 * Schedule a callback for when the application's main thread goes idle
307 * @param recipient Called the next time the thread's message queue is
317 * from the main application thread -- use {@link #start} to execute
318 * instrumentation in its own thread.
329 * Execute a call on the application's main thread, blocking until it is
330 * complete. Useful for doing things that are not thread-safe, such as
333 * @param runner The code to run on the main thread.
1330 * @param contextThread The main thread of the Context from which the activity
1384 /*package*/ final void init(ActivityThread thread,
1387 mThread = thread;
1428 "This method can not be called from the main application thread");
1441 Log.w(TAG, "Exception setting priority of instrumentation thread "