Home
last modified time | relevance | path

Searched refs:Service (Results 1 – 25 of 236) sorted by relevance

12345678910

/frameworks/base/docs/html/tools/testing/
Dservice_testing.jd1 page.title=Service Testing
11 <a href="#DesignAndTest">Service Design and Testing</a>
50 Android provides a testing framework for Service objects that can run them in
51 isolation and provides mock objects. The test case class for Service objects is
52 {@link android.test.ServiceTestCase}. Since the Service class assumes that it is separate
53 from its clients, you can test a Service object without using instrumentation.
56 This document describes techniques for testing Service objects. If you aren't familiar with the
57 Service class, please read the <a href="{@docRoot}guide/components/services.html">
62 <h2 id="DesignAndTest">Service Design and Testing</h2>
64 When you design a Service, you should consider how your tests can examine the various states
[all …]
/frameworks/base/docs/html/google/backup/
Dsignup.jd1 page.title=Register for Android Backup Service
8 register your application with Android Backup Service in order to backup your app's data
10 Service Key that verifies your application and allows backup when
11 Android Backup Service is available on the user's device. Registration with Android Backup Service
14 <p>A single Backup Service Key is valid for only the application with which you register using the
15 form below. If you have multiple applications for which you would like a Backup Service Key, then
16 you must register each application to receive a unique Backup Service Key for each one.</p>
18 <p>For more information about developing with Android Backup Service, read the <a
21 <p>Before you can register with Android Backup Service,
28 ><h2 class="norule">Terms of Service</h2>
[all …]
Dterms.jd1 page.title=Android Backup Service Terms of Service
10 Your use of the Android Backup Service (referred to as the &quot;Service&quot;
24 your use of the Service. It is important that you take the time to read them
34 order to use the Service, you must first agree to the Terms. You may not use
35 the Service if you do not accept the Terms.</p>
42 may not use the Service and may not accept the Terms if you are not of legal
57 <h2>3. Provision of the Service by Google</h2>
62 these companies will be providing the Service to you on behalf of Google
64 entitled to provide the Service to you.</p>
69 the Service which Google provides may change from time to time without prior
[all …]
Dindex.jd1 page.title=Android Backup Service
5 <p>Android Backup Service provides a <em>backup transport</em> for Android's <a
13 <p>The Android Backup Service offered by Google provides a backup
19 <p>In order to use Android Backup Service, you must <a href="{@docRoot}google/backup/signup.html"
24 Service does not guarantee that it will always back up data using this service
27 on the device. Registering with Android Backup Service allows your application to back up
28 when the backup transport on the device is provided by Android Backup Service.</p>
35 <h2>Adding the Backup Service Key to the Manifest</h2>
38 >register your app</a>, you'll receive a Backup Service Key,
49 <p>Insert your Backup Service Key in the <code>android:value</code> attribute and place the
[all …]
/frameworks/base/docs/html/guide/components/
Dservices.jd12 <li><a href="#CreatingAService">Creating a Started Service</a>
15 <li><a href="#ExtendingService">Extending the Service class</a></li>
20 <li><a href="#CreatingBoundService">Creating a Bound Service</a></li>
22 <li><a href="#Foreground">Running a Service in the Foreground</a></li>
23 <li><a href="#Lifecycle">Managing the Lifecycle of a Service</a>
32 <li>{@link android.app.Service}</li>
52 <p>A {@link android.app.Service} is an application component that can perform
82 android.app.Service#onStartCommand onStartCommand()} to allow components to start it and {@link
83 android.app.Service#onBind onBind()} to allow binding.</p>
124 <p>To create a service, you must create a subclass of {@link android.app.Service} (or one
[all …]
/frameworks/support/v4/ics/android/support/v4/app/
DNotificationManagerCompatIceCreamSandwich.java19 import android.app.Service;
22 static final int SIDE_CHANNEL_BIND_FLAGS = Service.BIND_AUTO_CREATE
23 | Service.BIND_WAIVE_PRIORITY;
/frameworks/base/core/java/android/bluetooth/
DBluetoothClass.java105 public static final class Service { class in BluetoothClass
130 return ((mClass & Service.BITMASK & service) != 0); in hasService()
298 if (hasService(Service.RENDER)) { in doesClassMatch()
316 if (hasService(Service.RENDER)) { in doesClassMatch()
329 if (hasService(Service.OBJECT_TRANSFER)) { in doesClassMatch()
355 if (hasService(Service.NETWORKING)) { in doesClassMatch()
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/core/
DInstrumentationUiAutomatorBridge.java19 import android.app.Service;
41 mContext.getSystemService(Service.WINDOW_SERVICE); in getDefaultDisplay()
53 mContext.getSystemService(Service.POWER_SERVICE); in isScreenOn()
/frameworks/base/docs/html/guide/topics/processes/
Dprocess-lifecycle.jd17 (in particular {@link android.app.Activity}, {@link android.app.Service},
32 is to start a {@link android.app.Service} from the BroadcastReceiver, so the
53 <li>It has a {@link android.app.Service} that is currently executing code
54 in one of its callbacks ({@link android.app.Service#onCreate Service.onCreate()},
55 {@link android.app.Service#onStart Service.onStart()}, or
56 {@link android.app.Service#onDestroy Service.onDestroy()}).</li>
75 <li>A <strong>service process</strong> is one holding a {@link android.app.Service}
108 See the {@link android.app.Activity}, {@link android.app.Service}, and
116 {@link android.app.Service} with
/frameworks/base/core/tests/coretests/EnabledTestApp/src/com/android/frameworks/coretests/enabled_app/
DEnabledService.java19 import android.app.Service;
27 public class EnabledService extends Service {
DDisabledService.java19 import android.app.Service;
27 public class DisabledService extends Service {
/frameworks/base/core/tests/coretests/apks/install_complete_package_info/src/com/android/frameworks/coretests/
DTestService.java20 import android.app.Service;
24 public class TestService extends Service {
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
DFakeCoreService.java19 import android.app.Service;
24 public class FakeCoreService extends Service {
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DEmptyService.java19 import android.app.Service;
24 public class EmptyService extends Service {
DServiceUserTarget.java19 import android.app.Service;
26 public class ServiceUserTarget extends Service {
DSingleUserService.java19 import android.app.Service;
26 public class SingleUserService extends Service {
DIsolatedService.java19 import android.app.Service;
25 public class IsolatedService extends Service {
/frameworks/base/core/java/com/android/internal/backup/
DLocalTransportService.java19 import android.app.Service;
23 public class LocalTransportService extends Service {
/frameworks/base/core/java/android/nfc/cardemulation/
DOffHostApduService.java5 import android.app.Service;
124 public abstract class OffHostApduService extends Service {
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
DFusedLocationService.java19 import android.app.Service;
23 public class FusedLocationService extends Service {
/frameworks/base/tests/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/
DAlarmService.java19 import android.app.Service;
24 public class AlarmService extends Service {
/frameworks/base/core/tests/coretests/src/android/os/
DMessengerService.java19 import android.app.Service;
27 public class MessengerService extends Service {
DBinderThreadPriorityService.java19 import android.app.Service;
28 public class BinderThreadPriorityService extends Service {
/frameworks/base/core/java/android/service/media/
DCameraPrewarmService.java19 import android.app.Service;
30 public abstract class CameraPrewarmService extends Service {
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DSchedulerService.java21 import android.app.Service;
25 public class SchedulerService extends Service {

12345678910