/packages/apps/Nfc/src/com/android/nfc/handover/ |
HandoverService.java | 19 import android.app.Service; 47 public class HandoverService extends Service implements HandoverTransfer.Callback, 434 // Notify any clients of the service
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadService.java | 25 import android.app.Service; 65 * service, and it will continue running until no downloads are being actively 71 public class DownloadService extends Service { 90 * The Service's view of the list of downloads, mapping download IDs to the corresponding info 91 * object. This is kept independently from the content provider, and the Service only initiates 136 * service. Binding to this service is not allowed. 142 throw new UnsupportedOperationException("Cannot bind to Download Manager Service"); 146 * Initializes the service when it is first created 152 Log.v(Constants.TAG, "Service onCreate") [all...] |
/development/apps/Development/src/com/android/development/ |
CacheAbuser.java | 27 import android.app.Service;
|
/development/samples/ToyVpn/src/com/example/android/toyvpn/ |
ToyVpnService.java | 20 import android.app.Service;
|
/external/chromium_org/chrome/test/functional/rlz/ |
rlztest.py | 71 service = webdriver.chrome.service.Service(RlzTest.chrome_driver_path) 72 service.start() 74 service.service_url, {
|
/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...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nls/ |
NotificationListenerVerifierActivity.java | 31 import android.app.Service; 101 public static class DismissService extends Service { 393 // wait for the service to start 585 // wait for the service to start
|
/frameworks/base/core/java/android/speech/tts/ |
TextToSpeechService.java | 18 import android.app.Service; 66 * thread, which will be different from the main thread of the service. Synthesis 74 public abstract class TextToSpeechService extends Service { 170 * In <= Android 4.2 (<= API 17) can be called on main and service binder threads. 186 * Notifies the service that it should stop any in-progress speech synthesis. 194 * Tells the service to synthesize speech from the given text. This method should 207 * Queries the service for a set of features supported for a given language. 310 * Called on a service binder thread. 360 * Called on a service binder thread. [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
MediaRouteProviderService.java | 19 import android.app.Service; 38 * To implement your own media route provider service, extend this class and 42 * Declare your media route provider service in your application manifest 46 * <service android:name=".MyMediaRouteProviderService" 51 * </service> 54 public abstract class MediaRouteProviderService extends Service { 68 * The {@link Intent} that must be declared as handled by the service. 75 * Messages sent from the client to the service. 166 * Messages sent from the service to the client. 170 /** (service v1 785 MediaRouteProviderService service = mServiceRef.get(); local [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapService.java | 38 import android.app.Service; 69 public class BluetoothPbapService extends Service { 191 if (VERBOSE) Log.v(TAG, "Pbap Service onCreate"); 198 if (VERBOSE) Log.v(TAG, "Starting PBAP service"); 240 // Send any pending timeout now, as this service will be destroyed. 302 if (VERBOSE) Log.v(TAG, "Pbap Service onDestroy"); 314 if (VERBOSE) Log.v(TAG, "Pbap Service onBind"); 319 if (VERBOSE) Log.v(TAG, "Pbap Service startRfcommSocketListener"); 329 if (VERBOSE) Log.v(TAG, "Pbap Service initSocket"); 408 if (VERBOSE) Log.v(TAG, "Pbap Service closeService in") [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/chromium_org/third_party/protobuf/python/google/protobuf/internal/ |
generator_test.py | 52 from google.protobuf import service namespace 227 # Proto2 Service class. 230 service.Service)) 265 self.assertEqual(message.Extensions[test_bad_identifiers_pb2.service],
|
/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...] |
/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.
|
/packages/apps/Email/src/com/android/email/service/ |
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; 61 public class AttachmentDownloadService extends Service implements Runnable { 161 * stalled, as determined by the timing of the most recent service callback 435 // If our service instance is gone, just leave 470 EmailServiceProxy service = EmailServiceUtils.getServiceForAccount( local 481 startDownload(service, req) 634 EmailServiceProxy service = EmailServiceUtils.getServiceForAccount( local 777 AttachmentDownloadService service = sRunningService; local 790 AttachmentDownloadService service = sRunningService; local 803 AttachmentDownloadService service = sRunningService; local 811 AttachmentDownloadService service = sRunningService; local [all...] |
EmailServiceUtils.java | 17 package com.android.email.service; 24 import android.app.Service; 55 import com.android.emailcommon.service.EmailServiceProxy; 56 import com.android.emailcommon.service.IEmailService; 57 import com.android.emailcommon.service.IEmailServiceCallback; 58 import com.android.emailcommon.service.SearchParams; 59 import com.android.emailcommon.service.ServiceProxy; 60 import com.android.emailcommon.service.SyncWindow; 75 * Ask a service to kill its process. This is used when an account is deleted so that 132 EmailServiceProxy service local [all...] |
ImapService.java | 17 package com.android.email.service; 19 import android.app.Service; 59 import com.android.emailcommon.service.EmailServiceStatus; 60 import com.android.emailcommon.service.SearchParams; 71 public class ImapService extends Service { 109 return Service.START_STICKY; [all...] |
/packages/apps/Mms/src/com/android/mms/transaction/ |
TransactionService.java | 23 import android.app.Service; 89 public class TransactionService extends Service implements Observer { 100 * Action for the Intent which is sent by Alarm service to launch 107 * This service gets started to auto-retrieve any undownloaded messages. 177 // Start up the thread running the service. Note that we create a 178 // separate thread because the service normally runs in the process's 200 return Service.START_NOT_STICKY; 236 Log.v(TAG, "onNewIntent: no pending messages. Stopping service."); 318 Log.v(TAG, "onNewIntent: no pending messages. Stopping service."); [all...] |
/frameworks/base/core/java/android/content/pm/ |
PackageParser.java | 380 final Service service = p.services.get(i); local 381 if (service.info.enabled 4109 public final Service service; field in class:PackageParser.ServiceIntentInfo [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
AdapterService.java | 24 import android.app.Service; 70 public class AdapterService extends Service { 89 private static final int ADAPTER_SERVICE_TYPE=Service.START_STICKY; 103 Log.d(TAG, "getAdapterService(): service not available"); 105 Log.d(TAG,"getAdapterService(): service is cleaning up"); 118 Log.d(TAG, "setAdapterService(): service not available"); 120 Log.d(TAG,"setAdapterService(): service is cleaning up"); 343 Log.w(TAG,"*************service already starting to cleanup... Ignoring cleanup request........."); 444 Log.w(TAG, "Unable to " + (state == BluetoothAdapter.STATE_OFF? "start" : "stop" ) +" service " + 450 Log.w(TAG, (state == BluetoothAdapter.STATE_OFF? "Stopping" : "Starting" ) +" service " 501 AdapterService service = getService(); local 508 AdapterService service = getService(); local 520 AdapterService service = getService(); local 532 AdapterService service = getService(); local 544 AdapterService service = getService(); local 556 AdapterService service = getService(); local 567 AdapterService service = getService(); local 579 AdapterService service = getService(); local 590 AdapterService service = getService(); local 601 AdapterService service = getService(); local 612 AdapterService service = getService(); local 623 AdapterService service = getService(); local 634 AdapterService service = getService(); local 645 AdapterService service = getService(); local 656 AdapterService service = getService(); local 666 AdapterService service = getService(); local 673 AdapterService service = getService(); local 680 AdapterService service = getService(); local 691 AdapterService service = getService(); local 702 AdapterService service = getService(); local 713 AdapterService service = getService(); local 724 AdapterService service = getService(); local 731 AdapterService service = getService(); local 742 AdapterService service = getService(); local 753 AdapterService service = getService(); local 764 AdapterService service = getService(); local 775 AdapterService service = getService(); local 786 AdapterService service = getService(); local 797 AdapterService service = getService(); local 808 AdapterService service = getService(); local 819 AdapterService service = getService(); local 830 AdapterService service = getService(); local 841 AdapterService service = getService(); local 848 AdapterService service = getService(); local 860 AdapterService service = getService(); local 872 AdapterService service = getService(); local 884 AdapterService service = getService(); local 890 AdapterService service = getService(); local 896 AdapterService service = getService(); local [all...] |
/external/chromium_org/chrome/browser/android/provider/ |
chrome_browser_provider.cc | 75 // Chromium service that require to block the current thread until completed. 82 // Chromium's favicon service. See AsyncServiceRequest for more details. 615 // Service: type of the service to use (e.g. HistoryService, FaviconService). 616 template <typename Service> 619 AsyncServiceRequest(Service* service, 621 : service_(service), cancelable_consumer_(cancelable_consumer) {} 623 Service* service() const { return service_; function in class:__anon6608::AsyncServiceRequest [all...] |
/frameworks/base/services/java/com/android/server/am/ |
ActiveServices.java | 42 import android.app.Service; 71 // How long we wait for a service to finish executing. 74 // How long we wait for a service to finish executing. 77 // How long a service needs to be running until restarting its process 78 // is no longer considered to be a relaunch of the service. 81 // How long a service needs to be running until it will start back at 86 // a service is killed before it has run for SERVICE_RESET_RUN_DURATION. 94 // Maximum amount of time for there to be no activity on a service before 99 // How long we wait for a background started service to stop itself before 112 * All currently bound service connections. Keys are the IBinder o 1832 ServiceRecord service = services.valueAt(i); local [all...] |
/libcore/luni/src/test/java/tests/api/javax/security/cert/ |
X509CertificateTest.java | 46 import java.security.Provider.Service;
|
/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 \
|