Searched refs:application (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/telephony/java/com/android/internal/telephony/
H A DIccCardStatus.java126 public void addApplication(IccCardApplication application) { argument
127 mApplications.add(application);
/frameworks/base/core/java/android/app/
H A DService.java34 * 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
55 * <a href="{@docRoot}guide/topics/fundamentals.html#lcycles">application's overall lifecycle</a>.</p>
76 * it runs in the same process as the application it is part of.
84 * <li>A facility for the application to tell the system <em>about</em>
86 * directly interacting with the application). This corresponds to calls to
90 * <li>A facility for an application to expose some of its functionality to
201 * foreground application, but in practice this should not be a concern.)
213 * <p>Other application component
654 attach( Context context, ActivityThread thread, String className, IBinder token, Application application, Object activityManager) argument
[all...]
H A DActivity.java105 * <p>The Activity class is an important part of an application's overall lifecycle,
107 * part of the platform's application model. For a detailed perspective on the structure of
359 * <p>This is done because any application resource,
491 * preferences that are shared across multiple application components
496 * (Note that it is not possible to share settings data across application
545 * <p>The Android system attempts to keep application process around for as
575 * application components (such as {@link Service} or
585 * application that allows you to upload a picture to a web site. The upload
586 * may take a long time, and the application should allow the user to leave
587 * the application wil
3739 attach(Context context, ActivityThread aThread, Instrumentation instr, IBinder token, Application application, Intent intent, ActivityInfo info, CharSequence title, Activity parent, String id, Object lastNonConfigurationInstance, Configuration config) argument
3747 attach(Context context, ActivityThread aThread, Instrumentation instr, IBinder token, int ident, Application application, Intent intent, ActivityInfo info, CharSequence title, Activity parent, String id, Object lastNonConfigurationInstance, HashMap<String,Object> lastNonConfigurationChildInstances, Configuration config) argument
[all...]
H A DInstrumentation.java52 * Base class for implementing application instrumentation code. When running
54 * before any of the application code, allowing you to monitor all of the
55 * interaction the system has with the application. An Instrumentation
95 * Called when the instrumentation is starting, before any application code
102 * loop so that the application can run), you can simply begin your
104 * begin the appropriate first activity of the application.
128 * application, so that it can perform blocking operation such as
139 * was thrown by the application. The default implementation simply
156 * Provide a status report about the application.
173 * Terminate instrumentation of the application
993 newActivity(Class<?> clazz, Context context, IBinder token, Application application, Intent intent, ActivityInfo info, CharSequence title, Activity parent, String id, Object lastNonConfigurationInstance) argument
[all...]
/frameworks/base/test-runner/src/android/test/
H A DServiceTestCase.java209 * object refers to a communication channel between the application and
218 * method. An example of this is in the ApiDemos sample application, in the
290 * Sets the application that is used during the test. If you do not call this method,
293 * @param application The Application object that is used by the service under test.
297 public void setApplication(Application application) { argument
298 mApplication = application;
304 * @return The application object.
H A DActivityUnitTestCase.java179 * Set the application for use during the test. You must call this function before calling
181 * @param application The Application object that will be injected into the Activity under test.
183 public void setApplication(Application application) { argument
184 mApplication = application;
/frameworks/base/tests/BrowserTestPlugin/
H A DAndroid.mk18 # Build application
/frameworks/base/services/java/com/android/server/
H A DInputManager.java78 private static native void nativeSetFocusedApplication(InputApplication application); argument
263 * Injects an input event into the event system on behalf of an application.
279 * @param injectorPid The pid of the injecting application.
280 * @param injectorUid The uid of the injecting application.
321 public void setFocusedApplication(InputApplication application) { argument
322 nativeSetFocusedApplication(application);
/frameworks/base/libs/ui/
H A DInputDispatcher.cpp57 // Default input dispatching timeout if there is no focused application or paused window
63 // when an application takes too long to respond and the user has pressed an app switch key.
799 // dispatched to change before the application finally consumed them.
847 const EventEntry* entry, const InputApplication* application, const InputWindow* window,
849 if (application == NULL && window == NULL) {
862 LOGD("Waiting for application to become ready for input: %s",
863 getApplicationWindowLabelLocked(application, window).string());
866 application ? application->dispatchingTimeout : DEFAULT_INPUT_DISPATCHING_TIMEOUT;
880 onANRLocked(currentTime, application, windo
846 handleTargetsNotReadyLocked(nsecs_t currentTime, const EventEntry* entry, const InputApplication* application, const InputWindow* window, nsecs_t* nextWakeupTime) argument
1390 getApplicationWindowLabelLocked(const InputApplication* application, const InputWindow* window) argument
2884 onANRLocked( nsecs_t currentTime, const InputApplication* application, const InputWindow* window, nsecs_t eventTime, nsecs_t waitStartTime) argument
[all...]
/frameworks/base/tools/aapt/
H A DResource.cpp682 sp<XMLNode> application = root->getChildElement(String16(), String16("application")); local
683 if (application != NULL) {
684 addTagAttribute(application, RESOURCES_ANDROID_NAMESPACE, "debuggable", "true");
702 sp<XMLNode> application = root->getChildElement(String16(), String16("application")); local
703 if (application != NULL) {
704 fullyQualifyClassName(origPackage, application, String16("name"));
705 fullyQualifyClassName(origPackage, application, String16("backupAgent"));
707 Vector<sp<XMLNode> >& children = const_cast<Vector<sp<XMLNode> >&>(application
[all...]
/frameworks/base/core/java/android/text/format/
H A DDateFormat.java246 * @param context the application context
266 * @param context the application context
280 * @param context the application context
336 * @param context the application context
346 * @param context the application context
/frameworks/base/include/ui/
H A DInputDispatcher.h50 * into the application with input focus. */
85 /* This flag indicates that the event is being delivered to a foreground application. */
236 * An input application describes properties of an application that can receive input.
263 /* Notifies the system that an application is not responding.
315 /* Checks whether a given application pid/uid has permission to inject input events
378 /* Sets the focused application.
950 // Focused application.
989 const InputApplication* application, const InputWindow* window,
1008 String8 getApplicationWindowLabelLocked(const InputApplication* application,
[all...]
/frameworks/base/services/jni/
H A Dcom_android_server_InputManager.cpp813 LOGE("Could not create weak reference for application token.");
830 InputApplication application; local
831 application.name = name;
832 application.dispatchingTimeout = dispatchingTimeoutNanos;
833 application.handle = new ApplicationToken(tokenObjWeak);
834 mInputManager->getDispatcher()->setFocusedApplication(& application);

Completed in 164 milliseconds