/cts/tests/app/app/src/android/app/stubs/ |
LocalForegroundService.java | 22 import android.app.Service; 50 Log.d(TAG, "service created: " + this + " in " + android.os.Process.myPid()); 53 /** Returns the channel id for this service */ 69 Log.d(TAG, "service start cmd " + command + ", intent " + intent); 92 stopForeground(Service.STOP_FOREGROUND_REMOVE | Service.STOP_FOREGROUND_DETACH); 95 Log.d(TAG, "Detaching foreground service notification"); 96 stopForeground(Service.STOP_FOREGROUND_DETACH); 112 Log.d(TAG, "service destroyed: " + this + " in " + android.os.Process.myPid());
|
/external/flatbuffers/tests/ |
monster_test.grpc.fb.cc | 86 MonsterStorage::Service::Service() { 90 new ::grpc::internal::RpcMethodHandler< MonsterStorage::Service, flatbuffers::grpc::Message<Monster>, flatbuffers::grpc::Message<Stat>>( 91 std::mem_fn(&MonsterStorage::Service::Store), this))); 95 new ::grpc::internal::ServerStreamingHandler< MonsterStorage::Service, flatbuffers::grpc::Message<Stat>, flatbuffers::grpc::Message<Monster>>( 96 std::mem_fn(&MonsterStorage::Service::Retrieve), this))); 100 new ::grpc::internal::ClientStreamingHandler< MonsterStorage::Service, flatbuffers::grpc::Message<Monster>, flatbuffers::grpc::Message<Stat>>( 101 std::mem_fn(&MonsterStorage::Service::GetMaxHitPoint), this))); 105 new ::grpc::internal::BidiStreamingHandler< MonsterStorage::Service, flatbuffers::grpc::Message<Monster>, flatbuffers::grpc::Message<Stat>>( 106 std::mem_fn(&MonsterStorage::Service::GetMinMaxHitPoints), this))) [all...] |
monster_test.grpc.fb.h | 143 class Service : public ::grpc::Service { 145 Service(); 146 virtual ~Service(); 155 void BaseClassMustBeDerivedFromService(const Service *service) {} 158 ::grpc::Service::MarkMethodAsync(0); 169 ::grpc::Service::RequestAsyncUnary(0, context, request, response, new_call_cq, notification_cq, tag); 175 void BaseClassMustBeDerivedFromService(const Service *service) {} [all...] |
/external/grpc-grpc/examples/ruby/ |
greeter_server.rb | 17 # Sample gRPC server that implements the Greeter::Helloworld service. 29 class GreeterServer < Helloworld::Greeter::Service
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
AbstractExecutionThreadService.java | 32 * service; consider {@link AbstractService} if you would like to manage any 39 public abstract class AbstractExecutionThreadService implements Service { 44 private final Service delegate = new AbstractService() { 66 "Error while attempting to shut down the service" 94 * Start the service. This method is invoked on the execution thread. 101 * Run the service. This method is invoked on the execution thread. 117 * Stop the service. This method is invoked on the execution thread. 125 * Invoked to request the service to stop. 132 * Returns the {@link Executor} that will be used to run this service. 136 * execute()} method is called when this service is started, and should retur [all...] |
AbstractIdleService.java | 38 public abstract class AbstractIdleService implements Service { 48 private final Service delegate = new AbstractService() { 83 /** Start the service. */ 86 /** Stop the service. */ 90 * Returns the {@link Executor} that will be used to run this service. 94 * execute()} method is called when this service is started and stopped, 134 @Override public final Service startAsync() { 142 @Override public final Service stopAsync() { 176 * Returns the name of this service. {@link AbstractIdleService} may include the name in debugging
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/controller/ |
ServiceController.java | 7 import android.app.Service; 16 public class ServiceController<T extends Service> extends ComponentController<ServiceController<T>, T> { 18 public static <T extends Service> ServiceController<T> of(T service, Intent intent) { 19 ServiceController<T> controller = new ServiceController<>(service, intent); 24 private ServiceController(T service, Intent intent) { 25 super(service, intent); 40 ReflectionHelpers.callInstanceMethod(Service.class, component, "attach",
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
FacadeManager.java | 19 import android.app.Service; 35 private final Service mService; 39 public FacadeManager(int sdkLevel, Service service, Intent intent, 43 mService = service; 51 public Service getService() {
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
local_service.h | 24 #include "tensorflow/compiler/xla/service/backend.h" 25 #include "tensorflow/compiler/xla/service/compiler.h" 26 #include "tensorflow/compiler/xla/service/device_memory_allocator.h" 27 #include "tensorflow/compiler/xla/service/executable.h" 28 #include "tensorflow/compiler/xla/service/service.h" 29 #include "tensorflow/compiler/xla/service/shaped_buffer.h" 36 // Service implementation that extends the XLA Service to leverage running 38 class LocalService : public Service { [all...] |
/external/libchrome/mojo/public/cpp/bindings/tests/ |
binding_unittest.cc | 28 class ServiceImpl : public sample::Service { 38 // sample::Service implementation 80 Binding<sample::Service> binding(&impl, std::move(request)); 100 Binding<sample::Service> binding(&impl, std::move(request)); 101 ptr->Frobinate(nullptr, sample::Service::BazOptions::REGULAR, nullptr, 115 ptr->Frobinate(nullptr, sample::Service::BazOptions::REGULAR, nullptr, 129 Binding<sample::Service> binding(&impl, MakeRequest(&ptr)); 148 Binding<sample::Service> binding(&impl, MakeRequest(&ptr)); 166 InterfaceRequest<sample::Service> request) 182 Binding<sample::Service> binding_ [all...] |
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
grpc_master_service_impl.h | 36 // and the gRPC generated stub and service classes. 125 class AsyncService : public ::grpc::Service { 134 ::grpc::Service::RequestAsyncUnary(0, context, request, response, 142 ::grpc::Service::RequestAsyncUnary(1, context, request, response, 150 ::grpc::Service::RequestAsyncUnary(2, context, request, response, 158 ::grpc::Service::RequestAsyncUnary(3, context, request, response, 166 ::grpc::Service::RequestAsyncUnary(4, context, request, response, 174 ::grpc::Service::RequestAsyncUnary(5, context, request, response, 182 ::grpc::Service::RequestAsyncUnary(6, context, request, response, 190 ::grpc::Service::RequestAsyncUnary(7, context, request, response [all...] |
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/ |
EphemeralService.java | 19 import android.app.Service; 36 public class EphemeralService extends Service {
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/ |
ExposedService.java | 19 import android.app.Service; 28 public class ExposedService extends Service {
|
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/ |
MyForegroundService.java | 25 import android.app.Service; 36 * Service used to change app state to FOREGROUND_SERVICE. 38 public class MyForegroundService extends Service {
|
RemoteSocketFactoryService.java | 19 import android.app.Service; 32 public class RemoteSocketFactoryService extends Service {
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
TestService.java | 22 import android.app.Service; 26 public class TestService extends Service {
|
/cts/tests/tests/appcomponentfactory/src/android/app/componentfactory/cts/ |
MyFactory.java | 20 import android.app.Service; 64 public Service instantiateService(ClassLoader cl, String className, Intent intent)
|
/cts/tests/tests/batterysaving/apps/app_target_api_current/src/android/os/cts/batterysaving/app/ |
TestService.java | 23 import android.app.Service; 31 public class TestService extends Service {
|
/cts/tests/tests/content/src/android/content/cts/ |
MockContextService.java | 19 import android.app.Service; 30 public class MockContextService extends Service {
|
/cts/tests/tests/os/src/android/os/cts/ |
CrossProcessExceptionService.java | 21 import android.app.Service; 31 public class CrossProcessExceptionService extends Service {
|
/cts/tests/tests/permission/AppThatAccessesLocationOnCommand/src/android/permission/cts/appthataccesseslocation/ |
AccessLocationOnCommand.java | 21 import android.app.Service; 32 public class AccessLocationOnCommand extends Service {
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
TestProcessService.java | 20 import android.app.Service; 34 abstract class TestProcessService extends Service { 59 throw new AssertionFailedError("Unknown service message " + msg.what);
|
/development/samples/KeyChainDemo/src/com/example/android/keychain/ |
SecureWebServerService.java | 21 import android.app.Service; 26 public class SecureWebServerService extends Service {
|
/development/samples/MultiClientInputMethod/src/com/example/android/multiclientinputmethod/ |
MultiClientInputMethod.java | 19 import android.app.Service; 26 * A {@link Service} that implements multi-client IME protocol. 28 public final class MultiClientInputMethod extends Service {
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/media/ |
AudioManagerFacade.java | 19 import android.app.Service; 31 private final Service mService;
|