/frameworks/av/services/camera/libcameraservice/ |
CameraDeviceFactory.h | 40 static wp<CameraService> sService;
|
CameraDeviceFactory.cpp | 29 wp<CameraService> CameraDeviceFactory::sService; 33 sp<CameraService> svc = sService.promote(); 68 sService = service;
|
/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()); 205 return sService.allocateAppWidgetId(mPackageName, mHostId, mContext.getUserId()); 221 if (sService == null) { 224 return sService.allocateAppWidgetId(packageName, hostId, userId); 237 if (sService == null) { 240 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/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;
|
/frameworks/base/core/java/android/nfc/cardemulation/ |
CardEmulation.java | 128 static INfcCardEmulation sService; 134 sService = service; 198 return sService.isDefaultServiceForCategory(UserHandle.myUserId(), service, category); 202 if (sService == null) { 207 return sService.isDefaultServiceForCategory(UserHandle.myUserId(), service, 229 return sService.isDefaultServiceForAid(UserHandle.myUserId(), service, aid); 233 if (sService == null) { 238 return sService.isDefaultServiceForAid(UserHandle.myUserId(), service, aid); 278 return sService.setDefaultServiceForCategory(UserHandle.myUserId(), service, category); 282 if (sService == null) [all...] |
/frameworks/base/core/java/android/nfc/ |
NfcActivityManager.java | 240 NfcAdapter.sService.setReaderMode(token, this, flags, extras); 318 NfcAdapter.sService.setAppCallback(this);
|
NfcAdapter.java | 292 static INfcAdapter sService; 416 sService = getServiceInterface(); 417 if (sService == null) { 422 sTagService = sService.getNfcTagInterface(); 429 sCardEmulationService = sService.getNfcCardEmulationInterface(); 529 isEnabled(); // NOP call to recover sService if it is stale 530 return sService; 560 // nothing more can be done now, sService is still stale, we'll hit 564 // assigning to sService is not thread-safe, but this is best-effort code 566 sService = service [all...] |
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/search_engines/ |
TemplateUrlService.java | 61 private static TemplateUrlService sService; 65 if (sService == null) { 66 sService = new TemplateUrlService(); 68 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 | 299 private static INotificationManager sService; 302 if (sService != null) { 303 return sService; 305 sService = INotificationManager.Stub.asInterface(ServiceManager.getService("notification")); 306 return sService;
|
/frameworks/base/core/java/android/bluetooth/ |
BluetoothDevice.java | 520 * TODO: Unify implementation of sService amongst BluetoothFoo API's 522 private static IBluetooth sService; 528 if (sService == null) { 530 sService = adapter.getBluetoothService(mStateChangeCallback); 533 return sService; 541 sService = bluetoothService; 548 sService = null; 562 getService(); // ensures sService is initialized 635 if (sService == null) { 640 return sService.getRemoteName(this) [all...] |
/frameworks/base/services/java/com/android/server/am/ |
BatteryStatsService.java | 50 static IBatteryStats sService; 78 if (sService != null) { 79 return sService; 82 sService = asInterface(b); 83 return sService;
|
UsageStatsService.java | 97 static IUsageStats sService; 704 if (sService != null) { 705 return sService; 708 sService = asInterface(b); 709 return sService; [all...] |
/frameworks/base/media/java/android/media/ |
RemoteControlClient.java | [all...] |
AudioManager.java | 424 private static IAudioService sService; 439 if (sService != null) { 440 return sService; 443 sService = IAudioService.Stub.asInterface(b); 444 return sService; [all...] |