Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/backup/
DBackupManager.java63 private static IBackupManager sService; field in BackupManager
66 if (sService == null) { in checkServiceBinder()
67 sService = IBackupManager.Stub.asInterface( in checkServiceBinder()
92 if (sService != null) { in dataChanged()
94 sService.dataChanged(mContext.getPackageName()); in dataChanged()
114 if (sService != null) { in dataChanged()
116 sService.dataChanged(packageName); in dataChanged()
144 if (sService != null) { in requestRestore()
147 IRestoreSession binder = sService.beginRestoreSession(mContext.getPackageName(), in requestRestore()
175 if (sService != null) { in beginRestoreSession()
[all …]
/frameworks/base/core/java/android/bluetooth/
DBluetoothDevice.java568 private static IBluetooth sService; field in BluetoothDevice
574 if (sService == null) { in getService()
576 sService = adapter.getBluetoothService(mStateChangeCallback); in getService()
579 return sService; in getService()
587 sService = bluetoothService;
594 sService = null;
681 if (sService == null) { in getName()
686 return sService.getRemoteName(this); in getName()
701 if (sService == null) { in getType()
706 return sService.getRemoteType(this); in getType()
[all …]
/frameworks/base/core/java/android/nfc/cardemulation/
DCardEmulation.java130 static INfcCardEmulation sService; field in CardEmulation
136 sService = service; in CardEmulation()
204 return sService.isDefaultServiceForCategory(UserHandle.myUserId(), service, category); in isDefaultServiceForCategory()
208 if (sService == null) { in isDefaultServiceForCategory()
213 return sService.isDefaultServiceForCategory(UserHandle.myUserId(), service, in isDefaultServiceForCategory()
235 return sService.isDefaultServiceForAid(UserHandle.myUserId(), service, aid); in isDefaultServiceForAid()
239 if (sService == null) { in isDefaultServiceForAid()
244 return sService.isDefaultServiceForAid(UserHandle.myUserId(), service, aid); in isDefaultServiceForAid()
329 return sService.registerAidGroupForService(UserHandle.myUserId(), service, aidGroup); in registerAidsForService()
333 if (sService == null) { in registerAidsForService()
[all …]
/frameworks/base/core/java/android/service/persistentdata/
DPersistentDataBlockManager.java44 private IPersistentDataBlockService sService; field in PersistentDataBlockManager
47 sService = service; in PersistentDataBlockManager()
61 return sService.write(data); in write()
73 return sService.read(); in read()
87 return sService.getDataBlockSize(); in getDataBlockSize()
101 return sService.getMaximumDataBlockSize(); in getMaximumDataBlockSize()
114 sService.wipe(); in wipe()
125 sService.setOemUnlockEnabled(enabled); in setOemUnlockEnabled()
136 return sService.getOemUnlockEnabled(); in getOemUnlockEnabled()
/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()
134 sci = sService.getCurrentSpellChecker(null); in newSpellCheckerSession()
173 sci, sService, listener, subtypeInUse); in newSpellCheckerSession()
175 sService.getSpellCheckerService(sci.getId(), subtypeInUse.getLocale(), in newSpellCheckerSession()
189 final SpellCheckerInfo[] retval = sService.getEnabledSpellCheckers(); in getEnabledSpellCheckers()
206 return sService.getCurrentSpellChecker(null); in getCurrentSpellChecker()
220 sService.setCurrentSpellChecker(null, sci.getId()); in setCurrentSpellChecker()
232 if (sService == null) { 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.java294 static INfcAdapter sService; field in NfcAdapter
436 sService = getServiceInterface(); in getNfcAdapter()
437 if (sService == null) { in getNfcAdapter()
442 sTagService = sService.getNfcTagInterface(); in getNfcAdapter()
449 sCardEmulationService = sService.getNfcCardEmulationInterface(); in getNfcAdapter()
552 return sService; in getService()
588 sService = service; in attemptDeadServiceRecovery()
621 return sService.getState() == STATE_ON; in isEnabled()
643 return sService.getState(); in getAdapterState()
669 return sService.enable(); in enable()
[all …]
DNfcActivityManager.java241 NfcAdapter.sService.setReaderMode(token, this, flags, extras); in setReaderMode()
319 NfcAdapter.sService.setAppCallback(this); in requestNfcServiceCallback()
/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()
248 return sService.getDriverName(mPackageName); in getDriverName()
/frameworks/av/media/libmedia/
Dmediametadataretriever.cpp35 sp<IMediaPlayerService> MediaMetadataRetriever::sService; member in android::MediaMetadataRetriever
41 if (sService == 0) { in getService()
56 sService = interface_cast<IMediaPlayerService>(binder); in getService()
58 ALOGE_IF(sService == 0, "no MediaPlayerService!?"); in getService()
59 return sService; in getService()
167 MediaMetadataRetriever::sService.clear(); in binderDied()
174 if (sService != 0) { in ~DeathNotifier()
175 sService->asBinder()->unlinkToDeath(this); in ~DeathNotifier()
/frameworks/base/core/java/android/appwidget/
DAppWidgetHost.java57 static IAppWidgetService sService; field in AppWidgetHost
142 if (sService == null) { in bindService()
144 sService = IAppWidgetService.Stub.asInterface(b); in bindService()
157 updatedIds = sService.startListening(mCallbacks, mContext.getOpPackageName(), mHostId, in startListening()
176 sService.stopListening(mContext.getOpPackageName(), mHostId); in stopListening()
194 return sService.allocateAppWidgetId(mContext.getOpPackageName(), mHostId); in allocateAppWidgetId()
223 IntentSender intentSender = sService.createAppWidgetConfigIntentSender( in startAppWidgetConfigureActivityForResult()
245 if (sService == null) { in getAppWidgetIds()
248 return sService.getAppWidgetIdsForHost(mContext.getOpPackageName(), mHostId); in getAppWidgetIds()
265 sService.deleteAppWidgetId(mContext.getOpPackageName(), appWidgetId); in deleteAppWidgetId()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DWindowManagerGlobal_Delegate.java31 private static IWindowManager sService; field in WindowManagerGlobal_Delegate
35 return sService; in getWindowManagerService()
41 sService = service; in setWindowManagerService()
/frameworks/base/core/java/android/content/
DClipboardManager.java53 private static IClipboard sService; field in ClipboardManager
98 if (sService != null) { in getService()
99 return sService; in getService()
102 sService = IClipboard.Stub.asInterface(b); in getService()
103 return sService; in getService()
/frameworks/av/services/camera/libcameraservice/
DCameraDeviceFactory.cpp29 wp<CameraService> CameraDeviceFactory::sService; member in android::CameraDeviceFactory
33 sp<CameraService> svc = sService.promote(); in createDevice()
70 sService = service; in registerService()
DCameraDeviceFactory.h40 static wp<CameraService> sService; variable
/frameworks/base/core/java/android/app/
DNotificationManager.java88 private static INotificationManager sService; field in NotificationManager
93 if (sService != null) { in getService()
94 return sService; in getService()
97 sService = INotificationManager.Stub.asInterface(b); in getService()
98 return sService; in getService()
/frameworks/base/core/java/android/widget/
DToast.java308 private static INotificationManager sService; field in Toast
311 if (sService != null) { in getService()
312 return sService; in getService()
314 sService = INotificationManager.Stub.asInterface(ServiceManager.getService("notification")); in getService()
315 return sService; in getService()
/frameworks/av/include/media/
Dmediametadataretriever.h94 static sp<IMediaPlayerService> sService; variable
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java62 static IBatteryStats sService; field in BatteryStatsService
102 if (sService != null) { in getService()
103 return sService; in getService()
106 sService = asInterface(b); in getService()
107 return sService; in getService()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DBackgroundManager.java263 private static BackgroundContinuityService sService = new BackgroundContinuityService(); field in BackgroundManager.BackgroundContinuityService
283 final int count = sService.mCount++; in getInstance()
285 return sService; in getInstance()
/frameworks/base/media/java/android/media/
DAudioManager.java577 private static IAudioService sService; field in AudioManager
595 if (sService != null) { in getService()
596 return sService; in getService()
599 sService = IAudioService.Stub.asInterface(b); in getService()
600 return sService; in getService()