/cts/tests/tests/os/src/android/os/cts/ |
LocalService.java | 19 import android.app.Service; 28 public class LocalService extends Service {
|
/cts/tests/tests/security/src/android/security/cts/ |
IsolatedService.java | 19 import android.app.Service; 31 public class IsolatedService extends Service { 51 Log.w(TAG, "Unable to retrieve service manager cache via reflection ", exc); 61 IBinder service = (IBinder) getServiceMethod.invoke(null, serviceName); local 62 return service;
|
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/syncadapter/ |
DummyAccountService.java | 23 import android.app.Service; 31 * Dummy account service for SyncAdapter. Note that this does nothing because this input uses a feed 34 public class DummyAccountService extends Service {
|
/developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/common/accounts/ |
GenericAccountService.java | 23 import android.app.Service; 30 public class GenericAccountService extends Service { 61 Log.i(TAG, "Service created"); 67 Log.i(TAG, "Service destroyed");
|
/developers/samples/android/common/src/java/com/example/android/common/accounts/ |
GenericAccountService.java | 23 import android.app.Service; 30 public class GenericAccountService extends Service { 61 Log.i(TAG, "Service created"); 67 Log.i(TAG, "Service destroyed");
|
/development/apps/BuildWidget/src/com/android/buildwidget/ |
BuildWidget.java | 20 import android.app.Service; 39 * an update we spawn a background {@link Service} to perform the API queries. 45 // To prevent any ANR timeouts, we perform the update in a service 49 public static class UpdateService extends Service { 83 // We don't need to bind to this service
|
/development/samples/Alarm/src/com/example/android/newalarm/ |
AlarmService.java | 22 import android.app.Service; 32 * This class implements a service. The service is started by AlarmActivity, which contains a 37 * When this service is started, it creates a Runnable and starts it in a new Thread. The 38 * Runnable does a synchronized lock on the service's Binder object for 15 seconds, then issues 40 * shuts down the entire service. The activity restarts the service after 15 more seconds, when the 44 * This service is provided as the service under test for the sample test application 49 * onStartCommand. See the Javadoc for android.app.Service for more details [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
AlarmService_Service.java | 26 import android.app.Service; 35 * This is an example of implementing an application service that will run in 42 public class AlarmService_Service extends Service { 52 // Start up the thread running the service. Note that we create a 53 // separate thread because the service normally runs in the process's 85 // Done with our work... stop the service! 96 * Show a notification while this service is running.
|
LocalService.java | 22 import android.app.Service; 35 * This is an example of implementing an application service that runs locally 38 * service. 41 * happen in the service. This is generally how background services should 45 //BEGIN_INCLUDE(service) 46 public class LocalService extends Service { 54 * Class for clients to access. Because we know this service always 97 * Show a notification while this service is running. 121 //END_INCLUDE(service)
|
NotificationBackgroundService.java | 27 import android.app.Service; 37 * Example service that gets launched from a notification and runs in the background. 39 public class NotificationBackgroundService extends Service { 93 showNotification("Selecting this will cause a background service to run.");
|
NotifyingService.java | 26 import android.app.Service; 35 * This is an example of service that will update its status bar balloon 39 public class NotifyingService extends Service { 51 // Start up the thread running the service. Note that we create a 52 // separate thread because the service normally runs in the process's 83 // Done with our work... stop the service!
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.common/accounts/ |
GenericAccountService.java | 23 import android.app.Service; 30 public class GenericAccountService extends Service { 61 Log.i(TAG, "Service created"); 67 Log.i(TAG, "Service destroyed");
|
/external/deqp/android/package/src/com/drawelements/deqp/execserver/ |
ExecService.java | 21 * \brief ExecServer service. 26 import android.app.Service; 38 public class ExecService extends Service { 85 // Start as foreground service.
|
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
PollingService.java | 29 package com.android.service.ims.presence; 31 import android.app.Service; 46 * supports RCS Presence Capability Polling and stops the service otherwise. 48 public class PollingService extends Service { 79 // Check when the service starts in case the SIM info has already been loaded. 84 * Cleans up when the service is destroyed 125 // Carrier supports, so start the service if it hasn't already been started.
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
ServiceTest.java | 11 import android.app.Service; 27 MyService service = new MyService(); local 28 service.registerReceiver(new AppWidgetProvider(), new IntentFilter()); 29 service.onDestroy(); 34 MyService service = new MyService(); local 39 service.onDestroy(); // should not throw exception 44 MyService service = new MyService(); local 46 service.unbindService(conn); 51 MyService service = new MyService(); local 52 shadowOf(service).setUnbindServiceShouldThrowIllegalArgument(true) 60 MyService service = new MyService(); local [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
NfcManagerFacade.java | 22 import android.app.Service; 35 private final Service mService;
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/ |
BluetoothAvrcpFacade.java | 23 import android.app.Service; 40 private final Service mService;
|
BluetoothPanFacade.java | 21 import android.app.Service; 41 private final Service mService;
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/media/ |
MediaScannerFacade.java | 19 import android.app.Service; 41 private final Service mService;
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/ |
CarrierConfigFacade.java | 20 import android.app.Service; 33 private final Service mService;
|
/frameworks/base/core/java/android/app/usage/ |
CacheQuotaService.java | 20 import android.app.Service; 35 * CacheQuoteService defines a service which accepts cache quota requests and processes them, 40 public abstract class CacheQuotaService extends Service { 44 * The {@link Intent} action that must be declared as handled by a service 45 * in its manifest for the system to recognize it as a quota providing service.
|
/frameworks/base/core/java/android/printservice/recommendation/ |
RecommendationService.java | 21 import android.app.Service; 34 * Base class for the print service recommendation services. 39 public abstract class RecommendationService extends Service { 46 * The {@link Intent} action that must be declared as handled by a service in its manifest for 47 * the system to recognize it as a print service recommendation service. 63 * Update the print service recommendations. 92 * Called when the client connects to the recommendation service. 97 * Called when the client disconnects from the recommendation service.
|
/frameworks/base/location/java/android/location/ |
SettingInjectorService.java | 19 import android.app.Service; 40 * <service android:name="com.example.android.injector.MyInjectorService" > 48 * </service> 82 public abstract class SettingInjectorService extends Service { 88 * service to read the dynamic status for the setting.
|
/frameworks/base/media/java/android/media/midi/ |
MidiDeviceService.java | 19 import android.app.Service; 28 * A service that implements a virtual MIDI device. 34 * <p>To extend this class, you must declare the service in your manifest file with 39 * <service android:name=".VirtualDeviceService" 46 * </service></pre> 48 abstract public class MidiDeviceService extends Service { 117 * returns the {@link MidiDeviceInfo} instance for this service
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
DozeScreenStatePreventingAdapterTest.java | 37 private DozeMachine.Service mInner; 42 mInner = mock(DozeMachine.Service.class);
|