/frameworks/base/test-runner/src/android/test/ |
H A D | ServiceTestCase.java | 39 * <p>For more information about application testing, read the 215 * object refers to a communication channel between the application and 224 * method. An example of this is in the ApiDemos sample application, in the 296 * Sets the application that is used during the test. If you do not call this method, 299 * @param application The Application object that is used by the service under test. 303 public void setApplication(Application application) { argument 304 mApplication = application; 310 * @return The application object.
|
H A D | ActivityUnitTestCase.java | 178 * Set the application for use during the test. You must call this function before calling 180 * @param application The Application object that will be injected into the Activity under test. 182 public void setApplication(Application application) { argument 183 mApplication = application;
|
/frameworks/base/cmds/app_process/ |
H A D | app_main.cpp | 4 * Starts the interpreted runtime, then starts up the application. 158 bool application = false; local 171 } else if (strcmp(arg, "--application") == 0) { 172 application = true; 197 application ? "application" : "tool");
|
/frameworks/base/core/java/android/app/ |
H A D | Service.java | 34 * A Service is an application component representing either an application's desire 44 * <p>Note that services, like other application objects, run in the main 79 * it runs in the same process as the application it is part of. 87 * <li>A facility for the application to tell the system <em>about</em> 89 * directly interacting with the application). This corresponds to calls to 93 * <li>A facility for an application to expose some of its functionality to 216 * foreground application, but in practice this should not be a concern.) 228 * <p>Other application components running in the same process as the service 237 * running alongside other parts of an application, i 688 attach( Context context, ActivityThread thread, String className, IBinder token, Application application, Object activityManager) argument [all...] |
H A D | Instrumentation.java | 53 * Base class for implementing application instrumentation code. When running 55 * before any of the application code, allowing you to monitor all of the 56 * interaction the system has with the application. An Instrumentation 96 * Called when the instrumentation is starting, before any application code 103 * loop so that the application can run), you can simply begin your 105 * begin the appropriate first activity of the application. 129 * application, so that it can perform blocking operation such as 140 * was thrown by the application. The default implementation simply 157 * Provide a status report about the application. 174 * Terminate instrumentation of the application 1024 newActivity(Class<?> clazz, Context context, IBinder token, Application application, Intent intent, ActivityInfo info, CharSequence title, Activity parent, String id, Object lastNonConfigurationInstance) argument [all...] |
H A D | Activity.java | 129 * <p>The Activity class is an important part of an application's overall lifecycle, 131 * part of the platform's application model. For a detailed perspective on the structure of an 132 * Android application and how activities behave, please read the 148 * screens, and help scale their application between small and large screens. 364 * vs. those targeting prior platforms. Starting with Honeycomb, an application 367 * safely called after {@link #onPause()} and allows and application to safely 396 * <p>This is done because any application resource, 528 * preferences that are shared across multiple application components 533 * (Note that it is not possible to share settings data across application 593 * <p>The Android system attempts to keep application proces 5045 attach(Context context, ActivityThread aThread, Instrumentation instr, IBinder token, Application application, Intent intent, ActivityInfo info, CharSequence title, Activity parent, String id, NonConfigurationInstances lastNonConfigurationInstances, Configuration config) argument 5053 attach(Context context, ActivityThread aThread, Instrumentation instr, IBinder token, int ident, Application application, Intent intent, ActivityInfo info, CharSequence title, Activity parent, String id, NonConfigurationInstances lastNonConfigurationInstances, Configuration config) argument [all...] |
/frameworks/base/services/java/com/android/server/input/ |
H A D | InputManagerService.java | 177 InputApplicationHandle application); 530 "Injecting to another application requires INJECT_EVENTS permission"); 1045 public void setFocusedApplication(InputApplicationHandle application) { argument 1046 nativeSetFocusedApplication(mPtr, application); 176 nativeSetFocusedApplication(int ptr, InputApplicationHandle application) argument
|
/frameworks/base/tools/aapt/ |
H A D | Resource.cpp | 783 sp<XMLNode> application = root->getChildElement(String16(), String16("application")); local 784 if (application != NULL) { 785 if (!addTagAttribute(application, RESOURCES_ANDROID_NAMESPACE, "debuggable", "true", 806 sp<XMLNode> application = root->getChildElement(String16(), String16("application")); local 807 if (application != NULL) { 808 fullyQualifyClassName(origPackage, application, String16("name")); 809 fullyQualifyClassName(origPackage, application, String16("backupAgent")); 811 Vector<sp<XMLNode> >& children = const_cast<Vector<sp<XMLNode> >&>(application [all...] |