Home
last modified time | relevance | path

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

/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()
169 if (sService != null) { in beginRestoreSession()
[all …]
/frameworks/base/core/java/android/bluetooth/
DBluetoothDevice.java463 private static IBluetooth sService; field in BluetoothDevice
469 if (sService == null) { in getService()
474 sService = IBluetooth.Stub.asInterface(b); in getService()
477 return sService; in getService()
563 return sService.getRemoteName(mAddress); in getName()
577 return sService.getRemoteAlias(mAddress); in getAlias()
594 return sService.setRemoteAlias(mAddress, alias); in setAlias()
630 return sService.createBond(mAddress); in createBond()
656 return sService.createBondOutOfBand(mAddress, hash, randomizer); in createBondOutOfBand()
676 return sService.setDeviceOutOfBandData(mAddress, hash, randomizer); in setDeviceOutOfBandData()
[all …]
/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()
160 final SpellCheckerSession session = new SpellCheckerSession(sci, sService, listener); in newSpellCheckerSession()
162 sService.getSpellCheckerService(sci.getId(), subtypeInUse.getLocale(), in newSpellCheckerSession()
176 final SpellCheckerInfo[] retval = sService.getEnabledSpellCheckers(); in getEnabledSpellCheckers()
193 return sService.getCurrentSpellChecker(null); in getCurrentSpellChecker()
207 sService.setCurrentSpellChecker(null, sci.getId()); in setCurrentSpellChecker()
220 return sService.getCurrentSpellCheckerSubtype(null, allowImplicitlySelectedSubtype); in getCurrentSpellCheckerSubtype()
[all …]
/frameworks/base/core/java/android/appwidget/
DAppWidgetManager.java189 static IAppWidgetService sService; field in AppWidgetManager
201 if (sService == null) { in getInstance()
203 sService = IAppWidgetService.Stub.asInterface(b); in getInstance()
241 sService.updateAppWidgetIds(appWidgetIds, views); in updateAppWidget()
290 sService.partiallyUpdateAppWidgetIds(appWidgetIds, views); in partiallyUpdateAppWidget()
335 sService.updateAppWidgetProvider(provider, views); in updateAppWidget()
351 sService.notifyAppWidgetViewDataChanged(appWidgetIds, viewId); in notifyAppWidgetViewDataChanged()
374 List<AppWidgetProviderInfo> providers = sService.getInstalledProviders(); in getInstalledProviders()
401 AppWidgetProviderInfo info = sService.getAppWidgetInfo(appWidgetId); in getAppWidgetInfo()
432 sService.bindAppWidgetId(appWidgetId, provider); in bindAppWidgetId()
[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/nfc/
DNfcAdapter.java196 static INfcAdapter sService; field in NfcAdapter
295 sService = getServiceInterface(); in getSingleton()
296 if (sService == null) { in getSingleton()
301 sTagService = sService.getNfcTagInterface(); in getSingleton()
373 return sService; in getService()
400 sService = service; in attemptDeadServiceRecovery()
424 return sService.getState() == STATE_ON; in isEnabled()
446 return sService.getState(); in getAdapterState()
471 return sService.enable(); in enable()
498 return sService.disable(); in disable()
[all …]
DNfcActivityManager.java178 NfcAdapter.sService.setForegroundNdefPush(state.resumed ? state.ndefMessage : null, in updateNfcService()
/frameworks/base/nfc-extras/java/com/android/nfc_extras/
DNfcAdapterExtras.java62 private static INfcAdapterExtras sService; field in NfcAdapterExtras
73 sService = service; in initService()
98 if (sService == null) { in get()
161 return sService; in getService()
174 int route = sService.getCardEmulationRoute(); in getCardEmulationRoute()
196 sService.setCardEmulationRoute(route.route); in setCardEmulationRoute()
226 sService.authenticate(token); in authenticate()
/frameworks/base/media/libmedia/
Dmediametadataretriever.cpp32 sp<IMediaPlayerService> MediaMetadataRetriever::sService; member in android::MediaMetadataRetriever
38 if (sService.get() == 0) { in getService()
53 sService = interface_cast<IMediaPlayerService>(binder); in getService()
55 LOGE_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/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.java47 private static IClipboard sService; field in ClipboardManager
79 if (sService != null) { in getService()
80 return sService; in getService()
83 sService = IClipboard.Stub.asInterface(b); in getService()
84 return sService; in getService()
/frameworks/base/core/java/android/widget/
DToast.java291 private static INotificationManager sService; field in Toast
294 if (sService != null) { in getService()
295 return sService; in getService()
297 sService = INotificationManager.Stub.asInterface(ServiceManager.getService("notification")); in getService()
298 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/include/media/
Dmediametadataretriever.h90 static sp<IMediaPlayerService> sService; variable
/frameworks/base/media/java/android/media/
DAudioManager.java355 private static IAudioService sService; field in AudioManager
367 if (sService != null) { in getService()
368 return sService; in getService()
371 sService = IAudioService.Stub.asInterface(b); in getService()
372 return sService; in getService()