/aosp12/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothGattService.java | 37 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 D | BluetoothGattServer.java | 58 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 D | BluetoothGatt.java | 85 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 D | BluetoothGattCharacteristic.java | 224 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 D | BluetoothGattServerCallback.java | 43 public void onServiceAdded(int status, BluetoothGattService service) { in onServiceAdded()
|
/aosp12/system/bt/service/common/android/bluetooth/ |
H A D | bluetooth_gatt_service.h | 32 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 D | bluetooth_gatt_service.cc | 31 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 D | IBluetoothGattServer.aidl | 19 import android.bluetooth.BluetoothGattService; 29 boolean AddService(int server_id, in BluetoothGattService service); in AddService()
|
H A D | IBluetoothGattServerCallback.aidl | 19 import android.bluetooth.BluetoothGattService; 24 void OnServiceAdded(int status, in BluetoothGattService service); in OnServiceAdded()
|
H A D | BluetoothGattService.aidl | 19 parcelable BluetoothGattService cpp_header "android/bluetooth/bluetooth_gatt_service.h";
|
/aosp12/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
H A D | GattServer.java | 28 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 D | GattClientListener.java | 27 import android.bluetooth.BluetoothGattService; 279 BluetoothGattService service = gatt.getService(sUuid); in writeCharacteristic()
|
/aosp12/system/bt/service/test/ |
H A D | ParcelableTest.aidl | 13 import android.bluetooth.BluetoothGattService; 29 void OnService(in BluetoothGattService service); in OnService()
|
H A D | parcelable_unittest.cc | 201 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 D | IBluetoothGattServerCallback.aidl | 18 import android.bluetooth.BluetoothGattService; 28 void onServiceAdded(in int status, in BluetoothGattService service); in onServiceAdded()
|
H A D | IBluetoothGattCallback.aidl | 19 import android.bluetooth.BluetoothGattService; 31 void onSearchComplete(in String address, in List<BluetoothGattService> services, in int status); in onSearchComplete()
|
H A D | BluetoothGattService.aidl | 19 parcelable BluetoothGattService;
|
H A D | IBluetoothGatt.aidl | 21 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 D | FastPairGattServer.java | 27 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 D | heart_rate_server.cc | 33 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 D | heart_rate_server.h | 61 const android::bluetooth::BluetoothGattService& service) override;
|
/aosp12/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/ |
H A D | BluetoothMidiDevice.java | 24 import android.bluetooth.BluetoothGattService; 115 BluetoothGattService service = gatt.getService(MIDI_SERVICE);
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
H A D | GattService.java | 31 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 D | bluetooth_gatt_server_binder_server.h | 55 const ::android::bluetooth::BluetoothGattService& service,
|
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
H A D | BluetoothAccessoryFragment.java | 24 import android.bluetooth.BluetoothGattService; 267 final BluetoothGattService battService = gatt.getService(GATT_BATTERY_SERVICE_UUID); in onServicesDiscovered()
|