OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Service
(Results
226 - 250
of
564
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/cts/hostsidetests/devicepolicy/app/AccountCheck/Auth/src/com/android/cts/devicepolicy/accountcheck/
TestAuthenticator.java
23
import android.app.
Service
;
35
public class TestAuthenticator extends
Service
{
/cts/hostsidetests/dumpsys/apps/storagedapp/src/com/android/server/cts/storaged/
SimpleIOService.java
19
import android.app.
Service
;
35
public class SimpleIOService extends
Service
{
88
// Stop the
service
using the startId, so that we don't stop
89
// the
service
in the middle of handling another job
97
// Start up the thread running the
service
. Note that we create a
98
// separate thread because the
service
normally runs in the process's
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
BatteryStatsAuthenticator.java
23
import android.app.
Service
;
35
public class BatteryStatsAuthenticator extends
Service
{
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/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
StatsdAuthenticator.java
23
import android.app.
Service
;
35
public class StatsdAuthenticator extends
Service
{
StatsdCtsForegroundService.java
22
import android.app.
Service
;
36
public class StatsdCtsForegroundService extends
Service
{
38
private static final String NOTIFICATION_CHANNEL_ID = "Foreground
Service
";
62
Log.i(TAG, "Stopping
service
.");
63
// Stop the
service
using the startId, so that we don't stop
64
// the
service
in the middle of handling another job
71
// Start up the thread running the
service
. Note that we create a
72
// separate thread because the
service
normally runs in the process's
/cts/tests/app/app/src/android/app/stubs/
LocalService.java
19
import android.app.
Service
;
30
public class LocalService extends
Service
{
/cts/tests/framework/base/windowmanager/src/android/server/wm/
TestLogService.java
19
import android.app.
Service
;
29
* A
service
collecting data from other apps used by a test.
31
* Use {@link TestLogClient} to send data to this
service
.
33
public class TestLogService extends
Service
{
/cts/tests/tests/content/SyncAccountAccessStubs/src/com/android/cts/stub/
StubAuthenticator.java
24
import android.app.
Service
;
30
public class StubAuthenticator 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
{
103
public void onServiceConnected(ComponentName name, IBinder
service
) {
107
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/deprecated/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/ims/rcs/presencepolling/src/com/android/service/ims/presence/
PollingService.java
29
package com.android.
service
.ims.presence;
31
import android.app.
Service
;
47
* supports RCS Presence Capability Polling and stops the
service
otherwise.
49
public class PollingService extends
Service
{
81
// Check when the
service
starts in case the SIM info has already been loaded.
86
* Cleans up when the
service
is destroyed
134
// Carrier supports, so start the
service
if it hasn't already been started.
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/controller/
IntentServiceController.java
8
import android.app.
Service
;
19
public static <T extends IntentService> IntentServiceController<T> of(final T
service
, final Intent intent) {
20
final IntentServiceController<T> controller = new IntentServiceController<>(
service
, intent);
25
private IntentServiceController(final T
service
, final Intent intent) {
26
super(
service
, intent);
40
ReflectionHelpers.callInstanceMethod(
Service
.class, component, "attach",
/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
19
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;
Completed in 2198 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>