/frameworks/layoutlib/bridge/src/android/view/ |
WindowManagerGlobal_Delegate.java | 31 private static IWindowManager sService; 35 return sService; 41 sService = service;
|
/frameworks/base/core/java/android/os/ |
UpdateLock.java | 33 private static IUpdateLock sService; 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/service/persistentdata/ |
PersistentDataBlockManager.java | 53 private IPersistentDataBlockService sService; 78 sService = service; 96 return sService.write(data); 108 return sService.read(); 122 return sService.getDataBlockSize(); 136 return sService.getMaximumDataBlockSize(); 151 sService.wipe(); 165 sService.setOemUnlockEnabled(enabled); 182 return sService.getOemUnlockEnabled(); 202 return sService.getFlashLockState() [all...] |
/frameworks/base/core/java/android/nfc/cardemulation/ |
NfcFCardEmulation.java | 51 static INfcFCardEmulation sService; 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 == null) [all...] |
CardEmulation.java | 130 static INfcCardEmulation sService; 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 == null) [all...] |
/frameworks/base/core/java/android/nfc/dta/ |
NfcDta.java | 34 private static INfcDta sService; 41 sService = service; 78 sService.enableDta(); 92 sService.disableDta(); 107 return sService.enableServer(serviceName, serviceSap, miu, rwSize, testCaseId); 120 sService.disableServer(); 135 return sService.enableClient(serviceName, miu, rwSize, testCaseId); 148 sService.disableClient(); 162 return sService.registerMessageService(msgServiceName);
|
/frameworks/base/core/java/android/app/backup/ |
BackupManager.java | 191 private static IBackupManager sService; 194 if (sService == null) { 195 sService = IBackupManager.Stub.asInterface( 220 if (sService != null) { 222 sService.dataChanged(mContext.getPackageName()); 242 if (sService != null) { 244 sService.dataChanged(packageName); 302 if (sService != null) { 305 IRestoreSession binder = sService.beginRestoreSession(mContext.getPackageName(), 332 if (sService != null) [all...] |
/frameworks/base/nfc-extras/java/com/android/nfc_extras/ |
NfcAdapterExtras.java | 62 private static INfcAdapterExtras sService; 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/base/core/java/android/appwidget/ |
AppWidgetHost.java | 58 static IAppWidgetService sService; 179 sService = IAppWidgetService.Stub.asInterface(b); 188 if (sService == null) { 201 updates = sService.startListening( 229 if (sService == null) { 233 sService.stopListening(mContextOpPackageName, mHostId); 246 if (sService == null) { 250 return sService.allocateAppWidgetId(mContextOpPackageName, mHostId); 278 if (sService == null) { 282 IntentSender intentSender = sService.createAppWidgetConfigIntentSender [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothDevice.java | 683 * TODO: Unify implementation of sService amongst BluetoothFoo API's 685 private static volatile IBluetooth sService; 691 if (sService == null) { 693 sService = adapter.getBluetoothService(mStateChangeCallback); 696 return sService; 704 if (sService == null) { 705 sService = bluetoothService; 713 sService = null; 732 getService(); // ensures sService is initialized 805 final IBluetooth service = sService; [all...] |
/frameworks/av/media/libmedia/ |
mediametadataretriever.cpp | 35 sp<IMediaPlayerService> MediaMetadataRetriever::sService; 41 if (sService == 0) { 56 sService = interface_cast<IMediaPlayerService>(binder); 58 ALOGE_IF(sService == 0, "no MediaPlayerService!?"); 59 return sService; 181 MediaMetadataRetriever::sService.clear(); 188 if (sService != 0) { 189 IInterface::asBinder(sService)->unlinkToDeath(this);
|
/frameworks/base/core/java/android/nfc/ |
NfcAdapter.java | 298 static INfcAdapter sService; 472 sService = getServiceInterface(); 473 if (sService == null) { 479 sTagService = sService.getNfcTagInterface(); 487 sNfcFCardEmulationService = sService.getNfcFCardEmulationInterface(); 493 sCardEmulationService = sService.getNfcCardEmulationInterface(); 597 isEnabled(); // NOP call to recover sService if it is stale 598 return sService; 638 return sService.getNfcDtaInterface(mContext.getPackageName()); 654 // nothing more can be done now, sService is still stale, we'll hi [all...] |
NfcActivityManager.java | 241 NfcAdapter.sService.setReaderMode(token, this, flags, extras); 339 NfcAdapter.sService.setAppCallback(this); 347 NfcAdapter.sService.verifyNfcPermission();
|
/packages/apps/Music/src/com/android/music/ |
MusicUtils.java | 154 public static IMediaPlaybackService sService = null; 200 sService = null; 211 sService = IMediaPlaybackService.Stub.asInterface(service); 222 sService = null; 227 if (sService != null) { 229 return sService.getAlbumId(); 237 if (MusicUtils.sService != null) { 239 return sService.getArtistId(); 247 if (MusicUtils.sService != null) { 249 return sService.getAudioId() [all...] |
TrackBrowserActivity.java | 377 int cur = MusicUtils.sService.getQueuePosition(); 528 if (MusicUtils.sService != null && which != MusicUtils.sService.getQueuePosition()) { 576 if (MusicUtils.sService == null) { 581 Cursor c = new NowPlayingCursor(MusicUtils.sService, mCursorCols); 778 if (curpos != MusicUtils.sService.getQueuePosition()) { [all...] |
MediaPickerActivity.java | 114 if (MusicUtils.sService != null) { 116 MusicUtils.sService.stop();
|
/frameworks/av/media/libmedia/include/media/ |
mediametadataretriever.h | 99 static sp<IMediaPlayerService> sService;
|
/frameworks/base/core/java/android/widget/ |
Toast.java | 335 private static INotificationManager sService; 338 if (sService != null) { 339 return sService; 341 sService = INotificationManager.Stub.asInterface(ServiceManager.getService("notification")); 342 return sService;
|
/frameworks/base/media/java/android/media/ |
PlayerBase.java | 51 private static IAudioService sService; //lazy initialization, use getService() 337 if (sService != null) { 338 return sService; 341 sService = IAudioService.Stub.asInterface(b); 342 return sService;
|
/frameworks/base/media/java/android/media/audiopolicy/ |
AudioPolicy.java | 599 private static IAudioService sService; 603 if (sService != null) { 604 return sService; 607 sService = IAudioService.Stub.asInterface(b); 608 return sService;
|
/frameworks/base/core/java/android/app/ |
NotificationManager.java | 238 private static INotificationManager sService; 243 if (sService != null) { 244 return sService; 247 sService = INotificationManager.Stub.asInterface(b); 248 return sService; [all...] |
/frameworks/native/libs/binder/tests/ |
binderSafeInterfaceTest.cpp | 591 static sp<ISafeInterfaceTest> sService; 596 if (sService == nullptr) { 615 sService = interface_cast<ISafeInterfaceTest>(binder); 616 EXPECT_TRUE(sService != nullptr); 618 sService->setDeathToken(sDeathToken); 621 return sService; [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/ |
InCallServiceImpl.java | 40 private static InCallServiceImpl sService = null; 43 return sService; 591 if (sService == null) { 592 sService = this; 594 else if (sService != this) { 612 sService = null; [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
BatteryStatsService.java | 81 private static IBatteryStats sService; 224 if (sService != null) { 225 return sService; 228 sService = asInterface(b); 229 return sService; [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
BackgroundManager.java | 455 private static BackgroundContinuityService sService = new BackgroundContinuityService(); 475 final int count = sService.mCount++; 477 return sService; [all...] |