Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/gatt/
DGattService.java100 public class GattService extends ProfileService { class
144 private static GattService sGattService;
185 public GattService(Context ctx) { in GattService() method in GattService
278 public static synchronized GattService getGattService() { in getGattService()
290 private static synchronized void setGattService(GattService instance) { in setGattService()
309 if (!GattService.this.isTestModeEnabled()) { in setTestModeEnabled()
410 private GattService mService;
412 BluetoothGattBinder(GattService svc) { in BluetoothGattBinder()
421 private GattService getService() { in getService()
432 GattService service = getService(); in getDevicesMatchingConnectionStates()
[all …]
DAdvertiseManager.java36 import com.android.bluetooth.gatt.GattService.AdvertiserMap;
50 private final GattService mService;
59 GattService service, in AdvertiseManager()
DGattNativeInterface.java31 private GattService mGattService;
40 GattService getGattService() { in getGattService()
406 public void init(GattService gattService) { in init()
DAppAdvertiseStats.java53 GattService mGattService;
107 public AppAdvertiseStats(int id, String name, ContextMap map, GattService service) { in AppAdvertiseStats()
DGattDebugUtils.java76 static boolean handleDebugAction(GattService svc, Intent intent) { in handleDebugAction()
DContextMap.java242 public App add(int id, C callback, GattService service) { in add()
/packages/modules/Bluetooth/pandora/interfaces/pandora_experimental/
Dgatt.proto89 message GattService { message
93 repeated GattService included_services = 4;
178 repeated GattService services = 1;
259 GattService service = 1;
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/gatt/
DGattServiceTest.java81 private GattService mService;
84 @Mock private GattService.ClientMap mClientMap;
89 @Mock private GattService.ServerMap mServerMap;
138 mService = new GattService(InstrumentationRegistry.getTargetContext()); in setUp()
168 mService = new GattService(InstrumentationRegistry.getTargetContext()); in testServiceUpAndDown()
702 GattService.ClientMap.App app = mock(GattService.ClientMap.App.class); in restrictedHandles()
DAdvertiseManagerTest.java55 @Mock private GattService mService;
57 @Mock private GattService.AdvertiserMap mAdvertiserMap;
DGattDebugUtilsTest.java42 @Mock private GattService mService;
DGattServiceBinderTest.java71 @Mock private GattService mService;
79 private GattService.BluetoothGattBinder mBinder;
89 mBinder = new GattService.BluetoothGattBinder(mService); in setUp()
DContextMapTest.java64 @Mock private GattService mMockGatt;
DAppAdvertiseStatsTest.java54 @Mock private GattService service;
/packages/modules/Bluetooth/system/rust/src/gatt/server/services/
Dgatt.rs34 struct GattService { struct
57 impl GattDatastore for GattService { argument
109 impl GattDatabaseCallbacks for GattService { implementation
153 let this = Rc::new(GattService::default()); in register_gatt_service()
/packages/modules/Bluetooth/android/pandora/server/src/
DGatt.kt282 GattService.newBuilder() in registerService()
392 ): ArrayList<GattService> { in generateServicesList()
393 val newServicesList = arrayListOf<GattService>() in generateServicesList()
396 GattService.newBuilder() in generateServicesList()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DConfig.java34 import com.android.bluetooth.gatt.GattService;
118 new ProfileConfig(GattService.isEnabled(), BluetoothProfile.GATT),
163 new ProfileConfig(GattService.isEnabled(), BluetoothProfile.GATT),
DAdapterService.java130 import com.android.bluetooth.gatt.GattService;
318 private GattService mGattService;
525 if (GattService.class.getSimpleName().equals(profile.getName()) in processProfileServiceStateChanged()
559 && (GattService.class in processProfileServiceStateChanged()
1022 if (!GattService.isEnabled()) { in bringUpBle()
1100 && GattService.class in stopProfileServices()
1114 mGattService = new GattService(this); in startGattProfileService()
1527 Map.entry(BluetoothProfile.GATT, GattService::new),
2001 mGattService = GattService.getGattService(); in initProfileServices()
/packages/modules/Bluetooth/pandora/server/bumble_experimental/
Dgatt.py40 GattService,
131 GattService(
172 GattService(
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/
DBluetoothMethodProxy.java49 import com.android.bluetooth.gatt.GattService;
269 int id, String name, ContextMap map, GattService service) { in createAppAdvertiseStats()
/packages/modules/Bluetooth/system/gd/rust/topshim/facade/src/
Dgatt_service.rs17 use bt_topshim_facade_protobuf::facade_grpc::{create_gatt_service, GattService};
140 impl GattService for GattServiceImpl {
/packages/modules/Bluetooth/system/blueberry/facade/topshim/
Dfacade.proto31 service GattService { service
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_scan/
DScanManagerTest.java80 import com.android.bluetooth.gatt.GattService;
134 @Mock private GattService mMockGattService;
/packages/modules/Bluetooth/floss/pandora/server/
Dgatt.py768 return gatt_pb2.GattService(