HomeSort by relevance Sort by last modified time
    Searched defs:sService (Results 1 - 22 of 22) sorted by null

  /frameworks/base/tools/layoutlib/bridge/src/android/view/
WindowManagerGlobal_Delegate.java 31 private static IWindowManager sService;
35 return sService;
41 sService = service;
  /frameworks/base/core/java/android/appwidget/
AppWidgetManager.java 322 static IAppWidgetService sService;
334 if (sService == null) {
336 sService = IAppWidgetService.Stub.asInterface(b);
378 sService.updateAppWidgetIds(appWidgetIds, views, mContext.getUserId());
398 sService.updateAppWidgetOptions(appWidgetId, options, mContext.getUserId());
418 return sService.getAppWidgetOptions(appWidgetId, mContext.getUserId());
474 sService.partiallyUpdateAppWidgetIds(appWidgetIds, views, mContext.getUserId());
523 sService.updateAppWidgetProvider(provider, views, mContext.getUserId());
539 sService.notifyAppWidgetViewDataChanged(appWidgetIds, viewId, mContext.getUserId());
573 List<AppWidgetProviderInfo> providers = sService.getInstalledProviders(categoryFilter
    [all...]
AppWidgetHost.java 54 static IAppWidgetService sService;
142 if (sService == null) {
144 sService = IAppWidgetService.Stub.asInterface(b);
162 updatedIds = sService.startListening(
184 sService.stopListening(mHostId, mContext.getUserId());
206 return sService.allocateAppWidgetId(mPackageName, mHostId, mContext.getUserId());
222 if (sService == null) {
228 return sService.allocateAppWidgetId(packageName, hostId, userId);
241 if (sService == null) {
244 return sService.getAppWidgetIdsForHost(mHostId, mContext.getUserId())
    [all...]
  /frameworks/base/nfc-extras/java/com/android/nfc_extras/
NfcAdapterExtras.java 62 private static INfcAdapterExtras sService;
80 sService = service;
101 if (sService == null) {
169 return sService;
180 int route = sService.getCardEmulationRoute(mPackageName);
202 sService.setCardEmulationRoute(mPackageName, route.route);
232 sService.authenticate(mPackageName, token);
248 return sService.getDriverName(mPackageName);
  /frameworks/base/core/java/android/os/
UpdateLock.java 33 private static IUpdateLock sService;
35 if (sService == null) {
36 sService = IUpdateLock.Stub.asInterface(
114 if (sService != null) {
116 sService.acquireUpdateLock(mToken, mTag);
138 if (sService != null) {
140 sService.releaseUpdateLock(mToken);
155 // if mHeld is true, sService must be non-null
159 sService.releaseUpdateLock(mToken);
  /frameworks/av/media/libmedia/
mediametadataretriever.cpp 32 sp<IMediaPlayerService> MediaMetadataRetriever::sService;
38 if (sService == 0) {
53 sService = interface_cast<IMediaPlayerService>(binder);
55 ALOGE_IF(sService == 0, "no MediaPlayerService!?");
56 return sService;
162 MediaMetadataRetriever::sService.clear();
169 if (sService != 0) {
170 sService->asBinder()->unlinkToDeath(this);
  /frameworks/base/core/java/android/view/textservice/
TextServicesManager.java 69 private static ITextServicesManager sService;
72 if (sService == null) {
74 sService = ITextServicesManager.Stub.asInterface(b);
122 sci = sService.getCurrentSpellChecker(null);
161 sci, sService, listener, subtypeInUse);
163 sService.getSpellCheckerService(sci.getId(), subtypeInUse.getLocale(),
177 final SpellCheckerInfo[] retval = sService.getEnabledSpellCheckers();
194 return sService.getCurrentSpellChecker(null);
208 sService.setCurrentSpellChecker(null, sci.getId());
220 if (sService == null)
    [all...]
  /frameworks/base/core/java/android/app/backup/
BackupManager.java 62 private static IBackupManager sService;
65 if (sService == null) {
66 sService = IBackupManager.Stub.asInterface(
91 if (sService != null) {
93 sService.dataChanged(mContext.getPackageName());
113 if (sService != null) {
115 sService.dataChanged(packageName);
143 if (sService != null) {
146 IRestoreSession binder = sService.beginRestoreSession(mContext.getPackageName(),
171 if (sService != null)
    [all...]
  /frameworks/base/core/java/android/nfc/
NfcAdapter.java 228 static INfcAdapter sService;
339 sService = getServiceInterface();
340 if (sService == null) {
345 sTagService = sService.getNfcTagInterface();
445 isEnabled(); // NOP call to recover sService if it is stale
446 return sService;
467 // nothing more can be done now, sService is still stale, we'll hit
471 // assigning to sService is not thread-safe, but this is best-effort code
473 sService = service;
478 // nothing more can be done now, sService is still stale, we'll hi
    [all...]
NfcActivityManager.java 265 NfcAdapter.sService.setNdefPushCallback(this);
  /frameworks/av/include/media/
mediametadataretriever.h 92 static sp<IMediaPlayerService> sService;
  /frameworks/base/core/java/android/app/
NotificationManager.java 74 private static INotificationManager sService;
79 if (sService != null) {
80 return sService;
83 sService = INotificationManager.Stub.asInterface(b);
84 return sService;
  /frameworks/base/core/java/android/content/
ClipboardManager.java 55 private static IClipboard sService;
100 if (sService != null) {
101 return sService;
104 sService = IClipboard.Stub.asInterface(b);
105 return sService;
  /packages/apps/Music/src/com/android/music/
MediaPickerActivity.java 124 if (MusicUtils.sService != null) {
126 MusicUtils.sService.stop();
MusicUtils.java 153 public static IMediaPlaybackService sService = null;
198 sService = null;
209 sService = IMediaPlaybackService.Stub.asInterface(service);
220 sService = null;
225 if (sService != null) {
227 return sService.getAlbumId();
235 if (MusicUtils.sService != null) {
237 return sService.getArtistId();
245 if (MusicUtils.sService != null) {
247 return sService.getAudioId()
    [all...]
  /frameworks/base/core/java/android/widget/
Toast.java 296 private static INotificationManager sService;
299 if (sService != null) {
300 return sService;
302 sService = INotificationManager.Stub.asInterface(ServiceManager.getService("notification"));
303 return sService;
  /frameworks/base/core/java/android/bluetooth/
BluetoothDevice.java 499 * TODO: Unify implementation of sService amongst BluetoothFoo API's
501 private static IBluetooth sService;
507 if (sService == null) {
509 sService = adapter.getBluetoothService(mStateChangeCallback);
512 return sService;
520 sService = bluetoothService;
527 sService = null;
541 getService(); // ensures sService is initialized
614 if (sService == null) {
619 return sService.getRemoteName(this)
    [all...]
  /frameworks/base/services/java/com/android/server/am/
BatteryStatsService.java 48 static IBatteryStats sService;
76 if (sService != null) {
77 return sService;
80 sService = asInterface(b);
81 return sService;
UsageStatsService.java 93 static IUsageStats sService;
672 if (sService != null) {
673 return sService;
676 sService = asInterface(b);
677 return sService;
    [all...]
  /frameworks/base/media/java/android/media/
RemoteControlClient.java     [all...]
AudioManager.java 416 private static IAudioService sService;
431 if (sService != null) {
432 return sService;
435 sService = IAudioService.Stub.asInterface(b);
436 return sService;
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/
NfcService.java 256 private static NfcService sService;
277 return sService;
368 sService = this;
    [all...]

Completed in 2908 milliseconds