/system/bt/service/ipc/binder/ |
D | bluetooth_low_energy_binder_server.cc | 53 Status BluetoothLowEnergyBinderServer::UnregisterClient(int client_id) { in UnregisterClient() argument 55 UnregisterInstanceBase(client_id); in UnregisterClient() 65 Status BluetoothLowEnergyBinderServer::Connect(int client_id, in Connect() argument 69 VLOG(2) << __func__ << " client_id: " << client_id << " address: " << address in Connect() 73 auto client = GetLEClient(client_id); in Connect() 75 LOG(ERROR) << "Unknown client_id: " << client_id; in Connect() 85 Status BluetoothLowEnergyBinderServer::Disconnect(int client_id, in Disconnect() argument 88 VLOG(2) << __func__ << " client_id: " << client_id << " address: " << address; in Disconnect() 91 auto client = GetLEClient(client_id); in Disconnect() 93 LOG(ERROR) << "Unknown client_id: " << client_id; in Disconnect() [all …]
|
D | bluetooth_gatt_client_binder_server.cc | 50 Status BluetoothGattClientBinderServer::UnregisterClient(int client_id) { in UnregisterClient() argument 52 UnregisterInstanceBase(client_id); in UnregisterClient() 63 BluetoothGattClientBinderServer::GetGattClientCallback(int client_id) { in GetGattClientCallback() argument 64 auto cb = GetCallback(client_id); in GetGattClientCallback() 70 BluetoothGattClientBinderServer::GetGattClient(int client_id) { in GetGattClient() argument 72 GetInstance(client_id)); in GetGattClient()
|
D | bluetooth_low_energy_binder_server.h | 56 Status UnregisterClient(int client_id) override; 58 Status Connect(int client_id, const String16& address, bool is_direct, 60 Status Disconnect(int client_id, const String16& address, 62 Status SetMtu(int client_id, const String16& address, int mtu, 74 android::sp<IBluetoothLowEnergyCallback> GetLECallback(int client_id); 78 std::shared_ptr<bluetooth::LowEnergyClient> GetLEClient(int client_id);
|
D | bluetooth_gatt_client_binder_server.h | 50 Status UnregisterClient(int client_id) override; 58 int client_id); 62 std::shared_ptr<bluetooth::GattClient> GetGattClient(int client_id);
|
/system/bt/service/doc/ |
D | IBluetoothGattClient.txt | 26 * otherwise. If successful, the caller will be assigned a "client_id" which 34 * Unregisters a previously registered client with interface ID |client_id|. 36 void unregisterClient(in int client_id); 46 * case of an error. |client_id| is the identifier obtained via 49 boolean refreshDevice(in int client_id, in String device_address); 57 * an error. |client_id| is the identifier obtained via registerClient. 59 boolean discoverServices(in int client_id, in String device_address); 70 * appropriate ATT protocol error code. |client_id| is obtained via 73 boolean readCharacteristic(in int client_id, 91 * will contain the appropriate ATT protocol error code. |client_id| is [all …]
|
D | IBluetoothLowEnergy.txt | 44 boolean Connect(in int client_id, in const char* address, 50 boolean Disconnect(in int client_id, in const char* address); 57 boolean setMtu(in int client_id, in char* address, int mtu); 60 * Initiates a BLE device scan for the scan client with ID |client_id|, using 66 boolean startScan(in int client_id, in ScanSettings settings, 71 * |client_id|. Return true on success, false otherwise. 73 boolean stopScan(in int client_id);
|
/system/bt/service/ |
D | low_energy_client.cc | 35 int client_id) in LowEnergyClient() argument 38 client_id_(client_id), in LowEnergyClient() 136 int conn_id, int status, int client_id, in ConnectCallback() argument 138 if (client_id != client_id_) return; in ConnectCallback() 140 VLOG(1) << __func__ << "client_id: " << client_id << " status: " << status; in ConnectCallback() 157 int client_id, const RawAddress& bda) { in DisconnectCallback() argument 158 if (client_id != client_id_) return; in DisconnectCallback() 160 VLOG(1) << __func__ << " client_id: " << client_id << " status: " << status; in DisconnectCallback() 229 hal::BluetoothGattInterface* gatt_iface, int status, int client_id, in RegisterClientCallback() argument 246 client.reset(new LowEnergyClient(adapter_, uuid, client_id)); in RegisterClientCallback()
|
D | gatt_client.cc | 29 GattClient::GattClient(const Uuid& uuid, int client_id) in GattClient() argument 30 : app_identifier_(uuid), client_id_(client_id) {} in GattClient() 78 hal::BluetoothGattInterface* /* gatt_iface */, int status, int client_id, in RegisterClientCallback() argument 93 if (success) client.reset(new GattClient(uuid, client_id)); in RegisterClientCallback()
|
D | low_energy_client.h | 102 LowEnergyClient(Adapter& adapter, const Uuid& uuid, int client_id); 106 int status, int client_id, 109 int status, int client_id, 162 int status, int client_id,
|
D | gatt_client.h | 46 GattClient(const Uuid& uuid, int client_id); 73 int status, int client_id,
|
/system/bt/service/common/android/bluetooth/ |
D | IBluetoothLowEnergy.aidl | 29 boolean Connect(int client_id, String address, boolean is_direct); in Connect() argument 30 boolean Disconnect(int client_id, String address); in Disconnect() argument 32 boolean SetMtu(int client_id, String address, int mtu); in SetMtu() argument
|
D | IBluetoothLowEnergyCallback.aidl | 23 void OnClientRegistered(int status, int client_id); in OnClientRegistered() argument 24 void OnConnectionState(int status, int client_id, String address, boolean connected); in OnConnectionState() argument
|
D | IBluetoothLeScanner.aidl | 28 boolean StartScan(int client_id, in StartScan() argument 31 boolean StopScan(int client_id); in StopScan() argument
|
D | IBluetoothGattClientCallback.aidl | 20 void OnClientRegistered(int status, int client_id); in OnClientRegistered() argument
|
D | IBluetoothGattClient.aidl | 24 void UnregisterClient(int client_id); in UnregisterClient() argument
|
D | IBluetoothLeScannerCallback.aidl | 22 void OnScannerRegistered(int status, int client_id); in OnScannerRegistered() argument
|
/system/keymaster/legacy_support/ |
D | keymaster_passthrough_key.cpp | 67 KeymasterBlob client_id; in formatted_key_material() local 69 client_id = KeymasterBlob(km_client_id); in formatted_key_material() 74 keymaster_error_t error = engine_->ExportKey(format, key_material(), client_id, app_data, in formatted_key_material()
|
/system/core/trusty/keymaster/include/trusty_keymaster/legacy/ |
D | trusty_keymaster_device.h | 53 const keymaster_blob_t* client_id, 62 const keymaster_blob_t* client_id, 105 const keymaster_blob_t* client_id, 117 const keymaster_blob_t* client_id,
|
/system/core/trusty/keymaster/legacy/ |
D | trusty_keymaster_device.cpp | 122 void AddClientAndAppData(const keymaster_blob_t* client_id, const keymaster_blob_t* app_data, in AddClientAndAppData() argument 125 if (client_id && client_id->data_length > 0) { in AddClientAndAppData() 126 request->additional_params.push_back(TAG_APPLICATION_ID, *client_id); in AddClientAndAppData() 216 const keymaster_key_blob_t* key_blob, const keymaster_blob_t* client_id, in get_key_characteristics() argument 232 AddClientAndAppData(client_id, app_data, &request); in get_key_characteristics() 292 const keymaster_blob_t* client_id, in export_key() argument 313 AddClientAndAppData(client_id, app_data, &request); in export_key() 673 const keymaster_blob_t* client_id, const keymaster_blob_t* app_data, in get_key_characteristics() argument 675 return convert_device(dev)->get_key_characteristics(key_blob, client_id, app_data, in get_key_characteristics() 691 const keymaster_blob_t* client_id, in export_key() argument [all …]
|
/system/keymaster/include/keymaster/ |
D | soft_keymaster_device.h | 143 const keymaster_blob_t* client_id, 155 const keymaster_blob_t* client_id, 192 const keymaster_blob_t* client_id, 204 const keymaster_blob_t* client_id,
|
/system/bt/service/test/ |
D | low_energy_client_unittest.cc | 270 .WillOnce(DoAll(Invoke([&](int client_id, const RawAddress& bd_addr, in TEST_F() 273 connId, BT_STATUS_SUCCESS, client_id, bd_addr); in TEST_F() 286 Invoke([&](int client_id, const RawAddress& bd_addr, int connId) { in TEST_F() argument 288 connId, BT_STATUS_SUCCESS, client_id, bd_addr); in TEST_F()
|
/system/keymaster/contexts/ |
D | keymaster1_passthrough_context.cpp | 116 keymaster_blob_t client_id = {nullptr, 0}; in parseKeymaster1HwBlob() local 120 if (additional_params.GetTagValue(TAG_APPLICATION_ID, &client_id)) in parseKeymaster1HwBlob() 121 client_id_ptr = &client_id; in parseKeymaster1HwBlob()
|
/system/keymaster/include/keymaster/legacy_support/ |
D | keymaster_passthrough_engine.h | 54 const KeymasterBlob& client_id,
|
/system/bt/service/client/ |
D | main.cc | 229 Status OnClientRegistered(int status, int client_id) override { in OnClientRegistered() argument 234 ble_client_id = client_id; in OnClientRegistered() 236 << COLOR_GREEN << client_id << COLOR_OFF; in OnClientRegistered() 244 Status OnConnectionState(int status, int client_id, const String16& address, in OnConnectionState() argument 250 << COLOR_BOLDWHITE " - client_id: " << client_id << COLOR_OFF; in OnConnectionState() 354 Status OnClientRegistered(int status, int client_id) override { in OnClientRegistered() argument 359 gatt_client_id = client_id; in OnClientRegistered() 361 << COLOR_GREEN << client_id << COLOR_OFF; in OnClientRegistered()
|
/system/bt/service/hal/ |
D | bluetooth_gatt_interface.h | 248 bt_status_t StartScan(int client_id); 249 bt_status_t StopScan(int client_id);
|