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

12

/frameworks/base/keystore/java/android/security/
H A DGateKeeper.java33 public static IGateKeeperService getService() { method in class:GateKeeper
35 ServiceManager.getService("android.service.gatekeeper.IGateKeeperService"));
44 return getService().getSecureUserId(UserHandle.myUserId());
H A DKeyChain.java371 final IKeyChainService keyChainService = keyChainConnection.getService();
410 IKeyChainService keyChainService = keyChainConnection.getService();
507 public IKeyChainService getService() { method in class:KeyChain.KeyChainConnection
/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/base/core/java/android/app/
H A DSystemServiceRegistry.java159 IBinder b = ServiceManager.getService(Context.ACCOUNT_SERVICE);
175 IBinder b = ServiceManager.getService(Context.ALARM_SERVICE);
205 IBinder b = ServiceManager.getService(Context.HDMI_CONTROL_SERVICE);
226 IBinder b = ServiceManager.getService(Context.CONNECTIVITY_SERVICE);
235 IBinder b = ServiceManager.getService(Context.COUNTRY_DETECTOR);
271 IBinder b = ServiceManager.getService(Context.DROPBOX_SERVICE);
329 IBinder b = ServiceManager.getService(Context.LOCATION_SERVICE);
338 ServiceManager.getService(Context.NETWORK_POLICY_SERVICE)));
361 IBinder b = ServiceManager.getService(Context.NSD_SERVICE);
370 IBinder b = ServiceManager.getService(Contex
746 T getService(ContextImpl ctx); method in interface:SystemServiceRegistry.ServiceFetcher
762 public final T getService(ContextImpl ctx) { method in class:SystemServiceRegistry.CachedServiceFetcher
786 public final T getService(ContextImpl unused) { method in class:SystemServiceRegistry.StaticServiceFetcher
811 public final T getService(ContextImpl ctx) { method in class:SystemServiceRegistry.StaticOuterContextServiceFetcher
[all...]
H A DStatusBarManager.java104 private synchronized IStatusBarService getService() { method in class:StatusBarManager
107 ServiceManager.getService(Context.STATUS_BAR_SERVICE));
121 final IStatusBarService svc = getService();
139 final IStatusBarService svc = getService();
154 final IStatusBarService svc = getService();
169 final IStatusBarService svc = getService();
184 final IStatusBarService svc = getService();
196 final IStatusBarService svc = getService();
209 final IStatusBarService svc = getService();
221 final IStatusBarService svc = getService();
[all...]
H A DPendingIntent.java44 * {@link #getBroadcast}, and {@link #getService}; the returned object can be
86 * {@link #getBroadcast}, or {@link #getService}.
120 * {@link #getService}. <p>If set, after
129 * {@link #getService}.
136 * {@link #getService}. <p>You can use
148 * {@link #getService}. <p>This can be used if you are creating intents where only the
567 public static PendingIntent getService(Context context, int requestCode, method in class:PendingIntent
683 * {@link #getBroadcast}, or {@link #getService}.
721 * {@link #getBroadcast}, or {@link #getService}.
766 * {@link #getBroadcast}, or {@link #getService}
[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/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();
108 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/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, UserHandle.myUserId())) {
181 IConnectivityManager cm = getService();
256 return getService().addVpnAddress(address.getHostAddress(), prefixLength);
286 return getService().removeVpnAddress(address.getHostAddress(), prefixLength);
326 return getService().setUnderlyingNetworksForVpn(networks);
604 ServiceManager.getService("package"));
769 return getService().establishVpn(mConfig);
/frameworks/base/core/java/android/widget/
H A DToast.java116 INotificationManager service = getService();
137 getService().cancelToast(mContext.getPackageName(), mTN);
319 static private INotificationManager getService() { method in class:Toast
323 sService = INotificationManager.Stub.asInterface(ServiceManager.getService("notification"));
/frameworks/base/core/java/android/app/job/
H A DJobInfo.java106 public ComponentName getService() { method in class:JobInfo

Completed in 5669 milliseconds

12