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

1 2

  /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/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/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/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/util/
StatsLog.java 31 private static IStatsManager sService;
53 sService = null;
77 sService = null;
102 sService = null;
110 if (sService != null) {
111 return sService;
113 sService = IStatsManager.Stub.asInterface(ServiceManager.getService("stats"));
114 return sService;
  /frameworks/base/core/java/android/appwidget/
AppWidgetHost.java 59 static IAppWidgetService sService;
181 sService = IAppWidgetService.Stub.asInterface(b);
190 if (sService == null) {
203 updates = sService.startListening(
231 if (sService == null) {
235 sService.stopListening(mContextOpPackageName, mHostId);
248 if (sService == null) {
252 return sService.allocateAppWidgetId(mContextOpPackageName, mHostId);
280 if (sService == null) {
284 IntentSender intentSender = sService.createAppWidgetConfigIntentSender
    [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 195 private static IBackupManager sService;
198 if (sService == null) {
199 sService = IBackupManager.Stub.asInterface(
224 if (sService != null) {
226 sService.dataChanged(mContext.getPackageName());
246 if (sService != null) {
248 sService.dataChanged(packageName);
332 if (sService != null) {
335 IRestoreSession binder = sService.beginRestoreSession(null, null);
359 if (sService != null)
    [all...]
  /frameworks/base/core/java/android/nfc/
NfcAdapter.java 328 static INfcAdapter sService;
502 sService = getServiceInterface();
503 if (sService == null) {
509 sTagService = sService.getNfcTagInterface();
517 sNfcFCardEmulationService = sService.getNfcFCardEmulationInterface();
523 sCardEmulationService = sService.getNfcCardEmulationInterface();
627 isEnabled(); // NOP call to recover sService if it is stale
628 return sService;
668 return sService.getNfcDtaInterface(mContext.getPackageName());
684 // 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();
  /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;
220 MediaMetadataRetriever::sService.clear();
227 if (sService != 0) {
228 IInterface::asBinder(sService)->unlinkToDeath(this);
  /frameworks/base/core/java/android/nfc/cardemulation/
NfcFCardEmulation.java 51 static INfcFCardEmulation sService;
57 sService = service;
121 return sService.getSystemCodeForService(mContext.getUserId(), service);
125 if (sService == null) {
130 return sService.getSystemCodeForService(mContext.getUserId(), service);
167 return sService.registerSystemCodeForService(mContext.getUserId(),
172 if (sService == null) {
177 return sService.registerSystemCodeForService(mContext.getUserId(),
198 return sService.removeSystemCodeForService(mContext.getUserId(), service);
202 if (sService == null)
    [all...]
CardEmulation.java 130 static INfcCardEmulation sService;
136 sService = service;
204 return sService.isDefaultServiceForCategory(mContext.getUserId(), service, category);
208 if (sService == null) {
213 return sService.isDefaultServiceForCategory(mContext.getUserId(), service,
235 return sService.isDefaultServiceForAid(mContext.getUserId(), service, aid);
239 if (sService == null) {
244 return sService.isDefaultServiceForAid(mContext.getUserId(), service, aid);
329 return sService.registerAidGroupForService(mContext.getUserId(), service, aidGroup);
333 if (sService == null)
    [all...]
  /frameworks/av/media/libmedia/include/media/
mediametadataretriever.h 115 static sp<IMediaPlayerService> sService;
  /frameworks/base/core/java/android/widget/
Toast.java 338 private static INotificationManager sService;
341 if (sService != null) {
342 return sService;
344 sService = INotificationManager.Stub.asInterface(ServiceManager.getService("notification"));
345 return sService;
  /frameworks/base/media/java/android/media/
PlayerBase.java 54 private static IAudioService sService; //lazy initialization, use getService()
346 if (sService != null) {
347 return sService;
350 sService = IAudioService.Stub.asInterface(b);
351 return sService;
AudioManager.java 672 private static IAudioService sService;
715 if (sService != null) {
716 return sService;
719 sService = IAudioService.Stub.asInterface(b);
720 return sService;
    [all...]
  /frameworks/base/media/java/android/media/audiopolicy/
AudioPolicy.java 739 private static IAudioService sService;
743 if (sService != null) {
744 return sService;
747 sService = IAudioService.Stub.asInterface(b);
748 return sService;
  /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/core/java/android/app/
NotificationManager.java 311 private static INotificationManager sService;
316 if (sService != null) {
317 return sService;
320 sService = INotificationManager.Stub.asInterface(b);
321 return sService;
    [all...]
  /frameworks/base/core/java/android/bluetooth/
BluetoothDevice.java 716 * TODO: Unify implementation of sService amongst BluetoothFoo API's
718 private static volatile IBluetooth sService;
725 if (sService == null) {
727 sService = adapter.getBluetoothService(sStateChangeCallback);
730 return sService;
738 if (sService == null) {
739 sService = bluetoothService;
747 sService = null;
767 getService(); // ensures sService is initialized
845 final IBluetooth service = sService;
    [all...]
  /frameworks/support/leanback/src/main/java/androidx/leanback/app/
BackgroundManager.java 456 private static BackgroundContinuityService sService = new BackgroundContinuityService();
476 final int count = sService.mCount++;
478 return sService;
    [all...]
  /frameworks/base/services/core/java/com/android/server/am/
BatteryStatsService.java 88 private static IBatteryStats sService;
258 if (sService != null) {
259 return sService;
262 sService = asInterface(b);
263 return sService;
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/
NfcService.java 283 private static NfcService sService;
293 return sService;
382 sService = this;
    [all...]

Completed in 1316 milliseconds

1 2