Searched refs:service (Results 151 - 175 of 1144) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/bluetooth/
H A DBluetoothHealth.java105 if (VDBG) Log.d(TAG, "Unbinding service...");
118 if (VDBG) Log.d(TAG, "Binding service...");
179 final IBluetoothHealth service = mService;
180 if (service != null) {
182 result = service.registerAppConfiguration(config, wrapper);
187 Log.w(TAG, "Proxy not attached to service");
204 final IBluetoothHealth service = mService;
205 if (service != null && isEnabled() && config != null) {
207 result = service.unregisterAppConfiguration(config);
212 Log.w(TAG, "Proxy not attached to service");
[all...]
/frameworks/base/services/print/java/com/android/server/print/
H A DRemotePrintService.java47 import android.service.print.ActivePrintServiceProto;
58 * This class represents a remote print service. It abstracts away the binding
108 public void onServiceDied(RemotePrintService service); argument
185 // The service is dead and neither has active jobs nor discovery
186 // session, so ensure we are unbound since the service has no work.
202 // If the service has a printer discovery session
298 // The service is dead and neither has active jobs nor discovery
299 // session, so ensure we are unbound since the service has no work.
320 // If the service has no print jobs and no active discovery
620 public void onServiceConnected(ComponentName name, IBinder service) { argument
680 RemotePrintServiceClient(RemotePrintService service) argument
[all...]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationListenerServiceTest.java19 import static android.service.notification.NotificationListenerService.Ranking
21 import static android.service.notification.NotificationListenerService.Ranking
23 import static android.service.notification.NotificationListenerService.Ranking
39 import android.service.notification.NotificationListenerService;
40 import android.service.notification.NotificationListenerService.Ranking;
41 import android.service.notification.NotificationRankingUpdate;
42 import android.service.notification.SnoozeCriterion;
43 import android.service.notification.StatusBarNotification;
63 TestListenerService service = new TestListenerService();
64 INotificationManager noMan = service
[all...]
/frameworks/base/services/autofill/java/com/android/server/autofill/
H A DAutofillManagerService.java57 import android.service.autofill.FillEventHistory;
58 import android.service.autofill.UserData;
94 * Entry point service for autofill management.
96 * <p>This service provides the {@link IAutoFillManager} implementation and keeps a list of
176 // Hookup with UserManager to disable service when necessary.
332 * Gets the service instance for an user.
334 * @return service instance.
341 AutofillManagerServiceImpl service = mServicesCache.get(resolvedUserId);
342 if (service == null) {
343 service
[all...]
/frameworks/base/cmds/statsd/src/subscriber/
H A DIncidentdReporter.cpp64 sp<IIncidentManager> service = interface_cast<IIncidentManager>( local
66 if (service == nullptr) {
67 ALOGW("Failed to fetch incident service.");
70 VLOG("Calling incidentd %p", service.get());
71 binder::Status s = service->reportIncident(incidentReport);
/frameworks/base/core/java/android/hardware/location/
H A DIGeofenceHardware.aidl27 void setGpsGeofenceHardware(in IGpsGeofenceHardware service);
28 void setFusedGeofenceHardware(in IFusedGeofenceHardware service);
/frameworks/base/core/java/android/service/autofill/
H A DInternalSanitizer.java16 package android.service.autofill;
H A DInternalValidator.java16 package android.service.autofill;
/frameworks/base/core/java/android/service/trust/
H A DITrustAgentService.aidl16 package android.service.trust;
20 import android.service.trust.ITrustAgentServiceCallback;
/frameworks/base/native/android/include/android/
H A Dmultinetwork.h92 * - either |node| or |service| may be NULL, but not both
99 const char *node, const char *service,
/frameworks/base/services/backup/java/com/android/server/backup/
H A DFullBackupJob.java64 Trampoline service = BackupManagerService.getInstance();
65 return service.beginFullBackup(this);
72 Trampoline service = BackupManagerService.getInstance();
73 service.endFullBackup();
/frameworks/base/tests/Assist/src/com/android/test/assist/
H A DAssistInteractionService.java20 import android.service.voice.VoiceInteractionService;
/frameworks/base/tests/CameraPrewarmTest/src/com/google/android/test/cameraprewarm/
H A DPrewarmService.java19 import android.service.media.CameraPrewarmService;
/frameworks/native/include/android/
H A Dmultinetwork.h92 * - either |node| or |service| may be NULL, but not both
99 const char *node, const char *service,
/frameworks/native/services/vr/bufferhubd/
H A Dbufferhubd.cpp14 std::shared_ptr<android::pdx::Service> service; local
38 CHECK_ERROR(!dispatcher, error, "Failed to create service dispatcher\n");
40 service = android::dvr::BufferHubService::Create();
41 CHECK_ERROR(!service, error, "Failed to create buffer hub service\n");
42 dispatcher->AddService(service);
/frameworks/opt/telephony/src/java/android/telephony/
H A DCarrierMessagingServiceManager.java24 import android.service.carrier.CarrierMessagingService;
25 import android.service.carrier.ICarrierMessagingService;
30 * Provides basic structure for platform to connect to the carrier messaging service.
51 * Binds to the carrier messaging service under package {@code carrierPackageName}. This method
56 * @return true upon successfully binding to a carrier messaging service, false otherwise
69 * Unbinds the carrier messaging service. This method should be called exactly once.
80 * Implemented by subclasses to use the carrier messaging service once it is ready.
82 * @param carrierMessagingService the carrier messaing service interface
91 public void onServiceConnected(ComponentName name, IBinder service) { argument
92 onServiceReady(ICarrierMessagingService.Stub.asInterface(service));
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DIccServiceTable.java38 * Returns if the specified service is available.
39 * @param service the service number as a zero-based offset (the enum ordinal)
40 * @return true if the service is available; false otherwise
42 protected boolean isAvailable(int service) { argument
43 int offset = service / 8;
45 // Note: Enums are zero-based, but the TS service numbering is one-based
46 Rlog.e(getTag(), "isAvailable for service " + (service + 1) + " fails, max service i
[all...]
/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/net/metrics/
H A DIpConnectivityLog.java44 public IpConnectivityLog(IIpConnectivityMetrics service) { argument
45 mService = service;
52 final IIpConnectivityMetrics service =
54 if (service == null) {
59 mService = service;
72 Log.d(TAG, SERVICE_NAME + " service was not ready");
/frameworks/base/core/java/android/nfc/dta/
H A DNfcDta.java39 private NfcDta(Context context, INfcDta service) { argument
41 sService = service;
60 INfcDta service = adapter.getNfcDtaInterface();
61 if (service == null) {
65 manager = new NfcDta(context, service);
/frameworks/base/core/tests/coretests/src/android/service/settings/suggestions/
H A DSuggestionServiceTest.java17 package android.service.settings.suggestions;
61 // Do nothing after starting service.
67 MockSuggestionService service = new MockSuggestionService();
72 assertThat(service.sOnSuggestionDismissedCalled).isTrue();
78 MockSuggestionService service = new MockSuggestionService();
83 assertThat(service.sOnSuggestionLaunchedCalled).isTrue();
/frameworks/base/services/core/java/com/android/server/am/
H A DAppBindRecord.java25 * An association between a service and one of its client applications.
28 final ServiceRecord service; // The running service. field in class:AppBindRecord
30 final ProcessRecord client; // Who has started/bound the service.
36 pw.println(prefix + "service=" + service);
54 service = _service;
62 + " " + service.shortName + ":" + client.processName + "}";
67 proto.write(AppBindRecordProto.SERVICE_NAME, service.shortName);
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DMainInteractionService.java22 import android.service.voice.AlwaysOnHotwordDetector;
23 import android.service.voice.AlwaysOnHotwordDetector.Callback;
24 import android.service.voice.AlwaysOnHotwordDetector.EventPayload;
25 import android.service.voice.VoiceInteractionService;
26 import android.service.voice.VoiceInteractionSession;
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/accessibility/
H A DAccessibilityManagerSupportActivity.java49 /** Handle to the accessibility manager service. */
106 AccessibilityServiceInfo service = enabledServices.get(i);
108 // an accessibility service. Again accessed them via the support library.
109 ResolveInfo resolveInfo = service.getResolveInfo();
113 AccessibilityServiceInfoCompat.feedbackTypeToString(service.feedbackType),
115 service, getPackageManager()),
116 service.getSettingsActivityName());
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/accessibility/
H A DAccessibilityManagerSupportActivity.java49 /** Handle to the accessibility manager service. */
106 AccessibilityServiceInfo service = enabledServices.get(i);
108 // an accessibility service. Again accessed them via the support library.
109 ResolveInfo resolveInfo = service.getResolveInfo();
113 AccessibilityServiceInfoCompat.feedbackTypeToString(service.feedbackType),
115 service, getPackageManager()),
116 service.getSettingsActivityName());

Completed in 532 milliseconds

1234567891011>>