Home
last modified time | relevance | path

Searched refs:BluetoothGattService (Results 1 – 25 of 35) sorted by relevance

12

/aosp12/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattService.java37 public class BluetoothGattService implements Parcelable { class
95 protected List<BluetoothGattService> mIncludedServices;
110 public BluetoothGattService(UUID uuid, int serviceType) { in BluetoothGattService() method in BluetoothGattService
164 for (BluetoothGattService s : mIncludedServices) { in writeToParcel()
172 new Parcelable.Creator<BluetoothGattService>() {
174 return new BluetoothGattService(in);
177 public BluetoothGattService[] newArray(int size) {
178 return new BluetoothGattService[size];
182 private BluetoothGattService(Parcel in) { in BluetoothGattService() method in BluetoothGattService
235 public boolean addService(BluetoothGattService service) { in addService()
[all …]
H A DBluetoothGattServer.java58 private BluetoothGattService mPendingService;
59 private List<BluetoothGattService> mServices;
125 BluetoothGattService tmp = mPendingService;
396 mServices = new ArrayList<BluetoothGattService>(); in BluetoothGattServer()
405 for (BluetoothGattService svc : mServices) { in getCharacteristicByHandle()
421 for (BluetoothGattService svc : mServices) { in getDescriptorByHandle()
544 for (BluetoothGattService svc : mServices) { in getService()
760 public boolean addService(BluetoothGattService service) { in addService()
832 public List<BluetoothGattService> getServices() { in getServices()
849 public BluetoothGattService getService(UUID uuid) { in getService()
[all …]
H A DBluetoothGatt.java85 private List<BluetoothGattService> mServices;
741 mServices = new ArrayList<BluetoothGattService>(); in BluetoothGatt()
770 for (BluetoothGattService svc : mServices) { in getService()
788 for (BluetoothGattService svc : mServices) { in getCharacteristicById()
804 for (BluetoothGattService svc : mServices) { in getDescriptorById()
1117 public List<BluetoothGattService> getServices() { in getServices()
1118 List<BluetoothGattService> result = in getServices()
1119 new ArrayList<BluetoothGattService>(); in getServices()
1121 for (BluetoothGattService service : mServices) { in getServices()
1146 public BluetoothGattService getService(UUID uuid) { in getService()
[all …]
H A DBluetoothGattCharacteristic.java224 protected BluetoothGattService mService;
254 /*package*/ BluetoothGattCharacteristic(BluetoothGattService service, in BluetoothGattCharacteristic()
270 private void initCharacteristic(BluetoothGattService service, in initCharacteristic()
376 public BluetoothGattService getService() { in getService()
386 /*package*/ void setService(BluetoothGattService service) { in setService()
H A DBluetoothGattServerCallback.java43 public void onServiceAdded(int status, BluetoothGattService service) { in onServiceAdded()
/aosp12/system/bt/service/common/android/bluetooth/
H A Dbluetooth_gatt_service.h32 class BluetoothGattService : public Parcelable, public ::bluetooth::Service {
34 BluetoothGattService() = default;
35 BluetoothGattService(const ::bluetooth::Service& service) in BluetoothGattService() function
37 BluetoothGattService( in BluetoothGattService() function
42 ~BluetoothGattService() = default;
H A Dbluetooth_gatt_service.cc31 status_t BluetoothGattService::writeToParcel(Parcel* parcel) const { in writeToParcel()
55 status_t BluetoothGattService::readFromParcel(const Parcel* parcel) { in readFromParcel()
80 included_services_.push_back(BluetoothGattService(srvc)); in readFromParcel()
H A DIBluetoothGattServer.aidl19 import android.bluetooth.BluetoothGattService;
29 boolean AddService(int server_id, in BluetoothGattService service); in AddService()
H A DIBluetoothGattServerCallback.aidl19 import android.bluetooth.BluetoothGattService;
24 void OnServiceAdded(int status, in BluetoothGattService service); in OnServiceAdded()
H A DBluetoothGattService.aidl19 parcelable BluetoothGattService cpp_header "android/bluetooth/bluetooth_gatt_service.h";
/aosp12/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
H A DGattServer.java28 import android.bluetooth.BluetoothGattService;
51 private BluetoothGattService mGattService;
100 mGattService = new BluetoothGattService(UUID.fromString(TEST_SERVICE_UUID), in GattServer()
101 BluetoothGattService.SERVICE_TYPE_PRIMARY); in GattServer()
130 public void onServiceAdded(int status, BluetoothGattService service) { in onServiceAdded()
H A DGattClientListener.java27 import android.bluetooth.BluetoothGattService;
279 BluetoothGattService service = gatt.getService(sUuid); in writeCharacteristic()
/aosp12/system/bt/service/test/
H A DParcelableTest.aidl13 import android.bluetooth.BluetoothGattService;
29 void OnService(in BluetoothGattService service); in OnService()
H A Dparcelable_unittest.cc201 parcel.writeParcelable((android::bluetooth::BluetoothGattService)s); in TEST()
203 android::bluetooth::BluetoothGattService out; in TEST()
206 bool result = TestData<Service, android::bluetooth::BluetoothGattService>(s); in TEST()
/aosp12/system/bt/binder/android/bluetooth/
H A DIBluetoothGattServerCallback.aidl18 import android.bluetooth.BluetoothGattService;
28 void onServiceAdded(in int status, in BluetoothGattService service); in onServiceAdded()
H A DIBluetoothGattCallback.aidl19 import android.bluetooth.BluetoothGattService;
31 void onSearchComplete(in String address, in List<BluetoothGattService> services, in int status); in onSearchComplete()
H A DBluetoothGattService.aidl19 parcelable BluetoothGattService;
H A DIBluetoothGatt.aidl21 import android.bluetooth.BluetoothGattService;
159 …void addService(in int serverIf, in BluetoothGattService service, in AttributionSource attribution… in addService()
/aosp12/packages/services/Car/service/src/com/android/car/
H A DFastPairGattServer.java27 import android.bluetooth.BluetoothGattService;
102 private BluetoothGattService mFastPairService = new BluetoothGattService(
103 FAST_PAIR_SERVICE_UUID.getUuid(), BluetoothGattService.SERVICE_TYPE_PRIMARY);
/aosp12/system/bt/service/example/heart_rate/
H A Dheart_rate_server.cc33 using android::bluetooth::BluetoothGattService;
264 Status stat = gatt_->AddService(server_if_, (BluetoothGattService)hrService, in OnServerRegistered()
283 int status, const android::bluetooth::BluetoothGattService& service) { in OnServiceAdded()
H A Dheart_rate_server.h61 const android::bluetooth::BluetoothGattService& service) override;
/aosp12/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/
H A DBluetoothMidiDevice.java24 import android.bluetooth.BluetoothGattService;
115 BluetoothGattService service = gatt.getService(MIDI_SERVICE);
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
H A DGattService.java31 import android.bluetooth.BluetoothGattService;
1608 List<BluetoothGattService> dbOut = new ArrayList<BluetoothGattService>(); in onGetGattDb()
1611 BluetoothGattService currSrvc = null; in onGetGattDb()
1625 currSrvc = new BluetoothGattService(el.uuid, el.id, el.type); in onGetGattDb()
3199 BluetoothGattService svc = null; in onServiceAdded()
3204 BluetoothGattService.SERVICE_TYPE_PRIMARY, 0, false); in onServiceAdded()
3205 svc = new BluetoothGattService(svcEl.uuid, svcEl.attributeHandle, in onServiceAdded()
3206 BluetoothGattService.SERVICE_TYPE_PRIMARY); in onServiceAdded()
3209 BluetoothGattService.SERVICE_TYPE_SECONDARY, 0, false); in onServiceAdded()
3211 BluetoothGattService.SERVICE_TYPE_SECONDARY); in onServiceAdded()
[all …]
/aosp12/system/bt/service/ipc/binder/
H A Dbluetooth_gatt_server_binder_server.h55 const ::android::bluetooth::BluetoothGattService& service,
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
H A DBluetoothAccessoryFragment.java24 import android.bluetooth.BluetoothGattService;
267 final BluetoothGattService battService = gatt.getService(GATT_BATTERY_SERVICE_UUID); in onServicesDiscovered()

12