Home
last modified time | relevance | path

Searched refs:AdapterService (Results 1 – 24 of 24) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterService.java88 public class AdapterService extends Service { class
147 private static AdapterService sAdapterService;
148 public static synchronized AdapterService getAdapterService(){ in getAdapterService()
163 private static synchronized void setAdapterService(AdapterService instance) { in setAdapterService()
211 public AdapterService() { in AdapterService() method in AdapterService
214 synchronized (AdapterService.class) { in AdapterService()
763 private AdapterService mService;
765 public AdapterServiceBinder(AdapterService svc) { in AdapterServiceBinder()
773 public AdapterService getService() { in getService()
781 AdapterService service = getService(); in isEnabled()
[all …]
DProfileService.java115 AdapterService adapterService = AdapterService.getAdapterService(); in onStartCommand()
137 String action = intent.getStringExtra(AdapterService.EXTRA_ACTION); in onStartCommand()
138 if (AdapterService.ACTION_SERVICE_STATE_CHANGED.equals(action)) { in onStartCommand()
185 AdapterService adapterService = AdapterService.getAdapterService(); in onDestroy()
230 AdapterService adapterService = AdapterService.getAdapterService(); in notifyProfileServiceStateChanged()
DAdapterState.java77 private AdapterService mAdapterService;
100 private AdapterState(AdapterService service, AdapterProperties adapterProperties) { in AdapterState()
111 public static AdapterState make(AdapterService service, AdapterProperties adapterProperties) { in make()
137 AdapterService adapterService = mAdapterService; in processMessage()
174 AdapterService adapterService = mAdapterService; in processMessage()
220 AdapterService adapterService = mAdapterService; in enter()
318 AdapterService adapterService = mAdapterService; in processMessage()
497 AdapterService adapterService = mAdapterService; in notifyAdapterStateChange()
DRemoteDevices.java42 private static AdapterService mAdapterService;
52 RemoteDevices(AdapterService service) { in RemoteDevices()
212 mAdapterService.sendBroadcast(intent, AdapterService.BLUETOOTH_PERM); in setAlias()
266 mAdapterService.sendBroadcast(intent, AdapterService.BLUETOOTH_ADMIN_PERM); in sendUuidIntent()
387 new String[] {AdapterService.BLUETOOTH_PERM, in deviceFoundCallback()
DBondStateMachine.java66 private AdapterService mAdapterService;
76 private BondStateMachine(AdapterService service, in BondStateMachine()
88 public static BondStateMachine make(AdapterService service, in make()
348 AdapterService.BLUETOOTH_PERM); in sendIntent()
DProfileObserver.java18 private AdapterService mService;
21 public ProfileObserver(Context context, AdapterService service, Handler handler) { in ProfileObserver()
DPhonePolicy.java86 final private AdapterService mAdapterService;
187 PhonePolicy(AdapterService service, ServiceFactory factory) { in PhonePolicy()
DAdapterProperties.java74 private AdapterService mService;
134 public AdapterProperties(AdapterService service) { in AdapterProperties()
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/btservice/
DPhonePolicyTest.java77 AdapterService mockAdapterService = mock(AdapterService.class); in testProcessInitProfilePriorities()
128 AdapterService mockAdapterService = mock(AdapterService.class); in testAdapterOnAutoConnect()
178 AdapterService mockAdapterService = mock(AdapterService.class); in testReconnectOnPartialConnect()
241 AdapterService mockAdapterService = mock(AdapterService.class); in testNoReconnectOnNoConnect()
313 AdapterService mockAdapterService = mock(AdapterService.class); in testNoSupportedUuids()
DRemoteDevicesTest.java31 AdapterService mockService = mock(AdapterService.class); in testSendUuidIntent()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DAdvertiseManager.java32 import com.android.bluetooth.btservice.AdapterService;
52 private final AdapterService mAdapterService;
60 AdvertiseManager(GattService service, AdapterService adapterService) { in AdvertiseManager()
195 String deviceName = AdapterService.getAdapterService().getName(); in startAdvertisingSet()
259 String deviceName = AdapterService.getAdapterService().getName(); in setAdvertisingData()
265 String deviceName = AdapterService.getAdapterService().getName(); in setScanResponseData()
280 String deviceName = AdapterService.getAdapterService().getName(); in setPeriodicAdvertisingData()
DPeriodicScanManager.java29 import com.android.bluetooth.btservice.AdapterService;
48 private final AdapterService mAdapterService;
55 PeriodicScanManager(AdapterService adapterService) { in PeriodicScanManager()
DScanManager.java39 import com.android.bluetooth.btservice.AdapterService;
960 AdapterService.getAdapterService().getNumOfOffloadedScanFilterSupported(); in initFilterIndexStack()
1066 AdapterService.getAdapterService().getTotalNumOfTrackableAdvertisements(); in getNumOfTrackingAdvertisements()
1094 AdapterService.getAdapterService().getTotalNumOfTrackableAdvertisements(); in manageAllocationOfTrackingAdvertisement()
DGattService.java56 import com.android.bluetooth.btservice.AdapterService;
187 mAdvertiseManager = new AdvertiseManager(this, AdapterService.getAdapterService()); in start()
193 mPeriodicScanManager = new PeriodicScanManager(AdapterService.getAdapterService()); in start()
1841 return (AdapterService.getAdapterService().getTotalNumOfTrackableAdvertisements() in numHwTrackFiltersAvailable()
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/hfpclient/
DHeadsetClientServiceTest.java20 import com.android.bluetooth.btservice.AdapterService;
45 AdapterService inst = AdapterService.getAdapterService(); in startServices()
DHeadsetClientStateMachineTest.java18 import com.android.bluetooth.btservice.AdapterService;
28 AdapterService inst = AdapterService.getAdapterService(); in setUp()
/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/
DSdpManager.java33 import com.android.bluetooth.btservice.AdapterService;
64 private static AdapterService sAdapterService;
195 private SdpManager(AdapterService adapterService) { in SdpManager()
205 public static SdpManager init(AdapterService adapterService) { in init()
456 sAdapterService.sendBroadcast(intent, AdapterService.BLUETOOTH_ADMIN_PERM); in sendSdpIntent()
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
DHidService.java30 import com.android.bluetooth.btservice.AdapterService;
195 AdapterService adapterService = AdapterService.getAdapterService();
649 AdapterService adapterService = AdapterService.getAdapterService(); in okToConnect()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStateMachine.java49 import com.android.bluetooth.btservice.AdapterService;
710 AdapterService adapterService = AdapterService.getAdapterService(); in okToConnect()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpStateMachine.java52 import com.android.bluetooth.btservice.AdapterService;
866 AdapterService adapterService = AdapterService.getAdapterService(); in okToConnect()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java55 import com.android.bluetooth.btservice.AdapterService;
852 AdapterService adapterService = AdapterService.getAdapterService(); in processConnectionEvent()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetStateMachine.java61 import com.android.bluetooth.btservice.AdapterService;
3290 AdapterService adapterService = AdapterService.getAdapterService(); in okToConnect()
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapService.java34 import com.android.bluetooth.btservice.AdapterService;
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapService.java46 import com.android.bluetooth.btservice.AdapterService;