Lines Matching defs:application

80  * Interface to global information about an application environment.  This is
83 * allows access to application-specific resources and classes, as well as
84 * up-calls for application-level operations such as launching activities,
121 * be accessed by the calling application (or all applications sharing the
178 * sometimes desired in cases where the application has multiple
282 * Flag for {@link #bindService}: indicates that the client application
304 * just like a regular application process in the background.
332 * @hide Flag for {@link #bindService}: allows application hosting service to manage whitelists
394 * calling application's package, rather than the package in which the service is declared.
397 * application's package name and user ID. Because the service must be an isolated process,
398 * it will not have direct access to the application's data, though.
401 * to the app using the service, rather than the application providing the service.
420 * Returns an AssetManager instance for the application's package.
427 * @return an AssetManager instance for the application's package
433 * Returns a Resources instance for the application's package.
440 * @return a Resources instance for the application's package
448 /** Return a ContentResolver instance for your application's package. */
453 * the thread used to dispatch calls to application components (activities,
482 * registered with the global state associated with your application. Thus
515 * Add a new {@link ComponentCallbacks} to the base application of the
537 * Return a localized, styled CharSequence from the application's package's
547 * Returns a localized string from the application's package's
560 * Returns a localized formatted string from the application's package's
701 /** Return the name of this application's package. */
714 /** Return the full application info for this context's package. */
719 * The Android package is a ZIP file which contains the application's
731 * The Android package is a ZIP file which contains application's
809 * @param name The name (unique in the application package) of the shared
818 * Open a private file associated with this Context's application package
835 * Open a private file associated with this Context's application package
857 * application package.
932 * @return The path of the directory holding application files.
952 * @return The path of the directory holding application files that will not
963 * storage device where the application can place persistent files it owns.
968 * when the application is uninstalled, however there are some important
975 * application holding
989 * package name of the calling application. To access paths belonging to
1002 * application's shared storage:
1016 * here are owned by the application, and their contents will be removed
1017 * when the application is uninstalled. Unlike
1023 * application's shared storage and add it to the media database:
1038 * @return the absolute path to application-specific directory. May return
1050 * Returns absolute paths to application-specific directories on all
1051 * shared/external storage devices where the application can place
1052 * persistent files it owns. These files are internal to the application,
1056 * when the application is uninstalled, however there are some important
1063 * application holding
1079 * An application may store data on any or all of the returned devices. For
1100 * @return the absolute paths to application-specific directories. Some
1113 * application's OBB files (if there are any) can be found. Note if the
1114 * application does not have any OBB files, this directory may not exist.
1117 * when the application is uninstalled, however there are some important
1124 * application holding
1132 * package name of the calling application. To access paths belonging to
1142 * @return the absolute path to application-specific directory. May return
1152 * Returns absolute paths to application-specific directories on all
1153 * shared/external storage devices where the application's OBB files (if
1154 * there are any) can be found. Note if the application does not have any
1158 * when the application is uninstalled, however there are some important
1165 * application holding
1175 * An application may store data on any or all of the returned devices. For
1183 * @return the absolute paths to application-specific directories. Some
1195 * Returns the absolute path to the application specific cache directory on
1223 * @return The path of the directory holding application cache files.
1232 * Returns the absolute path to the application specific cache directory on
1236 * specific application is upgraded, and when the entire platform is
1240 * by your application at runtime.
1248 * @return The path of the directory holding application code cache files.
1253 * Returns absolute path to application-specific directory on the primary
1254 * shared/external storage device where the application can place cache
1255 * files it owns. These files are internal to the application, and not
1259 * when the application is uninstalled, however there are some important
1272 * application holding
1286 * package name of the calling application. To access paths belonging to
1298 * @return the absolute path to application-specific directory. May return
1310 * Returns absolute path to application-specific directory in the preloaded cache.
1320 * Returns absolute paths to application-specific directories on all
1321 * shared/external storage devices where the application can place cache
1322 * files it owns. These files are internal to the application, and not
1326 * when the application is uninstalled, however there are some important
1339 * application holding
1355 * An application may store data on any or all of the returned devices. For
1366 * @return the absolute paths to application-specific directories. Some
1378 * Returns absolute paths to application-specific directories on all
1379 * shared/external storage devices where the application can place media
1384 * deleted when the application is uninstalled, however there are some
1391 * application holding
1401 * An application may store data on any or all of the returned devices. For
1412 * @return the absolute paths to application-specific directories. Some
1423 * this Context's application package.
1434 * Retrieve, creating if needed, a new directory in which the application
1438 * application; you can only set the mode of the entire directory, not
1448 * that is created as part of your application data.
1460 * application package. Create the database file if it doesn't exist.
1462 * @param name The name (unique in the application package) of the database.
1479 * application package. Creates the database file if it doesn't exist.
1485 * @param name The name (unique in the application package) of the database.
1524 * application package.
1526 * @param name The name (unique in the application package) of the
1553 * this Context's application package.
2421 * matches <var>filter</var>, in the main application thread.
2451 * that is declared in an application's manifest. It is okay, however, to call
2509 * a different thread than the main application thread.
2617 * Request that a given application service be started. The Intent
2640 * foreground application is using so many resources that the service needs
2667 * @throws IllegalStateException If the application is in a state where the service
2713 * Request that a given application service be stopped. If the service is
2736 * @throws IllegalStateException If the application is in a state where the service
2757 * Connect to an application service, creating it if needed. This defines
2758 * a dependency between your application and the service. The given
2832 * Disconnect from an application service. You will no longer receive
2845 * Instrumentation component will be run by killing its target application
2847 * instrumentation component, and then letting it drive the application.
2999 * connectivity. On releases before NYC, it should only be obtained from an application
3349 * must not be interrupted by headless OTA application or similar.
3754 * {@link android.content.RestrictionsManager} for retrieving application restrictions
3763 * {@link android.app.AppOpsManager} for tracking application operations
4394 * Flag for use with {@link #createPackageContext}: include the application
4397 * the application's classes. Setting this flags imposes security
4398 * restrictions on what application context you can access; if the
4399 * requested application can not be safely loaded into your process,
4446 * Return a new Context object for the given application name. This
4447 * Context is the same as what the named application gets when it is
4454 * application with the given package name.
4460 * @param packageName Name of the application's package.
4463 * @return A {@link Context} for the application.
4466 * @throws PackageManager.NameNotFoundException if there is no application with
4488 public abstract Context createApplicationContext(ApplicationInfo application,
4612 * is provided on a per-application or activity basis and is used to simulate lower density
4616 * @return The compatibility info holder, or null if not required by the application.