Lines Matching refs:application

55  * Base class for implementing application instrumentation code.  When running
57 * before any of the application code, allowing you to monitor all of the
58 * interaction the system has with the application. An Instrumentation
101 * Called when the instrumentation is starting, before any application code
108 * loop so that the application can run), you can simply begin your
110 * begin the appropriate first activity of the application.
134 * application, so that it can perform blocking operation such as
145 * was thrown by the application. The default implementation simply
162 * Provide a status report about the application.
179 * Terminate instrumentation of the application. This will cause the
180 * application process to exit, removing this instrumentation from the next
181 * time the application is started.
222 * Called when the instrumented application is stopping, after all of the
223 * normal application cleanup has occurred.
230 * often different than the Context of the application being
232 * different package than that of the application it is running against.
234 * application.
254 * Return a Context for the target application being instrumented. Note
257 * than that of the application it is running against. See
260 * @return A Context in the target application.
317 * Schedule a callback for when the application's main thread goes idle
329 * Synchronously wait for the application to be idle. Can not be called
330 * from the main application thread -- use {@link #start} to execute
342 * Execute a call on the application's main thread, blocking until it is
973 * @param context The context to initialize the application with
988 * @param context The context to initialize the application with
1001 * Perform calling of the application's {@link Application#onCreate}
1009 * @param app The application being created.
1023 * @param application The application object (if any)
1037 IBinder token, Application application, Intent intent, ActivityInfo info,
1043 activity.attach(context, aThread, this, token, 0, application, intent,
1431 * Execute a startActivity call made by the application. The default
1434 * override this to watch for the application to start an activity, and
1438 * use when intercepting application calls to avoid performing the start
1439 * activity action but still return the result the application is
1442 * you would like the application to see, and don't call up to the super
1443 * class. Note that an application is only expecting a result if
1804 "This method can not be called from the main application thread");
1812 * work across application boundaries while the APIs exposed by the instrumentation
1816 * will work regardless of the current application.