Home
last modified time | relevance | path

Searched refs:sService (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/java/android/bluetooth/
DBluetoothDevice.java479 private static IBluetooth sService; field in BluetoothDevice
485 if (sService == null) { in getService()
490 sService = IBluetooth.Stub.asInterface(b); in getService()
493 return sService; in getService()
579 return sService.getRemoteName(mAddress); in getName()
593 return sService.getRemoteAlias(mAddress); in getAlias()
610 return sService.setRemoteAlias(mAddress, alias); in setAlias()
646 return sService.createBond(mAddress); in createBond()
672 return sService.createBondOutOfBand(mAddress, hash, randomizer); in createBondOutOfBand()
692 return sService.setDeviceOutOfBandData(mAddress, hash, randomizer); in setDeviceOutOfBandData()
[all …]
/frameworks/base/core/java/android/app/backup/
DBackupManager.java62 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/appwidget/
DAppWidgetManager.java277 static IAppWidgetService sService; field in AppWidgetManager
289 if (sService == null) { in getInstance()
291 sService = IAppWidgetService.Stub.asInterface(b); in getInstance()
333 sService.updateAppWidgetIds(appWidgetIds, views); in updateAppWidget()
353 sService.updateAppWidgetOptions(appWidgetId, options); in updateAppWidgetOptions()
373 return sService.getAppWidgetOptions(appWidgetId); in getAppWidgetOptions()
426 sService.partiallyUpdateAppWidgetIds(appWidgetIds, views); in partiallyUpdateAppWidget()
471 sService.updateAppWidgetProvider(provider, views); in updateAppWidget()
487 sService.notifyAppWidgetViewDataChanged(appWidgetIds, viewId); in notifyAppWidgetViewDataChanged()
510 List<AppWidgetProviderInfo> providers = sService.getInstalledProviders(); in getInstalledProviders()
[all …]
DAppWidgetHost.java47 static IAppWidgetService sService; field in AppWidgetHost
111 if (sService == null) { in AppWidgetHost()
113 sService = IAppWidgetService.Stub.asInterface(b); in AppWidgetHost()
130 updatedIds = sService.startListening(mCallbacks, mPackageName, mHostId, updatedViews); in startListening()
148 sService.stopListening(mHostId); in stopListening()
165 return sService.allocateAppWidgetId(mPackageName, mHostId); in allocateAppWidgetId()
179 sService.deleteAppWidgetId(appWidgetId); in deleteAppWidgetId()
197 sService.deleteHost(mHostId); in deleteHost()
214 sService.deleteAllHosts(); in deleteAllHosts()
234 views = sService.getAppWidgetViews(appWidgetId); in createView()
/frameworks/base/core/java/android/view/textservice/
DTextServicesManager.java69 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()
221 return sService.getCurrentSpellCheckerSubtype(null, allowImplicitlySelectedSubtype); in getCurrentSpellCheckerSubtype()
[all …]
/frameworks/base/core/java/android/os/
DUpdateLock.java33 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/core/java/android/nfc/
DNfcAdapter.java231 static INfcAdapter sService; field in NfcAdapter
342 sService = getServiceInterface(); in getNfcAdapter()
343 if (sService == null) { in getNfcAdapter()
348 sTagService = sService.getNfcTagInterface(); in getNfcAdapter()
449 return sService; in getService()
476 sService = service; in attemptDeadServiceRecovery()
502 return sService.getState() == STATE_ON; in isEnabled()
524 return sService.getState(); in getAdapterState()
549 return sService.enable(); in enable()
577 return sService.disable(true); in disable()
[all …]
DNfcActivityManager.java263 NfcAdapter.sService.setNdefPushCallback(request ? this : null); in requestNfcServiceCallback()
/frameworks/av/media/libmedia/
Dmediametadataretriever.cpp32 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/nfc-extras/java/com/android/nfc_extras/
DNfcAdapterExtras.java62 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()
/frameworks/base/core/java/android/app/
DNotificationManager.java73 private static INotificationManager sService; field in NotificationManager
78 if (sService != null) { in getService()
79 return sService; in getService()
82 sService = INotificationManager.Stub.asInterface(b); in getService()
83 return sService; in getService()
/frameworks/base/core/java/android/content/
DClipboardManager.java54 private static IClipboard sService; field in ClipboardManager
99 if (sService != null) { in getService()
100 return sService; in getService()
103 sService = IClipboard.Stub.asInterface(b); in getService()
104 return sService; in getService()
/frameworks/base/core/java/android/widget/
DToast.java296 private static INotificationManager sService; field in Toast
299 if (sService != null) { in getService()
300 return sService; in getService()
302 sService = INotificationManager.Stub.asInterface(ServiceManager.getService("notification")); in getService()
303 return sService; in getService()
/frameworks/base/services/java/com/android/server/am/
DBatteryStatsService.java48 static IBatteryStats sService; field in BatteryStatsService
76 if (sService != null) { in getService()
77 return sService; in getService()
80 sService = asInterface(b); in getService()
81 return sService; in getService()
DUsageStatsService.java93 static IUsageStats sService; field in UsageStatsService
672 if (sService != null) { in getService()
673 return sService; in getService()
676 sService = asInterface(b); in getService()
677 return sService; in getService()
/frameworks/base/media/java/android/media/
DRemoteControlClient.java1042 private static IAudioService sService; field in RemoteControlClient
1046 if (sService != null) { in getService()
1047 return sService; in getService()
1050 sService = IAudioService.Stub.asInterface(b); in getService()
1051 return sService; in getService()
DAudioManager.java406 private static IAudioService sService; field in AudioManager
419 if (sService != null) { in getService()
420 return sService; in getService()
423 sService = IAudioService.Stub.asInterface(b); in getService()
424 return sService; in getService()
/frameworks/av/include/media/
Dmediametadataretriever.h91 static sp<IMediaPlayerService> sService; variable