Searched defs:service (Results 276 - 300 of 441) sorted by relevance

<<1112131415161718

/frameworks/native/cmds/lshal/
H A DListCommand.cpp364 // debug info for a service we create on the fly, so we only operate
497 << "cannot be fetched from service manager:"
502 sp<IBase> service = getRet; local
503 if (service == nullptr) {
505 << "cannot be fetched from service manager (null)"
510 auto debugRet = timeoutIPC(service, &IBase::getDebugInfo, [&] (const auto &debugInfo) {
/frameworks/native/libs/binder/tests/
H A DbinderThroughputTest.cpp180 sp<BinderWorkerService> service = new BinderWorkerService; local
181 serviceMgr->addService(generateServiceName(num), service); local
/frameworks/native/libs/vr/libpdx/private/pdx/
H A Dservice.h33 * In contrast, service opcodes start at zero and go up. This scheme leaves
45 // Request the service to reload system properties.
47 // Request the service to dump state and return it in a text buffer.
54 * Base class of service-side per-channel context classes.
75 * 1. The service calls one of the reply methods before the Message is
81 * sender until a later time. In this situation the service can move the
203 Service* service, int flags, const std::shared_ptr<Channel>& channel,
207 * Check whether the |ref| is a reference to channel to this service.
213 * this service's channel.
216 * another service
249 CheckChannel(const Service* service, ChannelReference ref, std::shared_ptr<C>* channel) const argument
[all...]
/frameworks/native/services/sensorservice/
H A DSensorEventConnection.cpp31 const sp<SensorService>& service, uid_t uid, String8 packageName, bool isDataInjectionMode,
33 : mService(service), mUid(uid), mWakeLockRefCount(0), mHasLooperCallbacks(false),
30 SensorEventConnection( const sp<SensorService>& service, uid_t uid, String8 packageName, bool isDataInjectionMode, const String16& opPackageName) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
H A DImsServiceController.java47 * on each feature that the service supports. For each ImsFeature that is created,
78 public void onServiceConnected(ComponentName name, IBinder service) { argument
84 + service);
85 if (service != null) {
88 service.linkToDeath(mImsDeathRecipient, 0);
89 mImsServiceControllerBinder = service;
90 mIImsServiceController = IImsServiceController.Stub.asInterface(service);
255 * created once the service is bound.
256 * @return {@link true} if the service is in the process of being bound, {@link false} if it
288 * ImsService supports and then unbinds the service
[all...]
/frameworks/support/compat/java/android/support/v4/app/
H A DJobIntentService.java42 * Helper for processing work that has been enqueued for a job/service. When running on
53 * dispatched to and handled by your service. It will be executed in
68 * <li><p>When running as a pre-O service, the act of enqueueing work will generally start
69 * the service immediately, regardless of whether the device is dozing or in other
73 * a service if the device is under strong memory pressure with lots of demand to run
75 * <li><p>When running as a pre-O service, the normal service execution semantics apply:
76 * the service can run indefinitely, though the longer it runs the more likely the system
106 * Base class for the target service we can deliver work to and the implementation of
176 if (DEBUG) Log.d(TAG, "Starting service fo
260 JobServiceEngineImpl(JobIntentService service) argument
[all...]
H A DNotificationManagerCompat.java73 * Intent action to register for on a service to receive side channel
74 * notifications. The listening service must be in the same package as an enabled
75 * {@link android.service.notification.NotificationListenerService}.
364 record.service = INotificationSideChannel.Stub.asInterface(iBinder);
387 Log.d(TAG, "Connected to service " + componentName);
397 Log.d(TAG, "Disconnected from service " + componentName);
454 * Ensure we are already attempting to bind to a service, or start a new binding if not.
455 * @return Whether the service bind attempt was successful.
474 * Ensure we have unbound from a service.
481 record.service
559 public INotificationSideChannel service; field in class:NotificationManagerCompat.SideChannelManager.ListenerRecord
583 send(INotificationSideChannel service) argument
600 send(INotificationSideChannel service) argument
636 send(INotificationSideChannel service) argument
[all...]
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
H A DMediaBrowserServiceSupport.java55 * This class provides a MediaBrowser through a service. It exposes the media library to a browsing
60 * (should) also use the same service from your app's UI, which gives a seamless playback
67 * <li> Extend {@link android.service.media.MediaBrowserService}, implementing the media browsing
68 * related methods {@link android.service.media.MediaBrowserService#onGetRoot} and
69 * {@link android.service.media.MediaBrowserService#onLoadChildren};
71 * with the session's token {@link android.service.media.MediaBrowserService#setSessionToken};
85 * <li> Declare and export the service in AndroidManifest with an intent receiver for the action
137 // Indicates whether the service was started.
531 Log.v(TAG, "Starting service");
572 // service i
762 DelayedStopHandler(MediaBrowserServiceSupport service) argument
[all...]
H A DPlayback.java97 public Playback(MediaBrowserServiceSupport service, MusicProvider musicProvider) { argument
98 this.mService = service;
100 this.mAudioManager = (AudioManager) service.getSystemService(Context.AUDIO_SERVICE);
102 this.mWifiLock = ((WifiManager) service.getSystemService(Context.WIFI_SERVICE))
202 // Pause media player and cancel the 'foreground service' state.
433 * Releases resources used by the service for playback. This includes the
434 * "foreground service" status, the wake locks and possibly the MediaPlayer.
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
H A DMediaBrowserServiceSupport.java55 * This class provides a MediaBrowser through a service. It exposes the media library to a browsing
60 * (should) also use the same service from your app's UI, which gives a seamless playback
67 * <li> Extend {@link android.service.media.MediaBrowserService}, implementing the media browsing
68 * related methods {@link android.service.media.MediaBrowserService#onGetRoot} and
69 * {@link android.service.media.MediaBrowserService#onLoadChildren};
71 * with the session's token {@link android.service.media.MediaBrowserService#setSessionToken};
85 * <li> Declare and export the service in AndroidManifest with an intent receiver for the action
137 // Indicates whether the service was started.
531 Log.v(TAG, "Starting service");
572 // service i
762 DelayedStopHandler(MediaBrowserServiceSupport service) argument
[all...]
H A DPlayback.java97 public Playback(MediaBrowserServiceSupport service, MusicProvider musicProvider) { argument
98 this.mService = service;
100 this.mAudioManager = (AudioManager) service.getSystemService(Context.AUDIO_SERVICE);
102 this.mWifiLock = ((WifiManager) service.getSystemService(Context.WIFI_SERVICE))
202 // Pause media player and cancel the 'foreground service' state.
433 * Releases resources used by the service for playback. This includes the
434 * "foreground service" status, the wake locks and possibly the MediaPlayer.
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouteProviderService.java76 * To implement your own media route provider service, extend this class and
80 * Declare your media route provider service in your application manifest
84 * &lt;service android:name=".MyMediaRouteProviderService"
89 * &lt;/service>
106 * The {@link Intent} that must be declared as handled by the service.
118 * Creates a media route provider service.
130 * @return The media route provider offered by this service, or null if
131 * this service has decided not to offer a media route provider.
136 * Gets the media route provider offered by this service.
138 * @return The media route provider offered by this service, o
650 ReceiveHandler(MediaRouteProviderService service) argument
[all...]
/frameworks/av/camera/tests/
H A DCameraBinderTests.cpp285 ALOGW("Camera service died!");
291 // Exercise basic binder calls for the camera service
301 sp<hardware::ICameraService> service = local
307 res = service->getNumberOfCameras(hardware::ICameraService::CAMERA_TYPE_ALL, &numCameras);
314 res = service->addListener(listener, &statuses);
322 res = service->supportsCameraApi(cameraId,
333 res = service->getCameraCharacteristics(cameraId, &metadata);
347 res = service->connectDevice(callbacks, cameraId, String16("meeeeeeeee!"),
357 res = service->setTorchMode(cameraId,
362 res = service
377 sp<hardware::ICameraService> service; member in class:CameraClientBinderTest
[all...]
/frameworks/av/drm/libdrmframework/
H A DDrmManagerClientImpl.cpp40 sp<IDrmManagerService> service = getDrmManagerService(); local
41 if (service != NULL) {
56 if (property_get("drm.service.enabled", value, NULL) == 0) {
/frameworks/av/media/libstagefright/omx/tests/
H A DOMXHarness.cpp92 sp<IMediaCodecService> service = interface_cast<IMediaCodecService>(binder); local
93 mOMX = service->getOMX();
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyService.h154 // are implemented by the policy service.
269 AudioCommandThread (String8 name, const wp<AudioPolicyService>& service);
423 explicit AudioPolicyClient(AudioPolicyService *service) : mAudioPolicyService(service) {} argument
531 NotificationClient(const sp<AudioPolicyService>& service,
569 // and possibly back in to audio policy service and acquire mEffectsLock.
/frameworks/av/services/soundtrigger/
H A DSoundTriggerHwService.cpp199 sp<SoundTriggerHwService> service = module->service().promote(); local
200 if (service == 0) {
204 service->sendRecognitionEvent(event, module);
286 sp<SoundTriggerHwService> service = module->service().promote(); local
287 if (service == 0) {
291 service->sendSoundModelEvent(event, module);
424 SoundTriggerHwService::CallbackThread::CallbackThread(const wp<SoundTriggerHwService>& service) argument
425 : mService(service)
446 sp<SoundTriggerHwService> service; local
496 Module(const sp<SoundTriggerHwService>& service, const sp<SoundTriggerHalInterface>& halInterface, sound_trigger_module_descriptor descriptor) argument
816 sp<SoundTriggerHwService> service; local
1025 sp<SoundTriggerHwService> service; local
[all...]
/frameworks/base/core/java/android/app/
H A DAlarmManager.java58 * is possible that the phone will sleep before the requested service is launched.
61 * service becomes available.
264 AlarmManager(IAlarmManager service, Context ctx) { argument
265 mService = service;
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothClass.java28 * <p>Every Bluetooth class is composed of zero or more service classes, and
35 * service discovery is done through SDP requests, which are automatically
102 * Defines all service class constants.
103 * <p>Each {@link BluetoothClass} encodes zero or more service classes.
120 * Return true if the specified service class is supported by this
122 * <p>Valid service classes are the public constants in
126 * @param service valid service class
127 * @return true if the service class is supported
129 public boolean hasService(int service) { argument
[all...]
H A DBluetoothGattCharacteristic.java28 * <p>A GATT characteristic is a basic data element used to construct a GATT service,
210 * Back-reference to the service this characteristic belongs to.
242 /*package*/ BluetoothGattCharacteristic(BluetoothGattService service, argument
245 initCharacteristic(service, uuid, instanceId, properties, permissions);
257 private void initCharacteristic(BluetoothGattService service, argument
264 mService = service;
359 * Returns the service this characteristic belongs to.
360 * @return The asscociated service
367 * Sets the service associated with this device.
370 /*package*/ void setService(BluetoothGattService service) { argument
[all...]
/frameworks/base/core/java/android/net/nsd/
H A DNsdManager.java44 * <p> The API currently supports DNS based service discovery and discovery is currently
45 * limited to a local network over Multicast DNS. DNS service discovery is described at
71 * | add service to list
79 * | remove service from list
84 * | Connect to a service
91 * Establish connection to service
98 * with service type "_http._tcp". A successful registration is notified with a callback to
103 * with a call to {@link #discoverServices}. A service found is notified with a callback
104 * to {@link DiscoveryListener#onServiceFound} and a service lost is notified on
107 * <p> Once the peer application discovers the "Example" http service, an
264 NsdManager(Context context, INsdManager service) argument
[all...]
/frameworks/base/core/java/android/service/voice/
H A DAlwaysOnHotwordDetector.java17 package android.service.voice;
331 * @param voiceInteractionService The current voice interaction service.
332 * @param modelManagementService A service that allows management of sound models.
541 * Reloads the sound models from the service.
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityManager.java56 * System level service that serves as an event dispatch for {@link AccessibilityEvent}s,
61 * events implement and register an accessibility service which extends
98 * Activity action: Launch UI to manage which accessibility service or feature is assigned
180 * enabled or disabled, or changes to the {@link AccessibilityServiceInfo} of a running service.
283 * @param service An interface to the backing service.
288 public AccessibilityManager(Context context, IAccessibilityManager service, int userId) { argument
295 tryConnectToServiceLocked(service);
303 * @param service An interface to the backing service
308 AccessibilityManager(Handler handler, IAccessibilityManager service, int userId) argument
969 tryConnectToServiceLocked(IAccessibilityManager service) argument
[all...]
/frameworks/base/media/java/android/service/media/
H A DMediaBrowserService.java17 package android.service.media;
37 import android.service.media.IMediaBrowserService;
38 import android.service.media.IMediaBrowserServiceCallbacks;
62 * To extend this class, you must declare the service in your manifest file with
67 * &lt;service android:name=".MyMediaBrowserService"
72 * &lt;/service>
81 * The {@link Intent} that must be declared as handled by the service.
215 Log.i(TAG, "No root for client " + pkg + " from service "
358 * @param rootHints An optional bundle of service-specific arguments to send
359 * to the media browser service whe
[all...]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DAccessibilityInputFilter.java151 AccessibilityInputFilter(Context context, AccessibilityManagerService service) { argument
154 mAms = service;
356 // into the accessibility manager service similarly

Completed in 604 milliseconds

<<1112131415161718