HomeSort by relevance Sort by last modified time
    Searched refs:Service (Results 276 - 300 of 880) sorted by null

<<11121314151617181920>>

  /cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
SimpleForegroundService.java 22 import android.app.Service;
36 public class SimpleForegroundService extends Service {
38 private static final String NOTIFICATION_CHANNEL_ID = "Foreground Service";
58 Log.i(TAG, "Stopping service.");
59 // Stop the service using the startId, so that we don't stop
60 // the service in the middle of handling another job
67 // Start up the thread running the service. Note that we create a
68 // separate thread because the service normally runs in the process's
  /cts/hostsidetests/media/app/MediaSessionTestHelper/src/android/media/app/media_session_test_helper/
MediaSessionTestHelperService.java 22 import android.app.Service;
38 * Service of the media session's host-side CTS helper.
39 * <p>This is the foreground service to prevent this process from being killed by the OOM killer
42 public class MediaSessionTestHelperService extends Service {
54 // Build notification UI to make this a foreground service.
96 // It's not a bind service.
  /cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/
MyService.java 25 import android.app.Service;
38 * Service used to dynamically register a broadcast receiver.
40 public class MyService extends Service {
  /cts/hostsidetests/services/activityandwindowmanager/displayserviceapp/app/src/android/server/displayservice/
VirtualDisplayService.java 25 import android.app.Service;
36 public class VirtualDisplayService extends Service {
  /cts/tests/tests/externalservice/service/src/android/externalservice/service/
ServiceCreator.java 17 package android.externalservice.service;
19 import android.app.Service;
36 public class ServiceCreator extends Service {
95 public void onServiceConnected(ComponentName name, IBinder service) {
99 msg.obj = new Messenger(service);
  /cts/tests/tests/libcorefileio/src/android/cts/
LockHoldingService.java 19 import android.app.Service;
32 * A Service that listens for commands from the FileChannelInterProcessLockTest to acquire locks of
36 public class LockHoldingService extends Service {
39 * The key of the Bundle extra used to record a time after a lock is released by the service.
44 * The key of the Bundle extra used to record just before the lock is released by the service.
54 * The value for the notification sent to the test after the service starts.
59 * The value for the notification sent to the test just before the service stops.
74 * The key of the Bundle extra used to send time for which the service should wait before
90 * The key of the Bundle extra used to let he service know whether to release the lock after
  /developers/build/prebuilts/gradle/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/
RecipeService.java 20 import android.app.Service;
30 public class RecipeService extends Service {
  /developers/samples/android/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/
RecipeService.java 20 import android.app.Service;
30 public class RecipeService extends Service {
  /development/samples/ApiDemos/src/com/example/android/apis/app/
MessengerService.java 22 import android.app.Service;
41 * This is an example of implementing an application service that uses the
43 * remote interaction with a service, without needing to define an AIDL
47 * happen in the service. This is generally how background services should
51 //BEGIN_INCLUDE(service)
52 public class MessengerService extends Service {
61 * Command to the service to register a client, receiving callbacks
62 * from the service. The Message's replyTo field must be a Messenger of
68 * Command to the service to unregister a client, ot stop receiving callbacks
69 * from the service. The Message's replyTo field must be a Messenger o
    [all...]
  /development/samples/DeviceAdminWhitelistedAccount/src/com/example/android/app/admin/whitelistedaccount/
MyAuthenticator.java 24 import android.app.Service;
30 public class MyAuthenticator extends Service {
  /development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/
RecipeService.java 20 import android.app.Service;
30 public class RecipeService extends Service {
  /external/autotest/client/cros/tendo/n_faced_peerd/
service.py 6 import dbus.service
13 class Service(dbus_property_exposer.DBusPropertyExposer):
19 """Construct a org.chromium.peerd.Service DBus object.
23 @param service_id: string peerd service ID.
25 the metadata for the service.
30 super(Service, self).__init__(
45 # Claim the service interface.
56 @return dbus.String containing this service's peer_id.
65 @return dbus.String containing this service's service_id.
74 @return dbus.Dictionary containing this service's metadata
    [all...]
  /external/droiddriver/src/io/appium/droiddriver/base/
BaseUiDevice.java 19 import android.app.Service;
49 .getSystemService(Service.POWER_SERVICE);
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DisplayFacade.java 21 import android.app.Service;
35 private final Service mService;
PreferencesFacade.java 19 import android.app.Service;
51 private Service mService;
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
BluetoothMapFacade.java 21 import android.app.Service;
41 private final Service mService;
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
SubscriptionManagerFacade.java 19 import android.app.Service;
36 private final Service mService;
  /frameworks/base/core/java/android/hardware/location/
GeofenceHardwareService.java 20 import android.app.Service;
29 * Service that handles hardware geofencing.
33 public class GeofenceHardwareService extends Service {
69 public void setGpsGeofenceHardware(IGpsGeofenceHardware service) {
70 mGeofenceHardwareImpl.setGpsHardwareGeofence(service);
74 public void setFusedGeofenceHardware(IFusedGeofenceHardware service) {
75 mGeofenceHardwareImpl.setFusedGeofenceHardware(service);
  /frameworks/base/core/java/android/inputmethodservice/
AbstractInputMethodService.java 20 import android.app.Service;
40 * <p>This class combines a Service (representing the input method component
43 * the service when clients bind to it, but provides no standard implementation
47 public abstract class AbstractInputMethodService extends Service
135 * callbacks on the service, and tell the client when this is done.
148 * callbacks on the service, and tell the client when this is done.
160 * callbacks on the service, and tell the client when this is done.
183 * interface for this service needs to be created.
  /frameworks/base/core/java/android/nfc/cardemulation/
HostApduService.java 21 import android.app.Service;
33 * <p>HostApduService is a convenience {@link Service} class that can be
35 * service component.
50 * <h3>Service selection</h3>
52 * service, it sends a so-called
66 * <p>In some cases, a service may need to register multiple AIDs
69 * to some AIDs in the group going to another service).
75 * <li>All AIDs in the group are routed to this service
76 * <li>No AIDs in the group are routed to this service
79 * in the group can be routed to this service, and some to another
    [all...]
HostNfcFService.java 21 import android.app.Service;
33 * <p>HostNfcFService is a convenience {@link Service} class that can be
34 * extended to emulate an NFC-F card inside an Android service component.
41 * <p>A {@link HostNfcFService HostNfcFService service} can register
44 * <p>To statically register a System Code and NFCID2 with the service, a {@link #SERVICE_META_DATA}
45 * entry must be included in the declaration of the service.
49 * in their &lt;service&gt; tag, to ensure that only the platform can bind to your service.</p>
53 * <pre> &lt;service android:name=".MyHostNfcFService" android:exported="true" android:permission="android.permission.BIND_NFC_SERVICE"&gt;
58 * &lt;/service&gt;</pre
    [all...]
  /frameworks/base/core/java/android/permissionpresenterservice/
RuntimePermissionPresenterService.java 20 import android.app.Service;
38 * This service presents information regarding runtime permissions that is
49 public abstract class RuntimePermissionPresenterService extends Service {
52 * The {@link Intent} action that must be declared as handled by a service
54 * presenter service.
  /frameworks/base/core/java/android/service/resolver/
ResolverRankerService.java 17 package android.service.resolver;
21 import android.app.Service;
28 import android.service.resolver.ResolverTarget;
35 * A service to rank apps according to usage stats of apps, when the system is resolving targets for
38 * <p>To extend this class, you must declare the service in your manifest file with the
42 * &lt;service android:name=".MyResolverRankerService"
47 * &lt;action android:name="android.service.resolver.ResolverRankerService" /&gt;
49 * &lt;/service&gt;
54 public abstract class ResolverRankerService extends Service {
61 * The Intent action that a service must respond to. Add it to the intent filter of the servic
    [all...]
  /frameworks/base/core/java/android/service/voice/
VoiceInteractionSessionService.java 17 package android.service.voice;
19 import android.app.Service;
39 public abstract class VoiceInteractionSessionService extends Service {
  /frameworks/base/core/tests/coretests/src/android/app/activity/
LocalService.java 19 import android.app.Service;
28 public class LocalService extends Service {

Completed in 1068 milliseconds

<<11121314151617181920>>