HomeSort by relevance Sort by last modified time
    Searched refs:Service (Results 126 - 150 of 236) sorted by null

1 2 3 4 56 7 8 910

  /frameworks/base/core/java/com/android/internal/os/storage/
ExternalStorageFormatter.java 4 import android.app.Service;
27 public class ExternalStorageFormatter extends Service
101 return Service.START_REDELIVER_INTENT;
130 Log.w(TAG, "Failed talking with mount service", e);
158 Log.w(TAG, "Failed talking with mount service", e);
196 Log.w(TAG, "Failed talking with mount service", e);
235 IBinder service = ServiceManager.getService("mount"); local
236 if (service != null) {
237 mMountService = IMountService.Stub.asInterface(service);
239 Log.e(TAG, "Can't get mount service");
    [all...]
  /libcore/luni/src/main/java/java/security/
Security.java 357 * cryptographic service. {@code "Signature"}, {@code "Cipher"} and {@code
361 * the case-insensitive name of the service.
363 * cryptographic service, or an empty {@code Set} if {@code
365 * provides the requested service.
374 for (Provider.Service service: provider.getServices()) {
375 if (service.getType().equalsIgnoreCase(serviceName)) {
376 result.add(service.getAlgorithm());
402 public List<String> getAliases(Provider.Service s) {
407 public Provider.Service getService(Provider p, String type)
    [all...]
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
AbstractScheduledServiceTest.java 20 import com.google.common.util.concurrent.Service.State;
60 NullService service = new NullService(); local
61 service.startAndWait();
63 service.stopAndWait();
76 TestService service = new TestService(); local
77 service.runException = new Exception();
78 service.startAndWait();
79 service.runFirstBarrier.await();
80 service.runSecondBarrier.await();
87 assertEquals(service.runException, e.getCause().getCause())
93 TestService service = new TestService(); local
106 TestService service = new TestService(); local
122 TestService service = new TestService(); local
136 TestService service = new TestService(); local
154 TestService service = new TestService(); local
316 TestAbstractScheduledCustomService service = new TestAbstractScheduledCustomService(); local
329 TestAbstractScheduledCustomService service = new TestAbstractScheduledCustomService() { local
386 TestFailingCustomScheduledService service = new TestFailingCustomScheduledService(); local
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
Signature2Test.java 492 private Set<Provider.Service> services = null;
502 services = new HashSet<Service>();
511 services = new HashSet<Service>();
515 public void putService(Provider.Service s) {
520 public void removeService(Provider.Service s) {
SecureRandom2Test.java 423 public void putService(Provider.Service s) {
427 public void removeService(Provider.Service s) {
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
TestCertUtils.java 586 private Provider.Service serv;
590 serv = new Provider.Service(this, "CertificateFactory", "X.509",
594 public synchronized Set<Provider.Service> getServices() {
595 HashSet<Provider.Service> s = new HashSet<Service>();
  /external/jmdns/src/javax/jmdns/impl/
DNSQuestion.java 125 * Service question.
127 private static class Service extends DNSQuestion {
128 Service(String name, DNSRecordType type, DNSRecordClass recordClass, boolean unique) {
140 // Service type request
201 // Service type request
251 return new Service(name, type, recordClass, unique);
DNSRecord.java 495 // The service name is in the alias
637 * Service record.
639 public static class Service extends DNSRecord {
640 private static Logger logger1 = Logger.getLogger(Service.class.getName());
646 public Service(String name, DNSRecordClass recordClass, boolean unique, int ttl, int priority, int weight, int port, String server) {
711 if (! (other instanceof Service) ) {
714 Service s = (Service) other;
728 DNSRecord.Service localService = new DNSRecord.Service(info.getQualifiedName(), DNSRecordClass.CLASS_IN, DNSRecordClass.UNIQUE, DNSConstants.DNS_TTL, inf (…)
    [all...]
  /frameworks/base/core/java/android/app/admin/
DeviceAdminReceiver.java 21 import android.app.Service;
38 * should probably be done in a {@link Service}.
  /cts/tests/tests/content/src/android/content/cts/
BroadcastReceiverTest.java 20 import android.app.Service;
221 assertTrue(activity.bindService(intent, msc, Service.BIND_AUTO_CREATE));
236 public synchronized void onServiceConnected(ComponentName name, IBinder service) {
  /development/apps/Development/src/com/android/development/
BadBehaviorActivity.java 23 import android.app.Service;
57 public static class BadService extends Service {
65 Log.i(TAG, "in service start -- about to hang");
67 Log.i(TAG, "service hang finished -- stopping and returning");
205 Log.i(TAG, "ANR service pressed -- about to start");
  /development/samples/ApiDemos/src/com/example/android/apis/app/
ForegroundService.java 23 import android.app.Service;
40 * This is an example of implementing an application service that can
47 public class ForegroundService extends Service {
135 "OS doesn't have Service.startForeground OR Service.setForeground!");
158 // We want this service to continue running until it is explicitly
  /development/samples/BluetoothHDP/src/com/example/bluetooth/health/
BluetoothHDPService.java 19 import android.app.Service;
40 * This Service encapsulates Bluetooth Health API to establish, manage, and disconnect
58 public class BluetoothHDPService extends Service {
79 // Register client with this service.
81 // Unregister client from this service.
105 // Register UI client to this service so the client can receive messages.
110 // Unregister UI client from this service.
141 * Make sure Bluetooth and health profile are available on the Android device. Stop service
149 // Bluetooth adapter isn't available. The client of the service is supposed to
150 // verify that it is available and activate before invoking this service
    [all...]
  /development/samples/MySampleRss/src/com/example/codelab/rssexample/
RssService.java 21 import android.app.Service;
45 public class RssService extends Service implements Runnable{
55 private final int NOTIFY_ID = 1; // Identifies our service icon in the icon tray.
59 // Display an icon to show that the service is running.
63 Notification note = new Notification(this, R.drawable.rss_icon, "RSS Service",
94 // A cheap way to pass a message to tell the service to requery.
111 // When the service is destroyed, get rid of our persistent icon.
248 // Required by Service. We won't implement it here, but need to
  /frameworks/base/core/java/android/accessibilityservice/
AccessibilityService.java 19 import android.app.Service;
34 * An accessibility service runs in the background and receives callbacks by the system
37 * etc. Such a service can optionally request the capability for querying the content
38 * of the active window. Development of an accessibility service requires extending this
50 * The lifecycle of an accessibility service is managed exclusively by the system and
51 * follows the established service life cycle. Additionally, starting or stopping an
52 * accessibility service is triggered exclusively by an explicit user action through
53 * enabling or disabling it in the device settings. After the system binds to a service it
59 * An accessibility is declared as any other service in an AndroidManifest.xml but it
62 * ignore the accessibility service. Additionally an accessibility service must request th
    [all...]
  /frameworks/base/core/java/android/net/
VpnService.java 20 import android.app.Service;
79 * <li>When the application becomes prepared, start the service.</li>
94 * is an example of declaring a VPN service in {@code AndroidManifest.xml}:
96 * &lt;service android:name=".ExampleVpnService"
101 * &lt;/service&gt;</pre>
105 public class VpnService extends Service {
108 * The action must be matched by the intent filter of this service. It also
203 * Return the communication interface to the service. This method returns
208 * @see Service#onBind
222 * implementation of this method is calling {@link Service#stopSelf()}
    [all...]
  /frameworks/base/core/java/android/service/dreams/
Dream.java 4 package android.service.dreams;
10 import android.app.Service;
40 public class Dream extends Service implements Window.Callback {
45 * The {@link Intent} that must be declared as handled by the service.
46 * To be supported, the service must also require the
52 "android.service.dreams.Dream";
362 * After this method is called, the service will be stopped.
386 * service interface. Subclasses should not override.
  /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>&lt;{@link android.R.styleable#RecognitionService recognition-service}&gt;</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();
  /packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastAlertAudio.java 19 import android.app.Service;
42 * Manages alert audio and vibration and text-to-speech. Runs as a service so that
45 public class CellBroadcastAlertAudio extends Service implements TextToSpeech.OnInitListener,
  /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 {

Completed in 595 milliseconds

1 2 3 4 56 7 8 910