Searched defs:application (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/test-runner/src/android/test/
H A DServiceTestCase.java36 * <p>For more information about application testing, read the
218 * object refers to a communication channel between the application and
227 * method. An example of this is in the ApiDemos sample application, in the
300 * Sets the application that is used during the test. If you do not call this method,
303 * @param application The Application object that is used by the service under test.
307 public void setApplication(Application application) { argument
308 mApplication = application;
314 * @return The application object.
H A DActivityUnitTestCase.java187 * Set the application for use during the test. You must call this function before calling
189 * @param application The Application object that will be injected into the Activity under test.
191 public void setApplication(Application application) { argument
192 mApplication = application;
/frameworks/base/cmds/app_process/
H A Dapp_main.cpp4 * Starts the interpreted runtime, then starts up the application.
213 // --application : Start in application (stand alone, non zygote) mode.
241 bool application = false; local
253 } else if (strcmp(arg, "--application") == 0) {
254 application = true;
269 // to RuntimeInit is the application argument.
273 args.add(application ? String8("application") : String8("tool"));
/frameworks/base/core/java/android/app/
H A DService.java38 * A Service is an application component representing either an application's desire
48 * <p>Note that services, like other application objects, run in the main
83 * it runs in the same process as the application it is part of.
91 * <li>A facility for the application to tell the system <em>about</em>
93 * directly interacting with the application). This corresponds to calls to
97 * <li>A facility for an application to expose some of its functionality to
228 * foreground application, but in practice this should not be a concern.)
240 * <p>Other application components running in the same process as the service
249 * running alongside other parts of an application, i
759 attach( Context context, ActivityThread thread, String className, IBinder token, Application application, Object activityManager) argument
[all...]
H A DInstrumentation.java59 * Base class for implementing application instrumentation code. When running
61 * before any of the application code, allowing you to monitor all of the
62 * interaction the system has with the application. An Instrumentation
113 * Called when the instrumentation is starting, before any application code
120 * loop so that the application can run), you can simply begin your
122 * begin the appropriate first activity of the application.
146 * application, so that it can perform blocking operation such as
157 * was thrown by the application. The default implementation simply
174 * Provide a status report about the application.
191 * Terminate instrumentation of the application
1048 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 DContextImpl.java131 * context object for Activity and other application components.
337 // At least one application in the world actually passes in a null
1835 public Context createApplicationContext(ApplicationInfo application, int flags) argument
1837 LoadedApk pi = mMainThread.getPackageInfo(application, mResources.getCompatibilityInfo(),
1841 new UserHandle(UserHandle.getUserId(application.uid)), flags,
1849 "Application package " + application.packageName + " not found");
2029 // location for application.
H A DActivity.java173 * <p>The Activity class is an important part of an application's overall lifecycle,
175 * part of the platform's application model. For a detailed perspective on the structure of an
176 * Android application and how activities behave, please read the
192 * screens, and help scale their application between small and large screens.
408 * vs. those targeting prior platforms. Starting with Honeycomb, an application
411 * safely called after {@link #onPause()} and allows and application to safely
440 * <p>This is done because any application resource,
572 * preferences that are shared across multiple application components
577 * (Note that it is not possible to share settings data across application
637 * <p>The Android system attempts to keep application proces
6593 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, String referrer, IVoiceInteractor voiceInteractor, Window window) argument
[all...]
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContext.java666 public Context createApplicationContext(ApplicationInfo application, int flags) argument
/frameworks/base/core/java/android/content/
H A DContextWrapper.java790 public Context createApplicationContext(ApplicationInfo application, argument
792 return mBase.createApplicationContext(application, flags);
H A DContext.java73 * Interface to global information about an application environment. This is
76 * allows access to application-specific resources and classes, as well as
77 * up-calls for application-level operations such as launching activities,
83 * be accessed by the calling application (or all applications sharing the
140 * sometimes desired in cases where the application has multiple
244 * Flag for {@link #bindService}: indicates that the client application
266 * just like a regular application process in the background.
288 * @hide Flag for {@link #bindService}: allows application hosting service to manage whitelists
350 * calling application's package, rather than the package in which the service is declared.
353 * application'
4150 createApplicationContext(ApplicationInfo application, int flags) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java185 * @param targetSdkVersion the targetSdkVersion of the application.
1254 public Context createApplicationContext(ApplicationInfo application, int flags) argument
/frameworks/base/core/java/android/widget/
H A DRemoteViews.java2114 * @param application The application whose content is shown by the views.
2119 protected RemoteViews(ApplicationInfo application, int layoutId) { argument
2120 mApplication = application;
3171 // RemoteViews may be built by an application installed in another
3511 // Get the application for the passed in package and user.
3512 Application application = ActivityThread.currentApplication();
3513 if (application == null) {
3517 ApplicationInfo applicationInfo = application.getApplicationInfo();
3521 Context context = application
[all...]
/frameworks/base/tools/aapt/
H A DResource.cpp872 sp<XMLNode> application = root->getChildElement(String16(), String16("application")); local
873 if (application != NULL) {
874 if (!addTagAttribute(application, RESOURCES_ANDROID_NAMESPACE, "debuggable", "true",
898 sp<XMLNode> application = root->getChildElement(String16(), String16("application")); local
899 if (application != NULL) {
900 fullyQualifyClassName(origPackage, application, String16("name"));
901 fullyQualifyClassName(origPackage, application, String16("backupAgent"));
903 Vector<sp<XMLNode> >& children = const_cast<Vector<sp<XMLNode> >&>(application
[all...]
/frameworks/base/services/core/java/com/android/server/input/
H A DInputManagerService.java208 InputApplicationHandle application);
593 "Injecting to another application requires INJECT_EVENTS permission");
1501 public void setFocusedApplication(InputApplicationHandle application) { argument
1502 nativeSetFocusedApplication(mPtr, application);
207 nativeSetFocusedApplication(long ptr, InputApplicationHandle application) argument

Completed in 352 milliseconds