/development/apps/Development/src/com/android/development/ |
BadBehaviorActivity.java | 23 import android.app.Service; 62 public static class BadService extends Service { 70 Log.i(TAG, "in service start -- about to hang"); 72 Log.i(TAG, "service hang finished -- stopping and returning"); 233 Log.i(TAG, "ANR service pressed -- about to start");
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/ |
Ip4Igmp.c | 25 Init the IGMP control data of the IP4 service instance, configure
28 @param[in, out] IpSb The IP4 service whose IGMP is to be initialized.
156 @param[in] IpSb The IP4 service instance that requests the
230 @param[in] IpSb The IP4 service instance that requests the
276 IpSb = IpInstance->Service;
281 // If the IP service already is a member in the group, just
340 @retval EFI_NOT_FOUND The IP4 service instance isn't in the group.
357 IpSb = IpInstance->Service;
404 Handle the received IGMP message for the IP4 service instance.
406 @param[in] IpSb The IP4 service instance that received the message. [all...] |
Ip4Impl.c | 389 IpSb = IpInstance->Service;
464 @param[in] IpSb The IP4 service instance that is to be changed.
536 @param IpSb The IP4 service instance.
553 IpInstance->Service = IpSb;
599 IpSb = IpInstance->Service;
[all...] |
/external/caliper/caliper/src/test/java/com/google/caliper/runner/ |
StreamServiceTest.java | 34 import com.google.common.util.concurrent.Service.Listener; 35 import com.google.common.util.concurrent.Service.State; 73 private StreamService service; field in class:StreamServiceTest 86 if (service != null && service.state() != State.FAILED && service.state() != State.TERMINATED) { 87 service.stopAsync().awaitTerminated(); 93 service.startAsync().awaitRunning(); 102 assertEquals(State.RUNNING, service.state()); 111 service.startAsync().awaitRunning() [all...] |
/external/grpc-grpc/src/cpp/server/ |
server_builder.cc | 79 ServerBuilder& ServerBuilder::RegisterService(Service* service) { 80 services_.emplace_back(new NamedService(service)); 85 Service* service) { 86 services_.emplace_back(new NamedService(addr, service)); 91 AsyncGenericService* service) { 95 "Dropping the service %p", 96 (void*)service); 98 generic_service_ = service; [all...] |
/external/ims/rcs/rcsservice/src/com/android/service/ims/ |
RcsService.java | 29 package com.android.service.ims; 38 import android.app.Service; 60 import com.android.service.ims.presence.PresencePublication; 61 import com.android.service.ims.presence.PresenceSubscriber; 63 public class RcsService extends Service{ 168 * Cleans up when the service is destroyed 344 * return true if the rcs service is ready for use.
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
ServiceTest.java | 77 /** Tests Service.callMethod(). */ 98 /** Tests Service.get{Request,Response}Prototype(). */ 173 Service service = ServiceWithNoOuter.newReflectiveService(impl); local 195 service.callMethod(fooMethod, controller, request, callback); 204 BlockingService service = local 218 service.callBlockingMethod(fooMethod, controller, request); 250 if (!Service.class.isAssignableFrom(innerClass) && 260 // No service class should have been generated.
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/media/ |
MediaPlayerFacade.java | 19 import android.app.Service; 74 private final Service mService;
|
MediaRecorderFacade.java | 19 import android.app.Service; 61 private final Service mService;
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/ |
TelecomManagerFacade.java | 25 import android.app.Service; 53 private final Service mService;
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/webcam/ |
WebCamFacade.java | 19 import android.app.Service; 93 private final Service mService; 185 * @param port If port is specified, the webcam service will bind to port, otherwise it will 201 description = "If port is specified, the webcam service will bind to "
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/ |
WifiRttManagerFacade.java | 19 import android.app.Service; 50 private final Service mService;
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
AbstractServiceTest.java | 26 import com.google.common.util.concurrent.Service.Listener; 27 import com.google.common.util.concurrent.Service.State; 52 NoOpService service = new NoOpService(); local 53 RecordingListener listener = RecordingListener.record(service); 55 assertEquals(State.NEW, service.state()); 56 assertFalse(service.isRunning()); 57 assertFalse(service.running); 59 service.startAsync(); 60 assertEquals(State.RUNNING, service.state()); 61 assertTrue(service.isRunning()) 78 NoOpService service = new NoOpService(); local 88 NoOpService service = new NoOpService(); local 98 NoOpService service = new NoOpService(); local 116 NoOpService service = new NoOpService(); local 126 NoOpService service = new NoOpService(); local 138 NoOpService service = new NoOpService(); local 171 ManualSwitchedService service = new ManualSwitchedService(); local 202 ManualSwitchedService service = new ManualSwitchedService(); local 221 ManualSwitchedService service = new ManualSwitchedService(); local 256 ManualSwitchedService service = new ManualSwitchedService(); local 272 ManualSwitchedService service = new ManualSwitchedService(); local 284 ManualSwitchedService service = new ManualSwitchedService(); local 292 ManualSwitchedService service = new ManualSwitchedService(); local 302 ManualSwitchedService service = new ManualSwitchedService(); local 313 ManualSwitchedService service = new ManualSwitchedService(); local 348 final NoOpService service = new NoOpService(); local 363 final ManualSwitchedService service = new ManualSwitchedService(); local 388 ThreadedService service = new ThreadedService(); local 409 ThreadedService service = new ThreadedService(); local 425 ThreadedService service = new ThreadedService(); local 443 ThreadedService service = new ThreadedService(); local 458 ManualSwitchedService service = new ManualSwitchedService(); local 531 NoOpService service = new NoOpService(); local 545 StartFailingService service = new StartFailingService(); local 563 StopFailingService service = new StopFailingService(); local 584 RunFailingService service = new RunFailingService(); local 604 StartThrowingService service = new StartThrowingService(); local 622 StopThrowingService service = new StopThrowingService(); local 643 RunThrowingService service = new RunThrowingService(); local 663 StopFailingService service = new StopFailingService(); local 687 final StartFailingService service = new StartFailingService(); local 703 final NoOpThreadedService service = new NoOpThreadedService(); local 714 final NoOpThreadedService service = new NoOpThreadedService(); local 820 final Service service; field in class:AbstractServiceTest.RecordingListener 907 AbstractService service = new DefaultService(); local 915 AbstractService service = new DefaultService(); local 923 AbstractService service = new DefaultService(); local 931 NoOpService service = new NoOpService(); local [all...] |
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
LegacyManifestParser.java | 36 import android.content.pm.PackageParser.Service; 261 Service service = createService(pkg, info); local 263 ServiceIntentInfo outInfo = new ServiceIntentInfo(service); 265 service.intents.add(outInfo); 267 pkg.services.add(service); 330 private static Service createService(Package pkg, ServiceInfo info) { 331 PackageParser.Service service = ReflectionHelpers.callConstructor(PackageParser.Service.class) local [all...] |
/cts/tests/tests/keystore/src/android/keystore/cts/ |
KeyFactoryTest.java | 47 import java.security.Provider.Service; 72 // caught because it'll have to expose at least one Service for such an algorithm, and this 73 // Service's algorithm will not be in the expected set. 76 Set<Service> services = provider.getServices(); 80 for (Service service : services) { 81 if ("KeyFactory".equalsIgnoreCase(service.getType())) { 82 String algLowerCase = service.getAlgorithm().toLowerCase(Locale.US);
|
KeyGeneratorTest.java | 36 import java.security.Provider.Service; 92 // algorithms, it'll be caught because it'll have to expose at least one Service for such an 93 // algorithm, and this Service's algorithm will not be in the expected set. 96 Set<Service> services = provider.getServices(); 100 for (Service service : services) { 101 if ("KeyGenerator".equalsIgnoreCase(service.getType())) { 102 String algLowerCase = service.getAlgorithm().toLowerCase(Locale.US);
|
MacTest.java | 26 import java.security.Provider.Service; 190 // expose at least one Service for such an algorithm, and this Service's algorithm will 194 Set<Service> services = provider.getServices(); 198 for (Service service : services) { 199 if ("Mac".equalsIgnoreCase(service.getType())) { 200 String algLowerCase = service.getAlgorithm().toLowerCase(Locale.US);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
BleEncryptedClientService.java | 19 import android.app.Service;
46 public class BleEncryptedClientService extends Service {
216 BluetoothGattService service = null;
local 219 service = mBluetoothGatt.getService(SERVICE_UUID);
220 if (service == null) {
221 showMessage("Service not found");
224 return service;
230 BluetoothGattService service = getService();
local 231 if (service != null) {
232 characteristic = service.getCharacteristic(uuid); [all...] |
BleEncryptedServerService.java | 19 import android.app.Service; 43 public class BleEncryptedServerService extends Service { 270 BluetoothGattService service = local 272 // add characteristic to service 286 service.addCharacteristic(characteristic); 292 service.addCharacteristic(characteristic); 296 service.addCharacteristic(characteristic); 298 return service; 320 public void onServiceAdded(int status, BluetoothGattService service) {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
DeviceSuspendTestActivity.java | 20 import android.app.Service; 85 // Launch a foreground service to ensure that the test remains in the foreground and is 138 public static class DeviceSuspendTestService extends Service {
|
/cts/tests/tests/content/src/android/content/cts/ |
BroadcastReceiverTest.java | 20 import android.app.Service; 372 assertTrue(activity.bindService(intent, msc, Service.BIND_AUTO_CREATE)); 406 public synchronized void onServiceConnected(ComponentName name, IBinder service) {
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
RemoteService.java | 23 import android.app.Service; 47 * This is an example of implementing an application service that runs in a 51 * show how to interact with the service. 54 * the complexity shown here. If your application simply has a service 58 public class RemoteService extends Service { 61 * service. Note that this is package scoped (instead of private) so 77 // While this service is running, it will continually increment a 108 // Select the interface to return. If your service only implements 133 * A secondary interface to the service. 187 * Show a notification while this service is running [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeNetLib/ |
DxeNetLib.c | [all...] |
/device/linaro/bootloader/edk2/NetworkPkg/HttpDxe/ |
HttpDriver.c | 2 The driver binding and service binding protocol for HttpDxe driver.
44 Create a HTTP driver service binding private instance.
46 @param[in] Controller The controller that has TCP4 service binding
85 Release all the resource used the HTTP service binding instance.
371 // Test for the Http service binding protocol
653 The Start() function is designed to be invoked from the EFI boot service ConnectController().
655 common boot service. It is legal to call Start() from other locations,
705 The Stop() function is designed to be invoked from the EFI boot service DisconnectController().
707 into this common boot service. It is legal to call Stop() from other locations,
808 The Start() function is designed to be invoked from the EFI boot service ConnectController(). [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
StreamService.java | 35 import com.google.common.util.concurrent.Service; // for javadoc 36 import com.google.common.util.concurrent.Service.State; // for javadoc 58 * A {@link Service} that establishes a connection over a socket to a process and then allows 62 * <p>The {@linkplain State states} of this service are as follows: 71 * <li>{@linkplain State#FAILED FAILED} : The service will transition to failed if it encounters 72 * any errors while reading from or writing to the streams, service failure will also cause 128 // Failsafe kill the process and the executor service. 153 // If a stream we are reading from throws an IOException then we fail the entire Service. This 243 logger.warning("Attempting to stop the stream service with streams still open");
|