Searched defs:service (Results 126 - 150 of 441) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/service/voice/
H A DVoiceInteractionService.java17 package android.service.voice;
41 * Top-level service of the current global voice interactor, which is providing
47 * <p>Because this service is always running, it should be kept as lightweight as
49 * in the associated {@link android.service.voice.VoiceInteractionSessionService} when
50 * an actual voice interaction is taking place, and that service should run in a
55 * The {@link Intent} that must be declared as handled by the service.
56 * To be supported, the service must also require the
62 "android.service.voice.VoiceInteractionService";
68 * android.R.styleable#VoiceInteractionService voice-interaction-service}&gt;</code> tag.
139 * Check whether the given service componen
142 isActiveService(Context context, ComponentName service) argument
[all...]
/frameworks/av/media/libaaudio/src/binding/
H A DAAudioBinderClient.cpp53 // TODO Share code with other service clients.
54 // Helper function to get access to the "AAudioService" service.
61 // Try several times to get the service.
101 const sp<IAAudioService> &service = getAAudioService(); local
102 if (service == 0) {
106 stream = service->openStream(request, configurationOutput);
119 const sp<IAAudioService> &service = getAAudioService(); local
120 if (service == 0) return AAUDIO_ERROR_NO_SERVICE;
121 return service->closeStream(streamHandle);
129 const sp<IAAudioService> &service local
135 const sp<IAAudioService> &service = getAAudioService(); local
141 const sp<IAAudioService> &service = getAAudioService(); local
147 const sp<IAAudioService> &service = getAAudioService(); local
153 const sp<IAAudioService> &service = getAAudioService(); local
165 const sp<IAAudioService> &service = getAAudioService(); local
176 const sp<IAAudioService> &service = getAAudioService(); local
[all...]
/frameworks/base/cmds/incident/
H A Dmain.cpp47 virtual Status onReportServiceStatus(const String16& service, int32_t status);
74 StatusListener::onReportServiceStatus(const String16& service, int32_t status) argument
76 fprintf(stderr, "service '%s' status %d\n", String8(service).string(), status);
190 // Look up the service
191 sp<IIncidentManager> service = interface_cast<IIncidentManager>( local
193 if (service == NULL) {
194 fprintf(stderr, "Couldn't look up the incident service\n");
206 // Call into the service
208 status = service
[all...]
/frameworks/base/core/java/android/app/
H A DWallpaperInfo.java37 import android.service.wallpaper.WallpaperService;
45 * This class is used to specify meta information of a wallpaper service.
84 * @param service The ResolveInfo returned from the package manager about
87 public WallpaperInfo(Context context, ResolveInfo service) argument
89 mService = service;
90 ServiceInfo si = service.serviceInfo;
184 * Return the class name of the service component that implements
200 * Return the component of the service that implements this wallpaper.
/frameworks/base/core/java/android/app/job/
H A DJobServiceEngine.java69 JobInterface(JobServiceEngine service) { argument
70 mService = new WeakReference<>(service);
75 JobServiceEngine service = mService.get();
76 if (service != null) {
77 Message m = Message.obtain(service.mHandler, MSG_EXECUTE_JOB, jobParams);
84 JobServiceEngine service = mService.get();
85 if (service != null) {
86 Message m = Message.obtain(service.mHandler, MSG_STOP_JOB, jobParams);
180 * @param service The {@link Service} that is creating this engine and in which it will run.
182 public JobServiceEngine(Service service) { argument
[all...]
/frameworks/base/core/java/android/app/usage/
H A DUsageStatsManager.java100 public UsageStatsManager(Context context, IUsageStatsManager service) { argument
102 mService = service;
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattServerCallback.java40 * Indicates whether a local service has been added successfully.
42 * @param status Returns {@link BluetoothGatt#GATT_SUCCESS} if the service
44 * @param service The service that has been added
46 public void onServiceAdded(int status, BluetoothGattService service) { argument
/frameworks/base/core/java/android/content/pm/permission/
H A DRuntimePermissionPresenter.java163 public void onServiceConnected(ComponentName name, IBinder service) { argument
165 mRemoteInstance = IRuntimePermissionPresenter.Stub.asInterface(service);
/frameworks/base/core/java/android/nfc/cardemulation/
H A DCardEmulation.java55 * card emulation service for a certain category. This will
57 * replace the current default service with the service
74 * The service {@link ComponentName} object passed in as an
95 * <p>In this mode, the user has set a default service for this
101 * that the default service has registered in this category,
102 * that service will automatically be bound to to handle
112 * is selected, the user is asked which service he wants to use to handle
113 * the transaction, even if there is only one matching service.
121 * or {@link OffHostApduService}, the user will only be asked to select a service
134 CardEmulation(Context context, INfcCardEmulation service) argument
202 isDefaultServiceForCategory(ComponentName service, String category) argument
233 isDefaultServiceForAid(ComponentName service, String aid) argument
325 registerAidsForService(ComponentName service, String category, List<String> aids) argument
361 getAidsForService(ComponentName service, String category) argument
398 removeAidsForService(ComponentName service, String category) argument
446 setPreferredService(Activity activity, ComponentName service) argument
538 setDefaultServiceForCategory(ComponentName service, String category) argument
561 setDefaultForNextTap(ComponentName service) argument
[all...]
/frameworks/base/core/java/android/service/autofill/
H A DDataset.java17 package android.service.autofill;
40 * with the whole dataset). When an autofill service returns datasets in a {@link FillResponse}
49 * @see android.service.autofill.AutofillService for more information and examples about the
H A DFillEventHistory.java17 package android.service.autofill;
41 * requests. For example, the service might return email addresses in alphabetical order by
44 * <p>The history is not persisted over reboots, and it's cleared every time the service
48 * {@link FillCallback#onFailure(CharSequence)} (if the service doesn't call any of these methods,
/frameworks/base/core/java/android/service/carrier/
H A DCarrierIdentifier.java17 package android.service.carrier;
73 /** Get the service provider name. */
/frameworks/base/core/java/android/service/notification/
H A DCondition.java17 package android.service.notification;
H A DConditionProviderService.java17 package android.service.notification;
35 * A service that provides conditions about boolean state.
36 * <p>To extend this class, you must declare the service in your manifest file with
39 * able to create and update conditions for this service to monitor, include the
43 * &lt;service android:name=".MyConditionProvider"
47 * &lt;action android:name="android.service.notification.ConditionProviderService" />
50 * android:name="android.service.zen.automatic.ruleType"
54 * android:name="android.service.zen.automatic.configurationActivity"
57 * &lt;/service></pre>
70 * The {@link Intent} that must be declared as handled by the service
[all...]
H A DNotificationAssistantService.java17 package android.service.notification;
39 * A service that helps the user manage notifications.
48 * The {@link Intent} that must be declared as handled by the service.
52 = "android.service.notification.NotificationAssistantService";
/frameworks/base/core/java/android/service/resolver/
H A DResolverTarget.java17 package android.service.resolver;
/frameworks/base/core/java/android/view/textservice/
H A DSpellCheckerInfo.java66 public SpellCheckerInfo(Context context, ResolveInfo service) argument
68 mService = service;
69 ServiceInfo si = service.serviceInfo;
162 * Return the component of the service that implements.
/frameworks/base/core/tests/coretests/src/android/content/
H A DAbstractCrossUserContentResolverTest.java74 fail("Timed out waiting for service connection to establish");
145 public void onServiceConnected(ComponentName name, IBinder service) { argument
146 mService = ICrossUserContentService.Stub.asInterface(service);
/frameworks/base/location/lib/java/com/android/location/provider/
H A DActivityRecognitionProvider.java60 public ActivityRecognitionProvider(IActivityRecognitionHardware service) argument
62 Preconditions.checkNotNull(service);
63 mService = service;
83 // and in the service) of all sinks while failing to disable all events
/frameworks/base/media/java/android/media/
H A DMediaScannerConnection.java33 * newly created or downloaded media file to the media scanner service.
34 * The media scanner service will read metadata from the file and add
37 * media scanner service to return the Uri for a newly scanned file
75 * when a connection to the MediaScanner service has been established
81 * MediaScanner service has been established.
98 * the media scanner service.
108 * Initiates a connection to the media scanner service.
126 * Releases the connection to the media scanner service.
151 * Returns whether we are connected to the media scanner service
227 * the media scanner service
249 onServiceConnected(ComponentName className, IBinder service) argument
[all...]
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/
H A DBluetoothMidiDevice.java55 // Bluetooth MIDI Gatt service UUID
104 Log.d(TAG, "Attempting to start service discovery:" +
115 BluetoothGattService service = gatt.getService(MIDI_SERVICE);
116 if (service != null) {
119 = service.getCharacteristic(MIDI_CHARACTERISTIC);
220 BluetoothMidiService service) {
222 mService = service;
219 BluetoothMidiDevice(Context context, BluetoothDevice device, BluetoothMidiService service) argument
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/service/
H A DRedirectListener.java1 package com.android.hotspot2.osu.service;
/frameworks/base/services/core/java/com/android/server/
H A DSystemService.java32 * to initialize the system service.
33 * <li>{@link #onStart()} is called to get the service running. The service should
40 * is an opportunity to do special work, like acquiring optional service dependencies,
41 * waiting to see if SafeMode is enabled, or registering with a service that gets
88 * Initializes the system service.
128 * When this method returns, the service should be published.
133 * Called on each phase of the boot process. Phases before the service's start phase
175 * user (such as binding to a service running in the user).
196 * Publish the service s
198 publishBinderService(String name, IBinder service) argument
205 publishBinderService(String name, IBinder service, boolean allowIsolated) argument
220 publishLocalService(Class<T> type, T service) argument
[all...]
H A DSystemServiceManager.java52 * Starts a service by class name.
54 * @return The service instance.
63 throw new RuntimeException("Failed to create service " + className
64 + ": service class not found, usually indicates that the caller should "
73 * Creates and starts a system service. The class must be a subclass of
77 * @return The service instance, never null.
78 * @throws RuntimeException if the service fails to start.
87 // Create the service.
90 + ": service must extend " + SystemService.class.getName());
92 final T service;
117 startService(@onNull final SystemService service) argument
293 warnIfTooLong(long duration, SystemService service, String operation) argument
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DAppErrorDialog.java62 public AppErrorDialog(Context context, ActivityManagerService service, Data data) { argument
66 mService = service;

Completed in 516 milliseconds

1234567891011>>