HomeSort by relevance Sort by last modified time
    Searched refs:Service (Results 1 - 25 of 178) sorted by null

1 2 3 4 5 6 7 8

  /external/chromium_org/third_party/protobuf/src/google/protobuf/
service.cc 35 #include <google/protobuf/service.h>
40 Service::~Service() {}
service.h 45 // When you use the protocol compiler to compile a service definition, it
46 // generates two classes: An abstract interface for the service (with
47 // methods matching the service definition) and a "stub" implementation.
49 // local implementation of the service.
51 // For example, the service definition:
52 // service MyService {
110 class Service;
123 // interface can be used to call the methods of the Service without knowing
125 class LIBPROTOBUF_EXPORT Service {
127 inline Service() {}
    [all...]
  /external/apache-harmony/support/src/test/java/tests/resources/ServiceLoader/
Service.java 23 public interface Service {
  /external/chromium_org/chrome/browser/chromeos/file_system_provider/
service_factory.h 19 class Service;
24 // Returns a service instance singleton, after creating it (if necessary).
25 static Service* Get(content::BrowserContext* context);
27 // Returns a service instance for the context if exists. Otherwise, returns
29 static Service* FindExisting(content::BrowserContext* context);
service_factory.cc 7 #include "chrome/browser/chromeos/file_system_provider/service.h"
16 Service* ServiceFactory::Get(content::BrowserContext* context) {
17 return static_cast<Service*>(
22 Service* ServiceFactory::FindExisting(content::BrowserContext* context) {
23 return static_cast<Service*>(
33 "Service",
42 return new Service(
  /cts/tests/tests/accounts/src/android/accounts/cts/
MockAccountService.java 19 import android.app.Service;
24 * a basic Mock Service for wrapping the MockAccountAuthenticator
26 public class MockAccountService extends Service {
  /cts/tests/tests/content/src/android/content/cts/
MockAccountService.java 19 import android.app.Service;
24 * a basic Mock Service for wrapping the MockAccountAuthenticator
26 public class MockAccountService extends Service {
MockSyncAdapterService.java 19 import android.app.Service;
23 public class MockSyncAdapterService extends Service {
MockService.java 19 import android.app.Service;
24 public class MockService extends Service {
35 * set the result as true when service bind
44 * set the result as true when service start
  /cts/tests/tests/provider/src/android/provider/cts/contacts/account/
MockAccountService.java 19 import android.app.Service;
24 * Account service for the authenticator
26 public class MockAccountService extends Service {
  /development/samples/ApiDemos/src/com/example/android/apis/os/
HeadlessSmsSendService.java 19 import android.app.Service;
24 * Dummy service to make sure this app can be default SMS app
26 public class HeadlessSmsSendService extends Service {
  /external/chromium_org/chrome/browser/media/
protected_media_identifier_permission_context_factory.cc 16 class Service : public KeyedService {
18 explicit Service(Profile* profile) {
33 DISALLOW_COPY_AND_ASSIGN(Service);
42 return static_cast<Service*>(
67 return new Service(static_cast<Profile*>(profile));
  /external/chromium_org/chrome/browser/ssl/
chrome_ssl_host_state_delegate_factory.cc 16 class Service : public KeyedService {
18 explicit Service(Profile* profile)
28 DISALLOW_COPY_AND_ASSIGN(Service);
36 return static_cast<Service*>(GetInstance()->GetServiceForBrowserContext(
57 return new Service(static_cast<Profile*>(profile));
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
ProviderService_ImplTest.java 31 * Tests for <code>Provider.Service</code> constructor and methods
40 Provider.Service s = new Provider.Service(p, "type", "algorithm",
43 "Provider MyProvider Service type.algorithm className",
51 s = new Provider.Service(p, "type", "algorithm", "className",
54 "Provider MyProvider Service type.algorithm className\n"
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
ProviderServiceTest.java 34 * Tests for <code>Provider.Service</code> constructor and methods
41 new Provider.Service(null, "type", "algorithm",
47 new Provider.Service(p, null, "algorithm",
53 new Provider.Service(p, "type", null,
59 new Provider.Service(p, "type", "algorithm",
65 Provider.Service s = new Provider.Service(p,
78 Provider.Service s = new Provider.Service(p,
93 s = new Provider.Service(p, "type", "algorithm", "className"
    [all...]
  /cts/tests/tests/os/src/android/os/cts/
EmptyService.java 19 import android.app.Service;
24 public class EmptyService extends Service {
CtsRemoteService.java 19 import android.app.Service;
24 public class CtsRemoteService extends Service{
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/syncadapter/
SyncService.java 18 import android.app.Service;
23 * Service to handle Account sync. This is invoked with an intent with action
27 public class SyncService extends Service {
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
AbstractExecutionThreadServiceTest.java 58 WaitOnRunService service = new WaitOnRunService(); local
59 assertFalse(service.startUpCalled);
61 service.start().get();
62 assertTrue(service.startUpCalled);
63 assertEquals(Service.State.RUNNING, service.state());
65 enterRun.await(); // to avoid stopping the service until run() is invoked
67 service.stop().get();
68 assertTrue(service.shutDownCalled);
69 assertEquals(Service.State.TERMINATED, service.state())
75 WaitOnRunService service = new WaitOnRunService(); local
103 WaitOnRunService service = new WaitOnRunService(); local
169 ThrowOnStartUpService service = new ThrowOnStartUpService(); local
204 ThrowOnRunService service = new ThrowOnRunService(); local
215 ThrowOnRunService service = new ThrowOnRunService(); local
247 ThrowOnShutDown service = new ThrowOnShutDown(); local
279 TimeoutOnStartUp service = new TimeoutOnStartUp(); local
    [all...]
AbstractServiceTest.java 40 NoOpService service = new NoOpService(); local
41 Assert.assertEquals(Service.State.NEW, service.state());
42 assertFalse(service.isRunning());
43 assertFalse(service.running);
45 service.start();
46 assertEquals(Service.State.RUNNING, service.state());
47 assertTrue(service.isRunning());
48 assertTrue(service.running)
57 NoOpService service = new NoOpService(); local
67 NoOpService service = new NoOpService(); local
79 NoOpService service = new NoOpService(); local
91 NoOpService service = new NoOpService(); local
104 NoOpService service = new NoOpService(); local
137 ManualSwitchedService service = new ManualSwitchedService(); local
159 ManualSwitchedService service = new ManualSwitchedService(); local
182 ManualSwitchedService service = new ManualSwitchedService(); local
217 ThreadedService service = new ThreadedService(); local
231 ThreadedService service = new ThreadedService(); local
248 ThreadedService service = new ThreadedService(); local
267 ThreadedService service = new ThreadedService(); local
341 NoOpService service = new NoOpService(); local
352 StartThrowingService service = new StartThrowingService(); local
363 StopThrowingService service = new StopThrowingService(); local
375 RunThrowingService service = new RunThrowingService(); local
    [all...]
AbstractIdleServiceTest.java 19 import com.google.common.util.concurrent.Service.State;
52 NullService service = new NullService(); local
53 assertFalse(service.startUpCalled);
55 service.start().get();
56 assertTrue(service.startUpCalled);
57 assertEquals(Service.State.RUNNING, service.state());
59 service.stop().get();
60 assertTrue(service.shutDownCalled);
61 assertEquals(Service.State.TERMINATED, service.state())
67 NullService service = new NullService(); local
77 Service service = new NullService() { local
    [all...]
  /external/chromium_org/chrome/browser/geolocation/
geolocation_permission_context_factory.cc 20 class Service : public KeyedService {
22 explicit Service(Profile* profile) {
41 DISALLOW_COPY_AND_ASSIGN(Service);
49 return static_cast<Service*>(
71 return new Service(static_cast<Profile*>(profile));
  /cts/tests/app/src/android/app/cts/
MockService.java 19 import android.app.Service;
24 public class MockService extends Service {
35 * set the result as true when service bind
44 * set the result as true when service start
StubRemoteService.java 19 import android.app.Service;
24 public class StubRemoteService 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");

Completed in 761 milliseconds

1 2 3 4 5 6 7 8