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

12

/frameworks/base/core/java/android/os/
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 DIServiceManager.java36 public IBinder getService(String name) throws RemoteException; method in interface:IServiceManager
H A DServiceManagerNative.java59 IBinder service = getService(name);
118 public IBinder getService(String name) throws RemoteException { method in class:ServiceManagerProxy
/frameworks/base/tools/layoutlib/bridge/src/android/os/
H A DServiceManager.java29 public static IBinder getService(String name) { method in class:ServiceManager
/frameworks/native/include/binder/
H A DIServiceManager.h39 virtual sp<IBinder> getService( const String16& name) const = 0;
69 status_t getService(const String16& name, sp<INTERFACE>* outService) function in namespace:android
73 *outService = interface_cast<INTERFACE>(sm->getService(name));
/frameworks/base/core/java/android/app/
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 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();
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...]
/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/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/ml/bordeaux/service/src/android/bordeaux/services/
H A DBordeauxManagerService.java72 static public synchronized IBordeauxService getService(Context context) { method in class:BordeauxManagerService
/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/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/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/native/libs/binder/
H A DIServiceManager.cpp133 virtual sp<IBinder> getService(const String16& name) const function in class:android::BpServiceManager
196 sp<IBinder> b = const_cast<BnServiceManager*>(this)->getService(which);
/frameworks/base/nfc-extras/java/com/android/nfc_extras/
H A DNfcAdapterExtras.java168 INfcAdapterExtras getService() { method in class:NfcAdapterExtras
/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/core/java/android/nfc/
H A DNfcAdapter.java373 IBinder b = ServiceManager.getService("nfc");
447 public INfcAdapter getService() { method in class:NfcAdapter
/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/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/media/java/android/media/
H A DRemoteControlClient.java1044 private static IAudioService getService() method in class:RemoteControlClient
1049 IBinder b = ServiceManager.getService(Context.AUDIO_SERVICE);
1059 IAudioService service = getService();

Completed in 428 milliseconds

12