Home
last modified time | relevance | path

Searched refs:serverIf (Results 1 – 14 of 14) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/gatt/
DGattNativeInterface.java110 void onServerPhyRead(int serverIf, String address, int txPhy, int rxPhy, int status) in onServerPhyRead() argument
112 getGattService().onServerPhyRead(serverIf, address, txPhy, rxPhy, status); in onServerPhyRead()
181 void onServerRegistered(int status, int serverIf, long uuidLsb, long uuidMsb) in onServerRegistered() argument
183 getGattService().onServerRegistered(status, serverIf, uuidLsb, uuidMsb); in onServerRegistered()
186 void onServiceAdded(int status, int serverIf, List<GattDbElement> service) in onServiceAdded() argument
188 getGattService().onServiceAdded(status, serverIf, service); in onServiceAdded()
191 void onServiceStopped(int status, int serverIf, int srvcHandle) throws RemoteException { in onServiceStopped() argument
192 getGattService().onServiceStopped(status, serverIf, srvcHandle); in onServiceStopped()
195 void onServiceDeleted(int status, int serverIf, int srvcHandle) { in onServiceDeleted() argument
196 getGattService().onServiceDeleted(status, serverIf, srvcHandle); in onServiceDeleted()
[all …]
DHandleMap.java55 Entry(int serverIf, int handle, UUID uuid, int serviceType, int instance) { in Entry() argument
56 mServerIf = serverIf; in Entry()
65 int serverIf, in Entry() argument
71 mServerIf = serverIf; in Entry()
80 Entry(int serverIf, int type, int handle, UUID uuid, int serviceHandle) { in Entry() argument
81 mServerIf = serverIf; in Entry()
88 Entry(int serverIf, int type, int handle, UUID uuid, int serviceHandle, int charHandle) { in Entry() argument
89 mServerIf = serverIf; in Entry()
105 int serverIf, in addService() argument
111 mEntries.add(new Entry(serverIf, handle, uuid, serviceType, instance, advertisePreferred)); in addService()
[all …]
DGattServiceBinder.java377 public void unregisterServer(int serverIf, AttributionSource source) { in unregisterServer() argument
382 service.unregisterServer(serverIf, source); in unregisterServer()
387 int serverIf, in serverConnect() argument
397 service.serverConnect(serverIf, address, addressType, isDirect, transport, source); in serverConnect()
401 public void serverDisconnect(int serverIf, String address, AttributionSource source) { in serverDisconnect() argument
406 service.serverDisconnect(serverIf, address, source); in serverDisconnect()
411 int serverIf, in serverSetPreferredPhy() argument
421 service.serverSetPreferredPhy(serverIf, address, txPhy, rxPhy, phyOptions, source); in serverSetPreferredPhy()
434 public void addService(int serverIf, BluetoothGattService svc, AttributionSource source) { in addService() argument
439 service.addService(serverIf, svc, source); in addService()
[all …]
DGattService.java584 void onServerPhyRead(int serverIf, String address, int txPhy, int rxPhy, int status) { in onServerPhyRead() argument
592 Integer connId = mServerMap.connIdByAddress(serverIf, address); in onServerPhyRead()
1753 void onServerRegistered(int status, int serverIf, long uuidLsb, long uuidMsb) { in onServerRegistered() argument
1756 Log.d(TAG, "onServerRegistered() - UUID=" + uuid + ", serverIf=" + serverIf); in onServerRegistered()
1761 app.id = serverIf; in onServerRegistered()
1762 app.linkToDeath(new ServerDeathRecipient(serverIf, app.name)); in onServerRegistered()
1763 callbackToApp(() -> app.callback.onServerRegistered(status, serverIf)); in onServerRegistered()
1766 void onServiceAdded(int status, int serverIf, List<GattDbElement> service) { in onServiceAdded() argument
1781 serverIf, in onServiceAdded()
1794 serverIf, in onServiceAdded()
[all …]
DAdvertiseManagerNativeInterface.java75 int serverIf) { in startAdvertisingSet() argument
85 serverIf); in startAdvertisingSet()
181 int serverIf); in startAdvertisingSetNative() argument
DAdvertiseBinder.kt57 serverIf: Int, in <lambda>()
63 serverIf != 0 || in <lambda>()
79 serverIf, in <lambda>()
DAdvertiseManager.java254 int serverIf, in startAdvertisingSet() argument
259 if (serverIf != 0 in startAdvertisingSet()
324 serverIf); in startAdvertisingSet()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/gatt/
DGattServiceBinderTest.java376 int serverIf = 3; in unregisterServer() local
378 mBinder.unregisterServer(serverIf, mAttributionSource); in unregisterServer()
379 verify(mService).unregisterServer(serverIf, mAttributionSource); in unregisterServer()
384 int serverIf = 1; in serverConnect() local
391 serverIf, address, addressType, isDirect, transport, mAttributionSource); in serverConnect()
394 serverIf, address, addressType, isDirect, transport, mAttributionSource); in serverConnect()
399 int serverIf = 1; in serverDisconnect() local
402 mBinder.serverDisconnect(serverIf, address, mAttributionSource); in serverDisconnect()
403 verify(mService).serverDisconnect(serverIf, address, mAttributionSource); in serverDisconnect()
408 int serverIf = 1; in serverSetPreferredPhy() local
[all …]
DGattServiceTest.java183 int serverIf = 1; in emptyClearServices() local
185 mService.clearServices(serverIf, mAttributionSource); in emptyClearServices()
186 verify(mNativeInterface, times(0)).gattServerDeleteService(eq(serverIf), anyInt()); in emptyClearServices()
631 int serverIf = 1; in serverConnect() local
638 serverIf, address, addressType, isDirect, transport, mAttributionSource); in serverConnect()
640 .gattServerConnect(serverIf, address, addressType, isDirect, transport); in serverConnect()
645 int serverIf = 1; in serverDisconnect() local
649 doReturn(connId).when(mServerMap).connIdByAddress(serverIf, address); in serverDisconnect()
651 mService.serverDisconnect(serverIf, address, mAttributionSource); in serverDisconnect()
652 verify(mNativeInterface).gattServerDisconnect(serverIf, address, connId); in serverDisconnect()
[all …]
DAdvertiseBinderTest.kt79 val serverIf = 3 in <lambda>() constant
90 serverIf, in <lambda>()
103 serverIf, in <lambda>()
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/
DIBluetoothGatt.aidl85 void unregisterServer(in int serverIf, in AttributionSource attributionSource); in unregisterServer() argument
87 …void serverConnect(in int serverIf, in String address, in int addressType, in boolean isDirect, in… in serverConnect() argument
89 … void serverDisconnect(in int serverIf, in String address, in AttributionSource attributionSource); in serverDisconnect() argument
95 …void addService(in int serverIf, in BluetoothGattService service, in AttributionSource attribution… in addService() argument
97 void removeService(in int serverIf, in int handle, in AttributionSource attributionSource); in removeService() argument
99 void clearServices(in int serverIf, in AttributionSource attributionSource); in clearServices() argument
101 void sendResponse(in int serverIf, in String address, in int requestId, in sendResponse() argument
104 int sendNotification(in int serverIf, in String address, in int handle, in sendNotification() argument
DIBluetoothGattServerCallback.aidl25 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/
DBluetoothGattServer.java83 public void onServerRegistered(int status, int serverIf) {
90 + serverIf);
94 mServerIf = serverIf;
110 int status, int serverIf, boolean connected, String address) {
117 + serverIf
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_gatt.cpp2038 static void gattServerUnregisterAppNative(JNIEnv* /* env */, jobject /* object */, jint serverIf) { in gattServerUnregisterAppNative() argument
2042 bluetooth::gatt::close_server(serverIf); in gattServerUnregisterAppNative()
2043 sGattIf->server->unregister_server(serverIf); in gattServerUnregisterAppNative()
2057 static void gattServerDisconnectNative(JNIEnv* env, jobject /* object */, jint serverIf, in gattServerDisconnectNative() argument
2062 sGattIf->server->disconnect(serverIf, str2addr(env, address), conn_id); in gattServerDisconnectNative()
2075 static void readServerPhyCb(uint8_t serverIf, RawAddress bda, uint8_t tx_phy, uint8_t rx_phy, in readServerPhyCb() argument
2085 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onServerPhyRead, serverIf, address.get(), in readServerPhyCb()
2089 static void gattServerReadPhyNative(JNIEnv* env, jobject /* object */, jint serverIf, in gattServerReadPhyNative() argument
2096 sGattIf->server->read_phy(bda, base::Bind(&readServerPhyCb, serverIf, bda)); in gattServerReadPhyNative()