/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/gatt/ |
D | HandleMap.java | 35 public int serverIf = 0; field in HandleMap.Entry 46 Entry(int serverIf, int handle, UUID uuid, int serviceType, int instance) { in Entry() argument 47 this.serverIf = serverIf; in Entry() 56 int serverIf, in Entry() argument 62 this.serverIf = serverIf; in Entry() 71 Entry(int serverIf, int type, int handle, UUID uuid, int serviceHandle) { in Entry() argument 72 this.serverIf = serverIf; in Entry() 79 Entry(int serverIf, int type, int handle, UUID uuid, int serviceHandle, int charHandle) { in Entry() argument 80 this.serverIf = serverIf; in Entry() 104 int serverIf, in addService() argument [all …]
|
D | GattNativeInterface.java | 111 void onServerPhyRead(int serverIf, String address, int txPhy, int rxPhy, int status) in onServerPhyRead() argument 113 getGattService().onServerPhyRead(serverIf, address, txPhy, rxPhy, status); in onServerPhyRead() 186 void onServerRegistered(int status, int serverIf, long uuidLsb, long uuidMsb) in onServerRegistered() argument 188 getGattService().onServerRegistered(status, serverIf, uuidLsb, uuidMsb); in onServerRegistered() 191 void onServiceAdded(int status, int serverIf, List<GattDbElement> service) in onServiceAdded() argument 193 getGattService().onServiceAdded(status, serverIf, service); in onServiceAdded() 196 void onServiceStopped(int status, int serverIf, int srvcHandle) throws RemoteException { in onServiceStopped() argument 197 getGattService().onServiceStopped(status, serverIf, srvcHandle); in onServiceStopped() 200 void onServiceDeleted(int status, int serverIf, int srvcHandle) { in onServiceDeleted() argument 201 getGattService().onServiceDeleted(status, serverIf, srvcHandle); in onServiceDeleted() [all …]
|
D | GattService.java | 868 public void unregisterServer(int serverIf, AttributionSource attributionSource) { in unregisterServer() argument 873 service.unregisterServer(serverIf, attributionSource); in unregisterServer() 878 int serverIf, in serverConnect() argument 889 serverIf, address, addressType, isDirect, transport, attributionSource); in serverConnect() 894 int serverIf, String address, AttributionSource attributionSource) { in serverDisconnect() argument 899 service.serverDisconnect(serverIf, address, attributionSource); in serverDisconnect() 904 int serverIf, in serverSetPreferredPhy() argument 915 serverIf, address, txPhy, rxPhy, phyOptions, attributionSource); in serverSetPreferredPhy() 930 int serverIf, BluetoothGattService svc, AttributionSource attributionSource) { in addService() argument 935 service.addService(serverIf, svc, attributionSource); in addService() [all …]
|
D | AdvertiseManagerNativeInterface.java | 74 int serverIf) { in startAdvertisingSet() argument 84 serverIf); in startAdvertisingSet() 176 int serverIf); in startAdvertisingSetNative() argument
|
D | AdvertiseManager.java | 220 int serverIf, in startAdvertisingSet() argument 223 if (serverIf != 0 in startAdvertisingSet() 287 serverIf); in startAdvertisingSet()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/gatt/ |
D | GattServiceBinderTest.java | 489 int serverIf = 3; in unregisterServer() local 491 mBinder.unregisterServer(serverIf, mAttributionSource); in unregisterServer() 493 verify(mService).unregisterServer(serverIf, mAttributionSource); in unregisterServer() 498 int serverIf = 1; in serverConnect() local 505 serverIf, address, addressType, isDirect, transport, mAttributionSource); in serverConnect() 509 serverIf, address, addressType, isDirect, transport, mAttributionSource); in serverConnect() 514 int serverIf = 1; in serverDisconnect() local 517 mBinder.serverDisconnect(serverIf, address, mAttributionSource); in serverDisconnect() 519 verify(mService).serverDisconnect(serverIf, address, mAttributionSource); in serverDisconnect() 524 int serverIf = 1; in serverSetPreferredPhy() local [all …]
|
D | GattServiceTest.java | 175 int serverIf = 1; in emptyClearServices() local 177 mService.clearServices(serverIf, mAttributionSource); in emptyClearServices() 178 verify(mNativeInterface, times(0)).gattServerDeleteService(eq(serverIf), anyInt()); in emptyClearServices() 544 int serverIf = 1; in serverConnect() local 551 serverIf, address, addressType, isDirect, transport, mAttributionSource); in serverConnect() 553 .gattServerConnect(serverIf, address, addressType, isDirect, transport); in serverConnect() 558 int serverIf = 1; in serverDisconnect() local 562 doReturn(connId).when(mServerMap).connIdByAddress(serverIf, address); in serverDisconnect() 564 mService.serverDisconnect(serverIf, address, mAttributionSource); in serverDisconnect() 565 verify(mNativeInterface).gattServerDisconnect(serverIf, address, connId); in serverDisconnect() [all …]
|
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/ |
D | IBluetoothGatt.aidl | 154 void unregisterServer(in int serverIf, in AttributionSource attributionSource); in unregisterServer() argument 156 …void serverConnect(in int serverIf, in String address, in int addressType, in boolean isDirect, in… in serverConnect() argument 158 … void serverDisconnect(in int serverIf, in String address, in AttributionSource attributionSource); in serverDisconnect() argument 164 …void addService(in int serverIf, in BluetoothGattService service, in AttributionSource attribution… in addService() argument 166 void removeService(in int serverIf, in int handle, in AttributionSource attributionSource); in removeService() argument 168 void clearServices(in int serverIf, in AttributionSource attributionSource); in clearServices() argument 170 void sendResponse(in int serverIf, in String address, in int requestId, in sendResponse() argument 173 int sendNotification(in int serverIf, in String address, in int handle, in sendNotification() argument
|
D | IBluetoothGattServerCallback.aidl | 25 void onServerRegistered(in int status, in int serverIf); in onServerRegistered() argument 26 void onServerConnectionState(in int status, in int serverIf, in onServerConnectionState() argument
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothGattServer.java | 78 public void onServerRegistered(int status, int serverIf) { 85 + serverIf); 89 mServerIf = serverIf; 105 int status, int serverIf, boolean connected, String address) { 112 + serverIf
|
/packages/modules/Bluetooth/android/app/jni/ |
D | com_android_bluetooth_gatt.cpp | 1933 jobject /* object */, jint serverIf) { in gattServerUnregisterAppNative() argument 1935 bluetooth::gatt::close_server(serverIf); in gattServerUnregisterAppNative() 1936 sGattIf->server->unregister_server(serverIf); in gattServerUnregisterAppNative() 1950 jint serverIf, jstring address, in gattServerDisconnectNative() argument 1953 sGattIf->server->disconnect(serverIf, str2addr(env, address), conn_id); in gattServerDisconnectNative() 1965 static void readServerPhyCb(uint8_t serverIf, RawAddress bda, uint8_t tx_phy, in readServerPhyCb() argument 1974 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onServerPhyRead, serverIf, in readServerPhyCb() 1979 jint serverIf, jstring address) { in gattServerReadPhyNative() argument 1983 sGattIf->server->read_phy(bda, base::Bind(&readServerPhyCb, serverIf, bda)); in gattServerReadPhyNative()
|