Lines Matching defs:thread
98 * {@link #start} to begin the instrumentation thread, which will then
101 * <p>If you do not need your own thread -- that is you are writing your
114 * Create and start a new thread in which to run instrumentation. This new
115 * thread will call to {@link #onStart} where you can implement the
127 * Method where the instrumentation thread enters execution. This allows
128 * you to run your instrumentation code in a separate thread than the
305 * Schedule a callback for when the application's main thread goes idle
308 * @param recipient Called the next time the thread's message queue is
318 * from the main application thread -- use {@link #start} to execute
319 * instrumentation in its own thread.
330 * Execute a call on the application's main thread, blocking until it is
331 * complete. Useful for doing things that are not thread-safe, such as
334 * @param runner The code to run on the main thread.
993 * Often instrumentation tests start their test thread in onCreate(); you
1366 * @param contextThread The main thread of the Context from which the activity
1483 * @param contextThread The main thread of the Context from which the activity
1543 * @param contextThread The main thread of the Context from which the activity
1598 /*package*/ final void init(ActivityThread thread,
1601 mThread = thread;
1642 "This method can not be called from the main application thread");
1655 Log.w(TAG, "Exception setting priority of instrumentation thread "