/system/bt/test/suite/gatt/ |
gatt_unittest.cpp | 124 int server_if = server_interface_id(); local 125 gatt_server_interface()->add_service(server_if, &srvc_id, 4 /* # handles */); 131 gatt_server_interface()->add_characteristic(server_if, srvc_handle, 138 gatt_server_interface()->add_descriptor(server_if, srvc_handle, 145 gatt_server_interface()->start_service(server_if, srvc_handle, 2 /*BREDR/LE*/); 150 gatt_server_interface()->stop_service(server_if, srvc_handle); 155 gatt_server_interface()->delete_service(server_if, srvc_handle); 160 gatt_server_interface()->unregister_server(server_if);
|
/system/bt/service/common/bluetooth/binder/ |
IBluetoothGattServerCallback.cpp | 51 int server_if = data.readInt32(); local 52 OnServerRegistered(status, server_if); 149 int status, int server_if) { 155 data.writeInt32(server_if);
|
IBluetoothGattServer.cpp | 55 int server_if = data.readInt32(); local 56 UnregisterServer(server_if); 64 int server_if = data.readInt32(); local 71 server_if, is_primary, *uuid, &out_id); 83 int server_if = data.readInt32(); local 91 server_if, *uuid, properties, permissions, &out_id); 103 int server_if = data.readInt32(); local 109 bool result = AddDescriptor(server_if, *uuid, permissions, &out_id); 121 int server_if = data.readInt32(); local 122 bool result = EndServiceDeclaration(server_if); 127 int server_if = data.readInt32(); local 145 int server_if = data.readInt32(); local [all...] |
/system/bt/btif/src/ |
btif_gatt_server.c | 98 uint8_t server_if; member in struct:__anon72247 176 , p_data->reg_oper.server_if 193 p_data->conn.conn_id, p_data->conn.server_if, TRUE, &bda); 203 p_data->conn.conn_id, p_data->conn.server_if, FALSE, &bda); 215 p_data->create.status, p_data->create.server_if, &srvc_id, 224 p_data->add_result.server_if, 236 p_data->add_result.server_if, 250 p_data->add_result.server_if, 260 p_data->srvc_oper.server_if, 267 p_data->srvc_oper.server_if, [all...] |
/system/bt/service/hal/ |
bluetooth_gatt_interface.cpp | 267 void RegisterServerCallback(int status, int server_if, bt_uuid_t* app_uuid) { 269 VLOG(2) << __func__ << " - status: " << status << " server_if: " << server_if; local 274 RegisterServerCallback(g_interface, status, server_if, *app_uuid)); 277 void ConnectionCallback(int conn_id, int server_if, int connected, 281 << " server_if: " << server_if << " connected: " << connected; 286 ConnectionCallback(g_interface, conn_id, server_if, connected, *bda)); 291 int server_if, 295 VLOG(2) << __func__ << " - status: " << status << " server_if: " << server_i [all...] |
/system/bt/bta/gatt/ |
bta_gatts_int.h | 77 tBTA_GATTS_IF server_if; member in struct:__anon71772 85 tBTA_GATTS_IF server_if; member in struct:__anon71773 144 tBTA_GATTS_IF server_if; member in struct:__anon71780 156 tBTA_GATTS_IF server_if; member in struct:__anon71781 252 extern tBTA_GATTS_RCB *bta_gatts_find_app_rcb_by_app_if(tBTA_GATTS_IF server_if); 253 extern UINT8 bta_gatts_find_app_rcb_idx_by_app_if(tBTA_GATTS_CB *p_cb, tBTA_GATTS_IF server_if);
|
/system/bt/service/ |
gatt_server_old.cpp | 116 int server_if; member in struct:bluetooth::gatt::ServerInternals 133 void RegisterServerCallback(int status, int server_if, bt_uuid_t *app_uuid) { 134 LOG_INFO(LOG_TAG, "%s: status:%d server_if:%d app_uuid:%p", __func__, status, 135 server_if, app_uuid); 137 g_internal->server_if = server_if; 145 server_if, &service_id, kNumBlueDroidHandles); 148 void ServiceAddedCallback(int status, int server_if, btgatt_srvc_id_t *srvc_id, 150 LOG_INFO(LOG_TAG, "%s: status:%d server_if:%d gatt_srvc_id:%u srvc_handle:%d", 151 __func__, status, server_if, srvc_id->id.inst_id, srvc_handle) [all...] |
/system/bt/bta/include/ |
bta_gatt_api.h | 485 tBTA_GATTS_IF server_if; member in struct:__anon71960 493 tBTA_GATTS_IF server_if; member in struct:__anon71961 503 tBTA_GATTS_IF server_if; member in struct:__anon71962 512 tBTA_GATTS_IF server_if; member in struct:__anon71963 520 tBTA_GATTS_IF server_if; member in struct:__anon71964 [all...] |