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

12

/frameworks/base/keystore/java/android/security/
H A DGateKeeper.java34 public static IGateKeeperService getService() { method in class:GateKeeper
36 ServiceManager.getService(Context.GATEKEEPER_SERVICE));
45 return getService().getSecureUserId(UserHandle.myUserId());
H A DKeyChain.java377 final IKeyChainService keyChainService = keyChainConnection.getService();
424 IKeyChainService keyChainService = keyChainConnection.getService();
556 public IKeyChainService getService() { method in class:KeyChain.KeyChainConnection
/frameworks/base/core/java/com/android/server/
H A DLocalServices.java45 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/core/tests/coretests/src/android/print/mockservice/
H A DPrintServiceCallbacks.java26 public PrintService getService() { method in class:PrintServiceCallbacks
H A DStubbablePrinterDiscoverySession.java40 public PrintService getService() { method in class:StubbablePrinterDiscoverySession
/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/packages/SystemUI/src/com/android/systemui/qs/external/
H A DQSTileServiceWrapper.java98 public IQSTileService getService() { method in class:QSTileServiceWrapper
/frameworks/base/core/java/android/app/
H A DSystemServiceRegistry.java170 IBinder b = ServiceManager.getService(Context.ACCOUNT_SERVICE);
186 IBinder b = ServiceManager.getService(Context.ALARM_SERVICE);
216 IBinder b = ServiceManager.getService(Context.HDMI_CONTROL_SERVICE);
237 IBinder b = ServiceManager.getService(Context.CONNECTIVITY_SERVICE);
246 IBinder b = ServiceManager.getService(Context.COUNTRY_DETECTOR);
282 IBinder b = ServiceManager.getService(Context.DROPBOX_SERVICE);
340 IBinder b = ServiceManager.getService(Context.LOCATION_SERVICE);
349 ServiceManager.getService(Context.NETWORK_POLICY_SERVICE)));
372 IBinder b = ServiceManager.getService(Context.NSD_SERVICE);
381 IBinder b = ServiceManager.getService(Contex
817 T getService(ContextImpl ctx); method in interface:SystemServiceRegistry.ServiceFetcher
833 public final T getService(ContextImpl ctx) { method in class:SystemServiceRegistry.CachedServiceFetcher
857 public final T getService(ContextImpl unused) { method in class:SystemServiceRegistry.StaticServiceFetcher
881 public final T getService(ContextImpl ctx) { method in class:SystemServiceRegistry.StaticApplicationContextServiceFetcher
[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();
138 final IStatusBarService svc = getService();
152 final IStatusBarService svc = getService();
166 final IStatusBarService svc = getService();
187 final IStatusBarService svc = getService();
198 final IStatusBarService svc = getService();
210 final IStatusBarService svc = getService();
221 final IStatusBarService svc = 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());
134 return getService().getPrimaryClip(mContext.getOpPackageName());
146 return getService().getPrimaryClipDescription(mContext.getOpPackageName());
157 return getService().hasPrimaryClip(mContext.getOpPackageName());
167 getService().addPrimaryClipChangedListener(
182 getService().removePrimaryClipChangedListener(
217 return getService().hasClipboardText(mContext.getOpPackageName());
/frameworks/base/test-runner/src/android/test/
H A DServiceTestCase.java129 public T getService() { method in class:ServiceTestCase
226 * 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.cpp139 virtual sp<IBinder> getService(const String16& name) const function in class:android::BpServiceManager
/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.java117 BluetoothGattService service = getService(srvcUuid, srvcInstId, srvcType);
140 BluetoothGattService service = getService(srvcUuid, srvcInstId, srvcType);
169 BluetoothGattService service = getService(srvcUuid, srvcInstId, srvcType);
199 BluetoothGattService service = getService(srvcUuid, srvcInstId, srvcType);
232 BluetoothGattService service = getService(srvcUuid, srvcInstId, srvcType);
402 /*package*/ BluetoothGattService getService(UUID uuid, int instanceId, int type) { method in class:BluetoothGattServer
528 BluetoothGattService service = characteristic.getService();
622 BluetoothGattService intService = getService(service.getUuid(),
682 public BluetoothGattService getService(UUID uuid) { method in class:BluetoothGattServer
/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.java118 INotificationManager service = getService();
139 getService().cancelToast(mContext.getPackageName(), mTN);
322 static private INotificationManager getService() { method in class:Toast
326 sService = INotificationManager.Stub.asInterface(ServiceManager.getService("notification"));

Completed in 966 milliseconds

12