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

12

/frameworks/base/test-runner/src/android/test/
H A DServiceTestCase.java36 * <p>For more information about application testing, read the
212 * object refers to a communication channel between the application and
221 * method. An example of this is in the ApiDemos sample application, in the
294 * Sets the application that is used during the test. If you do not call this method,
297 * @param application The Application object that is used by the service under test.
301 public void setApplication(Application application) { argument
302 mApplication = application;
308 * @return The application object.
H A DActivityUnitTestCase.java178 * 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/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
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
224 * foreground application, but in practice this should not be a concern.)
236 * <p>Other application components running in the same process as the service
245 * running alongside other parts of an application, i
698 attach( Context context, ActivityThread thread, String className, IBinder token, Application application, Object activityManager) argument
[all...]
H A DInstrumentation.java54 * Base class for implementing application instrumentation code. When running
56 * before any of the application code, allowing you to monitor all of the
57 * interaction the system has with the application. An Instrumentation
100 * Called when the instrumentation is starting, before any application code
107 * loop so that the application can run), you can simply begin your
109 * begin the appropriate first activity of the application.
133 * application, so that it can perform blocking operation such as
144 * was thrown by the application. The default implementation simply
161 * Provide a status report about the application.
178 * Terminate instrumentation of the application
1035 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.java206 * context object for Activity and other application components.
914 // At least one application in the world actually passes in a null
2094 public Context createApplicationContext(ApplicationInfo application, int flags) argument
2096 LoadedApk pi = mMainThread.getPackageInfo(application, mResources.getCompatibilityInfo(),
2101 new UserHandle(UserHandle.getUserId(application.uid)), restricted,
2109 "Application package " + application.packageName + " not found");
H A DActivity.java147 * <p>The Activity class is an important part of an application's overall lifecycle,
149 * part of the platform's application model. For a detailed perspective on the structure of an
150 * Android application and how activities behave, please read the
166 * screens, and help scale their application between small and large screens.
382 * vs. those targeting prior platforms. Starting with Honeycomb, an application
385 * safely called after {@link #onPause()} and allows and application to safely
414 * <p>This is done because any application resource,
546 * preferences that are shared across multiple application components
551 * (Note that it is not possible to share settings data across application
611 * <p>The Android system attempts to keep application proces
5866 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, IVoiceInteractor voiceInteractor) argument
[all...]
/frameworks/base/tests/AccessoryDisplay/common/
H A DAndroid.mk17 # Build the application.
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestApp/
H A DAndroid.mk18 ## The application with a minimal main dex
46 ## The application with a full main dex
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyAndException/
H A DAndroid.mk18 ## The application with a minimal main dex
/frameworks/base/tests/AccessoryDisplay/sink/
H A DAndroid.mk17 # Build the application.
/frameworks/base/tests/AccessoryDisplay/source/
H A DAndroid.mk17 # Build the application.
/frameworks/base/tests/RemoteDisplayProvider/
H A DAndroid.mk17 # Build the 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/opt/telephony/src/java/com/android/internal/telephony/
H A DSmsApplication.java52 * Class for managing the primary application that we will deliver SMS/MMS messages to
102 * The user-id for this application
148 * Requirements to be an SMS application:
204 intent.setDataAndType(null, "application/vnd.wap.mms-message");
277 * Checks to see if we have a valid installed SMS application for the specified package name
285 // Is there an entry in the application list for the specified package?
286 for (SmsApplicationData application : applications) {
287 if (application.mPackageName.contentEquals(packageName)) {
288 return application;
295 * Get the application w
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/
H A DAndroid.mk113 ## Test application
/frameworks/testing/support/src/android/support/test/runner/
H A DAndroidJUnitRunner.java61 * an Android package (application).
546 // the Activity is not the Android Package of the application, specifically
553 Application application,
572 application,
550 newActivity(Class<?> clazz, Context context, IBinder token, Application application, Intent intent, ActivityInfo info, CharSequence title, Activity parent, String id, Object lastNonConfigurationInstance) argument
/frameworks/base/core/java/android/content/
H A DContextWrapper.java669 public Context createApplicationContext(ApplicationInfo application, argument
671 return mBase.createApplicationContext(application, flags);
H A DContext.java61 * Interface to global information about an application environment. This is
64 * allows access to application-specific resources and classes, as well as
65 * up-calls for application-level operations such as launching activities,
71 * be accessed by the calling application (or all applications sharing the
119 * sometimes desired in cases where the application has multiple
204 * Flag for {@link #bindService}: indicates that the client application
226 * just like a regular application process in the background.
285 /** Return an AssetManager instance for your application's package. */
288 /** Return a Resources instance for your application's package. */
294 /** Return a ContentResolver instance for your application'
3355 createApplicationContext(ApplicationInfo application, int flags) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DRemoteViews.java1656 * @param application The application whose content is shown by the views.
1661 protected RemoteViews(ApplicationInfo application, int layoutId) { argument
1662 mApplication = application;
2522 // RemoteViews may be built by an application installed in another
2670 // Get the application for the passed in package and user.
2671 Application application = ActivityThread.currentApplication();
2672 if (application == null) {
2676 ApplicationInfo applicationInfo = application.getApplicationInfo();
2680 Context context = application
[all...]
/frameworks/base/core/java/android/text/format/
H A DDateFormat.java204 * @param context the application context
214 * @param context the application context
226 * @param context the application context
240 * @param context the application context
291 * @param context the application context
301 * @param context the application context
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContext.java575 public Context createApplicationContext(ApplicationInfo application, int flags) argument
/frameworks/base/tools/aapt/
H A DResource.cpp838 sp<XMLNode> application = root->getChildElement(String16(), String16("application")); local
839 if (application != NULL) {
840 if (!addTagAttribute(application, RESOURCES_ANDROID_NAMESPACE, "debuggable", "true",
861 sp<XMLNode> application = root->getChildElement(String16(), String16("application")); local
862 if (application != NULL) {
863 fullyQualifyClassName(origPackage, application, String16("name"));
864 fullyQualifyClassName(origPackage, application, String16("backupAgent"));
866 Vector<sp<XMLNode> >& children = const_cast<Vector<sp<XMLNode> >&>(application
[all...]
/frameworks/base/services/core/java/com/android/server/input/
H A DInputManagerService.java184 InputApplicationHandle application);
557 "Injecting to another application requires INJECT_EVENTS permission");
1176 public void setFocusedApplication(InputApplicationHandle application) { argument
1177 nativeSetFocusedApplication(mPtr, application);
183 nativeSetFocusedApplication(long ptr, InputApplicationHandle application) argument
/frameworks/testing/espresso/libs/
H A Dtestrunner-1.1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/apps/ ...
/frameworks/base/docs/html/guide/
H A Dguide_toc.cs164 <li><a href="<?cs var:toroot ?>guide/topics/manifest/application-element.html">&lt;application&gt;</a></li>

Completed in 584 milliseconds

12