List of usage examples for android.app Service subclass-usage
From source file org.appcelerator.titanium.analytics.TiAnalyticsService.java
public class TiAnalyticsService extends Service { private final static String TAG = "TiAnalyticsSvc"; private final static int BUCKET_SIZE_FAST_NETWORK = 10; @SuppressWarnings("unused") private final static int BUCKET_SIZE_SLOW_NETWORK = 5;
From source file com.commonsware.android.antidoze.ScheduledService.java
public class ScheduledService extends Service implements Runnable { private static int NOTIFY_ID = 1337; private Random rng = new Random(); private ScheduledExecutorService sched = Executors.newSingleThreadScheduledExecutor(); private PowerManager.WakeLock wakeLock; private File log;
From source file com.android.settings.slim.service.AlarmService.java
public class AlarmService extends Service { private static final int NOTI_ID = 286; private NotificationManager mManager; private MediaPlayer mMediaPlayer;
From source file com.android.settings.beanstalk.service.AlarmService.java
public class AlarmService extends Service { private static final int NOTI_ID = 286; private NotificationManager mManager; private MediaPlayer mMediaPlayer;
From source file com.android.settings.aokpstats.ReportingService.java
public class ReportingService extends Service { protected static final String TAG = "AOKPStats"; @Override public IBinder onBind(Intent intent) { return null;
From source file com.cloudmine.api.db.RequestPerformerService.java
/**
* Service that has a timer task that runs every minute. The task loads all of the requests with syncstatus = 0,
* sets their status to 1, and performs all the requests. On a successful request, sets the status to 2; on failure,
* sets the status back to 0. This is done in a separate thread; if the service is started while an old thread is
* already running, it waits 5 seconds and retries. If it is still running after 5 seconds, it gives up.
* To force the service to run, start with the FORCE_RUN_KEY boolean set to true
From source file com.chess.genesis.net.GenesisNotifier.java
public class GenesisNotifier extends Service implements Runnable { public final static int DEFAULT_POLL_FREQ = 30; public final static int ERROR_NOTE = 1; public final static int YOURTURN_NOTE = 2; public final static int NEWMGS_NOTE = 4;
From source file com.hybris.mobile.lib.commerce.sync.CatalogSyncService.java
/** * Service to init and bind the catalog sync adapter */ public abstract class CatalogSyncService extends Service { private static final String TAG = CatalogSyncService.class.getCanonicalName(); protected static CatalogSyncAdapter mSyncAdapter = null;
From source file com.orange.datavenue.LocationService.java
/** * @author Stphane SANDON */ public class LocationService extends Service { private static final String TAG_NAME = LocationService.class.getSimpleName();
From source file org.peercast.core.PeerCastService.java
import android.os.RemoteException; import android.preference.PreferenceManager; import android.support.v4.app.NotificationCompat; import android.util.Log; public class PeerCastService extends Service {