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

12345678

/frameworks/base/core/java/com/android/internal/os/storage/
H A DExternalStorageFormatter.java130 Log.w(TAG, "Failed talking with mount service", e);
158 Log.w(TAG, "Failed talking with mount service", e);
196 Log.w(TAG, "Failed talking with mount service", e);
235 IBinder service = ServiceManager.getService("mount");
236 if (service != null) {
237 mMountService = IMountService.Stub.asInterface(service);
239 Log.e(TAG, "Can't get mount service");
/frameworks/base/media/jni/
H A Dandroid_media_MediaCrypto.cpp68 sp<IMediaPlayerService> service = local
71 if (service == NULL) {
75 sp<ICrypto> crypto = service->makeCrypto();
/frameworks/base/services/java/com/android/server/
H A DNsdService.java57 * Network Service Discovery Service handles remote service discovery operation requests by
312 if (DBG) Slog.d(TAG, "Stop service discovery");
331 if (DBG) Slog.d(TAG, "Register service");
351 if (DBG) Slog.d(TAG, "unregister service");
369 if (DBG) Slog.d(TAG, "Resolve service");
421 NsdService service = new NsdService(context);
422 service.mNativeDaemonConnected.await();
423 return service;
456 if (DBG) Slog.d(TAG, "Network service discovery enabled " + ret);
568 Slog.e(TAG, "Invalid service foun
647 registerService(int regId, NsdServiceInfo service) argument
705 resolveService(int resolveId, NsdServiceInfo service) argument
[all...]
/frameworks/av/cmds/stagefright/
H A Dstream.cpp334 sp<IMediaPlayerService> service = interface_cast<IMediaPlayerService>(binder); local
336 CHECK(service.get() != NULL);
359 service->create(getpid(), client, 0);
H A Dstagefright.cpp818 sp<IMediaPlayerService> service = local
821 CHECK(service.get() != NULL);
824 service->createMetadataRetriever(getpid());
880 sp<IMediaPlayerService> service = local
883 CHECK(service.get() != NULL);
885 sp<IOMX> omx = service->getOMX();
894 sp<IMediaPlayerService> service = interface_cast<IMediaPlayerService>(binder); local
896 CHECK(service.get() != NULL);
898 sp<IOMX> omx = service->getOMX();
/frameworks/base/core/tests/coretests/src/android/accounts/
H A DAccountManagerServiceTest.java200 for (ServiceInfo<AuthenticatorDescription> service : mServices) {
201 if (service.type.equals(type)) {
202 return service;
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DUsbStorageActivity.java205 IBinder service = ServiceManager.getService("mount");
206 if (service != null) {
207 return IMountService.Stub.asInterface(service);
/frameworks/base/services/java/com/android/server/wm/
H A DAppWindowAnimator.java53 public AppWindowAnimator(final WindowManagerService service, final AppWindowToken atoken) { argument
54 mService = service;
56 mAnimator = service.mAnimator;
/frameworks/base/core/java/android/nfc/
H A DNfcAdapter.java344 Log.e(TAG, "could not retrieve NFC service");
350 Log.e(TAG, "could not retrieve NFC Tag service");
370 /** get handle to NFC service interface */
372 /* get a handle to NFC service */
444 * Returns the binder interface to the service.
453 * Returns the binder interface to the tag service.
462 * NFC service dead - attempt best effort recovery
466 Log.e(TAG, "NFC service dead - attempting to recover", e);
467 INfcAdapter service = getServiceInterface();
468 if (service
[all...]
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
H A DFrameworkPerfActivity.java86 @Override public void onServiceConnected(ComponentName name, IBinder service) { argument
88 if (!(service instanceof Binder)) {
90 service.linkToDeath(this, 0);
93 mService = new Messenger(service);
96 // Whoops, service has disappeared... try starting again.
97 Log.w(TAG, "Test service died, starting again");
285 Log.w(TAG, "Failure communicating with service", e);
342 Log.w(TAG, "Test service aleady died when terminating");
/frameworks/base/core/java/android/server/
H A DBluetoothService.java189 RemoteService service = (RemoteService)o;
190 return address.equals(service.address) && uuid.equals(service.uuid);
506 * must go through this service), but does allow communication
507 * on RFCOMM sockets implemented outside of this service (ie BTOPP).
1252 * @return 32-bit integer encoding the remote major, minor, and service
1315 RemoteService service = new RemoteService(address, uuid);
1316 if (uuid != null && mUuidCallbackTracker.get(service) != null) {
1351 * @param uuid ParcelUuid of the service attribute
1353 * @return rfcomm channel associated with the service attribut
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DMediaRecorderClient.cpp303 MediaRecorderClient::MediaRecorderClient(const sp<MediaPlayerService>& service, pid_t pid) argument
308 mMediaPlayerService = service;
/frameworks/base/core/java/android/net/
H A DConnectivityManager.java619 public ConnectivityManager(IConnectivityManager service) { argument
620 mService = checkNotNull(service, "missing IConnectivityManager");
H A DEthernetDataTracker.java54 /* For sending events to connectivity service handler */
149 INetworkManagementService service = INetworkManagementService.Stub.asInterface(b);
151 service.clearInterfaceAddresses(mIface);
/frameworks/base/core/java/android/os/
H A DDropBoxManager.java254 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...]
/frameworks/base/core/java/android/widget/
H A DToast.java104 INotificationManager service = getService();
110 service.enqueueToast(pkg, tn, mDuration);
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
H A DClientTest.java149 Log.v(LOG_TAG, "service disconnected.");
152 public void onServiceConnected(ComponentName name, IBinder service) {
153 mWapPushMan = IWapPushManager.Stub.asInterface(service);
154 Log.v(LOG_TAG, "service connected.");
161 Log.v(LOG_TAG, "onStart bind WAPPushManager service "
165 Log.v(LOG_TAG, "bind service done.");
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DWapPushOverSms.java62 public void onServiceConnected(ComponentName name, IBinder service) { argument
63 mWapPushMan = IWapPushManager.Stub.asInterface(service);
/frameworks/native/libs/binder/
H A DIServiceManager.cpp139 ALOGI("Waiting for service %s...\n", String8(name).string());
154 virtual status_t addService(const String16& name, const sp<IBinder>& service, argument
160 data.writeStrongBinder(service);
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothAdapter.java372 IBluetooth service = IBluetooth.Stub.asInterface(b);
373 sAdapter = new BluetoothAdapter(service);
383 public BluetoothAdapter(IBluetooth service) { argument
384 if (service == null) {
385 throw new IllegalArgumentException("service is null");
387 mService = service;
690 * but is run as a system service, so an application should always call
719 * the Activity, but is run as a system service, so an application should
912 * UUID, service name, and auto-assigned channel. Remote Bluetooth devices
919 * @param name service nam
[all...]
/frameworks/base/core/java/android/app/
H A DIActivityManager.java48 * System private API for talking with the activity manager service. This
129 public PendingIntent getRunningServiceControlPanel(ComponentName service) argument
131 public ComponentName startService(IApplicationThread caller, Intent service, argument
133 public int stopService(IApplicationThread caller, Intent service, argument
140 Intent service, String resolvedType,
144 Intent intent, IBinder service) throws RemoteException;
145 public void unbindFinished(IBinder token, Intent service, argument
150 public IBinder peekService(Intent service, String resolvedType) throws RemoteException; argument
139 bindService(IApplicationThread caller, IBinder token, Intent service, String resolvedType, IServiceConnection connection, int flags, int userId) argument
143 publishService(IBinder token, Intent intent, IBinder service) argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java421 public Object getSystemService(String service) { argument
422 if (LAYOUT_INFLATER_SERVICE.equals(service)) {
426 if (TEXT_SERVICES_MANAGER_SERVICE.equals(service)) {
427 // we need to return a valid service to avoid NPE
432 // service. We don't have any but it's not worth an exception.
433 if (WINDOW_SERVICE.equals(service)) {
438 if (INPUT_METHOD_SERVICE.equals(service)) {
442 if (POWER_SERVICE.equals(service)) {
446 throw new UnsupportedOperationException("Unsupported Service: " + service);
/frameworks/av/media/libmedia/
H A Dmediarecorder.cpp621 const sp<IMediaPlayerService>& service(getMediaPlayerService());
622 if (service != NULL) {
623 mMediaRecorder = service->createMediaRecorder(getpid());
/frameworks/av/media/libstagefright/
H A DOMXClient.cpp322 sp<IMediaPlayerService> service = interface_cast<IMediaPlayerService>(binder); local
324 CHECK(service.get() != NULL);
326 mOMX = service->getOMX();

Completed in 485 milliseconds

12345678