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

12

/frameworks/base/core/java/com/android/server/
H A DLocalServices.java43 public static <T> T getService(Class<T> type) { method in class:LocalServices
/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/native/libs/binder/
H A DAppOpsManager.cpp42 sp<IAppOpsService> AppOpsManager::getService() function in class:android::AppOpsManager
70 sp<IAppOpsService> service = getService();
75 sp<IAppOpsService> service = getService();
80 sp<IAppOpsService> service = getService();
86 sp<IAppOpsService> service = getService();
94 sp<IAppOpsService> service = getService();
101 sp<IAppOpsService> service = getService();
H A DIServiceManager.cpp134 virtual sp<IBinder> getService(const String16& name) const function in class:android::BpServiceManager
197 sp<IBinder> b = const_cast<BnServiceManager*>(this)->getService(which);
/frameworks/base/core/java/android/app/
H A DNotificationManager.java91 static public INotificationManager getService() method in class:NotificationManager
96 IBinder b = ServiceManager.getService("notification");
140 INotificationManager service = getService();
167 INotificationManager service = getService();
205 INotificationManager service = getService();
219 INotificationManager service = getService();
234 INotificationManager service = getService();
247 INotificationManager service = getService();
259 INotificationManager service = getService();
271 INotificationManager service = getService();
[all...]
H A DStatusBarManager.java80 private synchronized IStatusBarService getService() { method in class:StatusBarManager
83 ServiceManager.getService(Context.STATUS_BAR_SERVICE));
97 final IStatusBarService svc = getService();
112 final IStatusBarService svc = getService();
127 final IStatusBarService svc = getService();
142 final IStatusBarService svc = getService();
154 final IStatusBarService svc = getService();
167 final IStatusBarService svc = getService();
179 final IStatusBarService svc = getService();
H A DPendingIntent.java42 * {@link #getBroadcast}, and {@link #getService}; the returned object can be
84 * {@link #getBroadcast}, or {@link #getService}.
118 * {@link #getService}. <p>If set, after
127 * {@link #getService}.
134 * {@link #getService}. <p>You can use
146 * {@link #getService}. <p>This can be used if you are creating intents where only the
547 public static PendingIntent getService(Context context, int requestCode, method in class:PendingIntent
662 * {@link #getBroadcast}, or {@link #getService}.
698 * {@link #getBroadcast}, or {@link #getService}.
909 * {@link #getBroadcast}, or {@link #getService} multipl
[all...]
/frameworks/base/core/java/android/content/
H A DClipboardManager.java96 static private IClipboard getService() { method in class:ClipboardManager
101 IBinder b = ServiceManager.getService("clipboard");
123 getService().setPrimaryClip(clip, mContext.getOpPackageName());
133 return getService().getPrimaryClip(mContext.getOpPackageName());
145 return getService().getPrimaryClipDescription(mContext.getOpPackageName());
156 return getService().hasPrimaryClip(mContext.getOpPackageName());
166 getService().addPrimaryClipChangedListener(
180 getService().removePrimaryClipChangedListener(
214 return getService().hasClipboardText(mContext.getOpPackageName());
/frameworks/base/test-runner/src/android/test/
H A DServiceTestCase.java123 public T getService() { method in class:ServiceTestCase
220 * 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.java71 static public synchronized IBordeauxService getService(Context context) { method in class:BordeauxManagerService
/frameworks/av/media/libmedia/
H A Dmediametadataretriever.cpp38 const sp<IMediaPlayerService>& MediaMetadataRetriever::getService() function in class:android::MediaMetadataRetriever
45 binder = sm->getService(String16("media.player"));
65 const sp<IMediaPlayerService>& service(getService());
/frameworks/base/nfc-extras/java/com/android/nfc_extras/
H A DNfcAdapterExtras.java168 INfcAdapterExtras getService() { method in class:NfcAdapterExtras
/frameworks/base/services/core/java/com/android/server/location/
H A DGeocoderProxy.java66 private IGeocodeProvider getService() { method in class:GeocoderProxy
76 IGeocodeProvider provider = getService();
91 IGeocodeProvider provider = getService();
H A DLocationProviderProxy.java83 private ILocationProvider getService() { method in class:LocationProviderProxy
110 service = getService();
160 ILocationProvider service = getService();
178 ILocationProvider service = getService();
204 ILocationProvider service = getService();
225 ILocationProvider service = getService();
246 ILocationProvider service = getService();
262 ILocationProvider service = getService();
278 ILocationProvider service = getService();
/frameworks/base/core/java/android/bluetooth/
H A 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);
404 /*package*/ BluetoothGattService getService(UUID uuid, int instanceId, int type) { method in class:BluetoothGattServer
530 BluetoothGattService service = characteristic.getService();
624 BluetoothGattService intService = getService(service.getUuid(),
684 public BluetoothGattService getService(UUID uuid) { method in class:BluetoothGattServer
H A 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(BluetoothDevic method in class:BluetoothGatt
858 public BluetoothGattService getService(UUID uuid) { method in class:BluetoothGatt
[all...]
/frameworks/base/core/java/android/net/
H A DVpnService.java129 private static IConnectivityManager getService() { method in class:VpnService
131 ServiceManager.getService(Context.CONNECTIVITY_SERVICE));
159 if (getService().prepareVpn(context.getPackageName(), null)) {
181 IConnectivityManager cm = getService();
255 return getService().addVpnAddress(address.getHostAddress(), prefixLength);
285 return getService().removeVpnAddress(address.getHostAddress(), prefixLength);
325 return getService().setUnderlyingNetworksForVpn(networks);
603 ServiceManager.getService("package"));
768 return getService().establishVpn(mConfig);
/frameworks/base/core/java/android/widget/
H A DToast.java115 INotificationManager service = getService();
136 getService().cancelToast(mContext.getPackageName(), mTN);
318 static private INotificationManager getService() { method in class:Toast
322 sService = INotificationManager.Stub.asInterface(ServiceManager.getService("notification"));
/frameworks/base/keystore/java/android/security/
H A DKeyChain.java317 final IKeyChainService keyChainService = keyChainConnection.getService();
352 IKeyChainService keyChainService = keyChainConnection.getService();
432 public IKeyChainService getService() { method in class:KeyChain.KeyChainConnection
/frameworks/base/core/java/android/app/job/
H A DJobInfo.java106 public ComponentName getService() { method in class:JobInfo
/frameworks/base/media/java/android/media/audiopolicy/
H A DAudioPolicy.java297 IAudioService service = getService();
494 private static IAudioService getService() method in class:AudioPolicy
499 IBinder b = ServiceManager.getService(Context.AUDIO_SERVICE);

Completed in 1578 milliseconds

12