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.java83 public class GattService extends ProfileService { class
184 private static GattService sGattService;
268 public static synchronized GattService getGattService() { in getGattService()
280 private static synchronized void setGattService(GattService instance) { in setGattService()
402 private GattService mService;
404 BluetoothGattBinder(GattService svc) { in BluetoothGattBinder()
413 private GattService getService() { in getService()
423 GattService service = getService(); in getDevicesMatchingConnectionStates()
432 GattService service = getService(); in registerClient()
441 GattService service = getService(); in unregisterClient()
[all …]
DAdvertiseManager.java46 private final GattService mService;
55 AdvertiseManager(GattService service, AdapterService adapterService) { in AdvertiseManager()
DAppScanStats.java49 /* GattService is needed to add scan event protos to be dumped later */ GattService
109 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.java32 import com.android.bluetooth.gatt.GattService;
77 new ProfileConfig(GattService.class, R.bool.profile_supported_gatt,
DAdapterService.java74 import com.android.bluetooth.gatt.GattService;
288 if (GattService.class.getSimpleName().equals(profile.getName())) { in processProfileServiceStateChanged()
311 if ((mRunningProfiles.size() == 1 && (GattService.class.getSimpleName() in processProfileServiceStateChanged()
540 setProfileServiceState(GattService.class, BluetoothAdapter.STATE_ON); in bringUpBle()
587 if (supportedProfileServices.length == 1 && GattService.class.getSimpleName() in startProfileServices()
602 && GattService.class.getSimpleName().equals(mRunningProfiles.get(0).getName()))) { in stopProfileServices()
616 setProfileServiceState(GattService.class, BluetoothAdapter.STATE_OFF); in stopGattProfileService()
759 if (GattService.class.getSimpleName().equals(service.getSimpleName())) { in setAllProfileServiceStates()