/packages/apps/Calendar/src/com/android/calendar/alerts/ |
AlertService.java | 25 import android.app.Service; 52 * This service is used to handle calendar event reminders. 54 public class AlertService extends Service { 381 Object service = getSystemService(Context.ALARM_SERVICE); local 382 AlarmManager manager = (AlarmManager) service;
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
SimpleWeekView.java | 22 import android.app.Service; 525 .getSystemService(Service.ACCESSIBILITY_SERVICE);
|
MonthWeekEventsView.java | 26 import android.app.Service; [all...] |
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
VCardService.java | 20 import android.app.Service; 49 * This Service creates one ImportRequest/ExportRequest object (as Runnable) per request and push 53 // TODO: Using IntentService looks simpler than using Service + ServiceConnection though this 55 public class VCardService extends Service { 147 if (DEBUG) Log.d(LOG_TAG, "vCard Service is being created."); 259 Log.d(LOG_TAG, "Executor service status: shutdown: " + mExecutorService.isShutdown() 341 Log.i(LOG_TAG, "No unfinished job. Stop this service."); 406 * means this Service becomes no longer ready for import/export requests.
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadService.java | 24 import android.app.Service; 54 public class DownloadService extends Service { 65 * The Service's view of the list of downloads, mapping download IDs to the corresponding info 66 * object. This is kept independently from the content provider, and the Service only initiates 119 Log.v(Constants.TAG, "Service ContentObserver received notification"); 131 public void onServiceConnected(ComponentName className, IBinder service) { 138 mMediaScannerService = IMediaScannerService.Stub.asInterface(service); 187 * service. Binding to this service is not allowed. 193 throw new UnsupportedOperationException("Cannot bind to Download Manager Service"); [all...] |
/development/samples/ToyVpn/src/com/example/android/toyvpn/ |
ToyVpnService.java | 20 import android.app.Service;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
StatusBar.java | 20 import android.app.Service; 66 // Connect in to the status bar manager service
|
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilityEndToEndTest.java | 25 import android.app.Service; 51 * accessibility service and another with the instrumented activity and test cases. 55 * enabling an accessibility service in the tests APK will not work either because 57 * between the accessibility service and the system. 62 * Once the former package has been installed the service must be enabled 63 * (Settings -> Accessibility -> Delegating Accessibility Service), and then the CTS tests 107 MockAccessibilityService service = MockAccessibilityService.getInstance(activity); local 108 service.expectEvent(selectedEvent); 109 service.replay(); 120 service.verify() 140 MockAccessibilityService service = MockAccessibilityService.getInstance(activity); local 173 MockAccessibilityService service = MockAccessibilityService.getInstance(activity); local 208 MockAccessibilityService service = MockAccessibilityService.getInstance(activity); local 257 MockAccessibilityService service = MockAccessibilityService.getInstance(activity); local 293 MockAccessibilityService service = MockAccessibilityService.getInstance(activity); local 340 MockAccessibilityService service = MockAccessibilityService.getInstance(activity); local [all...] |
/cts/tests/tests/app/src/android/app/cts/ |
ServiceTest.java | 24 import android.app.Service; 36 @TestTargetClass(Service.class) 46 String EXIST_CONN_TO_RECEIVE_SERVICE = "existing connection to receive service"; 47 private static final String EXIST_CONN_TO_LOSE_SERVICE = "existing connection to lose service"; 59 public void onServiceConnected(ComponentName name, IBinder service) { 82 public void onServiceConnected(ComponentName name, IBinder service) { 88 service.transact(LocalService.SET_REPORTER_CODE, data, null, 0); 132 private void startExpectResult(Intent service) { 133 startExpectResult(service, new Bundle()); 136 private void startExpectResult(Intent service, Bundle bundle) [all...] |
/frameworks/base/core/java/android/speech/tts/ |
TextToSpeechService.java | 18 import android.app.Service; 63 * thread, which will be different from the main thread of the service. Synthesis 71 public abstract class TextToSpeechService extends Service { 179 * Notifies the service that it should stop any in-progress speech synthesis. 187 * Tells the service to synthesize speech from the given text. This method should 200 * Queries the service for a set of features supported for a given language. 305 * Called on a service binder thread. 345 * Called on a service binder thread.
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapService.java | 38 import android.app.Service; 65 public class BluetoothPbapService extends Service { 185 throw new RuntimeException("Bluetooth service not available"); 193 if (VERBOSE) Log.v(TAG, "Pbap Service onCreate"); 200 if (VERBOSE) Log.v(TAG, "Starting PBAP service"); 212 if (VERBOSE) Log.v(TAG, "Pbap Service onStartCommand"); 241 // Send any pending timeout now, as this service will be destroyed. 297 if (VERBOSE) Log.v(TAG, "Pbap Service onDestroy"); 310 if (VERBOSE) Log.v(TAG, "Pbap Service onBind"); 315 if (VERBOSE) Log.v(TAG, "Pbap Service startRfcommSocketListener") [all...] |
/packages/apps/Email/src/com/android/email/service/ |
MailService.java | 17 package com.android.email.service; 23 import android.app.Service; 56 * Background service for refreshing non-push email accounts. 61 public class MailService extends Service { 201 // Stop the service, unless actually syncing (which will stop the service) 416 * @param startId the id of this service launch 625 // We only track the inbox here in the service - ignore other mailboxes
|
AttachmentDownloadService.java | 17 package com.android.email.service; 22 import android.app.Service; 44 import com.android.emailcommon.service.EmailServiceProxy; 45 import com.android.emailcommon.service.EmailServiceStatus; 46 import com.android.emailcommon.service.IEmailServiceCallback; 59 public class AttachmentDownloadService extends Service implements Runnable { 152 * stalled, as determined by the timing of the most recent service callback 419 // If our service instance is gone, just leave (but cancel alarm first!) 516 * @param statusCode the EmailServiceStatus code returned by the Service 709 // TODO: We should have some more data-driven way of determining the service intent 756 AttachmentDownloadService service = sRunningService; local 769 AttachmentDownloadService service = sRunningService; local 782 AttachmentDownloadService service = sRunningService; local 790 AttachmentDownloadService service = sRunningService; local [all...] |
/external/protobuf/java/src/test/java/com/google/protobuf/ |
ServiceTest.java | 77 /** Tests Service.callMethod(). */ 98 /** Tests Service.get{Request,Response}Prototype(). */ 173 Service service = ServiceWithNoOuter.newReflectiveService(impl); local 193 service.callMethod(fooMethod, controller, request, callback); 202 BlockingService service = local 222 service.callBlockingMethod(fooMethod, controller, request); 256 // No service class should have been generated.
|
/frameworks/base/core/java/android/content/pm/ |
PackageParser.java | 292 final Service service = p.services.get(i); local 293 if (service.info.enabled 3475 public final Service service; field in class:PackageParser.ServiceIntentInfo [all...] |
/frameworks/base/core/java/android/app/ |
ActivityThread.java | 154 final HashMap<IBinder, Service> mServices 155 = new HashMap<IBinder, Service>(); 491 // Formatting for checkin service - update version if row format changes 675 // Setup the service cache in the ServiceManager 2231 Service service = null; local 3861 IConnectivityManager service = IConnectivityManager.Stub.asInterface(b); local [all...] |
/libcore/luni/src/test/java/tests/api/javax/security/cert/ |
X509CertificateTest.java | 46 import java.security.Provider.Service;
|
/external/chromium/chrome/browser/resources/sync_internals/ |
chrome_sync.js | 65 // Service events. 111 // Sync service functions. 145 // Sync service event handlers.
|
/external/protobuf/ |
Makefile.am | 93 java/src/main/java/com/google/protobuf/Service.java \ 135 python/google/protobuf/service.py \
|
/frameworks/base/core/java/android/service/wallpaper/ |
WallpaperService.java | 17 package android.service.wallpaper; 26 import android.app.Service; 63 * A wallpaper service is responsible for showing a live wallpaper behind 64 * applications that would like to sit on top of it. This service object 71 public abstract class WallpaperService extends Service { 73 * The {@link Intent} that must be declared as handled by the service. 74 * To be supported, the service must also require the 80 "android.service.wallpaper.WallpaperService"; 88 public static final String SERVICE_META_DATA = "android.service.wallpaper"; 118 * The actual implementation of a wallpaper. A wallpaper service ma [all...] |
/frameworks/base/core/java/android/widget/ |
CalendarView.java | 20 import android.app.Service; 393 .getSystemService(Service.LAYOUT_INFLATER_SERVICE); [all...] |
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
TestService.java | 28 import android.app.Service; 53 public class TestService extends Service { [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppService.java | 38 import android.app.Service; 69 public class BluetoothOppService extends Service { 88 private static final String TAG = "BtOpp Service"; 143 throw new UnsupportedOperationException("Cannot bind to Bluetooth OPP Service"); 149 if (V) Log.v(TAG, "Service onCreate"); 184 if (V) Log.v(TAG, "Service onStartCommand"); 320 if (V) Log.v(TAG, "Service onDestroy"); 374 super("Bluetooth Share Service"); 537 Log.v(TAG, "Service adding new entry"); 600 if (V) Log.v(TAG, "Service create new Batch " + newBatch.mI [all...] |
/packages/apps/Phone/src/com/android/phone/ |
BluetoothHeadsetService.java | 19 import android.app.Service; 50 * Provides Bluetooth Headset and Handsfree profile, as a service in 54 public class BluetoothHeadsetService extends Service { 93 throw new RuntimeException("Bluetooth service not available"); 585 * Handlers for incoming service calls [all...] |
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
DockService.java | 24 import android.app.Service; 50 public final class DockService extends Service implements ServiceListener { 106 // is severed. One exception is that mDevice could be null if the service 380 // would be too late to register a service listener. [all...] |