Searched refs:service (Results 101 - 125 of 132) sorted by relevance

123456

/frameworks/base/services/java/com/android/server/location/
H A DLocationProviderProxy.java61 // constructor for proxying location providers implemented in a separate service
90 public void onServiceConnected(ComponentName className, IBinder service) { argument
93 mProvider = ILocationProvider.Stub.asInterface(service);
126 // resend previous values from the location manager if the service has restarted
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiManager.java362 * @param service the Binder interface
367 public WifiManager(IWifiManager service, Handler handler) { argument
368 mService = service;
/frameworks/base/core/java/android/app/
H A DActivityManagerNative.java81 "ActivityManager", "default service binder = " + b);
84 "ActivityManager", "default service = " + gDefault);
607 Intent service = Intent.CREATOR.createFromParcel(data);
609 ComponentName cn = startService(app, service, resolvedType);
619 Intent service = Intent.CREATOR.createFromParcel(data);
621 int res = stopService(app, service, resolvedType);
658 Intent service = Intent.CREATOR.createFromParcel(data);
663 int res = bindService(app, token, service, resolvedType, conn, fl);
683 IBinder service = data.readStrongBinder();
684 publishService(token, intent, service);
1919 getRunningServiceControlPanel(ComponentName service) argument
1934 startService(IApplicationThread caller, Intent service, String resolvedType) argument
1950 stopService(IApplicationThread caller, Intent service, String resolvedType) argument
2001 bindService(IApplicationThread caller, IBinder token, Intent service, String resolvedType, IServiceConnection connection, int flags) argument
2034 publishService(IBinder token, Intent intent, IBinder service) argument
2077 peekService(Intent service, String resolvedType) argument
[all...]
H A DActivityThread.java343 IBinder service; field in class:ActivityThread.DumpServiceInfo
374 // Formatting for checkin service - update version if row format changes
543 // Setup the service cache in the ServiceManager
595 data.service = servicetoken;
1140 //Slog.v("PackageManager", "default service binder = " + b);
1142 //Slog.v("PackageManager", "default service = " + sPackageManager);
1923 Service service = null;
1926 service = (Service) cl.loadClass(data.info.name).newInstance();
1928 if (!mInstrumentation.onException(service, e)) {
1930 "Unable to instantiate service "
[all...]
H A DApplicationThreadNative.java303 final IBinder service = data.readStrongBinder();
306 dumpService(fd.getFileDescriptor(), service, args);
/frameworks/base/
H A DAndroid.mk136 core/java/android/service/urlrenderer/IUrlRendererService.aidl \
137 core/java/android/service/urlrenderer/IUrlRendererCallback.aidl \
138 core/java/android/service/wallpaper/IWallpaperConnection.aidl \
139 core/java/android/service/wallpaper/IWallpaperEngine.aidl \
140 core/java/android/service/wallpaper/IWallpaperService.aidl \
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java401 public Object getSystemService(String service) { argument
402 if (LAYOUT_INFLATER_SERVICE.equals(service)) {
407 // service. We don't have any but it's not worth an exception.
408 if (WINDOW_SERVICE.equals(service)) {
413 if (INPUT_METHOD_SERVICE.equals(service)) {
417 throw new UnsupportedOperationException("Unsupported Service: " + service);
/frameworks/base/services/java/com/android/server/am/
H A DActivityManagerService.java225 // How long we wait for a service to finish executing.
228 // How long a service needs to be running until restarting its process
229 // is no longer considered to be a relaunch of the service.
232 // How long a service needs to be running until it will start back at
237 // a service is killed before it has run for SERVICE_RESET_RUN_DURATION.
245 // Maximum amount of time for there to be no activity on a service before
639 * All currently bound service connections. Keys are the IBinder of
773 * Used to control how we initialize the service.
1211 "Error canceling notification for service", e);
1348 ActivityManagerService service
7897 dumpProcessList(PrintWriter pw, ActivityManagerService service, List list, String prefix, String normalLabel, String persistentLabel) argument
7914 dumpProcessOomList(PrintWriter pw, ActivityManagerService service, List<ProcessRecord> list, String prefix, String normalLabel, String persistentLabel, boolean inclDetails) argument
8537 findServiceLocked(Intent service, String resolvedType) argument
8586 setService(ServiceRecord service) argument
8597 retrieveServiceLocked(Intent service, String resolvedType, int callingPid, int callingUid) argument
9107 startServiceLocked(IApplicationThread caller, Intent service, String resolvedType, int callingPid, int callingUid) argument
9159 startService(IApplicationThread caller, Intent service, String resolvedType) argument
9177 startServiceInPackage(int uid, Intent service, String resolvedType) argument
9188 stopService(IApplicationThread caller, Intent service, String resolvedType) argument
9228 peekService(Intent service, String resolvedType) argument
9364 bindService(IApplicationThread caller, IBinder token, Intent service, String resolvedType, IServiceConnection connection, int flags) argument
9590 publishService(IBinder token, Intent intent, IBinder service) argument
[all...]
/frameworks/base/core/java/android/content/
H A DContentService.java85 // The content service only throws security exceptions, so let's
460 ContentService service = new ContentService(context, factoryTest);
461 ServiceManager.addService(ContentResolver.CONTENT_SERVICE_NAME, service);
462 return service;
H A DSyncManager.java458 public void onServiceConnected(ComponentName name, IBinder service) { argument
465 ISyncAdapter.Stub.asInterface(service).initialize(mAccount, mAuthority);
910 public void onServiceConnected(ComponentName name, IBinder service) { argument
913 msg.obj = new ServiceConnectionData(this, ISyncAdapter.Stub.asInterface(service));
/frameworks/base/core/java/android/os/
H A DDebug.java1134 * Get a debugging dump of a system service by name.
1138 * @param name of the service to dump
1140 * @param args to pass to the service's dump method, may be null
1141 * @return true if the service was dumped successfully, false if
1142 * the service could not be found or had an error while dumping
1145 IBinder service = ServiceManager.getService(name);
1146 if (service == null) {
1147 Log.e(TAG, "Can't find service to dump: " + name);
1152 service.dump(fd, args);
1155 Log.e(TAG, "Can't dump service
[all...]
/frameworks/base/core/java/android/accounts/
H A DAccountManager.java98 * service you are accessing. The application may use whatever network and
233 public AccountManager(Context context, IAccountManager service) { argument
235 mService = service;
242 public AccountManager(Context context, IAccountManager service, Handler handler) { argument
244 mService = service;
340 * authenticator known to the AccountManager service. Empty (never
402 * whether Google accounts have a particular service (such as Google
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodManager.java73 * in each application context and communicates with a global system service
149 * enforced in the system by not binding to an input method service that does
431 InputMethodManager(IInputMethodManager service, Looper looper) { argument
432 mService = service;
463 IInputMethodManager service = IInputMethodManager.Stub.asInterface(b);
464 mInstance = new InputMethodManager(service, mainLooper);
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeech.java391 * TTS service.
442 public void onServiceConnected(ComponentName name, IBinder service) {
444 mITts = ITts.Stub.asInterface(service);
469 Log.e("TextToSpeech.java", "initTts() failed to bind to service");
475 Log.i("TextToSpeech.java", "initTts() successfully bound to service");
729 Log.e("TextToSpeech.java - speak", "service isn't started");
1240 Log.e("TextToSpeech.java - synthesizeToFile", "service isn't started");
1285 * if they are not persistent between calls to the service.
/frameworks/base/location/java/android/location/
H A DLocationManager.java256 public LocationManager(ILocationManager service) { argument
257 mService = service;
/frameworks/base/services/sensorservice/
H A DSensorService.cpp440 const sp<SensorService>& service)
441 : mService(service), mChannel(new SensorChannel())
439 SensorEventConnection( const sp<SensorService>& service) argument
/frameworks/base/media/libmediaplayerservice/
H A DMediaPlayerService.h248 Client( const sp<MediaPlayerService>& service,
/frameworks/base/services/java/com/android/server/
H A DMountService.java252 public void onServiceConnected(ComponentName name, IBinder service) { argument
255 IMediaContainerService imcs = IMediaContainerService.Stub.asInterface(service);
1038 * @param context Binder context for this service
1674 // have to bind to the service again.
1676 Slog.e(TAG, "Failed to bind to media container service");
1693 Slog.e(TAG, "Cannot bind to media container service");
1695 // Indicate service bind error
1718 Slog.e(TAG, "Failed to bind to media container service");
1720 // Indicate service bind error
1796 Intent service
[all...]
H A DWifiService.java329 INetworkManagementService service = INetworkManagementService.Stub.asInterface(b);
340 ifcg = service.getInterfaceConfig(intf);
347 service.setInterfaceConfig(intf, ifcg);
H A DPackageManagerService.java353 // Service Connection to remote media container service to copy
378 public void onServiceConnected(ComponentName name, IBinder service) { argument
381 IMediaContainerService.Stub.asInterface(service);
412 Intent service = new Intent().setComponent(DEFAULT_CONTAINER_COMPONENT);
414 if (mContext.bindService(service, mDefContainerConn,
456 // have to bind to the service again.
458 Slog.e(TAG, "Failed to bind to media container service");
462 // Once we bind to the service, the first
468 // Already bound to the service. Just make
483 Slog.e(TAG, "Cannot bind to media container service");
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothDeviceProfileState.java188 BluetoothService service, BluetoothA2dpService a2dpService) {
192 mService = service;
187 BluetoothDeviceProfileState(Context context, String address, BluetoothService service, BluetoothA2dpService a2dpService) argument
/frameworks/base/media/libstagefright/omx/tests/
H A DOMXHarness.cpp64 sp<IMediaPlayerService> service = interface_cast<IMediaPlayerService>(binder); local
65 mOMX = service->getOMX();
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindowManager.java1192 Intent service = new Intent();
1193 service.setClassName(mContext, "com.android.server.LoadAverageService");
1198 mContext.startService(service);
1200 mContext.stopService(service);
1710 * Tell the audio service to adjust the volume appropriate to the event.
/frameworks/base/core/java/android/content/pm/
H A DPackageParser.java272 final Service service = p.services.get(i);
273 if (service.info.enabled
1662 } else if (tagName.equals("service")) {
2412 mParseServiceArgs.tag = "<service>";
2473 Log.w(TAG, "Unknown element under <service>: "
2479 outError[0] = "Bad element under <service>: "
2769 // For use by package manager service for quick lookup of
3244 public final Service service; field in class:PackageParser.ServiceIntentInfo
3247 service = _service;
3253 + " " + service
[all...]
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DPackageManagerTests.java954 IBinder service = ServiceManager.getService("mount");
955 if (service != null) {
956 return IMountService.Stub.asInterface(service);
958 Log.e(TAG, "Can't get mount service");

Completed in 4981 milliseconds

123456