/frameworks/base/core/java/android/speech/ |
RecognitionService.java | 21 import android.app.Service; 32 * This class provides a base class for recognition service implementations. This class should be 34 * implementation of this service is stateless. 36 public abstract class RecognitionService extends Service { 38 * The {@link Intent} that must be declared as handled by the service. 46 * <code><{@link android.R.styleable#RecognitionService recognition-service}></code> tag. 56 /** Binder of the recognition service */ 165 Log.e(TAG, "call for recognition service without RECORD_AUDIO permissions"); 174 * Notifies the service that it should start listening for speech. 179 * @param listener that will receive the service's callback [all...] |
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
ManagerService.java | 19 import android.app.Service; 34 * A service that handles managing the results of tests, informing of crashes, generating 37 public class ManagerService extends Service { 126 /** This flag is needed because we send the intent from the service */ 202 /** This flag is needed because we send the intent from the service */
|
/libcore/luni/src/test/java/libcore/java/security/ |
ProviderTest.java | 59 Set<Provider.Service> services = provider.getServices(); 63 for (Provider.Service service : services) { 64 String type = service.getType(); 65 String algorithm = service.getAlgorithm().toUpperCase(); 66 String className = service.getClassName();
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
SecureRandom2Test.java | 423 public void putService(Provider.Service s) { 427 public void removeService(Provider.Service s) {
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
AlertReceiver.java | 25 import android.app.Service; 95 * Start the service to process the current event notifications, acquiring 96 * the wake lock before returning to ensure that the service will run. 113 * Called back by the service when it has finished processing notifications, 114 * releasing the wake lock if the service is now stopping. 116 public static void finishStartingService(Service service, int startId) { 119 if (service.stopSelfResult(startId)) {
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastAlertAudio.java | 19 import android.app.Service; 41 * Manages alert audio and vibration and text-to-speech. Runs as a service so that 44 public class CellBroadcastAlertAudio extends Service implements TextToSpeech.OnInitListener,
|
CellBroadcastAlertService.java | 22 import android.app.Service; 35 * This service manages the display and animation of broadcast messages. 40 public class CellBroadcastAlertService extends Service { 56 stopSelf(); // this service always stops after processing the intent 103 // start audio/vibration/speech service for emergency alerts 129 // write to database on a separate service thread 231 return null; // clients can't bind to this service
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
AlarmKlaxon.java | 19 import android.app.Service; 39 * Manages alarms and vibe. Runs as a service so that it can continue to play 42 public class AlarmKlaxon extends Service {
|
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/ |
KeyChainServiceTest.java | 19 import android.app.Service; 36 public class KeyChainServiceTest extends Service { 49 @Override public void onServiceConnected(ComponentName name, IBinder service) { 51 mSupport = IKeyChainServiceTestSupport.Stub.asInterface(service); 64 @Override public void onServiceConnected(ComponentName name, IBinder service) { 66 mService = IKeyChainService.Stub.asInterface(service); 194 Log.d(TAG, "test_KeyChainService bind service");
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
PinyinDecoderService.java | 27 import android.app.Service; 36 * service so that both IME and IME-syncer can use it. 38 public class PinyinDecoderService extends Service {
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MtpService.java | 20 import android.app.Service; 41 public class MtpService extends Service {
|
/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...] |
/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/content/src/android/content/cts/ |
BroadcastReceiverTest.java | 24 import android.app.Service; 339 assertTrue(activity.bindService(intent, msc, Service.BIND_AUTO_CREATE)); 354 public synchronized void onServiceConnected(ComponentName name, IBinder service) {
|
/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/Mms/src/com/android/mms/transaction/ |
TransactionService.java | 35 import android.app.Service; 85 public class TransactionService extends Service implements Observer { 96 * Action for the Intent which is sent by Alarm service to launch 162 // Start up the thread running the service. Note that we create a 163 // separate thread because the service normally runs in the process's 180 return Service.START_NOT_STICKY; 204 Log.v(TAG, "onStart: no pending messages. Stopping service."); 208 return Service.START_NOT_STICKY; 229 return Service.START_NOT_STICKY; 261 Log.v(TAG, "onStart: no pending messages. Stopping service.") [all...] |
SmsReceiverService.java | 34 import android.app.Service; 66 * This service essentially plays the role of a "worker thread", allowing us to store 70 public class SmsReceiverService extends Service { 114 // Start up the thread running the service. Note that we create a 115 // separate thread because the service normally runs in the process's 139 return Service.START_NOT_STICKY; 221 // If service just returned, start sending out the queued messages 283 // be notified of any service changes any longer. 315 Log.v(TAG, "handleSmsSent: no service, queuing message w/ uri: " + uri); 317 // 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 {
|