Searched refs:service (Results 76 - 100 of 132) sorted by relevance

123456

/frameworks/base/core/java/com/android/internal/os/storage/
H A DExternalStorageFormatter.java122 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 DUsbPermissionActivity.java109 IUsbManager service = IUsbManager.Stub.asInterface(b);
117 service.grantAccessoryPermission(mAccessory, mUid);
119 service.setAccessoryPackage(mAccessory, mPackageName);
H A DUsbStorageActivity.java210 IBinder service = ServiceManager.getService("mount");
211 if (service != null) {
212 return IMountService.Stub.asInterface(service);
/frameworks/base/core/java/android/app/
H A DActivityManager.java342 * 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 DIActivityManager.java47 * 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 DBluetoothAdapter.java307 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 DBluetoothHeadset.java34 * 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 DContext.java81 * 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 DContextWrapper.java335 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 DHTTPStream.cpp217 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 DMockContext.java305 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 DBluetoothService.java161 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 DDropBoxManager.java225 public DropBoxManager(IDropBoxManagerService service) { mService = service; } argument
/frameworks/base/core/java/android/speech/
H A DRecognitionService.java32 * 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>&lt;{@link android.R.styleable#RecognitionService recognition-service}&gt;</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 DSpeechRecognizer.java39 * 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 DToast.java101 INotificationManager service = getService();
108 service.enqueueToast(pkg, tn, mDuration);
/frameworks/base/libs/binder/
H A DIServiceManager.cpp139 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 DMediaRecorderClient.cpp292 MediaRecorderClient::MediaRecorderClient(const sp<MediaPlayerService>& service, pid_t pid) argument
312 mMediaPlayerService = service;
/frameworks/base/services/java/com/android/server/
H A DWallpaperManagerService.java46 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 DNetworkManagementService.java81 * 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 Dutils.c229 /* 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 DAsecTests.java133 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 Dmediarecorder.cpp590 const sp<IMediaPlayerService>& service(getMediaPlayerService());
591 if (service != NULL) {
592 mMediaRecorder = service->createMediaRecorder(getpid());
/frameworks/base/services/sensorservice/
H A DSensorService.h85 SensorEventConnection(const sp<SensorService>& service);
/frameworks/base/test-runner/src/android/test/
H A DIsolatedContext.java80 public boolean bindService(Intent service, ServiceConnection conn, int flags) { argument

Completed in 465 milliseconds

123456