HomeSort by relevance Sort by last modified time
    Searched refs:Service (Results 76 - 100 of 772) sorted by null

1 2 34 5 6 7 8 91011>>

  /cts/tests/tests/os/src/android/os/cts/
CtsRemoteService.java 19 import android.app.Service;
24 public class CtsRemoteService extends Service{
  /developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/
SyncService.java 19 import android.app.Service;
24 /** Service to handle sync requests.
26 * <p>This service is invoked in response to Intents with action android.content.SyncAdapter, and
35 public class SyncService extends Service {
47 Log.i(TAG, "Service created");
61 Log.i(TAG, "Service destroyed");
  /developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/
SyncService.java 19 import android.app.Service;
24 /** Service to handle sync requests.
26 * <p>This service is invoked in response to Intents with action android.content.SyncAdapter, and
35 public class SyncService extends Service {
47 Log.i(TAG, "Service created");
61 Log.i(TAG, "Service destroyed");
  /development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/
SyncService.java 19 import android.app.Service;
24 /** Service to handle sync requests.
26 * <p>This service is invoked in response to Intents with action android.content.SyncAdapter, and
35 public class SyncService extends Service {
47 Log.i(TAG, "Service created");
61 Log.i(TAG, "Service destroyed");
  /external/guice/extensions/struts2/example/src/com/google/inject/struts2/example/
Count.java 25 final Service service; field in class:Count
29 public Count(Counter counter, Service service) {
31 this.service = service;
43 return service.getStatus();
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/matchers/
StartedServiceMatcher.java 3 import android.app.Service;
25 public StartedServiceMatcher(String packageName, Class<? extends Service> expectedServiceClass) {
29 public StartedServiceMatcher(Class<? extends Service> expectedServiceClass) {
33 public StartedServiceMatcher(Class<? extends Service> expectedServiceClass, String expectedAction) {
65 // Test only that we are sending intent to the right service class
87 public static Intent createIntent(Class<? extends Service> serviceClass, String extraKey, String extraValue) {
93 public static Intent createIntent(Class<? extends Service> serviceClass, String action) {
99 public static Intent createIntent(Class<? extends Service> serviceClass) {
101 String packageName = "android.service";
109 public static Intent createIntent(String packageName, Class<? extends Service> serviceClass)
    [all...]
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
TestService.java 3 import android.app.Service;
9 class TestService extends Service implements ServiceConnection {
11 IBinder service; field in class:TestService
20 public void onServiceConnected(ComponentName name, IBinder service) {
22 this.service = service;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
RecentsSystemUserService.java 19 import android.app.Service;
27 * A strictly system-user service that is started by the secondary user's Recents (with a limited
31 public class RecentsSystemUserService extends Service {
  /frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
IsolatedService.java 19 import android.app.Service;
25 public class IsolatedService extends Service {
31 Log.i("IsolatedService", "Service created in pid " + android.os.Process.myPid());
42 Log.i("IsolatedService", "Service destroyed in pid " + android.os.Process.myPid());
ServiceUserTarget.java 19 import android.app.Service;
26 public class ServiceUserTarget extends Service {
33 "Service created as user " + UserHandle.myUserId(),
SingleUserService.java 19 import android.app.Service;
26 public class SingleUserService extends Service {
33 "Service created as user " + UserHandle.myUserId(),
  /frameworks/base/tests/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/
AlarmService.java 19 import android.app.Service;
24 public class AlarmService extends Service {
  /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/tests/testauth/
TestAuthenticationService.java 19 import android.app.Service;
24 public abstract class TestAuthenticationService extends Service {
30 Log.v(TestauthConstants.LOG_TAG, this + " Service started.");
36 Log.v(TestauthConstants.LOG_TAG, this + " Service stopped.");
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
BatchService.java 19 import android.app.Service;
26 public class BatchService extends Service {
  /packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
BugleServiceTestCase.java 19 import android.app.Service;
27 * Base class for service tests that takes care of housekeeping that is commong amongst our service
30 public abstract class BugleServiceTestCase<T extends Service> extends ServiceTestCase<T> {
  /packages/apps/UnifiedEmail/src/com/android/mail/compose/
EmptyService.java 18 import android.app.Service;
26 * A Service that does nothing. It is used to bump the adjustment of the BulkOperationHelper thread
29 public class EmptyService extends Service
  /packages/experimental/ExampleImsFramework/src/com/android/example/imsframework/
ImsFrameworkService.java 19 import android.app.Service;
25 * Example service to handle IMS setup after boot completed event.
33 public class ImsFrameworkService extends Service {
39 Log.d(TAG, "Service starting for intent " + action);
44 stopSelf(); // stop service after handling the action
54 return null; // clients can't bind to this service
  /system/connectivity/shill/cellular/
no_out_of_credits_detector.h 32 CellularService* service)
33 : OutOfCreditsDetector(dispatcher, manager, metrics, service) {}
40 // Notifies this object of a service state change.
42 Service::ConnectState old_state,
43 Service::ConnectState new_state) override {}
  /system/core/init/
service.cpp 17 #include "service.h"
62 Service::Service(const std::string& name, const std::string& classname,
70 Service::Service(const std::string& name, const std::string& classname,
79 void Service::NotifyStateChange(const std::string& new_state) const {
96 bool Service::Reap() {
98 NOTICE("Service '%s' (pid %d) killing any children in process group\n",
148 // Execute all onrestart commands for this service.
155 void Service::DumpState() const
    [all...]
  /external/guava/guava/src/com/google/common/util/concurrent/
ServiceManager.java 26 import static com.google.common.util.concurrent.Service.State.FAILED;
27 import static com.google.common.util.concurrent.Service.State.NEW;
28 import static com.google.common.util.concurrent.Service.State.RUNNING;
29 import static com.google.common.util.concurrent.Service.State.STARTING;
30 import static com.google.common.util.concurrent.Service.State.STOPPING;
31 import static com.google.common.util.concurrent.Service.State.TERMINATED;
54 import com.google.common.util.concurrent.Service.State;
74 * A manager for monitoring and controlling a set of {@linkplain Service services}. This class
76 * {@linkplain #servicesByState inspecting} a collection of {@linkplain Service services}.
80 * <p>While it is recommended that service lifecycles be managed via this class, state transition
210 checkArgument(service.state() == NEW, "Can only manage NEW services, %s", service); local
596 Service service = entry.getKey(); local
640 "Service %s not at the expected location in the state map %s", service, from); local
642 "Service %s in the state map unexpectedly at %s", service, to); local
724 final Service service; field in class:ServiceManager.ServiceListener
    [all...]
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
AbstractIdleServiceTest.java 50 AbstractIdleService service = new DefaultService(); local
51 service.startAsync().awaitRunning();
52 assertEquals(Service.State.RUNNING, service.state());
53 service.stopAsync().awaitTerminated();
54 assertEquals(Service.State.TERMINATED, service.state());
59 AbstractIdleService service = new DefaultService() { local
65 service.startAsync().awaitRunning();
70 assertEquals(Service.State.FAILED, service.state())
75 AbstractIdleService service = new DefaultService() { local
92 TestService service = new TestService(); local
102 TestService service = new TestService() { local
121 TestService service = new TestService(); local
130 TestService service = new TestService(); local
144 TestService service = new TestService() { local
167 AbstractIdleService service = new TestService(); local
177 Service service = new TestService() { local
    [all...]
  /libcore/ojluni/src/main/java/sun/security/jca/
GetInstance.java 31 import java.security.Provider.Service;
64 public static Service getService(String type, String algorithm)
67 Service s = list.getService(type, algorithm);
75 public static Service getService(String type, String algorithm,
85 Service s = p.getService(type, algorithm);
93 public static Service getService(String type, String algorithm,
98 Service s = provider.getService(type, algorithm);
112 public static List<Service> getServices(String type, String algorithm) {
123 public static List<Service> getServices(String type,
133 public static List<Service> getServices(List<ServiceId> ids)
    [all...]
ProviderList.java 31 import java.security.Provider.Service;
73 public Service getService(String type, String algorithm) {
323 * Return a Service describing an implementation of the specified
328 public Service getService(String type, String name) {
331 Service s = p.getService(type, name);
348 public List<Service> getServices(String type, String algorithm) {
358 public List<Service> getServices(String type, List<String> algorithms) {
366 public List<Service> getServices(List<ServiceId> ids) {
375 private final class ServiceList extends AbstractList<Service> {
386 // first service we have foun
    [all...]
  /external/guice/extensions/service/src/com/google/inject/service/
Service.java 17 package com.google.inject.service;
29 public interface Service {
31 * If the service has already been started, this method returns
32 * immediately without taking action. A stopped service may not be restarted.
36 * service has finished starting, and returns the resultant state. If
37 * the service fails to start, {@link Future#get} will throw an {@link
44 * If the service is {@link State#STARTED} initiates service shutdown and
45 * returns immediately. If the service has already been stopped, this
50 * service has finished shutting down, and either returns {@lin
    [all...]
  /external/ppp/pppd/plugins/radius/etc/
dictionary.merit 7 ATTRIBUTE Login-LAT-Service 34 string
16 VALUE Service-Type Authenticate-Only 8

Completed in 383 milliseconds

1 2 34 5 6 7 8 91011>>