HomeSort by relevance Sort by last modified time
    Searched refs:BluetoothGattService (Results 1 - 25 of 56) sorted by null

1 2 3

  /system/bt/binder/android/bluetooth/
BluetoothGattService.aidl 19 parcelable BluetoothGattService;
IBluetoothGattCallback.aidl 19 import android.bluetooth.BluetoothGattService;
31 void onSearchComplete(in String address, in List<BluetoothGattService> services, in int status);
IBluetoothGattServerCallback.aidl 18 import android.bluetooth.BluetoothGattService;
28 void onServiceAdded(in int status, in BluetoothGattService service);
  /system/bt/service/common/android/bluetooth/
BluetoothGattService.aidl 19 parcelable BluetoothGattService cpp_header "android/bluetooth/bluetooth_gatt_service.h";
bluetooth_gatt_service.h 32 class BluetoothGattService : public Parcelable, public ::bluetooth::Service {
34 BluetoothGattService() = default;
35 BluetoothGattService(const ::bluetooth::Service& service)
37 BluetoothGattService(
42 ~BluetoothGattService() = default;
IBluetoothGattServer.aidl 19 import android.bluetooth.BluetoothGattService;
29 boolean AddService(int server_id, in BluetoothGattService service);
IBluetoothGattServerCallback.aidl 19 import android.bluetooth.BluetoothGattService;
24 void OnServiceAdded(int status, in BluetoothGattService service);
bluetooth_gatt_service.cc 31 status_t BluetoothGattService::writeToParcel(Parcel* parcel) const {
55 status_t BluetoothGattService::readFromParcel(const Parcel* parcel) {
80 included_services_.push_back(BluetoothGattService(srvc));
  /frameworks/base/core/java/android/bluetooth/
BluetoothGattService.java 32 public class BluetoothGattService implements Parcelable {
89 protected List<BluetoothGattService> mIncludedServices;
97 * Create a new BluetoothGattService.
102 * {@link BluetoothGattService#SERVICE_TYPE_PRIMARY}
103 * or {@link BluetoothGattService#SERVICE_TYPE_SECONDARY}
105 public BluetoothGattService(UUID uuid, int serviceType) {
111 mIncludedServices = new ArrayList<BluetoothGattService>();
115 * Create a new BluetoothGattService
119 /*package*/ BluetoothGattService(BluetoothDevice device, UUID uuid,
126 mIncludedServices = new ArrayList<BluetoothGattService>();
    [all...]
BluetoothGattServer.java 50 private BluetoothGattService mPendingService;
51 private List<BluetoothGattService> mServices;
106 public void onServiceAdded(int status, BluetoothGattService service) {
116 BluetoothGattService tmp = mPendingService;
385 mServices = new ArrayList<BluetoothGattService>();
394 for (BluetoothGattService svc : mServices) {
410 for (BluetoothGattService svc : mServices) {
506 /*package*/ BluetoothGattService getService(UUID uuid, int instanceId, int type) {
507 for (BluetoothGattService svc : mServices) {
675 BluetoothGattService service = characteristic.getService()
    [all...]
BluetoothGattServerCallback.java 43 public void onServiceAdded(int status, BluetoothGattService service) {
BluetoothGatt.java 68 private List<BluetoothGattService> mServices;
289 public void onSearchComplete(String address, List<BluetoothGattService> services,
299 for (BluetoothGattService s : services) {
307 for (BluetoothGattService fixedService : mServices) {
308 ArrayList<BluetoothGattService> includedServices =
312 for (BluetoothGattService brokenRef : includedServices) {
313 BluetoothGattService includedService = getService(mDevice,
690 mServices = new ArrayList<BluetoothGattService>();
715 /*package*/ BluetoothGattService getService(BluetoothDevice device, UUID uuid,
717 for (BluetoothGattService svc : mServices)
    [all...]
BluetoothGattCharacteristic.java 30 * {@link BluetoothGattService}. The characteristic contains a value as well as
221 protected BluetoothGattService mService;
252 /*package*/ BluetoothGattCharacteristic(BluetoothGattService service,
268 private void initCharacteristic(BluetoothGattService service,
375 public BluetoothGattService getService() {
384 /*package*/ void setService(BluetoothGattService service) {
  /system/bt/service/doc/
IBluetoothGattServer.txt 47 boolean AddService(int server_id, in BluetoothGattService service);
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
GattClientFacade.java 26 import android.bluetooth.BluetoothGattService;
57 private final HashMap<Integer, BluetoothGattService> mGattServiceList;
58 private final HashMap<Integer, List<BluetoothGattService>> mBluetoothGattDiscoveredServicesList;
88 mGattServiceList = new HashMap<Integer, BluetoothGattService>();
89 mBluetoothGattDiscoveredServicesList = new HashMap<Integer, List<BluetoothGattService>>();
178 public List<BluetoothGattService> gattClientGetServices(
378 * @return BluetoothGattService related to the bluetooth gatt
387 for (BluetoothGattService service : mBluetoothGattList.get(index).getServices()) {
419 List<BluetoothGattService> gattServiceList =
424 BluetoothGattService gattService = gattServiceList.get(serviceIndex)
    [all...]
GattServerFacade.java 26 import android.bluetooth.BluetoothGattService;
57 private final HashMap<Integer, BluetoothGattService> mGattServiceList;
58 private final HashMap<Integer, List<BluetoothGattService>> mBluetoothGattDiscoveredServicesList;
82 mGattServiceList = new HashMap<Integer, BluetoothGattService>();
83 mBluetoothGattDiscoveredServicesList = new HashMap<Integer, List<BluetoothGattService>>();
296 mGattServiceList.put(index, new BluetoothGattService(UUID.fromString(uuid), serviceType));
501 * @return BluetoothGattService related to the bluetooth gatt
509 for (BluetoothGattService service : mBluetoothGattServerList.get(index).getServices()) {
523 * @return BluetoothGattService related to the bluetooth gatt
527 public BluetoothGattService gattGetService(@RpcParameter(name = "index") Integer index
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
BleConnectionPriorityServerService.java 26 import android.bluetooth.BluetoothGattService;
90 private BluetoothGattService mService;
232 private BluetoothGattService createService() {
233 BluetoothGattService service =
234 new BluetoothGattService(SERVICE_UUID, BluetoothGattService.SERVICE_TYPE_PRIMARY);
272 public void onServiceAdded(int status, BluetoothGattService service) {
BleEncryptedServerService.java 26 import android.bluetooth.BluetoothGattService;
97 private BluetoothGattService mService;
269 private BluetoothGattService createService() {
270 BluetoothGattService service =
271 new BluetoothGattService(SERVICE_UUID, BluetoothGattService.SERVICE_TYPE_PRIMARY);
320 public void onServiceAdded(int status, BluetoothGattService service) {
BleServerService.java 26 import android.bluetooth.BluetoothGattService;
214 private BluetoothGattService mService;
227 private BluetoothGattService mAdditionalNotificationService;
614 private BluetoothGattService createAdditionalNotificationService() {
615 BluetoothGattService service =
616 new BluetoothGattService(SERVICE_UUID_ADDITIONAL, BluetoothGattService.SERVICE_TYPE_PRIMARY);
701 private BluetoothGattService createService() {
702 BluetoothGattService service =
703 new BluetoothGattService(SERVICE_UUID, BluetoothGattService.SERVICE_TYPE_PRIMARY)
    [all...]
BleConnectionPriorityClientService.java 25 import android.bluetooth.BluetoothGattService;
279 private BluetoothGattService getService() {
280 BluetoothGattService service = null;
294 BluetoothGattService service = getService();
  /packages/services/Car/TrustAgent/src/com/android/car/trust/
CarTrustAgentBleService.java 20 import android.bluetooth.BluetoothGattService;
56 private BluetoothGattService mEnrolmentGattServer;
61 private BluetoothGattService mUnlockGattServer;
174 mEnrolmentGattServer = new BluetoothGattService(
176 BluetoothGattService.SERVICE_TYPE_PRIMARY);
197 mUnlockGattServer = new BluetoothGattService(
199 BluetoothGattService.SERVICE_TYPE_PRIMARY);
SimpleBleServer.java 27 import android.bluetooth.BluetoothGattService;
85 public void onServiceAdded(final int status, BluetoothGattService service) {
118 * Starts the GATT server with the given {@link BluetoothGattService} and begins
124 * @param service {@link BluetoothGattService} that will be discovered by clients
126 protected void startAdvertising(ParcelUuid advertiseUuid, BluetoothGattService service) {
  /packages/apps/Test/connectivity/PMC/src/com/android/pmc/
GattServer.java 28 import android.bluetooth.BluetoothGattService;
51 private BluetoothGattService mGattService;
100 mGattService = new BluetoothGattService(UUID.fromString(TEST_SERVICE_UUID),
101 BluetoothGattService.SERVICE_TYPE_PRIMARY);
130 public void onServiceAdded(int status, BluetoothGattService service) {
  /system/bt/service/test/
parcelable_unittest.cc 201 parcel.writeParcelable((android::bluetooth::BluetoothGattService)s);
203 android::bluetooth::BluetoothGattService out;
206 bool result = TestData<Service, android::bluetooth::BluetoothGattService>(s);
  /developers/build/prebuilts/gradle/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/
DeviceControlActivity.java 21 import android.bluetooth.BluetoothGattService;
247 private void displayGattServices(List<BluetoothGattService> gattServices) {
258 for (BluetoothGattService gattService : gattServices) {

Completed in 435 milliseconds

1 2 3