Searched defs:getService (Results 1 - 25 of 27) sorted by path

12

/frameworks/av/media/libmedia/
H A Dmediametadataretriever.cpp35 const sp<IMediaPlayerService>& MediaMetadataRetriever::getService() function in class:android::MediaMetadataRetriever
42 binder = sm->getService(String16("media.player"));
62 const sp<IMediaPlayerService>& service(getService());
/frameworks/base/core/java/android/app/
H A DContextImpl.java214 public Object getService(ContextImpl ctx) { method in class:ContextImpl.ServiceFetcher
240 * service. getService() will handle locking and caching.
254 public final Object getService(ContextImpl unused) { method in class:ContextImpl.StaticServiceFetcher
289 public Object getService(ContextImpl ctx) {
295 IBinder b = ServiceManager.getService(ACCOUNT_SERVICE);
307 IBinder b = ServiceManager.getService(ALARM_SERVICE);
335 IBinder b = ServiceManager.getService(CONNECTIVITY_SERVICE);
341 IBinder b = ServiceManager.getService(COUNTRY_DETECTOR);
387 public Object getService(ContextImpl ctx) {
390 // using getService(), instea
[all...]
H A DNotificationManager.java76 static public INotificationManager getService() method in class:NotificationManager
81 IBinder b = ServiceManager.getService("notification");
125 INotificationManager service = getService();
147 INotificationManager service = getService();
180 INotificationManager service = getService();
194 INotificationManager service = getService();
209 INotificationManager service = getService();
H A DPendingIntent.java36 * {@link #getBroadcast}, and {@link #getService}; the returned object can be
78 * {@link #getBroadcast}, or {@link #getService}.
91 * {@link #getService}: this
99 * {@link #getService}: if the described PendingIntent does not already
105 * {@link #getService}: if the described PendingIntent already exists,
116 * {@link #getService}: if the described PendingIntent already exists,
491 public static PendingIntent getService(Context context, int requestCode, method in class:PendingIntent
606 * {@link #getBroadcast}, or {@link #getService}.
642 * {@link #getBroadcast}, or {@link #getService}.
796 * {@link #getBroadcast}, or {@link #getService} multipl
[all...]
H A DStatusBarManager.java74 private synchronized IStatusBarService getService() { method in class:StatusBarManager
77 ServiceManager.getService(Context.STATUS_BAR_SERVICE));
91 final IStatusBarService svc = getService();
106 final IStatusBarService svc = getService();
121 final IStatusBarService svc = getService();
136 final IStatusBarService svc = getService();
148 final IStatusBarService svc = getService();
161 final IStatusBarService svc = getService();
173 final IStatusBarService svc = getService();
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothDevice.java477 * getService() called.
484 /*package*/ static IBluetooth getService() { method in class:BluetoothDevice
520 getService(); // ensures sService is initialized
/frameworks/base/core/java/android/content/
H A DClipboardManager.java97 static private IClipboard getService() { method in class:ClipboardManager
102 IBinder b = ServiceManager.getService("clipboard");
121 getService().setPrimaryClip(clip);
131 return getService().getPrimaryClip(mContext.getPackageName());
143 return getService().getPrimaryClipDescription();
154 return getService().hasPrimaryClip();
164 getService().addPrimaryClipChangedListener(
178 getService().removePrimaryClipChangedListener(
212 return getService().hasClipboardText();
/frameworks/base/core/java/android/net/
H A DVpnService.java118 private static IConnectivityManager getService() { method in class:VpnService
120 ServiceManager.getService(Context.CONNECTIVITY_SERVICE));
143 if (getService().prepareVpn(context.getPackageName(), null)) {
169 return getService().protectVpn(dup);
472 return getService().establishVpn(mConfig);
/frameworks/base/core/java/android/nfc/
H A DNfcAdapter.java373 IBinder b = ServiceManager.getService("nfc");
447 public INfcAdapter getService() { method in class:NfcAdapter
/frameworks/base/core/java/android/os/
H A DIServiceManager.java36 public IBinder getService(String name) throws RemoteException; method in interface:IServiceManager
H A DServiceManager.java49 public static IBinder getService(String name) { method in class:ServiceManager
55 return getIServiceManager().getService(name);
58 Log.e(TAG, "error in getService", e);
H A DServiceManagerNative.java59 IBinder service = getService(name);
118 public IBinder getService(String name) throws RemoteException { method in class:ServiceManagerProxy
/frameworks/base/core/java/android/widget/
H A DToast.java104 INotificationManager service = getService();
125 getService().cancelToast(mContext.getPackageName(), mTN);
298 static private INotificationManager getService() { method in class:Toast
302 sService = INotificationManager.Stub.asInterface(ServiceManager.getService("notification"));
/frameworks/base/keystore/java/android/security/
H A DKeyChain.java303 final IKeyChainService keyChainService = keyChainConnection.getService();
338 IKeyChainService keyChainService = keyChainConnection.getService();
385 public IKeyChainService getService() { method in class:KeyChain.KeyChainConnection
/frameworks/base/media/java/android/media/
H A DAudioManager.java427 private static IAudioService getService() method in class:AudioManager
432 IBinder b = ServiceManager.getService(Context.AUDIO_SERVICE);
549 IAudioService service = getService();
579 IAudioService service = getService();
609 IAudioService service = getService();
631 IAudioService service = getService();
647 IAudioService service = getService();
679 IAudioService service = getService();
701 IAudioService service = getService();
720 IAudioService service = getService();
[all...]
H A DRemoteControlClient.java1044 private static IAudioService getService() method in class:RemoteControlClient
1049 IBinder b = ServiceManager.getService(Context.AUDIO_SERVICE);
1059 IAudioService service = getService();
/frameworks/base/nfc-extras/java/com/android/nfc_extras/
H A DNfcAdapterExtras.java168 INfcAdapterExtras getService() { method in class:NfcAdapterExtras
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DQuickSettings.java167 public PhoneStatusBar getService() { method in class:QuickSettings
277 if (onlyProvisioned && !getService().isDeviceProvisioned()) return;
285 getService().animateCollapsePanels();
/frameworks/base/services/java/com/android/server/am/
H A DBatteryStatsService.java75 public static IBatteryStats getService() { method in class:BatteryStatsService
79 IBinder b = ServiceManager.getService("batteryinfo");
H A DUsageStatsService.java671 public static IUsageStats getService() { method in class:UsageStatsService
675 IBinder b = ServiceManager.getService(SERVICE_NAME);
/frameworks/base/services/java/com/android/server/location/
H A DGeocoderProxy.java62 private IGeocodeProvider getService() { method in class:GeocoderProxy
72 IGeocodeProvider provider = getService();
87 IGeocodeProvider provider = getService();
H A DLocationProviderProxy.java80 private ILocationProvider getService() { method in class:LocationProviderProxy
107 service = getService();
157 ILocationProvider service = getService();
175 ILocationProvider service = getService();
201 ILocationProvider service = getService();
227 ILocationProvider service = getService();
248 ILocationProvider service = getService();
264 ILocationProvider service = getService();
280 ILocationProvider service = getService();
/frameworks/base/test-runner/src/android/test/
H A DServiceTestCase.java126 public T getService() { method in class:ServiceTestCase
223 * Note: To be able to use bindService in a test, the service must implement getService()
/frameworks/base/tools/layoutlib/bridge/src/android/os/
H A DServiceManager.java29 public static IBinder getService(String name) { method in class:ServiceManager
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DBordeauxManagerService.java72 static public synchronized IBordeauxService getService(Context context) { method in class:BordeauxManagerService

Completed in 745 milliseconds

12