/frameworks/base/nfc/java/android/nfc/cardemulation/ |
D | CardEmulation.java | 154 static INfcCardEmulation sService; field in CardEmulation 160 sService = service; in CardEmulation() 223 return sService.isDefaultServiceForCategory(mContext.getUser().getIdentifier(), in isDefaultServiceForCategory() 228 if (sService == null) { in isDefaultServiceForCategory() 233 return sService.isDefaultServiceForCategory(mContext.getUser().getIdentifier(), in isDefaultServiceForCategory() 255 return sService.isDefaultServiceForAid(mContext.getUser().getIdentifier(), in isDefaultServiceForAid() 260 if (sService == null) { in isDefaultServiceForAid() 265 return sService.isDefaultServiceForAid(mContext.getUser().getIdentifier(), in isDefaultServiceForAid() 336 paymentRegistered = sService.isDefaultPaymentRegistered(); in getSelectionModeForCategory() 339 if (sService == null) { in getSelectionModeForCategory() [all …]
|
D | NfcFCardEmulation.java | 48 static INfcFCardEmulation sService; field in NfcFCardEmulation 54 sService = service; in NfcFCardEmulation() 113 return sService.getSystemCodeForService(mContext.getUser().getIdentifier(), service); in getSystemCodeForService() 117 if (sService == null) { in getSystemCodeForService() 122 return sService.getSystemCodeForService(mContext.getUser().getIdentifier(), in getSystemCodeForService() 160 return sService.registerSystemCodeForService(mContext.getUser().getIdentifier(), in registerSystemCodeForService() 165 if (sService == null) { in registerSystemCodeForService() 170 return sService.registerSystemCodeForService(mContext.getUser().getIdentifier(), in registerSystemCodeForService() 191 return sService.removeSystemCodeForService(mContext.getUser().getIdentifier(), service); in unregisterSystemCodeForService() 195 if (sService == null) { in unregisterSystemCodeForService() [all …]
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupManager.java | 212 public static IBackupManager sService; field in BackupManager 216 if (sService == null) { in checkServiceBinder() 217 sService = IBackupManager.Stub.asInterface( in checkServiceBinder() 245 if (sService != null) { in dataChanged() 247 sService.dataChanged(mContext.getPackageName()); in dataChanged() 269 if (sService != null) { in dataChanged() 271 sService.dataChanged(packageName); in dataChanged() 295 if (sService != null) { in dataChangedForUser() 297 sService.dataChangedForUser(userId, packageName); in dataChangedForUser() 381 if (sService != null) { in beginRestoreSession() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | OomAdjusterTests.java | 55 private static ActivityManagerService sService; field in OomAdjusterTests 76 sService = mock(ActivityManagerService.class); in setUpOnce() 77 sService.mActivityTaskManager = new ActivityTaskManagerService(sContext); in setUpOnce() 78 sService.mActivityTaskManager.initialize(null, null, sContext.getMainLooper()); in setUpOnce() 79 sService.mAtmInternal = sService.mActivityTaskManager.getAtmInternal(); in setUpOnce() 81 setFieldValue(ActivityManagerService.class, sService, "mProcLock", in setUpOnce() 83 sService.mConstants = new ActivityManagerConstants(sContext, sService, in setUpOnce() 87 setFieldValue(ActivityManagerService.class, sService, "mAppProfiler", profiler); in setUpOnce() 95 sService.mOomAdjuster = new OomAdjuster(sService, sService.mProcessList, null, in setUpOnce() 99 sService.mUsageStatsService = LocalServices.getService(UsageStatsManagerInternal.class); in setUpOnce() [all …]
|
D | ProcessRecordTests.java | 58 private static ActivityManagerService sService; field in ProcessRecordTests 71 sService = mock(ActivityManagerService.class); in setUpOnce() 72 sService.mActivityTaskManager = new ActivityTaskManagerService(sContext); in setUpOnce() 73 sService.mActivityTaskManager.initialize(null, null, sContext.getMainLooper()); in setUpOnce() 74 sService.mAtmInternal = sService.mActivityTaskManager.getAtmInternal(); in setUpOnce() 77 setFieldValue(ActivityManagerService.class, sService, "mAppProfiler", profiler); in setUpOnce() 78 setFieldValue(ActivityManagerService.class, sService, "mProcLock", in setUpOnce() 81 setFieldValue(ActivityManagerService.class, sService, "mProcessList", processList); in setUpOnce() 112 mProcessRecord = new ProcessRecord(sService, sContext.getApplicationInfo(), in setUpProcess()
|
/frameworks/base/nfc/java/android/nfc/ |
D | NfcAdapter.java | 574 static INfcAdapter sService; field in NfcAdapter 787 sService = getServiceInterface(); in getNfcAdapter() 788 if (sService == null) { in getNfcAdapter() 794 sTagService = sService.getNfcTagInterface(); in getNfcAdapter() 803 sNfcFCardEmulationService = sService.getNfcFCardEmulationInterface(); in getNfcAdapter() 810 sCardEmulationService = sService.getNfcCardEmulationInterface(); in getNfcAdapter() 927 return sService; in getService() 967 return sService.getNfcDtaInterface(mContext.getPackageName()); in getNfcDtaInterface() 971 if (sService == null) { in getNfcDtaInterface() 976 return sService.getNfcDtaInterface(mContext.getPackageName()); in getNfcDtaInterface() [all …]
|
D | NfcOemExtension.java | 93 NfcAdapter.sService.registerOemExtensionCallback(mOemNfcExtensionCallback); in registerCallback() 121 NfcAdapter.sService.unregisterOemExtensionCallback(mOemNfcExtensionCallback); in unregisterCallback() 138 NfcAdapter.sService.clearPreference(); in clearPreference() 151 NfcAdapter.sService.setScreenState(); in synchronizeScreenState() 166 NfcAdapter.sService.checkFirmware(); in maybeTriggerFirmwareUpdate()
|
D | NfcActivityManager.java | 240 NfcAdapter.sService.setReaderMode(token, this, flags, extras); in setReaderMode() 252 NfcAdapter.sService.setAppCallback(this); in requestNfcServiceCallback() 260 NfcAdapter.sService.verifyNfcPermission(); in verifyNfcPermission() 410 NfcAdapter.sService.updateDiscoveryTechnology(token, pollTech, listenTech); in changeDiscoveryTech()
|
/frameworks/base/core/java/android/service/persistentdata/ |
D | PersistentDataBlockManager.java | 43 private IPersistentDataBlockService sService; field in PersistentDataBlockManager 85 sService = service; in PersistentDataBlockManager() 106 return sService.write(data); in write() 121 return sService.read(); in read() 138 return sService.getDataBlockSize(); in getDataBlockSize() 155 return sService.getMaximumDataBlockSize(); in getMaximumDataBlockSize() 173 sService.wipe(); in wipe() 191 sService.setOemUnlockEnabled(enabled); in setOemUnlockEnabled() 212 return sService.getOemUnlockEnabled(); in getOemUnlockEnabled() 235 return sService.getFlashLockState(); in getFlashLockState() [all …]
|
/frameworks/base/nfc/java/android/nfc/dta/ |
D | NfcDta.java | 34 private static INfcDta sService; field in NfcDta 41 sService = service; in NfcDta() 78 sService.enableDta(); in enableDta() 92 sService.disableDta(); in disableDta() 107 return sService.enableServer(serviceName, serviceSap, miu, rwSize, testCaseId); in enableServer() 120 sService.disableServer(); in disableServer() 135 return sService.enableClient(serviceName, miu, rwSize, testCaseId); in enableClient() 148 sService.disableClient(); in disableClient() 162 return sService.registerMessageService(msgServiceName); in registerMessageService()
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetHost.java | 68 static IAppWidgetService sService; field in AppWidgetHost 226 sService = IAppWidgetService.Stub.asInterface(b); in bindService() 235 if (sService == null) { in startListening() 248 updates = sService.startListening( in startListening() 280 if (sService == null) { in stopListening() 284 sService.stopListening(mContextOpPackageName, mHostId); in stopListening() 297 if (sService == null) { in allocateAppWidgetId() 301 return sService.allocateAppWidgetId(mContextOpPackageName, mHostId); in allocateAppWidgetId() 329 if (sService == null) { in startAppWidgetConfigureActivityForResult() 333 IntentSender intentSender = sService.createAppWidgetConfigIntentSender( in startAppWidgetConfigureActivityForResult() [all …]
|
/frameworks/base/core/java/android/os/ |
D | UpdateLock.java | 34 private static IUpdateLock sService; field in UpdateLock 36 if (sService == null) { in checkService() 37 sService = IUpdateLock.Stub.asInterface( in checkService() 120 if (sService != null) { in acquireLocked() 122 sService.acquireUpdateLock(mToken, mTag); in acquireLocked() 145 if (sService != null) { in releaseLocked() 147 sService.releaseUpdateLock(mToken); in releaseLocked() 166 sService.releaseUpdateLock(mToken); in finalize()
|
/frameworks/base/nfc-extras/java/com/android/nfc_extras/ |
D | NfcAdapterExtras.java | 66 private static INfcAdapterExtras sService; field in NfcAdapterExtras 97 sService = service; in initService() 130 if (sService == null) { in get() 210 return sService; in getService() 221 int route = sService.getCardEmulationRoute(mPackageName); in getCardEmulationRoute() 243 sService.setCardEmulationRoute(mPackageName, route.route); in setCardEmulationRoute() 273 sService.authenticate(mPackageName, token); in authenticate() 289 return sService.getDriverName(mPackageName); in getDriverName()
|
/frameworks/av/media/libmedia/ |
D | mediametadataretriever.cpp | 35 sp<IMediaPlayerService> MediaMetadataRetriever::sService; member in android::MediaMetadataRetriever 41 if (sService == 0) { in getService() 52 sService = interface_cast<IMediaPlayerService>(binder); in getService() 54 ALOGE_IF(sService == 0, "no MediaPlayerService!?"); in getService() 55 return sService; in getService() 214 MediaMetadataRetriever::sService.clear(); in binderDied() 221 if (sService != 0) { in ~DeathNotifier() 222 IInterface::asBinder(sService)->unlinkToDeath(this); in ~DeathNotifier()
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | WindowManagerGlobal_Delegate.java | 31 private static IWindowManager sService; field in WindowManagerGlobal_Delegate 35 return sService; in getWindowManagerService() 41 sService = service; in setWindowManagerService()
|
/frameworks/base/core/java/android/app/ |
D | BackgroundInstallControlManager.java | 56 private static IBackgroundInstallControlService sService; field in BackgroundInstallControlManager 64 if (sService == null) { in getService() 65 sService = in getService() 69 return sService; in getService()
|
/frameworks/base/media/java/android/media/ |
D | AudioRecordingMonitorImpl.java | 48 private static IAudioService sService; //lazy initialization, use getService() field in AudioRecordingMonitorImpl 243 if (sService != null) { in getService() 244 return sService; in getService() 247 sService = IAudioService.Stub.asInterface(b); in getService() 248 return sService; in getService()
|
D | VolumeInfo.java | 55 private static IAudioService sService; field in VolumeInfo 172 if (sService == null) { in getDefaultVolumeInfo() 174 sService = IAudioService.Stub.asInterface(b); in getDefaultVolumeInfo() 178 sDefaultVolumeInfo = sService.getDefaultVolumeInfo(); in getDefaultVolumeInfo()
|
D | AudioDeviceVolumeManager.java | 69 private static IAudioService sService; field in AudioDeviceVolumeManager 479 if (sService != null) { in getService() 480 return sService; in getService() 483 sService = IAudioService.Stub.asInterface(b); in getService() 484 return sService; in getService()
|
D | PlayerBase.java | 56 private static IAudioService sService; //lazy initialization, use getService() field in PlayerBase 302 if (sService != null) { in getService() 303 return sService; in getService() 306 sService = IAudioService.Stub.asInterface(b); in getService() 307 return sService; in getService()
|
D | MediaCas.java | 267 private static IMediaCasService sService = null; field in MediaCas 277 sService.asBinder().unlinkToDeath(sDeathListener, 0); 278 sService = null; 285 if (sService == null || !sService.asBinder().isBinderAlive()) { in getService() 288 sService = in getService() 292 if (sService != null) { in getService() 293 sService.asBinder().linkToDeath(sDeathListener, 0); in getService() 299 return sService; in getService()
|
/frameworks/base/core/java/android/widget/ |
D | Toast.java | 616 private static INotificationManager sService; field in Toast 620 if (sService != null) { in getService() 621 return sService; in getService() 623 sService = INotificationManager.Stub.asInterface( in getService() 625 return sService; in getService()
|
/frameworks/av/media/libmedia/include/media/ |
D | mediametadataretriever.h | 122 static sp<IMediaPlayerService> sService; variable
|
/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioPolicy.java | 1286 private static IAudioService sService; field in AudioPolicy 1290 if (sService != null) { in getService() 1291 return sService; in getService() 1294 sService = IAudioService.Stub.asInterface(b); in getService() 1295 return sService; in getService()
|
/frameworks/base/core/tests/coretests/src/android/app/backup/ |
D | BackupManagerTest.java | 60 BackupManager.sService = mIBackupManager; in setUp()
|