Home
last modified time | relevance | path

Searched refs:ServiceListener (Results 1 – 25 of 50) sorted by relevance

12

/aosp14/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/
H A DServiceRecommendationPlugin.java31 public abstract class ServiceRecommendationPlugin implements PrintServicePlugin, ServiceListener.Ob…
37 protected final ServiceListener mListener;
46 mListener = new ServiceListener(context, this, services); in ServiceRecommendationPlugin()
H A DServiceListener.java38 public class ServiceListener implements ServiceResolveQueue.ResolveCallback { class
58 public ServiceListener(Context context, Observer observer, String[] serviceTypes) { in ServiceListener() method in ServiceListener
174 mResolveQueue.queueRequest(nsdServiceInfo, ServiceListener.this); in start()
179 mResolveQueue.removeRequest(nsdServiceInfo, ServiceListener.this); in start()
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/testutils/com/android/settingslib/testutils/shadow/
H A DShadowBluetoothAdapter.java39 private BluetoothProfile.ServiceListener mServiceListener;
43 protected boolean getProfileProxy(Context context, BluetoothProfile.ServiceListener listener, in getProfileProxy()
49 public BluetoothProfile.ServiceListener getServiceListener() { in getServiceListener()
/aosp14/frameworks/base/services/core/java/com/android/server/servicewatcher/
H A DServiceWatcher.java82 interface ServiceListener<TBoundServiceInfo extends BoundServiceInfo> { interface
211 @Nullable ServiceListener<? super TBoundServiceInfo> serviceListener) { in create()
223 @Nullable ServiceListener<? super TBoundServiceInfo> serviceListener) { in create()
H A DServiceWatcherImpl.java62 final @Nullable ServiceListener<? super TBoundServiceInfo> mServiceListener;
83 ServiceListener<? super TBoundServiceInfo> serviceListener) { in ServiceWatcherImpl()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DLocalBluetoothProfileManager.java72 public interface ServiceListener { interface in LocalBluetoothProfileManager
296 private final Collection<ServiceListener> mServiceListeners =
297 new CopyOnWriteArrayList<ServiceListener>();
466 public void addServiceListener(ServiceListener l) { in addServiceListener()
471 public void removeServiceListener(ServiceListener l) { in removeServiceListener()
477 final Collection<ServiceListener> listeners = new ArrayList<>(mServiceListeners); in callServiceConnectedListeners()
479 for (ServiceListener l : listeners) { in callServiceConnectedListeners()
486 final Collection<ServiceListener> listeners = new ArrayList<>(mServiceListeners); in callServiceDisconnectedListeners()
488 for (ServiceListener listener : listeners) { in callServiceDisconnectedListeners()
H A DLocalBluetoothLeBroadcastAssistant.java31 import android.bluetooth.BluetoothProfile.ServiceListener;
66 private final ServiceListener mServiceListener = new ServiceListener() {
H A DPbapServerProfile.java58 implements BluetoothProfile.ServiceListener {
H A DLocalBluetoothLeBroadcast.java33 import android.bluetooth.BluetoothProfile.ServiceListener;
99 private final ServiceListener mServiceListener = new ServiceListener() {
H A DHidDeviceProfile.java60 implements BluetoothProfile.ServiceListener {
H A DPanProfile.java55 implements BluetoothProfile.ServiceListener {
H A DVolumeControlProfile.java55 implements BluetoothProfile.ServiceListener {
/aosp14/frameworks/base/services/core/java/com/android/server/location/
H A DHardwareActivityRecognitionProxy.java31 import com.android.server.servicewatcher.ServiceWatcher.ServiceListener;
36 public class HardwareActivityRecognitionProxy implements ServiceListener<BoundServiceInfo> {
/aosp14/frameworks/base/services/core/java/com/android/server/location/geofence/
H A DGeofenceProxy.java35 import com.android.server.servicewatcher.ServiceWatcher.ServiceListener;
42 public final class GeofenceProxy implements ServiceListener<BoundServiceInfo> {
/aosp14/frameworks/base/services/core/java/com/android/server/timezonedetector/location/
H A DRealLocationTimeZoneProviderProxy.java36 import com.android.server.servicewatcher.ServiceWatcher.ServiceListener;
48 ServiceListener<BoundServiceInfo> {
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
H A DHidDeviceProfileTest.java52 private BluetoothProfile.ServiceListener mServiceListener;
H A DMapClientProfileTest.java52 private BluetoothProfile.ServiceListener mServiceListener;
H A DA2dpSinkProfileTest.java52 private BluetoothProfile.ServiceListener mServiceListener;
H A DHfpClientProfileTest.java52 private BluetoothProfile.ServiceListener mServiceListener;
H A DPbapClientProfileTest.java52 private BluetoothProfile.ServiceListener mServiceListener;
H A DSapProfileTest.java52 private BluetoothProfile.ServiceListener mServiceListener;
H A DHeadsetProfileTest.java40 private BluetoothProfile.ServiceListener mServiceListener;
H A DHearingAidProfileTest.java56 private BluetoothProfile.ServiceListener mServiceListener;
/aosp14/frameworks/base/services/core/java/com/android/server/location/provider/proxy/
H A DProxyLocationProvider.java44 import com.android.server.servicewatcher.ServiceWatcher.ServiceListener;
57 ServiceListener<BoundServiceInfo> {
/aosp14/frameworks/base/services/core/java/com/android/server/media/
H A DBluetoothProfileMonitor.java122 private final class ProfileListener implements BluetoothProfile.ServiceListener {

12