Lines Matching refs:services

238     // The minimum amount of time between restarting services that we allow.
239 // That is, when multiple services are restarting, we won't allow each
252 // application to be bad and stop and its services and reject broadcasts.
665 * All currently running services.
671 * All currently running services indexed by the Intent used to start them.
684 * List of services that we have been asked to start,
693 * List of services that are scheduled to restart following a crash.
699 * List of services that are in the process of being stopped.
804 * For example, references to the commonly used services.
1579 * lazily setup to make sure the services are running when they're asked for.
4413 // Throw away any services that have been bound by this activity.
5336 ArrayList<ServiceRecord> services = new ArrayList<ServiceRecord>();
5348 services.add(service);
5352 N = services.size();
5354 bringDownServiceLocked(services.get(i), true);
5421 // Take care of any services that are waiting for the process.
5603 // Find any services that should be running in this process...
9037 // Bump up the crash count of any services currently running in the proc.
9038 if (app.services.size() != 0) {
9039 // Any services running in the application need to be placed
9041 Iterator it = app.services.iterator();
9571 pw.println(" services: service state");
9611 } else if ("services".equals(cmd) || "s".equals(cmd)) {
9893 * - no service specified: dump all the services
9897 * dump all services whose component contains the first arg as a substring
10054 pw.println(" Active services:");
10067 pw.println(" Pending services:");
10078 pw.println(" Restarting services:");
10089 pw.println(" Stopping services:");
10101 pw.println(" Connection bindings to services:");
10368 // Report disconnected services.
10372 if (app.services.size() > 0) {
10373 Iterator it = app.services.iterator();
10397 // Clean up any connections this application has to other services.
10407 if (app.services.size() != 0) {
10408 // Any services running in the application need to be placed
10410 Iterator it = app.services.iterator();
10460 app.services.clear();
11037 app.services.add(r);
11059 app.services.remove(r);
11135 // Make sure that we don't end up restarting a bunch of services
11340 r.app.services.remove(r);
11604 for (ServiceRecord sr : (HashSet<ServiceRecord>)proc.services) {
11654 // others to know why certain services are running.
13892 // there are applications dependent on our services or providers, but
13908 if (app.services.size() != 0 && (adj > FOREGROUND_APP_ADJ
13913 Iterator jt = app.services.iterator();
13923 app.adjType = "started-services";
13931 app.adjType = "started-bg-services";
13996 // Finally, f this process has active services running in it, we
14000 // its services we may bump it up from there.
14004 app.adjType = "bg-services";
14383 && app.curReceiver == null && app.services.size() == 0) {
14415 // Count how many processes are running services.
14420 if (app.persistent || app.services.size() != 0
14423 // Don't count processes holding services against our
14426 TAG, "Not trimming app " + app + " with services: "
14427 + app.services);
14450 && app.curReceiver == null && app.services.size() == 0) {
14487 && app.services.size() == 0