/frameworks/native/cmds/dumpstate/ |
H A D | utils.c | 273 /* redirect output to a service control socket */ 274 void redirect_to_socket(FILE *redirect, const char *service) { argument 275 int s = android_get_control_socket(service); 277 fprintf(stderr, "android_get_control_socket(%s): %s\n", service, strerror(errno));
|
/frameworks/base/core/java/android/server/ |
H A D | BluetoothHealthProfileHandler.java | 157 private BluetoothHealthProfileHandler(Context context, BluetoothService service) { argument 158 mBluetoothService = service; 166 BluetoothService service) { 167 if (sInstance == null) sInstance = new BluetoothHealthProfileHandler(context, service); 165 getInstance(Context context, BluetoothService service) argument
|
H A D | BluetoothBondState.java | 84 BluetoothBondState(Context context, BluetoothService service) { argument 86 mService = service; 449 // Set service priority of Hid, A2DP and Headset profiles depending on 456 // Set service priority of A2DP and Headset
|
/frameworks/base/services/sensorservice/ |
H A D | SensorService.h | 86 SensorEventConnection(const sp<SensorService>& service);
|
/frameworks/base/test-runner/src/android/test/ |
H A D | IsolatedContext.java | 80 public boolean bindService(Intent service, ServiceConnection conn, int flags) { argument
|
/frameworks/base/core/java/android/net/nsd/ |
H A D | NsdManager.java | 45 * <p> The API currently supports DNS based service discovery and discovery is currently 46 * limited to a local network over Multicast DNS. DNS service discovery is described at 72 * | add service to list 80 * | remove service from list 85 * | Connect to a service 92 * Establish connection to service 99 * with service type "_http._tcp". A successful registration is notified with a callback to 104 * with a call to {@link #discoverServices}. A service found is notified with a callback 105 * to {@link DiscoveryListener#onServiceFound} and a service lost is notified on 114 * Applications can reserve for a service typ 233 NsdManager(Context context, INsdManager service) argument [all...] |
/frameworks/base/core/java/android/speech/ |
H A D | SpeechRecognizer.java | 39 * This class provides access to the speech recognition service. This service allows access to the 110 /** The connection to the actual service */ 116 /** Component to direct service intent to */ 164 public void onServiceConnected(final ComponentName name, final IBinder service) { argument 166 mService = IRecognitionService.Stub.asInterface(service); 183 * Checks whether a speech recognition service is available on the system. If this method 215 * Use this version of the method to specify a specific service to direct this 218 * service. 221 * @param serviceComponent the {@link ComponentName} of a specific service t [all...] |
/frameworks/base/services/java/com/android/server/location/ |
H A D | LocationProviderProxy.java | 46 "com.android.location.service.NetworkLocationProvider"; 63 // constructor for proxying location providers implemented in a separate service 73 /** Bind to service. Will reconnect if already connected */ 94 public void onServiceConnected(ComponentName className, IBinder service) { argument 96 mProvider = ILocationProvider.Stub.asInterface(service); 128 // resend previous values from the location manager if the service has restarted
|
/frameworks/base/services/java/com/android/server/wm/ |
H A D | InputMonitor.java | 60 public InputMonitor(WindowManagerService service) { argument 61 mService = service;
|
H A D | DragState.java | 64 DragState(WindowManagerService service, IBinder token, Surface surface, argument 66 mService = service;
|
H A D | Session.java | 61 public Session(WindowManagerService service, IInputMethodClient client, argument 63 mService = service;
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | ActivityManagerService.java | 244 // How long we wait for a service to finish executing. 247 // How long a service needs to be running until restarting its process 248 // is no longer considered to be a relaunch of the service. 251 // How long a service needs to be running until it will start back at 256 // a service is killed before it has run for SERVICE_RESET_RUN_DURATION. 264 // Maximum amount of time for there to be no activity on a service before 532 * All currently bound service connections. Keys are the IBinder of 653 * Used to control how we initialize the service. 735 * Keep track of the number of service processes we last found, to 1175 "Error canceling notification for service", 9956 dumpProcessList(PrintWriter pw, ActivityManagerService service, List list, String prefix, String normalLabel, String persistentLabel, String dumpPackage) argument 9977 dumpProcessOomList(PrintWriter pw, ActivityManagerService service, List<ProcessRecord> origList, String prefix, String normalLabel, String persistentLabel, boolean inclDetails, String dumpPackage) argument 11067 findServiceLocked(Intent service, String resolvedType, int userId) argument 11124 setService(ServiceRecord service) argument 11135 retrieveServiceLocked(Intent service, String resolvedType, int callingPid, int callingUid, int userId) argument 11714 startServiceLocked(IApplicationThread caller, Intent service, String resolvedType, int callingPid, int callingUid) argument 11762 startService(IApplicationThread caller, Intent service, String resolvedType) argument 11783 startServiceInPackage(int uid, Intent service, String resolvedType) argument 11796 stopServiceLocked(ServiceRecord service) argument 11805 stopService(IApplicationThread caller, Intent service, String resolvedType) argument 11845 peekService(Intent service, String resolvedType) argument 11998 bindService(IApplicationThread caller, IBinder token, Intent service, String resolvedType, IServiceConnection connection, int flags, int userId) argument 12242 publishService(IBinder token, Intent intent, IBinder service) argument [all...] |
H A D | CompatModePackages.java | 59 public CompatModePackages(ActivityManagerService service, File systemDir) { argument 60 mService = service;
|
/frameworks/base/core/java/android/app/ |
H A D | ActivityManager.java | 879 * The service component. 881 public ComponentName service; field in class:ActivityManager.RunningServiceInfo 884 * If non-zero, this is the process the service is running in. 889 * The UID that owns this service. 894 * The name of the process this service runs in. 899 * Set to true if the service has asked to run as a foreground process. 904 * The time when the service was first made active, either by someone 911 * Set to true if this service has been explicitly started. 916 * Number of clients connected to the service. 921 * Number of times the service' 1065 getRunningServiceControlPanel(ComponentName service) argument [all...] |
H A D | ActivityManagerNative.java | 671 Intent service = Intent.CREATOR.createFromParcel(data); 673 ComponentName cn = startService(app, service, resolvedType); 683 Intent service = Intent.CREATOR.createFromParcel(data); 685 int res = stopService(app, service, resolvedType); 722 Intent service = Intent.CREATOR.createFromParcel(data); 728 int res = bindService(app, token, service, resolvedType, conn, fl, userId); 748 IBinder service = data.readStrongBinder(); 749 publishService(token, intent, service); 1243 Intent service = Intent.CREATOR.createFromParcel(data); 1245 IBinder binder = peekService(service, resolvedTyp 2446 getRunningServiceControlPanel(ComponentName service) argument 2461 startService(IApplicationThread caller, Intent service, String resolvedType) argument 2477 stopService(IApplicationThread caller, Intent service, String resolvedType) argument 2528 bindService(IApplicationThread caller, IBinder token, Intent service, String resolvedType, IServiceConnection connection, int flags, int userId) argument 2562 publishService(IBinder token, Intent intent, IBinder service) argument 2605 peekService(Intent service, String resolvedType) argument [all...] |
/frameworks/base/core/java/android/os/ |
H A D | Debug.java | 1302 * Get a debugging dump of a system service by name. 1306 * @param name of the service to dump 1308 * @param args to pass to the service's dump method, may be null 1309 * @return true if the service was dumped successfully, false if 1310 * the service could not be found or had an error while dumping 1313 IBinder service = ServiceManager.getService(name); 1314 if (service == null) { 1315 Log.e(TAG, "Can't find service to dump: " + name); 1320 service.dump(fd, args); 1323 Log.e(TAG, "Can't dump service [all...] |
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
H A D | AsecTests.java | 130 IBinder service = ServiceManager.getService("mount"); 131 if (service != null) { 132 return IMountService.Stub.asInterface(service); 134 Log.e(TAG, "Can't get mount service");
|
/frameworks/base/services/java/com/android/server/ |
H A D | WallpaperManagerService.java | 51 import android.service.wallpaper.IWallpaperConnection; 52 import android.service.wallpaper.IWallpaperEngine; 53 import android.service.wallpaper.IWallpaperService; 54 import android.service.wallpaper.WallpaperService; 88 * Minimum time between crashes of a wallpaper service for us to consider 221 public void onServiceConnected(ComponentName name, IBinder service) { argument 225 mService = IWallpaperService.Stub.asInterface(service); 241 Slog.w(TAG, "Wallpaper service gone: " + mWallpaper.wallpaperComponent); 569 // This returns the current user's wallpaper, if called by a system service. Else it 711 String msg = "Selected service doe [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothHeadset.java | 41 * {@link BluetoothAdapter#closeProfileProxy} to close the service connection. 237 * Close the connection to the backing service. 284 if (mService == null) Log.w(TAG, "Proxy not attached to service"); 325 if (mService == null) Log.w(TAG, "Proxy not attached to service"); 342 if (mService == null) Log.w(TAG, "Proxy not attached to service"); 359 if (mService == null) Log.w(TAG, "Proxy not attached to service"); 377 if (mService == null) Log.w(TAG, "Proxy not attached to service"); 411 if (mService == null) Log.w(TAG, "Proxy not attached to service"); 439 if (mService == null) Log.w(TAG, "Proxy not attached to service"); 474 if (mService == null) Log.w(TAG, "Proxy not attached to service"); [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | AsyncChannel.java | 416 * Connect service and messenger. 851 public void onServiceConnected(ComponentName className, IBinder service) { argument 852 mDstMessenger = new Messenger(service);
|
/frameworks/base/media/java/android/media/ |
H A D | RemoteControlClient.java | 1059 IAudioService service = getService(); 1061 service.setPlaybackInfoForRcc(mRcseId, what, value);
|
/frameworks/base/core/java/android/accounts/ |
H A D | AccountManager.java | 100 * service you are accessing. The application may use whatever network and 242 public AccountManager(Context context, IAccountManager service) { argument 244 mService = service; 251 public AccountManager(Context context, IAccountManager service, Handler handler) { argument 253 mService = service; 349 * authenticator known to the AccountManager service. Empty (never 460 * whether Google accounts have a particular service (such as Google
|
/frameworks/base/core/java/android/service/dreams/ |
H A D | Dream.java | 4 package android.service.dreams; 45 * The {@link Intent} that must be declared as handled by the service. 46 * To be supported, the service must also require the 52 "android.service.dreams.Dream"; 362 * After this method is called, the service will be stopped. 386 * service interface. Subclasses should not override.
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputMethodManager.java | 80 * in each application context and communicates with a global system service 156 * enforced in the system by not binding to an input method service that does 480 InputMethodManager(IInputMethodManager service, Looper looper) { argument 481 mService = service; 512 IInputMethodManager service = IInputMethodManager.Stub.asInterface(b); 513 mInstance = new InputMethodManager(service, mainLooper); 1291 // should be done in conjunction with telling the system service 1438 * from an application or a service which has a token of the currently active input method. 1454 * from an application or a service which has a token of the currently active input method.
|
/frameworks/base/ |
H A D | Android.mk | 137 core/java/android/service/dreams/IDreamManager.aidl \ 138 core/java/android/service/dreams/IDreamService.aidl \ 139 core/java/android/service/wallpaper/IWallpaperConnection.aidl \ 140 core/java/android/service/wallpaper/IWallpaperEngine.aidl \ 141 core/java/android/service/wallpaper/IWallpaperService.aidl \
|