Home
last modified time | relevance | path

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

1234

/aosp12/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()
/aosp12/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()
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DLocalBluetoothProfileManager.java67 public interface ServiceListener { interface in LocalBluetoothProfileManager
235 private final Collection<ServiceListener> mServiceListeners =
236 new CopyOnWriteArrayList<ServiceListener>();
354 public void addServiceListener(ServiceListener l) { in addServiceListener()
359 public void removeServiceListener(ServiceListener l) { in removeServiceListener()
365 final Collection<ServiceListener> listeners = new ArrayList<>(mServiceListeners); in callServiceConnectedListeners()
367 for (ServiceListener l : listeners) { in callServiceConnectedListeners()
374 final Collection<ServiceListener> listeners = new ArrayList<>(mServiceListeners); in callServiceDisconnectedListeners()
376 for (ServiceListener listener : listeners) { in callServiceDisconnectedListeners()
/aosp12/frameworks/base/services/core/java/com/android/server/
H A DBluetoothModeChangeHelper.java24 import android.bluetooth.BluetoothProfile.ServiceListener;
52 private final ServiceListener mProfileServiceListener = new ServiceListener() {
/aosp12/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.java61 final @Nullable ServiceListener<? super TBoundServiceInfo> mServiceListener;
82 ServiceListener<? super TBoundServiceInfo> serviceListener) { in ServiceWatcherImpl()
/aosp12/packages/apps/Car/SystemUI/src/com/android/systemui/car/bluetooth/
H A DCarBatteryController.java23 import android.bluetooth.BluetoothProfile.ServiceListener;
63 private final ServiceListener mHfpServiceListener = new ServiceListener() {
H A DConnectedDeviceSignalController.java25 import android.bluetooth.BluetoothProfile.ServiceListener;
89 private final ServiceListener mHfpServiceListener = new ServiceListener() {
/aosp12/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> {
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
H A DBluetoothInputDeviceConnector.java41 private BluetoothProfile.ServiceListener mServiceConnection =
42 new BluetoothProfile.ServiceListener() {
H A DBluetoothA2dpConnector.java128 private BluetoothProfile.ServiceListener mServiceConnection =
129 new BluetoothProfile.ServiceListener() {
/aosp12/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> {
/aosp12/frameworks/base/core/java/android/bluetooth/
H A DBluetoothProfileConnector.java42 private BluetoothProfile.ServiceListener mServiceListener;
135 void connect(Context context, BluetoothProfile.ServiceListener listener) { in connect()
H A DBluetoothPbap.java103 private ServiceListener mServiceListener;
136 public BluetoothPbap(Context context, ServiceListener l, BluetoothAdapter adapter) { in BluetoothPbap()
/aosp12/frameworks/base/services/core/java/com/android/server/timezonedetector/location/
H A DRealLocationTimeZoneProviderProxy.java40 import com.android.server.servicewatcher.ServiceWatcher.ServiceListener;
52 ServiceListener<BoundServiceInfo> {
/aosp12/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DBluetoothDeviceManagerTest.java62 BluetoothProfile.ServiceListener serviceListenerUnderTest;
88 ArgumentCaptor<BluetoothProfile.ServiceListener> serviceCaptor = in setUp()
89 ArgumentCaptor.forClass(BluetoothProfile.ServiceListener.class); in setUp()
/aosp12/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
H A DShadowBluetoothPan.java29 public void __constructor__(Context context, BluetoothProfile.ServiceListener l) { in __constructor__()
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/
H A DBluetoothAdapterProxy.java34 public boolean getProfileProxy(Context context, BluetoothProfile.ServiceListener listener, in getProfileProxy()
/aosp12/packages/apps/Settings/src/com/android/settings/network/
H A DAllInOneTetherPreferenceController.java65 final BluetoothProfile.ServiceListener mBtProfileServiceListener =
66 new BluetoothProfile.ServiceListener() {
H A DTetherPreferenceController.java66 final BluetoothProfile.ServiceListener mBtProfileServiceListener =
67 new android.bluetooth.BluetoothProfile.ServiceListener() {
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
H A DBluetoothDeviceManager.java42 private final BluetoothProfile.ServiceListener mBluetoothProfileServiceListener =
43 new BluetoothProfile.ServiceListener() {
/aosp12/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> {
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
H A DHidDeviceProfileTest.java52 private BluetoothProfile.ServiceListener mServiceListener;
H A DA2dpSinkProfileTest.java52 private BluetoothProfile.ServiceListener mServiceListener;

1234