HomeSort by relevance Sort by last modified time
    Searched refs:sService (Results 1 - 25 of 31) sorted by null

1 2

  /frameworks/base/tools/layoutlib/bridge/src/android/view/
WindowManagerGlobal_Delegate.java 31 private static IWindowManager sService;
35 return sService;
41 sService = service;
  /frameworks/base/core/java/android/service/persistentdata/
PersistentDataBlockManager.java 48 private IPersistentDataBlockService sService;
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.getFlashLockState()
    [all...]
  /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/app/backup/
BackupManager.java 132 private static IBackupManager sService;
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 != null)
    [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/view/textservice/
TextServicesManager.java 69 private static ITextServicesManager sService;
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 == null)
    [all...]
  /frameworks/base/core/java/android/bluetooth/
BluetoothDevice.java 599 * TODO: Unify implementation of sService amongst BluetoothFoo API's
601 private static IBluetooth sService;
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 == 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/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;
179 MediaMetadataRetriever::sService.clear();
186 if (sService != 0) {
187 IInterface::asBinder(sService)->unlinkToDeath(this);
  /frameworks/base/core/java/android/nfc/
NfcAdapter.java 297 static INfcAdapter sService;
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 is not thread-safe, but this is best-effort cod
    [all...]
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/
ClipboardManager.java 53 private static IClipboard sService;
98 if (sService != null) {
99 return sService;
102 sService = IClipboard.Stub.asInterface(b);
103 return sService;
  /frameworks/base/core/java/android/appwidget/
AppWidgetHost.java 59 static IAppWidgetService sService;
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.deleteAppWidgetId(mContextOpPackageName, appWidgetId)
    [all...]
  /packages/apps/Music/src/com/android/music/
MusicUtils.java 153 public static IMediaPlaybackService sService = null;
198 sService = null;
209 sService = IMediaPlaybackService.Stub.asInterface(service);
220 sService = null;
225 if (sService != null) {
227 return sService.getAlbumId();
235 if (MusicUtils.sService != null) {
237 return sService.getArtistId();
245 if (MusicUtils.sService != null) {
247 return sService.getAudioId()
    [all...]
TrackBrowserActivity.java 398 int cur = MusicUtils.sService.getQueuePosition();
553 if (MusicUtils.sService != null
554 && which != MusicUtils.sService.getQueuePosition()) {
604 if (MusicUtils.sService == null) {
609 Cursor c = new NowPlayingCursor(MusicUtils.sService, mCursorCols);
808 if (curpos != MusicUtils.sService.getQueuePosition()) {
    [all...]
MediaPickerActivity.java 124 if (MusicUtils.sService != null) {
126 MusicUtils.sService.stop();
  /frameworks/av/include/media/
mediametadataretriever.h 97 static sp<IMediaPlayerService> sService;
  /frameworks/base/core/java/android/widget/
Toast.java 318 private static INotificationManager sService;
321 if (sService != null) {
322 return sService;
324 sService = INotificationManager.Stub.asInterface(ServiceManager.getService("notification"));
325 return sService;
  /frameworks/base/media/java/android/media/
SoundPool.java 136 private static IAudioService sService;
499 if (sService != null) {
500 return sService;
503 sService = IAudioService.Stub.asInterface(b);
504 return sService;
  /frameworks/base/media/java/android/media/audiopolicy/
AudioPolicy.java 516 private static IAudioService sService;
520 if (sService != null) {
521 return sService;
524 sService = IAudioService.Stub.asInterface(b);
525 return sService;
  /frameworks/base/core/java/android/app/
NotificationManager.java 233 private static INotificationManager sService;
238 if (sService != null) {
239 return sService;
242 sService = INotificationManager.Stub.asInterface(b);
243 return sService;
    [all...]
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
InCallServiceImpl.java 42 private static InCallServiceImpl sService = null;
45 return sService;
593 if (sService == null) {
594 sService = this;
596 else if (sService != this) {
614 sService = null;
    [all...]
  /frameworks/base/services/core/java/com/android/server/am/
BatteryStatsService.java 94 private static IBatteryStats sService;
252 if (sService != null) {
253 return sService;
256 sService = asInterface(b);
257 return sService;
    [all...]
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
BackgroundManager.java 508 private static BackgroundContinuityService sService = new BackgroundContinuityService();
528 final int count = sService.mCount++;
530 return sService;
    [all...]

Completed in 688 milliseconds

1 2