/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
DozeSuspendScreenStatePreventingAdapterTest.java | 37 private DozeMachine.Service mInner; 42 mInner = mock(DozeMachine.Service.class);
|
/frameworks/base/packages/services/PacProcessor/src/com/android/pacprocessor/ |
PacService.java | 18 import android.app.Service; 31 public class PacService extends Service {
|
/frameworks/base/test-runner/src/android/test/ |
ServiceTestCase.java | 20 import android.app.Service; 29 * This test case provides a framework in which you can test Service classes in 31 * Service, and hooks with which you can inject various dependencies and control 32 * the environment in which your Service is tested. 41 * A Service is accessed with a specific sequence of 44 * document. In order to support the lifecycle of a Service, 54 * The test case waits to call {@link android.app.Service#onCreate()} until one of your 57 * the running service. 62 * {@link android.app.Service#onCreate() Service.onCreate()} and then calls eithe [all...] |
/frameworks/base/tests/utils/SleepUtils/WakeLoopService/src/android/test/wakeuploop/ |
WakeLoopService.java | 21 import android.app.Service; 34 public class WakeLoopService extends Service { 67 Log.e(LOG_TAG, "No wakeup interval specified, not starting the service");
|
/frameworks/support/compat/java/android/support/v4/app/ |
NotificationCompatSideChannelService.java | 20 import android.app.Service; 27 * Abstract service to receive side channel notifications sent from 30 * <p>To receive side channel notifications, extend this service and register it in your 33 * {@link android.service.notification.NotificationListenerService} within your package. 37 * <service android:name="com.example.NotificationSideChannelService"> 41 * </service></pre> 44 public abstract class NotificationCompatSideChannelService extends Service { 48 // Block side channel service connections if the current sdk has no need for
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/accessibility/ |
AccessibilityManagerSupportActivity.java | 21 import android.app.Service; 48 /** Handle to the accessibility manager service. */ 62 Service.ACCESSIBILITY_SERVICE); 105 AccessibilityServiceInfo service = enabledServices.get(i); local 107 // an accessibility service. Again accessed them via the support library. 108 ResolveInfo resolveInfo = service.getResolveInfo(); 112 AccessibilityServiceInfoCompat.feedbackTypeToString(service.feedbackType), 114 service, getPackageManager()), 115 service.getSettingsActivityName());
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
StopwatchService.java | 19 import android.app.Service; 32 * This service exists solely to allow the stopwatch notification to alter the state of the 38 public final class StopwatchService extends Service {
|
/packages/apps/KeyChain/support/src/com/android/keychain/tests/support/ |
KeyChainServiceTestSupport.java | 19 import android.app.Service; 27 public class KeyChainServiceTestSupport extends Service {
|
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/ |
MiscService.java | 19 import android.app.Service; 32 public class MiscService extends Service { 34 public static final String SOCKET_NAME = "play-misc-service";
|
/system/core/init/ |
keychords.cpp | 39 void add_service_keycodes(Service* svc) 82 Service* svc = ServiceManager::GetInstance().FindServiceByKeychord(id); 84 LOG(INFO) << "Starting service " << svc->name() << " from keychord " << id; 87 LOG(ERROR) << "Service for keychord " << id << " not found"; 90 LOG(WARNING) << "Not starting service for keychord " << id << " because ADB is disabled";
|
reboot.cpp | 55 #include "service.h" 376 ServiceManager::GetInstance().ForEachService([&kill_after_apps, &to_starts](Service* s) { 383 s->Start(); // start shutdown critical service if not started 387 Service* bootAnim = ServiceManager::GetInstance().FindServiceByName("bootanim"); 388 Service* surfaceFlinger = ServiceManager::GetInstance().FindServiceByName("surfaceflinger"); 390 ServiceManager::GetInstance().ForEachServiceInClass("animation", [](Service* s) { 401 ServiceManager::GetInstance().ForEachService([](Service* s) { 412 ServiceManager::GetInstance().ForEachService([&service_count](Service* s) { 437 ServiceManager::GetInstance().ForEachService([](Service* s) { 443 Service* voldService = ServiceManager::GetInstance().FindServiceByName("vold") [all...] |
/device/linaro/bootloader/edk2/NetworkPkg/Mtftp6Dxe/ |
Mtftp6Impl.c | 141 MTFTP6_SERVICE *Service;
158 Service = Instance->Service;
194 Service->Controller,
195 Service->Image,
205 Service->Image,
409 in the Packet. Call the EFI Boot Service FreePool() to
453 - A download service function that is pointed to by Token.CheckPacket.
557 - A download service function that is pointed to by Token.CheckPacket.
|
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
PersistService.java | 29 package com.android.service.ims.presence; 34 import android.app.Service; 51 * This service essentially plays the role of a "worker thread", allowing us to store 54 public class PersistService extends Service { 69 // separate thread because the service normally runs in the process's 82 return Service.START_NOT_STICKY; 90 return Service.START_NOT_STICKY; 96 return Service.START_NOT_STICKY; 101 return Service.START_NOT_STICKY;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
DozeMachine.java | 109 private final Service mDozeService; 119 public DozeMachine(Service service, AmbientDisplayConfiguration config, 121 mDozeService = service; 355 /** A wrapper interface for {@link android.service.dreams.DreamService} */ 356 public interface Service { 369 class Delegate implements Service { 370 private final Service mDelegate; 372 public Delegate(Service delegate) {
|
DozeScreenBrightness.java | 34 private final DozeMachine.Service mDozeService; 47 public DozeScreenBrightness(Context context, DozeMachine.Service service, 52 mDozeService = service; 64 public DozeScreenBrightness(Context context, DozeMachine.Service service, 67 this(context, service, sensorManager, lightSensor, host, handler,
|
/libcore/ojluni/src/main/java/javax/crypto/ |
KeyAgreement.java | 32 import java.security.Provider.Service; 118 // next service to try in provider selection 120 private Service firstService; 124 private Iterator<Service> serviceIterator; 145 // Android-changed: Remove Service and Iterator from constructor args. 197 List<Service> services = 199 // make sure there is at least one service from a signed provider 200 Iterator<Service> t = services.iterator(); 202 Service s = t.next(); 206 // Android-changed: Remove Service and Iterator from constructor args [all...] |
Mac.java | 32 import java.security.Provider.Service; 186 // next service to try in provider selection 188 private Service firstService; 192 private Iterator<Service> serviceIterator; 212 // Android-changed: Remove Service and Iterator from constructor args. 260 List<Service> services = GetInstance.getServices("Mac", algorithm); 261 // make sure there is at least one service from a signed provider 262 Iterator<Service> t = services.iterator(); 264 Service s = t.next(); 268 // Android-changed: Remove Service and Iterator from constructor args [all...] |
JceSecurity.java | 34 import java.security.Provider.Service; 107 Service s = GetInstance.getService(type, algorithm, provider); 119 Service s = GetInstance.getService(type, algorithm, provider); 131 List<Service> services = GetInstance.getServices(type, algorithm); 133 for (Service s : services) {
|
/libcore/ojluni/src/main/java/java/security/ |
Provider.java | 63 * cryptographic service provider, works and is installed. However, 65 * service in Java that uses a pluggable architecture with a choice 73 * <p>The service type {@code Provider} is reserved for use by the 681 // Map<ServiceKey,Service> 683 private transient Map<ServiceKey,Service> serviceMap; 685 // Map<ServiceKey,Service> 687 private transient Map<ServiceKey,Service> legacyMap; 689 // Set<Service> 691 private transient Set<Service> serviceSet; 1074 Service service = serviceMap.get(key); local [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
ParcelFileDescriptorPeer.java | 19 import android.app.Service; 224 public static class Red extends Service { 231 public static class Blue extends Service {
|
/device/linaro/bootloader/edk2/NetworkPkg/DnsDxe/ |
DnsDriver.h | 2 The header files of the driver binding and service binding protocol for DnsDxe driver.
22 /// Dns service block
27 /// Dns service block
81 DNS_SERVICE *Service;
129 @param[in] Service The pointer to the DNS service.
138 IN DNS_SERVICE *Service,
179 Release all the resource used the DNS service binding instance.
181 @param DnsSb The Dns service binding instance.
190 Create then initialize a Dns service binding instance. [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
DictionaryService.java | 21 import android.app.Service; 41 * Service that handles background tasks for the dictionary provider. 43 * This service provides the context for the long-running operations done by the 57 public final class DictionaryService extends Service { 119 // never kill them when there isn't any work to do any more. That would mean the service 140 // This service cannot be bound 148 * events that should be executed on the context of this service. The supported commands are: 191 return Service.START_REDELIVER_INTENT;
|
/cts/hostsidetests/content/test-apps/SyncAccountAccessStubs/src/com/android/cts/stub/ |
StubAuthenticator.java | 24 import android.app.Service; 30 public class StubAuthenticator extends Service {
|
/cts/hostsidetests/devicepolicy/app/AccountCheck/Auth/src/com/android/cts/devicepolicy/accountcheck/ |
TestAuthenticator.java | 23 import android.app.Service; 35 public class TestAuthenticator extends Service {
|
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/ |
BatteryStatsAuthenticator.java | 23 import android.app.Service; 35 public class BatteryStatsAuthenticator extends Service {
|