/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/service/persistentdata/ |
H A D | PersistentDataBlockManager.java | 48 private IPersistentDataBlockService sService; field in class:PersistentDataBlockManager 72 sService = service; 86 return sService.write(data); 97 return sService.read(); 110 return sService.getDataBlockSize(); 123 return sService.getMaximumDataBlockSize(); 135 sService.wipe(); 146 sService.setOemUnlockEnabled(enabled); 157 return sService.getOemUnlockEnabled(); 174 return sService [all...] |
/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/app/backup/ |
H A D | BackupManager.java | 132 private static IBackupManager sService; field in class:BackupManager 135 if (sService == null) { 136 sService = IBackupManager.Stub.asInterface( 161 if (sService != null) { 163 sService.dataChanged(mContext.getPackageName()); 183 if (sService != null) { 185 sService.dataChanged(packageName); 213 if (sService != null) { 216 IRestoreSession binder = sService.beginRestoreSession(mContext.getPackageName(), 244 if (sService ! [all...] |
/frameworks/base/core/java/android/nfc/cardemulation/ |
H A D | NfcFCardEmulation.java | 51 static INfcFCardEmulation sService; field in class:NfcFCardEmulation 57 sService = service; 121 return sService.getSystemCodeForService(UserHandle.myUserId(), service); 125 if (sService == null) { 130 return sService.getSystemCodeForService(UserHandle.myUserId(), service); 167 return sService.registerSystemCodeForService(UserHandle.myUserId(), 172 if (sService == null) { 177 return sService.registerSystemCodeForService(UserHandle.myUserId(), 198 return sService.removeSystemCodeForService(UserHandle.myUserId(), service); 202 if (sService [all...] |
H A D | CardEmulation.java | 130 static INfcCardEmulation sService; field in class:CardEmulation 136 sService = service; 204 return sService.isDefaultServiceForCategory(UserHandle.myUserId(), service, category); 208 if (sService == null) { 213 return sService.isDefaultServiceForCategory(UserHandle.myUserId(), service, 235 return sService.isDefaultServiceForAid(UserHandle.myUserId(), service, aid); 239 if (sService == null) { 244 return sService.isDefaultServiceForAid(UserHandle.myUserId(), service, aid); 329 return sService.registerAidGroupForService(UserHandle.myUserId(), service, aidGroup); 333 if (sService [all...] |
/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); 134 sci = sService.getCurrentSpellChecker(null); 173 sci, sService, listener, subtypeInUse); 175 sService.getSpellCheckerService(sci.getId(), subtypeInUse.getLocale(), 189 final SpellCheckerInfo[] retval = sService.getEnabledSpellCheckers(); 206 return sService.getCurrentSpellChecker(null); 220 sService.setCurrentSpellChecker(null, sci.getId()); 232 if (sService [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothDevice.java | 599 * TODO: Unify implementation of sService amongst BluetoothFoo API's 601 private static IBluetooth sService; field in class:BluetoothDevice 607 if (sService == null) { 609 sService = adapter.getBluetoothService(mStateChangeCallback); 612 return sService; 620 if (sService == null) { 621 sService = bluetoothService; 629 sService = null; 648 getService(); // ensures sService is initialized 722 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/av/media/libmedia/ |
H A D | mediametadataretriever.cpp | 35 sp<IMediaPlayerService> MediaMetadataRetriever::sService; member in class:android::MediaMetadataRetriever 41 if (sService == 0) { 56 sService = interface_cast<IMediaPlayerService>(binder); 58 ALOGE_IF(sService == 0, "no MediaPlayerService!?"); 59 return sService; 179 MediaMetadataRetriever::sService.clear(); 186 if (sService != 0) { 187 IInterface::asBinder(sService)->unlinkToDeath(this);
|
/frameworks/base/core/java/android/nfc/ |
H A D | NfcAdapter.java | 297 static INfcAdapter sService; field in class:NfcAdapter 450 sService = getServiceInterface(); 451 if (sService == null) { 456 sTagService = sService.getNfcTagInterface(); 463 sCardEmulationService = sService.getNfcCardEmulationInterface(); 470 sNfcFCardEmulationService = sService.getNfcFCardEmulationInterface(); 573 isEnabled(); // NOP call to recover sService if it is stale 574 return sService; 613 // nothing more can be done now, sService is still stale, we'll hit 617 // assigning to sService i [all...] |
H A D | NfcActivityManager.java | 241 NfcAdapter.sService.setReaderMode(token, this, flags, extras); 339 NfcAdapter.sService.setAppCallback(this); 347 NfcAdapter.sService.verifyNfcPermission();
|
/frameworks/base/core/java/android/content/ |
H A D | ClipboardManager.java | 53 private static IClipboard sService; field in class:ClipboardManager 98 if (sService != null) { 99 return sService; 102 sService = IClipboard.Stub.asInterface(b); 103 return sService;
|
/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetHost.java | 59 static IAppWidgetService sService; field in class:AppWidgetHost 170 if (sService == null) { 172 sService = IAppWidgetService.Stub.asInterface(b); 193 updatedViews = sService.startListening( 212 sService.stopListening(mContextOpPackageName, mHostId); 226 return sService.allocateAppWidgetId(mContextOpPackageName, mHostId); 255 IntentSender intentSender = sService.createAppWidgetConfigIntentSender( 277 if (sService == null) { 280 return sService.getAppWidgetIdsForHost(mContextOpPackageName, mHostId); 293 sService [all...] |
/frameworks/av/include/media/ |
H A D | mediametadataretriever.h | 97 static sp<IMediaPlayerService> sService; member in class:android::MediaMetadataRetriever
|
/frameworks/base/core/java/android/widget/ |
H A D | Toast.java | 318 private static INotificationManager sService; field in class:Toast 321 if (sService != null) { 322 return sService; 324 sService = INotificationManager.Stub.asInterface(ServiceManager.getService("notification")); 325 return sService;
|
/frameworks/base/media/java/android/media/ |
H A D | SoundPool.java | 136 private static IAudioService sService; field in class:SoundPool 499 if (sService != null) { 500 return sService; 503 sService = IAudioService.Stub.asInterface(b); 504 return sService;
|
H A D | AudioManager.java | 625 private static IAudioService sService; field in class:AudioManager 659 if (sService != null) { 660 return sService; 663 sService = IAudioService.Stub.asInterface(b); 664 return sService;
|
/frameworks/base/media/java/android/media/audiopolicy/ |
H A D | AudioPolicy.java | 516 private static IAudioService sService; field in class:AudioPolicy 520 if (sService != null) { 521 return sService; 524 sService = IAudioService.Stub.asInterface(b); 525 return sService;
|
/frameworks/base/core/java/android/app/ |
H A D | NotificationManager.java | 233 private static INotificationManager sService; field in class:NotificationManager 238 if (sService != null) { 239 return sService; 242 sService = INotificationManager.Stub.asInterface(b); 243 return sService;
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | BatteryStatsService.java | 94 private static IBatteryStats sService; field in class:BatteryStatsService 252 if (sService != null) { 253 return sService; 256 sService = asInterface(b); 257 return sService;
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | BackgroundManager.java | 508 private static BackgroundContinuityService sService = new BackgroundContinuityService(); field in class:BackgroundManager.BackgroundContinuityService 528 final int count = sService.mCount++; 530 return sService;
|