/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothDevice.java | 522 private static IBluetooth sService; field in BluetoothDevice 528 if (sService == null) { in getService() 530 sService = adapter.getBluetoothService(mStateChangeCallback); in getService() 533 return sService; in getService() 541 sService = bluetoothService; 548 sService = null; 635 if (sService == null) { in getName() 640 return sService.getRemoteName(this); in getName() 655 if (sService == null) { in getType() 660 return sService.getRemoteType(this); in getType() [all …]
|
/frameworks/base/core/java/android/nfc/cardemulation/ |
D | CardEmulation.java | 128 static INfcCardEmulation sService; field in CardEmulation 134 sService = service; in CardEmulation() 198 return sService.isDefaultServiceForCategory(UserHandle.myUserId(), service, category); in isDefaultServiceForCategory() 202 if (sService == null) { in isDefaultServiceForCategory() 207 return sService.isDefaultServiceForCategory(UserHandle.myUserId(), service, in isDefaultServiceForCategory() 229 return sService.isDefaultServiceForAid(UserHandle.myUserId(), service, aid); in isDefaultServiceForAid() 233 if (sService == null) { in isDefaultServiceForAid() 238 return sService.isDefaultServiceForAid(UserHandle.myUserId(), service, aid); in isDefaultServiceForAid() 278 return sService.setDefaultServiceForCategory(UserHandle.myUserId(), service, category); in setDefaultServiceForCategory() 282 if (sService == null) { in setDefaultServiceForCategory() [all …]
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupManager.java | 62 private static IBackupManager sService; field in BackupManager 65 if (sService == null) { in checkServiceBinder() 66 sService = IBackupManager.Stub.asInterface( in checkServiceBinder() 91 if (sService != null) { in dataChanged() 93 sService.dataChanged(mContext.getPackageName()); in dataChanged() 113 if (sService != null) { in dataChanged() 115 sService.dataChanged(packageName); in dataChanged() 143 if (sService != null) { in requestRestore() 146 IRestoreSession binder = sService.beginRestoreSession(mContext.getPackageName(), in requestRestore() 171 if (sService != null) { in beginRestoreSession() [all …]
|
/frameworks/base/core/java/android/view/textservice/ |
D | TextServicesManager.java | 69 private static ITextServicesManager sService; field in TextServicesManager 72 if (sService == null) { in TextServicesManager() 74 sService = ITextServicesManager.Stub.asInterface(b); in TextServicesManager() 122 sci = sService.getCurrentSpellChecker(null); in newSpellCheckerSession() 161 sci, sService, listener, subtypeInUse); in newSpellCheckerSession() 163 sService.getSpellCheckerService(sci.getId(), subtypeInUse.getLocale(), in newSpellCheckerSession() 177 final SpellCheckerInfo[] retval = sService.getEnabledSpellCheckers(); in getEnabledSpellCheckers() 194 return sService.getCurrentSpellChecker(null); in getCurrentSpellChecker() 208 sService.setCurrentSpellChecker(null, sci.getId()); in setCurrentSpellChecker() 220 if (sService == null) { in getCurrentSpellCheckerSubtype() [all …]
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetManager.java | 322 static IAppWidgetService sService; field in AppWidgetManager 334 if (sService == null) { in getInstance() 336 sService = IAppWidgetService.Stub.asInterface(b); in getInstance() 378 sService.updateAppWidgetIds(appWidgetIds, views, mContext.getUserId()); in updateAppWidget() 398 sService.updateAppWidgetOptions(appWidgetId, options, mContext.getUserId()); in updateAppWidgetOptions() 418 return sService.getAppWidgetOptions(appWidgetId, mContext.getUserId()); in getAppWidgetOptions() 474 sService.partiallyUpdateAppWidgetIds(appWidgetIds, views, mContext.getUserId()); in partiallyUpdateAppWidget() 523 sService.updateAppWidgetProvider(provider, views, mContext.getUserId()); in updateAppWidget() 539 sService.notifyAppWidgetViewDataChanged(appWidgetIds, viewId, mContext.getUserId()); in notifyAppWidgetViewDataChanged() 573 List<AppWidgetProviderInfo> providers = sService.getInstalledProviders(categoryFilter, in getInstalledProviders() [all …]
|
D | AppWidgetHost.java | 54 static IAppWidgetService sService; field in AppWidgetHost 142 if (sService == null) { in bindService() 144 sService = IAppWidgetService.Stub.asInterface(b); in bindService() 162 updatedIds = sService.startListening( in startListening() 184 sService.stopListening(mHostId, mContext.getUserId()); in stopListening() 205 return sService.allocateAppWidgetId(mPackageName, mHostId, mContext.getUserId()); in allocateAppWidgetId() 221 if (sService == null) { in allocateAppWidgetIdForPackage() 224 return sService.allocateAppWidgetId(packageName, hostId, userId); in allocateAppWidgetIdForPackage() 237 if (sService == null) { in getAppWidgetIds() 240 return sService.getAppWidgetIdsForHost(mHostId, mContext.getUserId()); in getAppWidgetIds() [all …]
|
/frameworks/base/core/java/android/os/ |
D | UpdateLock.java | 33 private static IUpdateLock sService; field in UpdateLock 35 if (sService == null) { in checkService() 36 sService = IUpdateLock.Stub.asInterface( in checkService() 114 if (sService != null) { in acquireLocked() 116 sService.acquireUpdateLock(mToken, mTag); in acquireLocked() 138 if (sService != null) { in releaseLocked() 140 sService.releaseUpdateLock(mToken); in releaseLocked() 159 sService.releaseUpdateLock(mToken); in finalize()
|
/frameworks/base/nfc-extras/java/com/android/nfc_extras/ |
D | NfcAdapterExtras.java | 62 private static INfcAdapterExtras sService; field in NfcAdapterExtras 80 sService = service; in initService() 101 if (sService == null) { in get() 169 return sService; in getService() 180 int route = sService.getCardEmulationRoute(mPackageName); in getCardEmulationRoute() 202 sService.setCardEmulationRoute(mPackageName, route.route); in setCardEmulationRoute() 232 sService.authenticate(mPackageName, token); in authenticate() 248 return sService.getDriverName(mPackageName); in getDriverName()
|
/frameworks/base/core/java/android/nfc/ |
D | NfcAdapter.java | 292 static INfcAdapter sService; field in NfcAdapter 416 sService = getServiceInterface(); in getNfcAdapter() 417 if (sService == null) { in getNfcAdapter() 422 sTagService = sService.getNfcTagInterface(); in getNfcAdapter() 429 sCardEmulationService = sService.getNfcCardEmulationInterface(); in getNfcAdapter() 530 return sService; in getService() 566 sService = service; in attemptDeadServiceRecovery() 599 return sService.getState() == STATE_ON; in isEnabled() 621 return sService.getState(); in getAdapterState() 646 return sService.enable(); in enable() [all …]
|
D | NfcActivityManager.java | 240 NfcAdapter.sService.setReaderMode(token, this, flags, extras); in setReaderMode() 318 NfcAdapter.sService.setAppCallback(this); in requestNfcServiceCallback()
|
/frameworks/av/media/libmedia/ |
D | mediametadataretriever.cpp | 32 sp<IMediaPlayerService> MediaMetadataRetriever::sService; member in android::MediaMetadataRetriever 38 if (sService == 0) { in getService() 53 sService = interface_cast<IMediaPlayerService>(binder); in getService() 55 ALOGE_IF(sService == 0, "no MediaPlayerService!?"); in getService() 56 return sService; in getService() 162 MediaMetadataRetriever::sService.clear(); in binderDied() 169 if (sService != 0) { in ~DeathNotifier() 170 sService->asBinder()->unlinkToDeath(this); in ~DeathNotifier()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | WindowManagerGlobal_Delegate.java | 31 private static IWindowManager sService; field in WindowManagerGlobal_Delegate 35 return sService; in getWindowManagerService() 41 sService = service; in setWindowManagerService()
|
/frameworks/base/core/java/android/content/ |
D | ClipboardManager.java | 55 private static IClipboard sService; field in ClipboardManager 100 if (sService != null) { in getService() 101 return sService; in getService() 104 sService = IClipboard.Stub.asInterface(b); in getService() 105 return sService; in getService()
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraDeviceFactory.cpp | 29 wp<CameraService> CameraDeviceFactory::sService; member in android::CameraDeviceFactory 33 sp<CameraService> svc = sService.promote(); in createDevice() 68 sService = service; in registerService()
|
D | CameraDeviceFactory.h | 40 static wp<CameraService> sService; variable
|
/frameworks/base/core/java/android/app/ |
D | NotificationManager.java | 74 private static INotificationManager sService; field in NotificationManager 79 if (sService != null) { in getService() 80 return sService; in getService() 83 sService = INotificationManager.Stub.asInterface(b); in getService() 84 return sService; in getService()
|
/frameworks/base/core/java/android/widget/ |
D | Toast.java | 299 private static INotificationManager sService; field in Toast 302 if (sService != null) { in getService() 303 return sService; in getService() 305 sService = INotificationManager.Stub.asInterface(ServiceManager.getService("notification")); in getService() 306 return sService; in getService()
|
/frameworks/base/services/java/com/android/server/am/ |
D | BatteryStatsService.java | 50 static IBatteryStats sService; field in BatteryStatsService 78 if (sService != null) { in getService() 79 return sService; in getService() 82 sService = asInterface(b); in getService() 83 return sService; in getService()
|
D | UsageStatsService.java | 97 static IUsageStats sService; field in UsageStatsService 704 if (sService != null) { in getService() 705 return sService; in getService() 708 sService = asInterface(b); in getService() 709 return sService; in getService()
|
/frameworks/av/include/media/ |
D | mediametadataretriever.h | 92 static sp<IMediaPlayerService> sService; variable
|
/frameworks/base/media/java/android/media/ |
D | RemoteControlClient.java | 1480 private static IAudioService sService; field in RemoteControlClient 1484 if (sService != null) { in getService() 1485 return sService; in getService() 1488 sService = IAudioService.Stub.asInterface(b); in getService() 1489 return sService; in getService()
|
D | AudioManager.java | 424 private static IAudioService sService; field in AudioManager 439 if (sService != null) { in getService() 440 return sService; in getService() 443 sService = IAudioService.Stub.asInterface(b); in getService() 444 return sService; in getService()
|