/frameworks/base/core/java/android/service/trust/ |
TrustAgentService.java | 17 package android.service.trust; 23 import android.app.Service; 45 * A service that notifies the system about whether it believes the environment of the device 53 * <p>To extend this class, you must declare the service in your manifest file with 57 * <service android:name=".TrustAgent" 61 * <action android:name="android.service.trust.TrustAgentService" /> 63 * <meta-data android:name="android.service.trust.trustagent" 65 * </service></pre> 78 public class TrustAgentService extends Service { 85 * The {@link Intent} that must be declared as handled by the service [all...] |
/frameworks/base/core/tests/BTtraffic/src/com/android/google/experimental/bttraffic/ |
BTtraffic.java | 3 import android.app.Service; 27 public class BTtraffic extends Service { 78 Log.d(TAG, "Monitor service started"); 82 Log.d(TAG, "Failed to start service", e); 152 Log.d(TAG, "Service stopped"); 207 Log.d(TAG, "closing socket and stopping service"); 275 Log.d(TAG, "can't find matching device, stopping thread and service"); 287 Log.d(TAG, "send stopped, stopping service"); 291 Log.d(TAG, "finishing, closing thread and service");
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/ |
PdfManipulationService.java | 19 import android.app.Service; 42 * Service for manipulation of PDF documents in an isolated process. 44 public final class PdfManipulationService extends Service {
|
/frameworks/base/telecomm/java/android/telecom/ |
InCallService.java | 21 import android.app.Service; 41 * This service is implemented by any app that wishes to provide the user-interface for managing 42 * phone calls. Telecom binds to this service while there exists a live (active or incoming) call, 45 * before the telecom service will bind to its {@code InCallService} implementation. 52 * <service android:name="your.package.YourInCallServiceImplementation" 58 * </service> 62 public abstract class InCallService extends Service { 65 * The {@link Intent} that must be declared as handled by the service. 315 * Obtains the current list of {@code Call}s to be displayed by this in-call service. 335 * @return An object encapsulating the audio state. Returns null if the service is no [all...] |
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/ |
TrackerService.java | 21 import android.app.Service; 52 * Location Tracking service 57 public class TrackerService extends Service { 111 Toast.makeText(this, "Tracking service started", Toast.LENGTH_SHORT); 227 * Shuts down this service 234 Toast.makeText(this, "Tracking service stopped", Toast.LENGTH_SHORT);
|
/frameworks/base/tests/RemoteDisplayProvider/src/com/android/media/remotedisplay/test/ |
RemoteDisplayProviderService.java | 22 import android.app.Service; 31 public class RemoteDisplayProviderService extends Service {
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
KeyManagerFactoryTest.java | 265 Set<Provider.Service> services = provider.getServices(); 266 for (Provider.Service service : services) { 267 String type = service.getType(); 271 String algorithm = service.getAlgorithm();
|
/libcore/luni/src/test/java/tests/security/cert/ |
CertPathBuilder1Test.java | 466 public void putService(Provider.Service s) { 470 public void removeService(Provider.Service s) {
|
/packages/apps/Car/Hvac/src/com/android/car/hvac/ |
HvacUiService.java | 18 import android.app.Service; 45 public class HvacUiService extends Service { 198 public void onServiceConnected(ComponentName className, IBinder service) { 199 mHvacController = ((HvacController.LocalBinder) service).getService();
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
VCardService.java | 19 import android.app.Service; 40 * This Service creates one ImportRequest/ExportRequest object (as Runnable) per request and push 44 // TODO: Using IntentService looks simpler than using Service + ServiceConnection though this 46 public class VCardService extends Service { 122 if (DEBUG) Log.d(LOG_TAG, "vCard Service is being created."); 222 Log.d(LOG_TAG, "Executor service status: shutdown: " + mExecutorService.isShutdown() 273 // process, we cannot stop the service yet. Also clean up already finished processors 308 Log.i(LOG_TAG, "No unfinished job. Stop this service."); 372 * means this Service becomes no longer ready for import/export requests.
|
/packages/apps/Email/provider_src/com/android/email/service/ |
PopImapSyncAdapterService.java | 17 package com.android.email.service; 19 import android.app.Service; 42 import com.android.emailcommon.service.EmailServiceProxy; 43 import com.android.emailcommon.service.EmailServiceStatus; 49 public class PopImapSyncAdapterService extends Service { 236 final EmailServiceProxy service = local 238 service.updateFolderList(acct.mId);
|
Pop3Service.java | 17 package com.android.email.service; 19 import android.app.Service; 52 import com.android.emailcommon.service.EmailServiceStatus; 53 import com.android.emailcommon.service.IEmailServiceCallback; 66 public class Pop3Service extends Service { 72 return Service.START_STICKY;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
ProcessingService.java | 21 import android.app.Service; 40 public class ProcessingService extends Service { 193 // we save using an intent to keep the service around after the
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ |
IngestService.java | 28 import android.app.Service; 49 * Service for MTP importing tasks. 52 public class IngestService extends Service implements ImportTask.Listener, 56 * Convenience class to allow easy access to the service instance.
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MtpService.java | 21 import android.app.Service; 43 public class MtpService extends Service {
|
/packages/services/Telephony/src/com/android/phone/vvm/ |
RemoteVvmTaskManager.java | 20 import android.app.Service; 50 * Service to manage tasks issued to the {@link VisualVoicemailService}. This service will bind to 52 * service will hold all resource for the VisualVoicemailService until {@link 55 * If the service is already running it will be reused for new events. The service will stop itself 58 public class RemoteVvmTaskManager extends Service { 147 "Component " + info.getComponentInfo() + " is not a service, ignoring"); 208 VvmLog.i(TAG, "No service to handle " + intent.getAction() + ", ignoring"); 228 // Don't rerun service if processed is killed [all...] |
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
AbstractServiceTest.java | 26 import com.google.common.util.concurrent.Service.Listener; 27 import com.google.common.util.concurrent.Service.State; 52 NoOpService service = new NoOpService(); local 53 RecordingListener listener = RecordingListener.record(service); 55 assertEquals(State.NEW, service.state()); 56 assertFalse(service.isRunning()); 57 assertFalse(service.running); 59 service.startAsync(); 60 assertEquals(State.RUNNING, service.state()); 61 assertTrue(service.isRunning()) 78 NoOpService service = new NoOpService(); local 88 NoOpService service = new NoOpService(); local 98 NoOpService service = new NoOpService(); local 116 NoOpService service = new NoOpService(); local 126 NoOpService service = new NoOpService(); local 138 NoOpService service = new NoOpService(); local 171 ManualSwitchedService service = new ManualSwitchedService(); local 202 ManualSwitchedService service = new ManualSwitchedService(); local 221 ManualSwitchedService service = new ManualSwitchedService(); local 256 ManualSwitchedService service = new ManualSwitchedService(); local 272 ManualSwitchedService service = new ManualSwitchedService(); local 284 ManualSwitchedService service = new ManualSwitchedService(); local 292 ManualSwitchedService service = new ManualSwitchedService(); local 302 ManualSwitchedService service = new ManualSwitchedService(); local 313 ManualSwitchedService service = new ManualSwitchedService(); local 348 final NoOpService service = new NoOpService(); local 363 final ManualSwitchedService service = new ManualSwitchedService(); local 388 ThreadedService service = new ThreadedService(); local 409 ThreadedService service = new ThreadedService(); local 425 ThreadedService service = new ThreadedService(); local 443 ThreadedService service = new ThreadedService(); local 458 ManualSwitchedService service = new ManualSwitchedService(); local 531 NoOpService service = new NoOpService(); local 545 StartFailingService service = new StartFailingService(); local 563 StopFailingService service = new StopFailingService(); local 584 RunFailingService service = new RunFailingService(); local 604 StartThrowingService service = new StartThrowingService(); local 622 StopThrowingService service = new StopThrowingService(); local 643 RunThrowingService service = new RunThrowingService(); local 663 StopFailingService service = new StopFailingService(); local 687 final StartFailingService service = new StartFailingService(); local 703 final NoOpThreadedService service = new NoOpThreadedService(); local 714 final NoOpThreadedService service = new NoOpThreadedService(); local 820 final Service service; field in class:AbstractServiceTest.RecordingListener 907 AbstractService service = new DefaultService(); local 915 AbstractService service = new DefaultService(); local 923 AbstractService service = new DefaultService(); local 931 NoOpService service = new NoOpService(); local [all...] |
/libcore/ojluni/src/main/java/javax/crypto/ |
Cipher.java | 37 import java.security.Provider.Service; 2557 Provider.Service service = provider.getService("Cipher", transform.name); local 2567 Provider.Service service = prov.getService("Cipher", transform.name); local [all...] |
/cts/tests/tests/keystore/src/android/keystore/cts/ |
KeyFactoryTest.java | 47 import java.security.Provider.Service; 72 // caught because it'll have to expose at least one Service for such an algorithm, and this 73 // Service's algorithm will not be in the expected set. 76 Set<Service> services = provider.getServices(); 80 for (Service service : services) { 81 if ("KeyFactory".equalsIgnoreCase(service.getType())) { 82 String algLowerCase = service.getAlgorithm().toLowerCase(Locale.US);
|
KeyGeneratorTest.java | 33 import java.security.Provider.Service; 75 // algorithms, it'll be caught because it'll have to expose at least one Service for such an 76 // algorithm, and this Service's algorithm will not be in the expected set. 79 Set<Service> services = provider.getServices(); 83 for (Service service : services) { 84 if ("KeyGenerator".equalsIgnoreCase(service.getType())) { 85 String algLowerCase = service.getAlgorithm().toLowerCase(Locale.US);
|
MacTest.java | 26 import java.security.Provider.Service; 190 // expose at least one Service for such an algorithm, and this Service's algorithm will 194 Set<Service> services = provider.getServices(); 198 for (Service service : services) { 199 if ("Mac".equalsIgnoreCase(service.getType())) { 200 String algLowerCase = service.getAlgorithm().toLowerCase(Locale.US);
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/ |
BluetoothConnectionFacade.java | 26 import android.app.Service; 62 private final Service mService; 103 Service.BLUETOOTH_SERVICE);
|
/frameworks/support/compat/java/android/support/v4/app/ |
NotificationManagerCompat.java | 22 import android.app.Service; 71 * Intent action to register for on a service to receive side channel 72 * notifications. The listening service must be in the same package as an enabled 73 * {@link android.service.notification.NotificationListenerService}. 362 record.service = INotificationSideChannel.Stub.asInterface(iBinder); 385 Log.d(TAG, "Connected to service " + componentName); 395 Log.d(TAG, "Disconnected from service " + componentName); 452 * Ensure we are already attempting to bind to a service, or start a new binding if not. 453 * @return Whether the service bind attempt was successful. 460 record.bound = mContext.bindService(intent, this, Service.BIND_AUTO_CREAT 557 public INotificationSideChannel service; field in class:NotificationManagerCompat.SideChannelManager.ListenerRecord [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
DataModel.java | 19 import android.app.Service; 488 * @param service used to start foreground notifications for expired timers 491 public void startTimer(Service service, Timer timer) { 496 if (service != null) { 497 expireTimer(service, started); 513 * @param service used to start foreground notifications for expired timers 516 public void expireTimer(Service service, Timer timer) { 518 mTimerModel.expireTimer(service, timer) [all...] |
TimerModel.java | 23 import android.app.Service; 69 /** The alarm manager system service that calls back when timers expire. */ 125 * The service that keeps this application in the foreground while a heads-up timer 126 * notification is displayed. Marking the service as foreground prevents the operating system 129 private Service mService; 238 * @param service used to start foreground notifications related to expired timers 241 void expireTimer(Service service, Timer timer) { 243 // If this is the first expired timer, retain the service that will be used to start 245 mService = service; [all...] |