Home
last modified time | relevance | path

Searched refs:getService (Results 1 – 25 of 272) sorted by relevance

1234567891011

/frameworks/base/media/java/android/media/
DAudioManager.java593 private static IAudioService getService() in getService() method in AudioManager
598 IBinder b = ServiceManager.getService(Context.AUDIO_SERVICE); in getService()
763 IAudioService service = getService(); in adjustStreamVolume()
796 IAudioService service = getService(); in adjustVolume()
830 IAudioService service = getService(); in adjustSuggestedStreamVolume()
853 IAudioService service = getService(); in adjustMasterVolume()
869 IAudioService service = getService(); in getRingerMode()
901 IAudioService service = getService(); in getStreamMaxVolume()
923 IAudioService service = getService(); in getStreamVolume()
942 IAudioService service = getService(); in getLastAudibleStreamVolume()
[all …]
/frameworks/base/core/java/android/content/
DClipboardManager.java96 static private IClipboard getService() { in getService() method in ClipboardManager
101 IBinder b = ServiceManager.getService("clipboard"); in getService()
123 getService().setPrimaryClip(clip, mContext.getOpPackageName()); in setPrimaryClip()
133 return getService().getPrimaryClip(mContext.getOpPackageName()); in getPrimaryClip()
145 return getService().getPrimaryClipDescription(mContext.getOpPackageName()); in getPrimaryClipDescription()
156 return getService().hasPrimaryClip(mContext.getOpPackageName()); in hasPrimaryClip()
166 getService().addPrimaryClipChangedListener( in addPrimaryClipChangedListener()
180 getService().removePrimaryClipChangedListener( in removePrimaryClipChangedListener()
214 return getService().hasClipboardText(mContext.getOpPackageName()); in hasText()
/frameworks/base/telephony/java/android/telephony/
DSubscriptionManager.java277 ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub")); in getSubInfoForSubscriber()
305 ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub")); in getSubInfoUsingIccId()
336 ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub")); in getSubInfoUsingSlotId()
363 ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub")); in getAllSubInfoList()
386 ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub")); in getActiveSubInfoList()
411 ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub")); in getAllSubInfoCount()
431 ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub")); in getActiveSubInfoCount()
459 ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub")); in addSubInfoRecord()
491 ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub")); in setColor()
536 ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub")); in setDisplayName()
[all …]
/frameworks/base/core/java/android/app/
DStatusBarManager.java80 private synchronized IStatusBarService getService() { in getService() method in StatusBarManager
83 ServiceManager.getService(Context.STATUS_BAR_SERVICE)); in getService()
97 final IStatusBarService svc = getService(); in disable()
112 final IStatusBarService svc = getService(); in expandNotificationsPanel()
127 final IStatusBarService svc = getService(); in collapsePanels()
142 final IStatusBarService svc = getService(); in expandSettingsPanel()
154 final IStatusBarService svc = getService(); in setIcon()
167 final IStatusBarService svc = getService(); in removeIcon()
179 final IStatusBarService svc = getService(); in setIconVisibility()
DNotificationManager.java91 static public INotificationManager getService() in getService() method in NotificationManager
96 IBinder b = ServiceManager.getService("notification"); in getService()
140 INotificationManager service = getService(); in notify()
167 INotificationManager service = getService(); in notifyAsUser()
205 INotificationManager service = getService(); in cancel()
219 INotificationManager service = getService(); in cancelAsUser()
234 INotificationManager service = getService(); in cancelAll()
247 INotificationManager service = getService(); in getEffectsSuppressor()
259 INotificationManager service = getService(); in matchesCallFilter()
DContextImpl.java279 public Object getService(ContextImpl ctx) { in getService() method in ContextImpl.ServiceFetcher
319 public final Object getService(ContextImpl unused) { in getService() method in ContextImpl.StaticServiceFetcher
354 public Object getService(ContextImpl ctx) { in registerService()
359 public Object getService(ContextImpl ctx) { in registerService()
365 IBinder b = ServiceManager.getService(ACCOUNT_SERVICE); in registerService()
377 IBinder b = ServiceManager.getService(ALARM_SERVICE); in registerService()
399 IBinder b = ServiceManager.getService(HDMI_CONTROL_SERVICE); in registerService()
411 IBinder b = ServiceManager.getService(CONNECTIVITY_SERVICE); in registerService()
417 IBinder b = ServiceManager.getService(COUNTRY_DETECTOR); in registerService()
468 public Object getService(ContextImpl ctx) { in registerService()
[all …]
DUiAutomationConnection.java58 ServiceManager.getService(Service.WINDOW_SERVICE));
61 .asInterface(ServiceManager.getService(Service.ACCESSIBILITY_SERVICE));
280 ServiceManager.getService(Context.ACCESSIBILITY_SERVICE)); in registerUiTestAutomationServiceLocked()
302 ServiceManager.getService(Context.ACCESSIBILITY_SERVICE)); in unregisterUiTestAutomationServiceLocked()
/frameworks/native/libs/binder/
DAppOpsManager.cpp42 sp<IAppOpsService> AppOpsManager::getService() in getService() function in android::AppOpsManager
70 sp<IAppOpsService> service = getService(); in checkOp()
75 sp<IAppOpsService> service = getService(); in noteOp()
80 sp<IAppOpsService> service = getService(); in startOp()
86 sp<IAppOpsService> service = getService(); in finishOp()
94 sp<IAppOpsService> service = getService(); in startWatchingMode()
101 sp<IAppOpsService> service = getService(); in stopWatchingMode()
/frameworks/opt/telephony/src/java/android/telephony/
DSmsManager.java281 ISms iccISms = ISms.Stub.asInterface(ServiceManager.getService("isms")); in injectSmsPdu()
305 ISms iccISms = ISms.Stub.asInterface(ServiceManager.getService("isms")); in updateSmsSendStatus()
520 return ISms.Stub.asInterface(ServiceManager.getService("isms")); in getISmsService()
858 iccISms = ISms.Stub.asInterface(ServiceManager.getService("isms")); in getDefaultSmsSubId()
876 iccISms = ISms.Stub.asInterface(ServiceManager.getService("isms")); in isSMSPromptEnabled()
937 final IMms iMms = IMms.Stub.asInterface(ServiceManager.getService("imms")); in sendMultimediaMessage()
987 final IMms iMms = IMms.Stub.asInterface(ServiceManager.getService("imms")); in downloadMultimediaMessage()
1039 IMms iMms = IMms.Stub.asInterface(ServiceManager.getService("imms")); in updateMmsSendStatus()
1072 IMms iMms = IMms.Stub.asInterface(ServiceManager.getService("imms")); in updateMmsDownloadStatus()
1102 IMms iMms = IMms.Stub.asInterface(ServiceManager.getService("imms")); in importTextMessage()
[all …]
/frameworks/base/services/core/java/com/android/server/location/
DLocationProviderProxy.java83 private ILocationProvider getService() { in getService() method in LocationProviderProxy
110 service = getService();
160 ILocationProvider service = getService(); in enable()
178 ILocationProvider service = getService(); in disable()
204 ILocationProvider service = getService(); in setRequest()
225 ILocationProvider service = getService(); in dump()
246 ILocationProvider service = getService(); in getStatus()
262 ILocationProvider service = getService(); in getStatusUpdateTime()
278 ILocationProvider service = getService(); in sendExtraCommand()
DGeocoderProxy.java66 private IGeocodeProvider getService() { in getService() method in GeocoderProxy
76 IGeocodeProvider provider = getService(); in getFromLocation()
91 IGeocodeProvider provider = getService(); in getFromLocationName()
/frameworks/base/services/core/java/com/android/server/
DSystemService.java179 return ServiceManager.getService(name); in getBinderService()
193 return LocalServices.getService(type); in getLocalService()
197 return LocalServices.getService(SystemServiceManager.class); in getManager()
/frameworks/native/include/binder/
DIServiceManager.h39 virtual sp<IBinder> getService( const String16& name) const = 0;
69 status_t getService(const String16& name, sp<INTERFACE>* outService) in getService() function
73 *outService = interface_cast<INTERFACE>(sm->getService(name)); in getService()
/frameworks/base/core/java/android/net/
DVpnService.java127 private static IConnectivityManager getService() { in getService() method in VpnService
129 ServiceManager.getService(Context.CONNECTIVITY_SERVICE)); in getService()
157 if (getService().prepareVpn(context.getPackageName(), null)) { in prepare()
227 return getService().addVpnAddress(address.getHostAddress(), prefixLength); in addAddress()
257 return getService().removeVpnAddress(address.getHostAddress(), prefixLength); in removeAddress()
535 ServiceManager.getService("package")); in verifyApp()
686 return getService().establishVpn(mConfig); in establish()
/frameworks/base/core/java/android/bluetooth/
DBluetoothGatt.java230 BluetoothGattService service = getService(mDevice,
232 BluetoothGattService includedService = getService(mDevice,
256 BluetoothGattService service = getService(mDevice, srvcUuid.getUuid(),
279 BluetoothGattService service = getService(mDevice, srvcUuid.getUuid(),
345 BluetoothGattService service = getService(mDevice, srvcUuid.getUuid(),
381 BluetoothGattService service = getService(mDevice, srvcUuid.getUuid(),
427 BluetoothGattService service = getService(mDevice, srvcUuid.getUuid(),
463 BluetoothGattService service = getService(mDevice, srvcUuid.getUuid(),
518 BluetoothGattService service = getService(mDevice, srvcUuid.getUuid(),
639 /*package*/ BluetoothGattService getService(BluetoothDevice device, UUID uuid, in getService() method in BluetoothGatt
[all …]
DBluetoothGattServer.java118 BluetoothGattService service = getService(srvcUuid, srvcInstId, srvcType);
141 BluetoothGattService service = getService(srvcUuid, srvcInstId, srvcType);
170 BluetoothGattService service = getService(srvcUuid, srvcInstId, srvcType);
200 BluetoothGattService service = getService(srvcUuid, srvcInstId, srvcType);
233 BluetoothGattService service = getService(srvcUuid, srvcInstId, srvcType);
386 /*package*/ BluetoothGattService getService(UUID uuid, int instanceId, int type) { in getService() method in BluetoothGattServer
512 BluetoothGattService service = characteristic.getService(); in notifyCharacteristicChanged()
606 BluetoothGattService intService = getService(service.getUuid(), in removeService()
666 public BluetoothGattService getService(UUID uuid) { in getService() method in BluetoothGattServer
/frameworks/base/nfc-extras/java/com/android/nfc_extras/
DNfcExecutionEnvironment.java168 Bundle b = mExtras.getService().open(mExtras.mPackageName, mToken); in open()
186 throwBundle(mExtras.getService().close(mExtras.mPackageName, mToken)); in close()
204 b = mExtras.getService().transceive(mExtras.mPackageName, in); in transceive()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DJobStatus.java79 this.name = job.getService().flattenToShortString(); in JobStatus()
138 return job.getService(); in getServiceComponent()
224 + ":[" + job.getService() in toString()
255 return job.getService().flattenToShortString() + " jId=" + job.getId() + in toShortString()
/frameworks/av/media/libmedia/
Dmediametadataretriever.cpp38 const sp<IMediaPlayerService>& MediaMetadataRetriever::getService() in getService() function in android::MediaMetadataRetriever
45 binder = sm->getService(String16("media.player")); in getService()
65 const sp<IMediaPlayerService>& service(getService()); in MediaMetadataRetriever()
/frameworks/base/core/java/android/os/
DSystemVibrator.java36 ServiceManager.getService("vibrator")); in SystemVibrator()
42 ServiceManager.getService("vibrator")); in SystemVibrator()
DServiceManager.java49 public static IBinder getService(String name) { in getService() method in ServiceManager
55 return getIServiceManager().getService(name); in getService()
/frameworks/base/core/java/com/android/server/backup/
DSystemBackupAgent.java67 IWallpaperManager wallpaper = (IWallpaperManager)ServiceManager.getService( in onBackup()
120 IWallpaperManager wallpaper = (IWallpaperManager) ServiceManager.getService( in onRestore()
167 (IWallpaperManager)ServiceManager.getService( in onRestoreFile()
/frameworks/base/core/java/android/widget/
DToast.java115 INotificationManager service = getService(); in show()
136 getService().cancelToast(mContext.getPackageName(), mTN); in cancel()
310 static private INotificationManager getService() { in getService() method in Toast
314 sService = INotificationManager.Stub.asInterface(ServiceManager.getService("notification")); in getService()
/frameworks/testing/uiautomator/library/testrunner-src/com/android/uiautomator/core/
DShellUiAutomatorBridge.java98 IWindowManager.Stub.asInterface(ServiceManager.getService(Context.WINDOW_SERVICE)); in getRotation()
112 IPowerManager.Stub.asInterface(ServiceManager.getService(Context.POWER_SERVICE)); in isScreenOn()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DDisplayAdjustmentUtils.java124 final IBinder flinger = ServiceManager.getService("SurfaceFlinger"); in setDaltonizerMode()
146 final IBinder flinger = ServiceManager.getService("SurfaceFlinger"); in setColorTransform()

1234567891011