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

123

/frameworks/base/keystore/java/android/security/
H A DGateKeeper.java36 public static IGateKeeperService getService() { method in class:GateKeeper
38 ServiceManager.getService(Context.GATEKEEPER_SERVICE));
47 return getService().getSecureUserId(UserHandle.myUserId());
/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/packages/Osu/src/com/android/hotspot2/app/
H A DLocalServiceBinder.java12 public OSUService getService() { method in class:LocalServiceBinder
/frameworks/base/core/tests/coretests/src/android/print/mockservice/
H A DPrintServiceCallbacks.java26 public PrintService getService() { method in class:PrintServiceCallbacks
H A DStubbablePrinterDiscoverySession.java41 public PrintService getService() { method in class:StubbablePrinterDiscoverySession
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/mockservice/
H A DPrintServiceCallbacks.java26 public PrintService getService() { method in class:PrintServiceCallbacks
H A DStubbablePrinterDiscoverySession.java41 public PrintService getService() { method in class:StubbablePrinterDiscoverySession
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DBluetoothA2dpWrapper.java37 BluetoothA2dp getService(); method in interface:BluetoothA2dpWrapper
H A DBluetoothA2dpWrapperImpl.java39 public BluetoothA2dp getService() { method in class:BluetoothA2dpWrapperImpl
/frameworks/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/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/os/
H A DIServiceManager.java36 public IBinder getService(String name) throws RemoteException; method in interface:IServiceManager
H A DServiceManager.java50 public static IBinder getService(String name) { method in class:ServiceManager
56 return Binder.allowBlocking(getIServiceManager().getService(name));
59 Log.e(TAG, "error in getService", e);
71 final IBinder binder = getService(name);
H A DHwBinder.java49 public static native final IHwBinder getService( method in class:HwBinder
H A DServiceManagerNative.java59 IBinder service = getService(name);
118 public IBinder getService(String name) throws RemoteException { method in class:ServiceManagerProxy
/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.java276 IBinder b = ServiceManager.getService(Context.IPSEC_SERVICE);
722 binder = ServiceManager.getService(Context.FINGERPRINT_SERVICE);
881 IBinder b = ServiceManager.getService(Context.AUTOFILL_MANAGER_SERVICE);
914 return fetcher != null ? fetcher.getService(ctx) : null;
939 T getService(ContextImpl ctx); method in interface:SystemServiceRegistry.ServiceFetcher
955 public final T getService(ContextImpl ctx) { method in class:SystemServiceRegistry.CachedServiceFetcher
983 public final T getService(ContextImpl ctx) { method in class:SystemServiceRegistry.StaticServiceFetcher
1011 public final T getService(ContextImpl ctx) { method in class:SystemServiceRegistry.StaticApplicationContextServiceFetcher
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
H A DDeviceChooserActivity.java54 if (getService().mDevicesFound.isEmpty()) {
58 if (getService().mRequest.isSingleDevice()) {
60 final DeviceFilterPair selectedDevice = getService().mDevicesFound.get(0);
66 mPairButton.setOnClickListener(v -> onDeviceConfirmed(getService().mSelectedDevice));
67 getService().mSelectedDevice = selectedDevice;
75 final DeviceDiscoveryService.DevicesAdapter adapter = getService().mDevicesAdapter;
91 getService().onCancel();
139 DeviceFilterPair selectedDevice = getService().mSelectedDevice;
147 private DeviceDiscoveryService getService() { method in class:DeviceChooserActivity
152 getService()
[all...]
/frameworks/base/services/tests/notification/src/com/android/server/notification/
H A DNotificationListenerServiceTest.java162 TestListenerService getService() { method in class:NotificationListenerServiceTest.TestListenerService.LocalBinder
/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/native/libs/binder/
H A DAppOpsManager.cpp58 sp<IAppOpsService> AppOpsManager::getService() { return NULL; } function in class:android::AppOpsManager
60 sp<IAppOpsService> AppOpsManager::getService() function in class:android::AppOpsManager
90 sp<IAppOpsService> service = getService();
97 sp<IAppOpsService> service = getService();
104 sp<IAppOpsService> service = getService();
111 sp<IAppOpsService> service = getService();
119 sp<IAppOpsService> service = getService();
126 sp<IAppOpsService> service = getService();
133 sp<IAppOpsService> service = getService();
/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/core/tests/coretests/src/android/content/
H A DAbstractCrossUserContentResolverTest.java64 ActivityManager.getService().startUserInBackground(mCrossUserId);
113 mServiceConnection.getService().updateContent(uriToUpdate, "New Text", 42);
130 mServiceConnection.getService().notifyForUriAsUser(notifyUri, UserHandle.myUserId());
154 public ICrossUserContentService getService() { method in class:AbstractCrossUserContentResolverTest.CrossUserContentServiceConnection
/frameworks/base/nfc-extras/java/com/android/nfc_extras/
H A DNfcAdapterExtras.java168 INfcAdapterExtras getService() { method in class:NfcAdapterExtras

Completed in 1720 milliseconds

123