/prebuilts/tools/common/proguard/proguard4.7/examples/ |
android.pro | 62 -keep public class * extends android.app.Service
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/service/ |
ControllerService.java | 17 package com.android.tools.sdkcontroller.service;
28 import android.app.Service;
45 * The background service of the SdkController.
48 * The service manages a number of action "handlers" which can be seen as individual tasks
56 * All the handlers are created when the service starts, and whether the emulator connection
64 public class ControllerService extends Service {
68 * http://developer.android.com/reference/android/app/Service.html#LocalServiceSample
82 * Whether the service is running. Set to true in onCreate, false in onDestroy.
86 /** Internal error reported by the service. */
92 * Interface that the service uses to notify binded activities. [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/ |
ClockBackService.java | 23 import android.app.Service; 52 * Providing application specific feedback — the service handles only 63 /** Tag for logging from this service. */ 66 // Fields for configuring how the system handles this accessibility service. 92 /** Start the TTS service. */ 95 /** Stop the TTS service. */ 199 * Handle to this service to enable inner classes to access the {@link Context}. 203 /** The feedback this service is currently providing. */ 223 /** {@link Handler} for executing messages on the service main thread. */ 328 // Get the vibrator service [all...] |
AccessibilityNodeProviderActivity.java | 22 import android.app.Service; 53 * service would benefit of traversing the logical structure of the calendar 81 /** Handle to the system accessibility service. */ 96 Service.ACCESSIBILITY_SERVICE); 347 * services. From the perspective of an accessibility service the
|
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/ |
NotificationShowcaseActivity.java | 11 import android.app.Service; 60 public static class UpdateService extends Service { 94 public static class ProgressService extends Service { 161 // this is a service, it will only close the notification shade if used as a contentIntent. 229 // this is a service, it will only close the notification shade if used as a contentIntent.
|
/external/jmdns/src/javax/jmdns/impl/tasks/state/ |
Prober.java | 22 * The Prober sends three consecutive probes for all service infos that needs probing as well as for the host name. The state of each service info of the host name is advanced, when a probe has been sent for it. When the prober has run three times, 25 * If a conflict during probes occurs, the affected service infos (and affected host name) are taken away from the prober. This eventually causes the prober to cancel itself. 133 newOut = this.addAuthoritativeAnswer(newOut, new DNSRecord.Service(info.getQualifiedName(), DNSRecordClass.CLASS_IN, DNSRecordClass.NOT_UNIQUE, this.getTTL(), info.getPriority(), info.getWeight(), info.getPort(), this.getDns().getLocalHost()
|
/libcore/luni/src/main/java/java/security/ |
SecureRandom.java | 71 // The service name. 72 private static final String SERVICE = "SecureRandom"; 75 private static final Engine ENGINE = new Engine(SERVICE); 92 Provider.Service service = Services.getSecureRandomService(); local 93 if (service == null) { 99 this.provider = service.getProvider(); 100 this.secureRandomSpi = (SecureRandomSpi)service.newInstance(null); 101 this.algorithm = service.getAlgorithm();
|
/build/tools/droiddoc/templates-pdk/ |
customizations.cs | 84 <a href="http://www.android.com/terms.html">Site Terms of Service</a> -
|
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilityActivityTestCase.java | 23 import android.app.Service; 177 * The bride is connected of a delegating accessibility service. 182 * The package of the accessibility service mock interface. 188 * The package of the delegating accessibility service interface. 194 * The package of the delegating accessibility service connection interface. 211 * Query connection to the delegating accessibility service. 243 * service this test binds to. 251 .getSystemService(Service.ACCESSIBILITY_SERVICE); 254 throw new IllegalStateException("Delegating service not enabled."); 257 // check if the delegating service is runnin [all...] |
AccessibilityEndToEndTest.java | 24 import android.app.Service; 44 * accessibility service and another with the instrumented activity and test cases. 45 * The delegating service is installed and enabled during test execution. It serves 48 * service is in the test package running the tests would break the binding between 49 * the service and the system. The delegating service is in 357 Service.NOTIFICATION_SERVICE);
|
/frameworks/base/core/java/android/service/textservice/ |
SpellCheckerService.java | 17 package android.service.textservice; 23 import android.app.Service; 44 * This class combines a service to the system with the spell checker service interface that 47 * <p>In addition to the normal Service lifecycle methods, this class 69 public abstract class SpellCheckerService extends Service { 73 "android.service.textservice.SpellCheckerService"; 80 * service interface. Subclasses should not override. 311 public SpellCheckerServiceBinder(SpellCheckerService service) { 312 mInternalServiceRef = new WeakReference<SpellCheckerService>(service); 318 final SpellCheckerService service = mInternalServiceRef.get(); local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
LoadAverageService.java | 21 import android.app.Service; 34 public class LoadAverageService extends Service {
|
/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);
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
KeyManagerFactoryTest.java | 267 Set<Provider.Service> services = provider.getServices(); 268 for (Provider.Service service : services) { 269 String type = service.getType(); 273 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/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastAlertService.java | 23 import android.app.Service; 41 * This service manages the display and animation of broadcast messages. 46 public class CellBroadcastAlertService extends Service { 260 // start audio/vibration/speech service for emergency alerts 381 return null; // clients can't bind to this service
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
SmsReceiverService.java | 36 import android.app.Service; 68 * This service essentially plays the role of a "worker thread", allowing us to store 72 public class SmsReceiverService extends Service { 116 // Start up the thread running the service. Note that we create a 117 // separate thread because the service normally runs in the process's 141 return Service.START_NOT_STICKY; 223 // If service just returned, start sending out the queued messages 285 // be notified of any service changes any longer. 317 Log.v(TAG, "handleSmsSent: no service, queuing message w/ uri: " + uri); 319 // We got an error with no service or no radio. Register for state changes s [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
RemoteService.java | 23 import android.app.Service; 46 * This is an example of implementing an application service that runs in a 50 * show how to interact with the service. 53 * the complexity shown here. If your application simply has a service 57 public class RemoteService extends Service { 60 * service. Note that this is package scoped (instead of private) so 76 // While this service is running, it will continually increment a 101 // Select the interface to return. If your service only implements 126 * A secondary interface to the service. 180 * Show a notification while this service is running [all...] |
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
MusicService.java | 22 import android.app.Service; 46 * Service that handles media playback. This is the Service through which we perform all the media 49 * {@link MainActivity}, which signal the service to perform specific operations: Play, Pause, 52 public class MusicService extends Service implements OnCompletionListener, OnPreparedListener, 61 // service can handle are the <action> tags in the <intent-filters> tag for our service in 83 // indicates the state our service: 182 Log.i(TAG, "debug: Creating service"); 222 return START_NOT_STICKY; // Means we started the service, but don't want it t [all...] |
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
TestCertUtils.java | 585 private Provider.Service serv; 589 serv = new Provider.Service(this, "CertificateFactory", "X.509",
|
/frameworks/base/packages/WAPPushManager/src/com/android/smspush/ |
WapPushManager.java | 19 import android.app.Service; 37 * The WapPushManager service is implemented to process incoming 39 * ID mapping. The WapPushManager runs as a system service, and only the 50 public class WapPushManager extends Service {
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
SimpleWeekView.java | 22 import android.app.Service; 529 .getSystemService(Service.ACCESSIBILITY_SERVICE);
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
VCardService.java | 18 import android.app.Service; 48 * This Service creates one ImportRequest/ExportRequest object (as Runnable) per request and push 52 // TODO: Using IntentService looks simpler than using Service + ServiceConnection though this 54 public class VCardService extends Service { 145 if (DEBUG) Log.d(LOG_TAG, "vCard Service is being created."); 257 Log.d(LOG_TAG, "Executor service status: shutdown: " + mExecutorService.isShutdown() 327 // process, we cannot stop the service yet. Also clean up already finished processors 362 Log.i(LOG_TAG, "No unfinished job. Stop this service."); 426 * means this Service becomes no longer ready for import/export requests.
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadService.java | 23 import android.app.Service; 60 public class DownloadService extends Service { 71 * The Service's view of the list of downloads, mapping download IDs to the corresponding info 72 * object. This is kept independently from the content provider, and the Service only initiates 125 Log.v(Constants.TAG, "Service ContentObserver received notification"); 137 public void onServiceConnected(ComponentName className, IBinder service) { 144 mMediaScannerService = IMediaScannerService.Stub.asInterface(service); 193 * service. Binding to this service is not allowed. 199 throw new UnsupportedOperationException("Cannot bind to Download Manager Service"); [all...] |
/development/samples/ToyVpn/src/com/example/android/toyvpn/ |
ToyVpnService.java | 20 import android.app.Service;
|