/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraDeviceFactory.h | 40 static wp<CameraService> sService; member in class:android::CameraDeviceFactory
|
H A D | CameraDeviceFactory.cpp | 29 wp<CameraService> CameraDeviceFactory::sService; member in class:android::CameraDeviceFactory 33 sp<CameraService> svc = sService.promote(); 68 sService = service;
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | WindowManagerGlobal_Delegate.java | 31 private static IWindowManager sService; field in class:WindowManagerGlobal_Delegate 35 return sService; 41 sService = service;
|
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupManager.java | 62 private static IBackupManager sService; field in class:BackupManager 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 ! [all...] |
/frameworks/base/core/java/android/app/ |
H A D | NotificationManager.java | 74 private static INotificationManager sService; field in class:NotificationManager 79 if (sService != null) { 80 return sService; 83 sService = INotificationManager.Stub.asInterface(b); 84 return sService;
|
/frameworks/base/core/java/android/content/ |
H A D | ClipboardManager.java | 55 private static IClipboard sService; field in class:ClipboardManager 100 if (sService != null) { 101 return sService; 104 sService = IClipboard.Stub.asInterface(b); 105 return sService;
|
/frameworks/base/core/java/android/os/ |
H A D | UpdateLock.java | 33 private static IUpdateLock sService; field in class:UpdateLock 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/base/core/java/android/view/textservice/ |
H A D | TextServicesManager.java | 69 private static ITextServicesManager sService; field in class:TextServicesManager 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 [all...] |
/frameworks/av/include/media/ |
H A D | mediametadataretriever.h | 92 static sp<IMediaPlayerService> sService; member in class:android::MediaMetadataRetriever
|
/frameworks/av/media/libmedia/ |
H A D | mediametadataretriever.cpp | 32 sp<IMediaPlayerService> MediaMetadataRetriever::sService; member in class:android::MediaMetadataRetriever 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/nfc/cardemulation/ |
H A D | CardEmulation.java | 128 static INfcCardEmulation sService; field in class:CardEmulation 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 [all...] |
/frameworks/base/nfc-extras/java/com/android/nfc_extras/ |
H A D | NfcAdapterExtras.java | 62 private static INfcAdapterExtras sService; field in class:NfcAdapterExtras 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/appwidget/ |
H A D | AppWidgetHost.java | 54 static IAppWidgetService sService; field in class:AppWidgetHost 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 [all...] |
H A D | AppWidgetManager.java | 322 static IAppWidgetService sService; field in class:AppWidgetManager 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 [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | Toast.java | 299 private static INotificationManager sService; field in class:Toast 302 if (sService != null) { 303 return sService; 305 sService = INotificationManager.Stub.asInterface(ServiceManager.getService("notification")); 306 return sService;
|
/frameworks/base/core/java/android/nfc/ |
H A D | NfcAdapter.java | 292 static INfcAdapter sService; field in class:NfcAdapter 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 [all...] |
/frameworks/base/services/java/com/android/server/am/ |
H A D | BatteryStatsService.java | 50 static IBatteryStats sService; field in class:BatteryStatsService 78 if (sService != null) { 79 return sService; 82 sService = asInterface(b); 83 return sService;
|
H A D | UsageStatsService.java | 97 static IUsageStats sService; field in class:UsageStatsService 704 if (sService != null) { 705 return sService; 708 sService = asInterface(b); 709 return sService;
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothDevice.java | 520 * TODO: Unify implementation of sService amongst BluetoothFoo API's 522 private static IBluetooth sService; field in class:BluetoothDevice 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 [all...] |
/frameworks/base/media/java/android/media/ |
H A D | RemoteControlClient.java | 1480 private static IAudioService sService; field in class:RemoteControlClient 1484 if (sService != null) { 1485 return sService; 1488 sService = IAudioService.Stub.asInterface(b); 1489 return sService;
|
H A D | AudioManager.java | 424 private static IAudioService sService; field in class:AudioManager 439 if (sService != null) { 440 return sService; 443 sService = IAudioService.Stub.asInterface(b); 444 return sService;
|