Searched refs:getService (Results 1 - 25 of 167) sorted by relevance

1234567

/frameworks/base/core/java/android/content/
H A DClipboardManager.java84 static private IClipboard getService() { method in class:ClipboardManager
89 IBinder b = ServiceManager.getService("clipboard");
108 getService().setPrimaryClip(clip);
118 return getService().getPrimaryClip(mContext.getPackageName());
130 return getService().getPrimaryClipDescription();
141 return getService().hasPrimaryClip();
151 getService().addPrimaryClipChangedListener(
165 getService().removePrimaryClipChangedListener(
199 return getService().hasClipboardText();
/frameworks/base/core/java/android/app/
H A DStatusBarManager.java67 private synchronized IStatusBarService getService() { method in class:StatusBarManager
70 ServiceManager.getService(Context.STATUS_BAR_SERVICE));
84 final IStatusBarService svc = getService();
99 final IStatusBarService svc = getService();
114 final IStatusBarService svc = getService();
126 final IStatusBarService svc = getService();
139 final IStatusBarService svc = getService();
151 final IStatusBarService svc = getService();
H A DNotificationManager.java76 static public INotificationManager getService() method in class:NotificationManager
81 IBinder b = ServiceManager.getService("notification");
120 INotificationManager service = getService();
149 INotificationManager service = getService();
164 INotificationManager service = getService();
/frameworks/base/tools/layoutlib/bridge/src/android/os/
H A DServiceManager.java29 public static IBinder getService(String name) { method in class:ServiceManager
/frameworks/base/include/binder/
H A DIServiceManager.h39 virtual sp<IBinder> getService( const String16& name) const = 0;
68 status_t getService(const String16& name, sp<INTERFACE>* outService) function in namespace:android
72 *outService = interface_cast<INTERFACE>(sm->getService(name));
/frameworks/base/nfc-extras/java/com/android/nfc_extras/
H A DNfcExecutionEnvironment.java134 Bundle b = mExtras.getService().open(mExtras.mPackageName, mToken);
152 throwBundle(mExtras.getService().close(mExtras.mPackageName, mToken));
170 b = mExtras.getService().transceive(mExtras.mPackageName, in);
/frameworks/base/telephony/java/android/telephony/
H A DSmsManager.java85 ISms iccISms = ISms.Stub.asInterface(ServiceManager.getService("isms"));
150 ISms iccISms = ISms.Stub.asInterface(ServiceManager.getService("isms"));
211 ISms iccISms = ISms.Stub.asInterface(ServiceManager.getService("isms"));
251 ISms iccISms = ISms.Stub.asInterface(ServiceManager.getService("isms"));
279 ISms iccISms = ISms.Stub.asInterface(ServiceManager.getService("isms"));
308 ISms iccISms = ISms.Stub.asInterface(ServiceManager.getService("isms"));
332 ISms iccISms = ISms.Stub.asInterface(ServiceManager.getService("isms"));
362 ISms iccISms = ISms.Stub.asInterface(ServiceManager.getService("isms"));
392 ISms iccISms = ISms.Stub.asInterface(ServiceManager.getService("isms"));
423 ISms iccISms = ISms.Stub.asInterface(ServiceManager.getService("ism
[all...]
/frameworks/base/media/java/android/media/
H A DAudioManager.java365 private static IAudioService getService() method in class:AudioManager
370 IBinder b = ServiceManager.getService(Context.AUDIO_SERVICE);
471 IAudioService service = getService();
497 IAudioService service = getService();
523 IAudioService service = getService();
539 IAudioService service = getService();
571 IAudioService service = getService();
589 IAudioService service = getService();
604 IAudioService service = getService();
628 IAudioService service = getService();
[all...]
/frameworks/base/core/java/android/os/
H A DIServiceManager.java36 public IBinder getService(String name) throws RemoteException; method in interface:IServiceManager
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);
/frameworks/base/core/java/com/android/internal/app/
H A DDisableCarModeActivity.java35 ServiceManager.getService("uimode"));
/frameworks/base/media/libstagefright/
H A DOMXClient.cpp33 sp<IBinder> binder = sm->getService(String16("media.player"));
/frameworks/base/cmds/svc/src/com/android/commands/svc/
H A DDataCommand.java56 IConnectivityManager.Stub.asInterface(ServiceManager.getService(Context.CONNECTIVITY_SERVICE));
66 = ITelephony.Stub.asInterface(ServiceManager.getService(Context.TELEPHONY_SERVICE));
H A DWifiCommand.java56 IConnectivityManager.Stub.asInterface(ServiceManager.getService(Context.CONNECTIVITY_SERVICE));
66 = IWifiManager.Stub.asInterface(ServiceManager.getService(Context.WIFI_SERVICE));
/frameworks/base/cmds/input/src/com/android/commands/input/
H A DInput.java103 .asInterface(ServiceManager.getService("window")))
125 .asInterface(ServiceManager.getService("window")))
128 .asInterface(ServiceManager.getService("window")))
/frameworks/base/core/jni/
H A DActivityManager.cpp35 sp<IBinder> am = sm->getService(String16("activity"));
/frameworks/base/core/tests/coretests/src/android/os/
H A DBrightnessLimit.java49 ServiceManager.getService("power"));
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DSimSmsTest.java33 ISms sms = ISms.Stub.asInterface(ServiceManager.getService("isms"));
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/
H A DVibratorServicePermissionTest.java38 ServiceManager.getService("vibrator"));
/frameworks/base/core/java/android/net/
H A DVpnService.java118 private static IConnectivityManager getService() { method in class:VpnService
120 ServiceManager.getService(Context.CONNECTIVITY_SERVICE));
143 if (getService().prepareVpn(context.getPackageName(), null)) {
169 return getService().protectVpn(dup);
472 return getService().establishVpn(mConfig);
H A DTrafficStats.java229 ServiceManager.getService(Context.NETWORK_STATS_SERVICE));
503 ServiceManager.getService(Context.NETWORK_STATS_SERVICE));
/frameworks/base/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/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsHelper.java55 ServiceManager.getService("power"));
84 ServiceManager.getService(Context.BACKUP_SERVICE));
113 ServiceManager.getService("power"));
/frameworks/base/services/java/com/android/server/
H A DSystemBackupAgent.java58 WallpaperManagerService wallpaper = (WallpaperManagerService)ServiceManager.getService(
100 WallpaperManagerService wallpaper = (WallpaperManagerService)ServiceManager.getService(
141 (WallpaperManagerService)ServiceManager.getService(
/frameworks/base/location/java/android/location/
H A DGeocoder.java60 IBinder b = ServiceManager.getService(Context.LOCATION_SERVICE);
84 IBinder b = ServiceManager.getService(Context.LOCATION_SERVICE);

Completed in 179 milliseconds

1234567