/frameworks/base/core/java/com/android/internal/os/storage/ |
H A D | ExternalStorageFormatter.java | 122 Log.w(TAG, "Failed talking with mount service", e); 145 Log.w(TAG, "Failed talking with mount service", e); 180 Log.w(TAG, "Failed talking with mount service", e); 219 IBinder service = ServiceManager.getService("mount"); 220 if (service != null) { 221 mMountService = IMountService.Stub.asInterface(service); 223 Log.e(TAG, "Can't get mount service");
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
H A D | UsbPermissionActivity.java | 109 IUsbManager service = IUsbManager.Stub.asInterface(b); 117 service.grantAccessoryPermission(mAccessory, mUid); 119 service.setAccessoryPackage(mAccessory, mPackageName);
|
H A D | UsbStorageActivity.java | 210 IBinder service = ServiceManager.getService("mount"); 211 if (service != null) { 212 return IMountService.Stub.asInterface(service);
|
/frameworks/base/core/java/android/app/ |
H A D | ActivityManager.java | 342 * The service component. 344 public ComponentName service; field in class:ActivityManager.RunningServiceInfo 347 * If non-zero, this is the process the service is running in. 352 * The UID that owns this service. 357 * The name of the process this service runs in. 362 * Set to true if the service has asked to run as a foreground process. 367 * The time when the service was first made active, either by someone 374 * Set to true if this service has been explicitly started. 379 * Number of clients connected to the service. 384 * Number of times the service' 525 getRunningServiceControlPanel(ComponentName service) argument [all...] |
H A D | IActivityManager.java | 47 * System private API for talking with the activity manager service. This 152 public PendingIntent getRunningServiceControlPanel(ComponentName service) argument 154 public ComponentName startService(IApplicationThread caller, Intent service, argument 156 public int stopService(IApplicationThread caller, Intent service, argument 163 Intent service, String resolvedType, 167 Intent intent, IBinder service) throws RemoteException; 168 public void unbindFinished(IBinder token, Intent service, argument 173 public IBinder peekService(Intent service, String resolvedType) throws RemoteException; argument 162 bindService(IApplicationThread caller, IBinder token, Intent service, String resolvedType, IServiceConnection connection, int flags) argument 166 publishService(IBinder token, Intent intent, IBinder service) argument
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothAdapter.java | 307 IBluetooth service = IBluetooth.Stub.asInterface(b); 308 sAdapter = new BluetoothAdapter(service); 318 public BluetoothAdapter(IBluetooth service) { argument 319 if (service == null) { 320 throw new IllegalArgumentException("service is null"); 322 mService = service; 589 * but is run as a system service, so an application should always call 618 * the Activity, but is run as a system service, so an application should 782 * UUID, service name, and auto-assigned channel. Remote Bluetooth devices 789 * @param name service nam [all...] |
H A D | BluetoothHeadset.java | 34 * Bluetooth Headset and Handsfree (v1.5) profiles. The Headset service will 41 * BluetoothHeadset service. Users of this object should call close() when they 43 * from the service. 46 * BluetoothHeadset service. Use the ServiceListener interface to obtain a 133 * been connected to the BluetoothHeadset service. 138 * connected to the BluetoothHeadset service. Clients must wait for 140 * service. 146 * disconnected from the BluetoothHeadset service. Clients must not 147 * make IPC calls on the BluetoothHeadset service after this callback. 149 * the BluetoothHeadset service, bu [all...] |
/frameworks/base/core/java/android/content/ |
H A D | Context.java | 81 * Flag for {@link #bindService}: automatically create the service as long 82 * as the binding exists. Note that while this will create the service, 86 * this still provides you with access to the service object while the 87 * service is created. 89 * <p>Specifying this flag also tells the system to treat the service 91 * which process should be killed to free memory, the service will only 94 * the service is being continually created and killed due to low memory. 110 * the target service's process to the foreground scheduling priority. 116 * and the target service is in a background process. 1007 * Request that a given application service b 1052 startService(Intent service) argument 1081 stopService(Intent service) argument 1127 bindService(Intent service, ServiceConnection conn, int flags) argument [all...] |
H A D | ContextWrapper.java | 335 public ComponentName startService(Intent service) { argument 336 return mBase.startService(service); 345 public boolean bindService(Intent service, ServiceConnection conn, argument 347 return mBase.bindService(service, conn, flags);
|
/frameworks/base/media/libstagefright/ |
H A D | HTTPStream.cpp | 217 char service[sizeof("65536")]; local 218 sprintf(service, "%d", port); 224 int ret = getaddrinfo(server, service, &hints, &ai);
|
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockContext.java | 305 public ComponentName startService(Intent service) { argument 310 public boolean stopService(Intent service) { argument 315 public boolean bindService(Intent service, ServiceConnection conn, int flags) { argument
|
/frameworks/base/core/java/android/server/ |
H A D | BluetoothService.java | 161 RemoteService service = (RemoteService)o; 162 return address.equals(service.address) && uuid.equals(service.uuid); 468 // SystemService.start() forks sdptool to register service 473 // TODO: Don't fork sdptool in order to register service 1494 * @return 32-bit integer encoding the remote major, minor, and service 1557 RemoteService service = new RemoteService(address, uuid); 1558 if (uuid != null && mUuidCallbackTracker.get(service) != null) { 1602 * @param uuid ParcelUuid of the service attribute 1604 * @return rfcomm channel associated with the service attribut [all...] |
/frameworks/base/core/java/android/os/ |
H A D | DropBoxManager.java | 225 public DropBoxManager(IDropBoxManagerService service) { mService = service; } argument
|
/frameworks/base/core/java/android/speech/ |
H A D | RecognitionService.java | 32 * This class provides a base class for recognition service implementations. This class should be 34 * implementation of this service is stateless. 38 * The {@link Intent} that must be declared as handled by the service. 46 * <code><{@link android.R.styleable#RecognitionService recognition-service}></code> tag. 56 /** Binder of the recognition service */ 165 Log.e(TAG, "call for recognition service without RECORD_AUDIO permissions"); 174 * Notifies the service that it should start listening for speech. 179 * @param listener that will receive the service's callbacks 184 * Notifies the service that it should cancel the speech recognition. 189 * Notifies the service tha 310 RecognitionServiceBinder(RecognitionService service) argument [all...] |
H A D | SpeechRecognizer.java | 39 * This class provides access to the speech recognition service. This service allows access to the 96 /** The connection to the actual service */ 102 /** Component to direct service intent to */ 150 public void onServiceConnected(final ComponentName name, final IBinder service) { argument 152 mService = IRecognitionService.Stub.asInterface(service); 169 * Checks whether a speech recognition service is available on the system. If this method 201 * Use this version of the method to specify a specific service to direct this 204 * service. 207 * @param serviceComponent the {@link ComponentName} of a specific service t [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | Toast.java | 101 INotificationManager service = getService(); 108 service.enqueueToast(pkg, tn, mDuration);
|
/frameworks/base/libs/binder/ |
H A D | IServiceManager.cpp | 139 LOGI("Waiting for service %s...\n", String8(name).string()); 154 virtual status_t addService(const String16& name, const sp<IBinder>& service) argument 159 data.writeStrongBinder(service);
|
/frameworks/base/media/libmediaplayerservice/ |
H A D | MediaRecorderClient.cpp | 292 MediaRecorderClient::MediaRecorderClient(const sp<MediaPlayerService>& service, pid_t pid) argument 312 mMediaPlayerService = service;
|
/frameworks/base/services/java/com/android/server/ |
H A D | WallpaperManagerService.java | 46 import android.service.wallpaper.IWallpaperConnection; 47 import android.service.wallpaper.IWallpaperEngine; 48 import android.service.wallpaper.IWallpaperService; 49 import android.service.wallpaper.WallpaperService; 70 import com.android.internal.service.wallpaper.ImageWallpaper; 83 * Minimum time between crashes of a wallpaper service for us to consider 172 public void onServiceConnected(ComponentName name, IBinder service) { argument 176 mService = IWallpaperService.Stub.asInterface(service); 192 Slog.w(TAG, "Wallpaper service gone: " + mWallpaperComponent); 509 throw new SecurityException("Selected service doe [all...] |
H A D | NetworkManagementService.java | 81 * Binder context for this service 98 * @param context Binder context for this service 114 NetworkManagementService service = new NetworkManagementService(context); 116 service.mThread.start(); 118 service.mConnectedSignal.await(); 120 return service;
|
/frameworks/base/cmds/dumpstate/ |
H A D | utils.c | 229 /* redirect output to a service control socket */ 230 void redirect_to_socket(FILE *redirect, const char *service) { argument 231 int s = android_get_control_socket(service); 233 fprintf(stderr, "android_get_control_socket(%s): %s\n", service, strerror(errno));
|
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
H A D | AsecTests.java | 133 IBinder service = ServiceManager.getService("mount"); 134 if (service != null) { 135 return IMountService.Stub.asInterface(service); 137 Log.e(TAG, "Can't get mount service");
|
/frameworks/base/media/libmedia/ |
H A D | mediarecorder.cpp | 590 const sp<IMediaPlayerService>& service(getMediaPlayerService()); 591 if (service != NULL) { 592 mMediaRecorder = service->createMediaRecorder(getpid());
|
/frameworks/base/services/sensorservice/ |
H A D | SensorService.h | 85 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
|