Searched defs:getService (Results 1 - 25 of 52) 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/SettingsLib/src/com/android/settingslib/wrapper/
H A DBluetoothA2dpWrapper.java39 public BluetoothA2dp getService() { method in class:BluetoothA2dpWrapper
/frameworks/layoutlib/bridge/src/android/os/
H A DServiceManager.java29 public static IBinder getService(String name) { method in class:ServiceManager
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
H A DQSTileServiceWrapper.java98 public IQSTileService getService() { method in class:QSTileServiceWrapper
/frameworks/native/include/binder/
H A DIServiceManager.h54 virtual sp<IBinder> getService( const String16& name) const = 0;
84 status_t getService(const String16& name, sp<INTERFACE>* outService) function in namespace:android
88 *outService = interface_cast<INTERFACE>(sm->getService(name));
/frameworks/native/libs/binder/
H A DActivityManager.cpp32 sp<IActivityManager> ActivityManager::getService() function in class:android::ActivityManager
60 sp<IActivityManager> service = getService();
69 sp<IActivityManager> service = getService();
77 sp<IActivityManager> service = getService();
85 sp<IActivityManager> service = getService();
93 sp<IActivityManager> service = getService();
101 sp<IActivityManager> service = getService();
H A DPermissionController.cpp30 sp<IPermissionController> PermissionController::getService() function in class:android::PermissionController
58 sp<IPermissionController> service = getService();
64 sp<IPermissionController> service = getService();
70 sp<IPermissionController> service = getService();
78 sp<IPermissionController> service = getService();
84 sp<IPermissionController> service = getService();
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();
105 sp<IAppOpsService> service = getService();
112 sp<IAppOpsService> service = getService();
120 sp<IAppOpsService> service = getService();
127 sp<IAppOpsService> service = getService();
134 sp<IAppOpsService> service = getService();
H A DIServiceManager.cpp144 virtual sp<IBinder> getService(const String16& name) const function in class:android::BpServiceManager
/frameworks/native/libs/binder/include/binder/
H A DIServiceManager.h54 virtual sp<IBinder> getService( const String16& name) const = 0;
84 status_t getService(const String16& name, sp<INTERFACE>* outService) function in namespace:android
88 *outService = interface_cast<INTERFACE>(sm->getService(name));
/frameworks/base/core/java/android/app/
H A DSystemServiceRegistry.java287 IBinder b = ServiceManager.getService(Context.IPSEC_SERVICE);
582 b = ServiceManager.getService(Context.WALLPAPER_SERVICE);
778 binder = ServiceManager.getService(Context.FINGERPRINT_SERVICE);
948 IBinder b = ServiceManager.getService(Context.AUTOFILL_MANAGER_SERVICE);
1014 return fetcher != null ? fetcher.getService(ctx) : null;
1039 T getService(ContextImpl ctx); method in interface:SystemServiceRegistry.ServiceFetcher
1058 public final T getService(ContextImpl ctx) { method in class:SystemServiceRegistry.CachedServiceFetcher
1120 Log.w(TAG, "getService() interrupted");
1140 public final T getService(ContextImpl ctx) { method in class:SystemServiceRegistry.StaticServiceFetcher
1168 public final T getService(ContextImp method in class:SystemServiceRegistry.StaticApplicationContextServiceFetcher
[all...]
H A DStatusBarManager.java118 private synchronized IStatusBarService getService() { method in class:StatusBarManager
121 ServiceManager.getService(Context.STATUS_BAR_SERVICE));
135 final IStatusBarService svc = getService();
152 final IStatusBarService svc = getService();
166 final IStatusBarService svc = getService();
180 final IStatusBarService svc = getService();
201 final IStatusBarService svc = getService();
212 final IStatusBarService svc = getService();
224 final IStatusBarService svc = getService();
235 final IStatusBarService svc = getService();
[all...]
/frameworks/base/core/java/android/os/
H A DHwBinder.java87 public static final IHwBinder getService( method in class:HwBinder
91 return getService(iface, serviceName, false /* retry */);
102 public static native final IHwBinder getService( method in class:HwBinder
H A DIServiceManager.java36 IBinder getService(String name) throws RemoteException; method in interface:IServiceManager
H A DServiceManagerNative.java59 IBinder service = getService(name);
120 public IBinder getService(String name) throws RemoteException { method in class:ServiceManagerProxy
H A DServiceManager.java65 * We log stats logging ever this many getService() calls.
71 * We log stats logging ever this many getService() calls.
98 "getService()",
118 public static IBinder getService(String name) { method in class:ServiceManager
127 Log.e(TAG, "error in getService", e);
139 final IBinder binder = getService(name);
253 final IBinder binder = getIServiceManager().getService(name);
284 // Every GET_SERVICE_LOG_EVERY_CALLS calls, log the total time spent in getService().
294 sGetServiceAccumulatedCallCount, // Total # of getService() calls.
295 sGetServiceAccumulatedUs / 1000, // Total time spent in getService() call
[all...]
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
H A DDeviceChooserActivity.java55 if (getService().mDevicesFound.isEmpty()) {
59 if (getService().mRequest.isSingleDevice()) {
61 final DeviceFilterPair selectedDevice = getService().mDevicesFound.get(0);
67 mPairButton.setOnClickListener(v -> onDeviceConfirmed(getService().mSelectedDevice));
68 getService().mSelectedDevice = selectedDevice;
76 final DeviceDiscoveryService.DevicesAdapter adapter = getService().mDevicesAdapter;
86 getService().mActivity = this;
93 getService().onCancel();
141 DeviceFilterPair selectedDevice = getService().mSelectedDevice;
149 private DeviceDiscoveryService getService() { method in class:DeviceChooserActivity
[all...]
/frameworks/base/test-runner/src/android/test/
H A DServiceTestCase.java130 public T getService() { method in class:ServiceTestCase
221 * Note: To be able to use bindService in a test, the service must implement getService()
/frameworks/base/core/tests/coretests/src/android/content/
H A DAbstractCrossUserContentResolverTest.java94 ActivityManager.getService().startUserInBackground(mCrossUserId);
138 mServiceConnection.getService().updateContent(uriToUpdate, "New Text", 42);
155 mServiceConnection.getService().notifyForUriAsUser(notifyUri, UserHandle.myUserId());
179 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
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationListenerServiceTest.java218 TestListenerService getService() { method in class:NotificationListenerServiceTest.TestListenerService.LocalBinder
/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/java/android/bluetooth/
H A DBluetoothGattServer.java506 /*package*/ BluetoothGattService getService(UUID uuid, int instanceId, int type) { method in class:BluetoothGattServer
675 BluetoothGattService service = characteristic.getService();
741 BluetoothGattService intService = getService(service.getUuid(),
799 public BluetoothGattService getService(UUID uuid) { method in class:BluetoothGattServer
/frameworks/base/core/java/android/net/
H A DVpnService.java165 private static IConnectivityManager getService() { method in class:VpnService
167 ServiceManager.getService(Context.CONNECTIVITY_SERVICE));
195 if (getService().prepareVpn(context.getPackageName(), null, context.getUserId())) {
218 IConnectivityManager cm = getService();
293 return getService().addVpnAddress(address.getHostAddress(), prefixLength);
323 return getService().removeVpnAddress(address.getHostAddress(), prefixLength);
363 return getService().setUnderlyingNetworksForVpn(networks);
641 ServiceManager.getService("package"));
806 return getService().establishVpn(mConfig);

Completed in 552 milliseconds

123