Searched refs:service (Results 51 - 75 of 417) sorted by relevance

1234567891011>>

/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiMhlLocalDeviceStub.java16 protected HdmiMhlLocalDeviceStub(HdmiControlService service, int portId) { argument
17 mService = service;
H A DHdmiMhlControllerStub.java40 private HdmiMhlControllerStub(HdmiControlService service) { argument
48 static HdmiMhlControllerStub create(HdmiControlService service) { argument
49 return new HdmiMhlControllerStub(service);
/frameworks/av/services/audiopolicy/
H A DAudioPolicyClientImplLegacy.cpp53 audio_module_handle_t aps_load_hw_module(void *service __unused,
106 audio_io_handle_t aps_open_output(void *service __unused,
118 audio_io_handle_t aps_open_output_on_module(void *service __unused,
132 audio_io_handle_t aps_open_dup_output(void *service __unused,
144 int aps_close_output(void *service __unused, audio_io_handle_t output)
154 int aps_suspend_output(void *service __unused, audio_io_handle_t output)
165 int aps_restore_output(void *service __unused, audio_io_handle_t output)
215 audio_io_handle_t aps_open_input(void *service __unused,
225 audio_io_handle_t aps_open_input_on_module(void *service __unused,
235 int aps_close_input(void *service __unuse
274 aps_set_parameters(void *service, audio_io_handle_t io_handle, const char *kv_pairs, int delay_ms) argument
282 aps_set_stream_volume(void *service, audio_stream_type_t stream, float volume, audio_io_handle_t output, int delay_ms) argument
292 aps_start_tone(void *service, audio_policy_tone_t tone, audio_stream_type_t stream) argument
300 aps_stop_tone(void *service) argument
307 aps_set_voice_volume(void *service, float volume, int delay_ms) argument
[all...]
/frameworks/base/media/java/android/media/
H A DAudioManager.java823 IAudioService service = getService();
826 service.adjustMasterVolume(direction, flags, mContext.getOpPackageName());
828 service.adjustStreamVolume(streamType, direction, flags,
856 IAudioService service = getService();
859 service.adjustMasterVolume(direction, flags, mContext.getOpPackageName());
890 IAudioService service = getService();
893 service.adjustMasterVolume(direction, flags, mContext.getOpPackageName());
913 IAudioService service = getService();
915 service.adjustMasterVolume(steps, flags, mContext.getOpPackageName());
929 IAudioService service
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattServer.java115 if (DBG) Log.d(TAG, "onServiceAdded() - service=" + srvcUuid
118 BluetoothGattService service = getService(srvcUuid, srvcInstId, srvcType);
119 if (service == null) return;
122 mCallback.onServiceAdded((int)status, service);
138 + "service=" + srvcUuid + ", characteristic=" + charUuid);
141 BluetoothGattService service = getService(srvcUuid, srvcInstId, srvcType);
142 if (service == null) return;
144 BluetoothGattCharacteristic characteristic = service.getCharacteristic(charUuid);
166 + "service=" + srvcUuid + ", characteristic=" + charUuid
170 BluetoothGattService service
567 addService(BluetoothGattService service) argument
620 removeService(BluetoothGattService service) argument
[all...]
H A DBluetoothGatt.java200 * A new GATT service has been discovered.
201 * The service is added to the internal list and the search
216 * An included service has been found durig GATT discovery.
217 * The included service is added to the respective parent.
230 BluetoothGattService service = getService(mDevice,
235 if (service != null && includedService != null) {
236 service.addIncludedService(includedService);
242 * Add the new characteristic to the relevant service and continue
256 BluetoothGattService service = getService(mDevice, srvcUuid.getUuid(),
258 if (service !
[all...]
/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/webkit/
H A DUrlInterceptHandler.java44 public CacheResult service(String url, Map<String, String> headers); method in interface:UrlInterceptHandler
/frameworks/base/services/backup/java/com/android/server/backup/
H A DFullBackupJob.java62 Trampoline service = BackupManagerService.getInstance();
63 return service.beginFullBackup(this);
70 Trampoline service = BackupManagerService.getInstance();
71 service.endFullBackup();
/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 + "}";
/frameworks/base/tools/layoutlib/bridge/src/android/os/
H A DServiceManager.java24 * Returns a reference to a service with the given name.
26 * @param name the name of the service to get
27 * @return a reference to the service, or <code>null</code> if the service doesn't exist
34 * Place a new @a service called @a name into the service
37 * @param name the name of the new service
38 * @param service the service object
40 public static void addService(String name, IBinder service) { argument
[all...]
/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/native/cmds/dumpsys/
H A Ddumpsys.cpp35 ALOGE("Unable to get default service manager!");
36 aerr << "dumpsys: Unable to get default service manager!" << endl;
64 sp<IBinder> service = sm->checkService(services[i]); local
65 if (service != NULL) {
76 sp<IBinder> service = sm->checkService(services[i]); local
77 if (service != NULL) {
83 int err = service->dump(STDOUT_FILENO, args);
85 aerr << "Error dumping service info: (" << strerror(err)
89 aerr << "Can't find service: " << services[i] << endl;
/frameworks/base/services/core/java/com/android/server/notification/
H A DManagedServices.java64 * - A remote interface definition (aidl) provided by the service used for communication.
115 private ManagedServiceInfo newServiceInfo(IInterface service, argument
118 return new ManagedServiceInfo(service, component, userid, isSystem, connection,
138 + " (user " + info.userid + "): " + info.service
175 public ManagedServiceInfo checkServiceTokenLocked(IInterface service) { argument
176 checkNotNull(service);
177 final IBinder token = service.asBinder();
181 if (info.service.asBinder() == token) return info;
184 + service);
187 public void unregisterService(IInterface service, in argument
194 registerService(IInterface service, ComponentName component, int userid) argument
465 removeServiceImpl(IInterface service, final int userid) argument
488 checkNotNull(IInterface service) argument
494 registerServiceImpl(final IInterface service, final ComponentName component, final int userid) argument
513 unregisterServiceImpl(IInterface service, int userid) argument
549 public IInterface service; field in class:ManagedServices.ManagedServiceInfo
556 ManagedServiceInfo(IInterface service, ComponentName component, int userid, boolean isSystem, ServiceConnection connection, int targetSdkVersion) argument
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DAccessibilityManagerServiceTest.java41 * service. The service itself is interacting with the platform. Note: Testing
42 * the service in full isolation would require significant amount of work for
60 * Timeout used for testing that a service is notified only upon a
66 * The interface used to talk to the tested service.
177 assertTrue("First mock service must be installed", firstMockServiceInstalled);
178 assertTrue("Second mock service must be installed", secondMockServiceInstalled);
187 // enable the mock accessibility service
190 // configure the mock service
191 MockAccessibilityService service
663 assertMockServiceVerifiedWithinTimeout(MockAccessibilityService service) argument
[all...]
/frameworks/base/core/java/android/hardware/
H A DSerialManager.java39 public SerialManager(Context context, ISerialManager service) { argument
41 mService = service;
/frameworks/base/core/java/android/hardware/hdmi/
H A DHdmiPlaybackClient.java67 /* package */ HdmiPlaybackClient(IHdmiControlService service) { argument
68 super(service);
/frameworks/base/core/java/android/os/
H A DServiceManagerNative.java23 * Native implementation of the service manager. Most clients will only
30 * Cast a Binder object into a service manager interface, generating
59 IBinder service = getService(name);
60 reply.writeStrongBinder(service);
67 IBinder service = checkService(name);
68 reply.writeStrongBinder(service);
75 IBinder service = data.readStrongBinder();
77 addService(name, service, allowIsolated);
142 public void addService(String name, IBinder service, boolean allowIsolated) argument
148 data.writeStrongBinder(service);
[all...]
/frameworks/base/core/java/android/service/wallpaper/
H A DIWallpaperEngine.aidl17 package android.service.wallpaper;
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DPrintSpoolerProvider.java51 public void onServiceConnected(ComponentName name, IBinder service) { argument
52 mSpooler = ((PrintSpoolerService.PrintSpooler) service).getService();
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DMainInteractionService.java21 import android.service.voice.AlwaysOnHotwordDetector;
22 import android.service.voice.AlwaysOnHotwordDetector.Callback;
23 import android.service.voice.AlwaysOnHotwordDetector.EventPayload;
24 import android.service.voice.VoiceInteractionService;
/frameworks/base/services/print/java/com/android/server/print/
H A DRemotePrintService.java48 * This class represents a remote print service. It abstracts away the binding
97 public void onServiceDied(RemotePrintService service); argument
163 // The service is dead and neither has active jobs nor discovery
164 // session, so ensure we are unbound since the service has no work.
180 // If the service has a printer discovery session
278 // The service is dead and neither has active jobs nor discovery
279 // session, so ensure we are unbound since the service has no work.
300 // If the service has no print jobs and no active discovery
480 pw.append(prefix).append("service:").println();
540 throw new IllegalStateException("Cannot interact with a destroyed service");
546 onServiceConnected(ComponentName name, IBinder service) argument
683 RemotePrintServiceClient(RemotePrintService service) argument
[all...]
/frameworks/base/core/java/android/app/
H A DINotificationManager.aidl27 import android.service.notification.Condition;
28 import android.service.notification.IConditionListener;
29 import android.service.notification.IConditionProvider;
30 import android.service.notification.INotificationListener;
31 import android.service.notification.StatusBarNotification;
32 import android.service.notification.ZenModeConfig;
/frameworks/base/services/core/java/com/android/server/telecom/
H A DTelecomLoaderService.java41 public void onServiceConnected(ComponentName name, IBinder service) { argument
45 service.linkToDeath(new IBinder.DeathRecipient() {
52 ServiceManager.addService(Context.TELECOM_SERVICE, service);
101 // Bind to Telecom and register the service

Completed in 704 milliseconds

1234567891011>>