Searched defs:service (Results 1 - 25 of 92) sorted by last modified time

1234

/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
H A DLiveWallpaperPreview.java23 import android.service.wallpaper.IWallpaperConnection;
24 import android.service.wallpaper.IWallpaperService;
25 import android.service.wallpaper.IWallpaperEngine;
26 import android.service.wallpaper.WallpaperSettingsActivity;
264 public void onServiceConnected(ComponentName name, IBinder service) { argument
266 mService = IWallpaperService.Stub.asInterface(service);
283 Log.w(LOG_TAG, "Wallpaper service gone: " + name);
/packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/
H A DMagicSmokeSelector.java23 import android.service.wallpaper.IWallpaperConnection;
24 import android.service.wallpaper.IWallpaperService;
25 import android.service.wallpaper.IWallpaperEngine;
26 import android.service.wallpaper.WallpaperSettingsActivity;
180 public void onServiceConnected(ComponentName name, IBinder service) { argument
182 mService = IWallpaperService.Stub.asInterface(service);
199 Log.w(LOG_TAG, "Wallpaper service gone: " + name);
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadService.java138 public void onServiceConnected(ComponentName className, IBinder service) { argument
145 mMediaScannerService = IMediaScannerService.Stub.asInterface(service);
194 * service. Binding to this service is not allowed.
204 * Initializes the service when it is first created
243 * Cleans up when the service is destroyed
492 Log.d(Constants.TAG, "waiting for mMediaScannerService service: ");
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
H A DAbstractDownloadProviderFunctionalTest.java90 * Context passed to the provider and the service. Allows most methods to pass through to the
135 public ComponentName startService(Intent service) { argument
136 if (service.getComponent().getClassName().equals(DownloadService.class.getName())) {
138 return service.getComponent();
140 throw new UnsupportedOperationException("Unexpected service: " + service);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DDictionaryPackInstallBroadcastReceiver.java39 public DictionaryPackInstallBroadcastReceiver(final LatinIME service) { argument
40 mService = service;
H A DSubtypeSwitcher.java94 private void initialize(final Context service) { argument
95 mResources = service.getResources();
96 mImm = ImfUtils.getInputMethodManager(service);
97 mConnectivityManager = (ConnectivityManager) service.getSystemService(
101 service, SubtypeLocale.NO_LANGUAGE, SubtypeLocale.QWERTY);
102 mCurrentSubtype = ImfUtils.getCurrentInputMethodSubtype(service, mNoLanguageSubtype);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
H A DAndroidSpellCheckerSession.java34 public AndroidSpellCheckerSession(AndroidSpellCheckerService service) { argument
35 super(service);
H A DAndroidSpellCheckerSessionFactory.java19 import android.service.textservice.SpellCheckerService.Session;
22 public static Session newInstance(AndroidSpellCheckerService service) { argument
23 return new AndroidSpellCheckerSession(service);
H A DAndroidWordLevelSpellCheckerSession.java22 import android.service.textservice.SpellCheckerService.Session;
96 AndroidWordLevelSpellCheckerSession(final AndroidSpellCheckerService service) { argument
97 mService = service;
98 final ContentResolver cres = service.getContentResolver();
H A DDictionaryPool.java70 public DictionaryPool(final int maxSize, final AndroidSpellCheckerService service, argument
74 mService = service;
/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.
H A DSkbContainer.java68 * The input method service.
204 public void setService(InputMethodService service) { argument
205 mService = 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
/packages/apps/VideoEditor/src/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...]
H A DApiServiceListener.java17 package com.android.videoeditor.service;
28 * Interface for API service listener. This interface declares various callbacks that
30 * service actions. Clients should extend this interface and override interested callbacks.
H A DIntentPool.java17 package com.android.videoeditor.service;
H A DMovieAudioTrack.java17 package com.android.videoeditor.service;
H A DMovieEffect.java17 package com.android.videoeditor.service;
H A DMovieMediaItem.java17 package com.android.videoeditor.service;
H A DMovieOverlay.java17 package com.android.videoeditor.service;
H A DMovieTheme.java17 package com.android.videoeditor.service;
H A DMovieTransition.java17 package com.android.videoeditor.service;
H A DVideoEditorProject.java17 package com.android.videoeditor.service;
/packages/experimental/RpcPerformance/
H A Drpcperftest.cpp42 fprintf(stderr, "usage: rpcperftest service-to-test | :service-to-serve\n");
48 fprintf(stderr, "error: can't get default service manager\n");
56 fprintf(stderr, "error: can't register service: %s\n", argv[1] + 1);
62 fprintf(stderr, "error: can't run service\n");
66 sp<IBinder> service = sm->checkService(String16(argv[1])); local
67 if (service == NULL) {
68 fprintf(stderr, "error: can't find service: %s\n", argv[1]);
73 status_t status = service->pingBinder();
83 status_t status = service
[all...]
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/
H A DProviderPerfActivity.java81 public void onServiceConnected(ComponentName name, IBinder service) {
82 mServiceStub = IService.Stub.asInterface(service);
447 Log.v(TAG, "No service stub.");
453 if (mTraceName != null) mServiceStub.startTracing(mTraceName + ".service");
476 private float pingServiceLoop(String service) { argument
477 IBinder binder = ServiceManager.getService(service);
479 Log.e(TAG, "Service missing: " + service);
487 Log.e(TAG, "Error pinging service: " + service);

Completed in 660 milliseconds

1234