/external/guava/guava/src/com/google/common/util/concurrent/ |
AbstractScheduledService.java | 40 * the {@link #startUp} and {@link #shutDown} methods and also uses that service to schedule the 42 * {@link Scheduler}. When this service is asked to stop via {@link #stop} or {@link #stopAndWait}, 55 * Here is a sketch of a service which crawls a website and uses the scheduling capabilities to 90 public abstract class AbstractScheduledService implements Service { 99 * service with a fixed schedule. If more flexibility is needed then consider subclassing the 120 public Future<?> schedule(AbstractService service, ScheduledExecutorService executor, 139 public Future<?> schedule(AbstractService service, ScheduledExecutorService executor, 146 /** Schedules the task to run on the provided executor on behalf of the service. */ 147 abstract Future<?> schedule(AbstractService service, ScheduledExecutorService executor, 175 "Error while attempting to shut down the service after failure.", ignored) [all...] |
/frameworks/base/core/java/android/speech/tts/ |
TextToSpeechService.java | 18 import android.app.Service; 64 * thread, which will be different from the main thread of the service. Synthesis 72 public abstract class TextToSpeechService extends Service { 180 * Notifies the service that it should stop any in-progress speech synthesis. 188 * Tells the service to synthesize speech from the given text. This method should 201 * Queries the service for a set of features supported for a given language. 306 * Called on a service binder thread. 346 * Called on a service binder thread. [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapService.java | 38 import android.app.Service; 65 public class BluetoothPbapService extends Service { 185 throw new RuntimeException("Bluetooth service not available"); 193 if (VERBOSE) Log.v(TAG, "Pbap Service onCreate"); 200 if (VERBOSE) Log.v(TAG, "Starting PBAP service"); 212 if (VERBOSE) Log.v(TAG, "Pbap Service onStartCommand"); 241 // Send any pending timeout now, as this service will be destroyed. 297 if (VERBOSE) Log.v(TAG, "Pbap Service onDestroy"); 310 if (VERBOSE) Log.v(TAG, "Pbap Service onBind"); 315 if (VERBOSE) Log.v(TAG, "Pbap Service startRfcommSocketListener") [all...] |
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
AlertReceiver.java | 21 import android.app.Service; 127 * Start the service to process the current event notifications, acquiring 128 * the wake lock before returning to ensure that the service will run. 145 * Called back by the service when it has finished processing notifications, 146 * releasing the wake lock if the service is now stopping. 148 public static void finishStartingService(Service service, int startId) { 151 if (service.stopSelfResult(startId)) {
|
AlertService.java | 22 import android.app.Service; 57 * This service is used to handle calendar event reminders. 59 public class AlertService extends Service { 854 Object service = getSystemService(Context.ALARM_SERVICE); local [all...] |
/packages/apps/Email/src/com/android/email/service/ |
MailService.java | 17 package com.android.email.service; 23 import android.app.Service; 56 * Background service for refreshing non-push email accounts. 61 public class MailService extends Service { 201 // Stop the service, unless actually syncing (which will stop the service) 416 * @param startId the id of this service launch 625 // We only track the inbox here in the service - ignore other mailboxes
|
AttachmentDownloadService.java | 17 package com.android.email.service; 22 import android.app.Service; 44 import com.android.emailcommon.service.EmailServiceProxy; 45 import com.android.emailcommon.service.EmailServiceStatus; 46 import com.android.emailcommon.service.IEmailServiceCallback; 59 public class AttachmentDownloadService extends Service implements Runnable { 152 * stalled, as determined by the timing of the most recent service callback 413 // If our service instance is gone, just leave 512 * @param statusCode the EmailServiceStatus code returned by the Service 711 // TODO: We should have some more data-driven way of determining the service intent 758 AttachmentDownloadService service = sRunningService; local 771 AttachmentDownloadService service = sRunningService; local 784 AttachmentDownloadService service = sRunningService; local 792 AttachmentDownloadService service = sRunningService; local [all...] |
/cts/tests/tests/app/src/android/app/cts/ |
ServiceTest.java | 20 import android.app.Service; 41 String EXIST_CONN_TO_RECEIVE_SERVICE = "existing connection to receive service"; 42 private static final String EXIST_CONN_TO_LOSE_SERVICE = "existing connection to lose service"; 54 public void onServiceConnected(ComponentName name, IBinder service) { 77 public void onServiceConnected(ComponentName name, IBinder service) { 83 service.transact(LocalService.SET_REPORTER_CODE, data, null, 0); 127 private void startExpectResult(Intent service) { 128 startExpectResult(service, new Bundle()); 131 private void startExpectResult(Intent service, Bundle bundle) { 137 mContext.startService(new Intent(service).putExtras(bundle)) [all...] |
/external/jmdns/src/javax/jmdns/impl/ |
ServiceInfoImpl.java | 30 import javax.jmdns.impl.DNSRecord.Service; 38 * JmDNS service information. 206 * During recovery we need to duplicate service info to reregister them 340 // throw new IllegalArgumentException("The instance name component of a fully qualified service cannot be empty."); 412 * Sets the service instance name. 415 * unqualified service instance name, such as <code>foobar</code> 883 DNSRecord.Service srv = (DNSRecord.Service) rec; 937 * Returns true if the service info is filled with data. 939 * @return <code>true</code> if the service info has data, <code>false</code> otherwise [all...] |
DNSIncoming.java | 307 String service = ""; local 308 service = _messageInputStream.readName(); 309 if (service.length() > 0) { 310 rec = new DNSRecord.Pointer(domain, recordClass, unique, ttl, service); 312 logger.log(Level.WARNING, "PTR record of class: " + recordClass + ", there was a problem reading the service name of the answer for domain:" + domain); 331 rec = new DNSRecord.Service(domain, recordClass, unique, ttl, priority, weight, port, target);
|
/external/protobuf/java/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 193 service.callMethod(fooMethod, controller, request, callback); 202 BlockingService service = local 222 service.callBlockingMethod(fooMethod, controller, request); 256 // No service class should have been generated.
|
/frameworks/base/core/java/android/content/pm/ |
PackageParser.java | 355 final Service service = p.services.get(i); local 356 if (service.info.enabled 3680 public final Service service; field in class:PackageParser.ServiceIntentInfo [all...] |
/packages/apps/Mms/src/com/android/mms/transaction/ |
TransactionService.java | 35 import android.app.Service; 86 public class TransactionService extends Service implements Observer { 97 * Action for the Intent which is sent by Alarm service to launch 164 // Start up the thread running the service. Note that we create a 165 // separate thread because the service normally runs in the process's 187 return Service.START_NOT_STICKY; 214 Log.v(TAG, "onNewIntent: no pending messages. Stopping service."); 271 Log.v(TAG, "onNewIntent: no pending messages. Stopping service."); 711 // transaction service. [all...] |
/libcore/luni/src/test/java/tests/api/javax/security/cert/ |
X509CertificateTest.java | 46 import java.security.Provider.Service;
|
/frameworks/base/core/java/android/app/ |
ActivityThread.java | 164 final HashMap<IBinder, Service> mServices 165 = new HashMap<IBinder, Service>(); 506 // Formatting for checkin service - update version if row format changes 693 // Setup the service cache in the ServiceManager 2341 Service service = null; local 4051 IConnectivityManager service = IConnectivityManager.Stub.asInterface(b); local [all...] |
/external/chromium/chrome/browser/resources/sync_internals/ |
chrome_sync.js | 65 // Service events. 111 // Sync service functions. 145 // Sync service event handlers.
|
/external/protobuf/ |
Makefile.am | 93 java/src/main/java/com/google/protobuf/Service.java \ 135 python/google/protobuf/service.py \
|
/frameworks/base/core/java/android/service/wallpaper/ |
WallpaperService.java | 17 package android.service.wallpaper; 25 import android.app.Service; 62 * A wallpaper service is responsible for showing a live wallpaper behind 63 * applications that would like to sit on top of it. This service object 70 public abstract class WallpaperService extends Service { 72 * The {@link Intent} that must be declared as handled by the service. 73 * To be supported, the service must also require the 79 "android.service.wallpaper.WallpaperService"; 87 public static final String SERVICE_META_DATA = "android.service.wallpaper"; 117 * The actual implementation of a wallpaper. A wallpaper service ma [all...] |
/frameworks/base/core/java/android/widget/ |
CalendarView.java | 20 import android.app.Service; 395 .getSystemService(Service.LAYOUT_INFLATER_SERVICE); [all...] |
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
TestService.java | 28 import android.app.Service; 53 public class TestService extends Service { [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppService.java | 38 import android.app.Service; 69 public class BluetoothOppService extends Service { 88 private static final String TAG = "BtOpp Service"; 143 throw new UnsupportedOperationException("Cannot bind to Bluetooth OPP Service"); 149 if (V) Log.v(TAG, "Service onCreate"); 184 if (V) Log.v(TAG, "Service onStartCommand"); 320 if (V) Log.v(TAG, "Service onDestroy"); 374 super("Bluetooth Share Service"); 537 Log.v(TAG, "Service adding new entry"); 600 if (V) Log.v(TAG, "Service create new Batch " + newBatch.mI [all...] |
/packages/apps/Phone/src/com/android/phone/ |
BluetoothHeadsetService.java | 19 import android.app.Service; 50 * Provides Bluetooth Headset and Handsfree profile, as a service in 54 public class BluetoothHeadsetService extends Service { 93 throw new RuntimeException("Bluetooth service not available"); 585 * Handlers for incoming service calls [all...] |
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
DockService.java | 24 import android.app.Service; 50 public final class DockService extends Service implements ServiceListener { 106 // is severed. One exception is that mDevice could be null if the service 380 // would be too late to register a service listener. [all...] |
/packages/apps/Stk/src/com/android/stk/ |
StkAppService.java | 23 import android.app.Service; 58 * SIM toolkit application level service. Interacts with Telephopny messages, 62 public class StkAppService extends Service implements Runnable { 99 // operations ids for different service functionality. 132 // session end) while the service is busy processing a previous message. 157 CatLog.d(this, " Unable to get Service handle"); 162 Thread serviceThread = new Thread(null, this, "Stk App Service"); 241 * with the service to deliver state information and parameters. [all...] |
/libcore/luni/src/test/java/libcore/java/security/ |
KeyStoreTest.java | 127 Set<Provider.Service> services = provider.getServices(); 128 for (Provider.Service service : services) { 129 String type = service.getType(); 133 String algorithm = service.getAlgorithm(); 362 Set<Provider.Service> services = provider.getServices(); 363 for (Provider.Service service : services) { 364 String type = service.getType(); 368 String algorithm = service.getAlgorithm() [all...] |