Home
last modified time | relevance | path

Searched refs:GattService (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/gatt/
DGattServiceTest.java34 private GattService mService;
47 TestUtils.startService(mServiceRule, GattService.class); in setUp()
48 mService = GattService.getGattService(); in setUp()
57 TestUtils.stopService(mServiceRule, GattService.class); in tearDown()
58 mService = GattService.getGattService(); in tearDown()
65 Assert.assertNotNull(GattService.getGattService()); in testInitialize()
71 GattService gattService = GattService.getGattService(); in testServiceUpAndDown()
72 TestUtils.stopService(mServiceRule, GattService.class); in testServiceUpAndDown()
73 mService = GattService.getGattService(); in testServiceUpAndDown()
79 TestUtils.startService(mServiceRule, GattService.class); in testServiceUpAndDown()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DGattService.java84 public class GattService extends ProfileService { class
185 private static GattService sGattService;
269 public static synchronized GattService getGattService() { in getGattService()
281 private static synchronized void setGattService(GattService instance) { in setGattService()
403 private GattService mService;
405 BluetoothGattBinder(GattService svc) { in BluetoothGattBinder()
414 private GattService getService() { in getService()
424 GattService service = getService(); in getDevicesMatchingConnectionStates()
433 GattService service = getService(); in registerClient()
442 GattService service = getService(); in unregisterClient()
[all …]
DAdvertiseManager.java46 private final GattService mService;
55 AdvertiseManager(GattService service, AdapterService adapterService) { in AdvertiseManager()
DAppScanStats.java57 /* GattService is needed to add scan event protos to be dumped later */ GattService
136 AppScanStats(String name, WorkSource source, ContextMap map, GattService service) { in AppScanStats()
DGattDebugUtils.java71 static boolean handleDebugAction(GattService svc, Intent intent) { in handleDebugAction()
DContextMap.java176 App add(UUID uuid, WorkSource workSource, C callback, T info, GattService service) { in add()
DScanManager.java91 private GattService mService;
120 ScanManager(GattService service) { in ScanManager()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DConfig.java33 import com.android.bluetooth.gatt.GattService;
78 new ProfileConfig(GattService.class, R.bool.profile_supported_gatt,
DAdapterService.java88 import com.android.bluetooth.gatt.GattService;
331 if (GattService.class.getSimpleName().equals(profile.getName())) { in processProfileServiceStateChanged()
355 if ((mRunningProfiles.size() == 1 && (GattService.class.getSimpleName() in processProfileServiceStateChanged()
586 setProfileServiceState(GattService.class, BluetoothAdapter.STATE_ON); in bringUpBle()
622 if (supportedProfileServices.length == 1 && GattService.class.getSimpleName() in startProfileServices()
640 && GattService.class.getSimpleName().equals(mRunningProfiles.get(0).getName()))) { in stopProfileServices()
654 setProfileServiceState(GattService.class, BluetoothAdapter.STATE_OFF); in stopGattProfileService()
806 if (GattService.class.getSimpleName().equals(service.getSimpleName())) { in setAllProfileServiceStates()