Searched defs:getService (Results 1 - 25 of 32) 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.java77 static public INotificationManager getService() method in class:NotificationManager
82 IBinder b = ServiceManager.getService("notification");
126 INotificationManager service = getService();
151 INotificationManager service = getService();
187 INotificationManager service = getService();
201 INotificationManager service = getService();
216 INotificationManager service = getService();
H A DStatusBarManager.java78 private synchronized IStatusBarService getService() { method in class:StatusBarManager
81 ServiceManager.getService(Context.STATUS_BAR_SERVICE));
95 final IStatusBarService svc = getService();
110 final IStatusBarService svc = getService();
125 final IStatusBarService svc = getService();
140 final IStatusBarService svc = getService();
152 final IStatusBarService svc = getService();
165 final IStatusBarService svc = getService();
177 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,
519 public static PendingIntent getService(Context context, int requestCode, method in class:PendingIntent
634 * {@link #getBroadcast}, or {@link #getService}.
670 * {@link #getBroadcast}, or {@link #getService}.
865 * {@link #getBroadcast}, or {@link #getService} multipl
[all...]
/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.cpp135 virtual sp<IBinder> getService(const String16& name) const function in class:android::BpServiceManager
198 sp<IBinder> b = const_cast<BnServiceManager*>(this)->getService(which);
/frameworks/base/core/java/android/content/
H A DClipboardManager.java98 static private IClipboard getService() { method in class:ClipboardManager
103 IBinder b = ServiceManager.getService("clipboard");
125 getService().setPrimaryClip(clip, mContext.getOpPackageName());
135 return getService().getPrimaryClip(mContext.getOpPackageName());
147 return getService().getPrimaryClipDescription(mContext.getOpPackageName());
158 return getService().hasPrimaryClip(mContext.getOpPackageName());
168 getService().addPrimaryClipChangedListener(
182 getService().removePrimaryClipChangedListener(
216 return getService().hasClipboardText(mContext.getOpPackageName());
/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.java71 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.java119 private static IConnectivityManager getService() { method in class:VpnService
121 ServiceManager.getService(Context.CONNECTIVITY_SERVICE));
144 if (getService().prepareVpn(context.getPackageName(), null)) {
171 return getService().protectVpn(dup);
472 return getService().establishVpn(mConfig);
/frameworks/base/nfc-extras/java/com/android/nfc_extras/
H A DNfcAdapterExtras.java168 INfcAdapterExtras getService() { method in class:NfcAdapterExtras
/frameworks/base/services/java/com/android/server/location/
H A DGeocoderProxy.java67 private IGeocodeProvider getService() { method in class:GeocoderProxy
77 IGeocodeProvider provider = getService();
92 IGeocodeProvider provider = getService();
H A DLocationProviderProxy.java84 private ILocationProvider getService() { method in class:LocationProviderProxy
111 service = getService();
161 ILocationProvider service = getService();
179 ILocationProvider service = getService();
205 ILocationProvider service = getService();
226 ILocationProvider service = getService();
247 ILocationProvider service = getService();
263 ILocationProvider service = getService();
279 ILocationProvider service = getService();
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattServer.java125 BluetoothGattService service = getService(srvcUuid, srvcInstId, srvcType);
148 BluetoothGattService service = getService(srvcUuid, srvcInstId, srvcType);
177 BluetoothGattService service = getService(srvcUuid, srvcInstId, srvcType);
207 BluetoothGattService service = getService(srvcUuid, srvcInstId, srvcType);
240 BluetoothGattService service = getService(srvcUuid, srvcInstId, srvcType);
374 /*package*/ BluetoothGattService getService(UUID uuid, int instanceId, int type) { method in class:BluetoothGattServer
499 BluetoothGattService service = characteristic.getService();
588 BluetoothGattService intService = getService(service.getUuid(),
648 public BluetoothGattService getService(UUID uuid) { method in class:BluetoothGattServer
H A DBluetoothGatt.java221 BluetoothGattService service = getService(mDevice,
223 BluetoothGattService includedService = getService(mDevice,
247 BluetoothGattService service = getService(mDevice, srvcUuid.getUuid(),
270 BluetoothGattService service = getService(mDevice, srvcUuid.getUuid(),
331 BluetoothGattService service = getService(mDevice, srvcUuid.getUuid(),
362 BluetoothGattService service = getService(mDevice, srvcUuid.getUuid(),
408 BluetoothGattService service = getService(mDevice, srvcUuid.getUuid(),
439 BluetoothGattService service = getService(mDevice, srvcUuid.getUuid(),
488 BluetoothGattService service = getService(mDevice, srvcUuid.getUuid(),
593 /*package*/ BluetoothGattService getService(BluetoothDevic method in class:BluetoothGatt
812 public BluetoothGattService getService(UUID uuid) { method in class:BluetoothGatt
[all...]
H A DBluetoothGattCharacteristic.java303 public BluetoothGattService getService() { method in class:BluetoothGattCharacteristic
/frameworks/base/core/java/android/widget/
H A DToast.java107 INotificationManager service = getService();
128 getService().cancelToast(mContext.getPackageName(), mTN);
301 static private INotificationManager getService() { method in class:Toast
305 sService = INotificationManager.Stub.asInterface(ServiceManager.getService("notification"));
/frameworks/base/keystore/java/android/security/
H A DKeyChain.java304 final IKeyChainService keyChainService = keyChainConnection.getService();
339 IKeyChainService keyChainService = keyChainConnection.getService();
418 public IKeyChainService getService() { method in class:KeyChain.KeyChainConnection
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DQuickSettings.java154 public PhoneStatusBar getService() { method in class:QuickSettings
287 getService().animateCollapsePanels();
291 if (onlyProvisioned && !getService().isDeviceProvisioned()) return;
/frameworks/base/core/java/android/nfc/
H A DNfcAdapter.java454 IBinder b = ServiceManager.getService("nfc");
528 public INfcAdapter getService() { method in class:NfcAdapter

Completed in 4698 milliseconds

12