Searched defs:service (Results 76 - 92 of 92) sorted by relevance

1234

/packages/apps/Email/src/com/android/email/service/
H A DAttachmentDownloadService.java17 package com.android.email.service;
44 import com.android.emailcommon.service.EmailServiceProxy;
45 import com.android.emailcommon.service.EmailServiceStatus;
46 import com.android.emailcommon.service.IEmailServiceCallback;
152 * stalled, as determined by the timing of the most recent service callback
413 // If our service instance is gone, just leave
711 // TODO: We should have some more data-driven way of determining the service intent.
754 * Ask the service for the number of items in the download queue
758 AttachmentDownloadService service = sRunningService;
759 if (service !
[all...]
/packages/apps/Exchange/exchange2/src/com/android/exchange/
H A DEasSyncService.java52 import com.android.emailcommon.service.EmailServiceConstants;
53 import com.android.emailcommon.service.EmailServiceProxy;
54 import com.android.emailcommon.service.EmailServiceStatus;
55 import com.android.emailcommon.service.PolicyServiceProxy;
172 // Whether or not the sync service is valid (usable)
315 void setupProtocolVersion(EasSyncService service, Header versionHeader) argument
345 service.mProtocolVersion = ourVersion;
346 service.mProtocolVersionDouble = Eas.getProtocolVersionDouble(ourVersion);
347 Account account = service.mAccount;
351 if (service
[all...]
H A DExchangeService.java66 import com.android.emailcommon.service.AccountServiceProxy;
67 import com.android.emailcommon.service.EmailServiceProxy;
68 import com.android.emailcommon.service.EmailServiceStatus;
69 import com.android.emailcommon.service.IEmailService;
70 import com.android.emailcommon.service.IEmailServiceCallback;
71 import com.android.emailcommon.service.PolicyServiceProxy;
72 import com.android.emailcommon.service.SearchParams;
185 // We synchronize on this for all actions affecting the service and error maps
632 EasSyncService service = EasSyncService.getServiceForMailbox(exchangeService, mailbox);
633 ContactsSyncAdapter adapter = new ContactsSyncAdapter(service);
1646 startServiceThread(AbstractSyncService service) argument
[all...]
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
H A DCalendarSyncAdapter.java171 public CalendarSyncAdapter(EasSyncService service) { argument
172 super(service);
H A DEmailSyncAdapter.java56 import com.android.emailcommon.service.SyncWindow;
139 public EmailSyncAdapter(EasSyncService service) { argument
140 super(service);
280 // Hold on to the parser's value for isLooping() to pass back to the service
H A DContactsSyncAdapter.java138 public ContactsSyncAdapter(EasSyncService service) { argument
139 super(service);
/packages/apps/Music/src/com/android/music/
H A DArtistAlbumBrowserActivity.java862 public void onServiceConnected(ComponentName name, IBinder service) { argument
H A DMusicUtils.java179 Log.e("Music", "Failed to bind to service");
196 // presumably there is nobody interested in the service at this point,
208 public void onServiceConnected(ComponentName className, android.os.IBinder service) { argument
209 sService = IMediaPlaybackService.Stub.asInterface(service);
212 mCallback.onServiceConnected(className, service);
H A DMediaPlaybackService.java160 // interval after which we stop the service when idle
357 // If the service was idle, but got killed before it stopped itself, the
437 //Log.i("@@@@ service", "created queue string in " + (System.currentTimeMillis() - start) + " ms");
468 //Log.i("@@@@ service", "saved state in " + (System.currentTimeMillis() - start) + " ms");
487 //Log.i("@@@@ service", "loaded queue: " + q);
548 // - music service is restarted, service restores state, doesn't find
672 // make sure the service will shut down on its own if it was
689 // an in-progress action requesting audio focus ends, so don't stop the service now.
694 // before stopping the service, s
2077 ServiceStub(MediaPlaybackService service) argument
[all...]
H A DTrackBrowserActivity.java191 public void onServiceConnected(ComponentName name, IBinder service) argument
236 // we can't really function without the service, so don't
602 // The service could disappear while the broadcast was in flight,
1097 public NowPlayingCursor(IMediaPlaybackService service, String [] cols) argument
1100 mService = service;
/packages/apps/Settings/src/com/android/settings/applications/
H A DRunningState.java84 // Processes that are hosting a service we are interested in, organized
86 // service restarts, and during a restart there will still be a process
91 // Processes that are hosting a service we are interested in, organized
101 // there is no service running in them.
430 // service info.
452 boolean updateService(Context context, ActivityManager.RunningServiceInfo service) { argument
456 ServiceItem si = mServices.get(service.service);
460 si.mRunningService = service;
463 service
[all...]
/packages/apps/VideoEditor/src/com/android/videoeditor/service/
H A DVideoEditorProject.java17 package com.android.videoeditor.service;
H A DApiService.java17 package com.android.videoeditor.service;
81 * VideoEditor service API
216 logd("Stop runnable: Stopping service");
439 * Checks if the service is busy modifying the timeline. While
1346 * Start the service (if it is not running) with the specified Intent
3068 // This operation is for the service internal use only
4006 * change and stops this service if there are no more pending intents.
4027 // Start a timer which will stop the service if the queue of
4029 // This prevents the service from starting & stopping too often.
4031 logd("completeRequest: Stopping service i
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
H A DHeadsetStateMachine.java222 if (DBG) Log.d(TAG,"Unbinding service...");
1024 public void onServiceConnected(ComponentName className, IBinder service) {
1026 mPhoneProxy = IBluetoothHeadsetPhone.Stub.asInterface(service);
2050 private native boolean cindResponseNative(int service, int numActive, int numHeld, argument
/packages/apps/Exchange/exchange2/src/com/android/exchange/utility/
H A DCalendarUtilities.java47 import com.android.emailcommon.service.AccountServiceProxy;
1381 * @param service the sync service requesting Calendar creation
1386 static public long createCalendar(EasSyncService service, Account account, Mailbox mailbox) { argument
1404 int color = new AccountServiceProxy(service.mContext).getAccountColor(account.mId);
1410 Uri uri = service.mContentResolver.insert(
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
H A DPinyinIME.java146 * Connection used to bind the decoding service.
912 // Bind service
1486 * Connection used for binding to the Pinyin decoding service.
1489 public void onServiceConnected(ComponentName name, IBinder service) { argument
1491 .asInterface(service);
1578 * Remote Pinyin-to-Hanzi decoding engine service.
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
H A DCalendarProvider2Test.java70 * to start a service). We the next best thing, which is copy the relevant code
141 public ComponentName startService(Intent service) { argument
146 public boolean stopService(Intent service) { argument

Completed in 555 milliseconds

1234