Home | History | Annotate | Download | only in client

Lines Matching full:bt_iface

330 void HandleDisable(IBluetooth* bt_iface, const vector<string>& args) {
333 bt_iface->Disable(&status);
337 void HandleEnable(IBluetooth* bt_iface, const vector<string>& args) {
356 bt_iface->Enable(is_restricted_mode, &status);
360 void HandleGetState(IBluetooth* bt_iface, const vector<string>& args) {
364 bt_iface->GetState(&st);
369 void HandleIsEnabled(IBluetooth* bt_iface, const vector<string>& args) {
372 bt_iface->IsEnabled(&enabled);
376 void HandleGetLocalAddress(IBluetooth* bt_iface, const vector<string>& args) {
379 bt_iface->GetAddress(&address);
383 void HandleSetLocalName(IBluetooth* bt_iface, const vector<string>& args) {
392 bt_iface->SetName(String16(String8(name.c_str())), &status);
396 void HandleGetLocalName(IBluetooth* bt_iface, const vector<string>& args) {
399 bt_iface->GetName(&name);
403 void HandleAdapterInfo(IBluetooth* bt_iface, const vector<string>& args) {
409 bt_iface->GetAddress(&address);
413 bt_iface->GetState(&adapter_state);
419 bt_iface->GetName(&name);
423 bt_iface->IsMultiAdvertisementSupported(&multi_adv);
427 void HandleSupportsMultiAdv(IBluetooth* bt_iface, const vector<string>& args) {
431 bt_iface->IsMultiAdvertisementSupported(&multi_adv);
435 void HandleRegisterBLEAdvertiser(IBluetooth* bt_iface,
450 bt_iface->GetLeAdvertiserInterface(&ble_advertiser_iface);
463 void HandleUnregisterBLEAdvertiser(IBluetooth* bt_iface,
473 bt_iface->GetLeAdvertiserInterface(&ble_advertiser_iface);
484 void HandleRegisterBLE(IBluetooth* bt_iface, const vector<string>& args) {
498 bt_iface->GetLowEnergyInterface(&ble_iface);
510 void HandleUnregisterBLE(IBluetooth* bt_iface, const vector<string>& args) {
519 bt_iface
530 void HandleUnregisterAllBLE(IBluetooth* bt_iface, const vector<string>& args) {
534 bt_iface->GetLowEnergyInterface(&ble_iface);
544 void HandleRegisterGATT(IBluetooth* bt_iface, const vector<string>& args) {
558 bt_iface->GetGattClientInterface(&gatt_iface);
570 void HandleUnregisterGATT(IBluetooth* bt_iface, const vector<string>& args) {
579 bt_iface->GetGattClientInterface(&gatt_iface);
590 void HandleStartAdv(IBluetooth* bt_iface, const vector<string>& args) {
648 bt_iface->GetLeAdvertiserInterface(&ble_advertiser_iface);
698 bt_iface->GetName(&name_param);
713 void HandleStopAdv(IBluetooth* bt_iface, const vector<string>& args) {
720 bt_iface->GetLeAdvertiserInterface(&ble_advertiser_iface);
731 void HandleConnect(IBluetooth* bt_iface, const vector<string>& args) {
747 bt_iface->GetLowEnergyInterface(&ble_iface);
761 void HandleDisconnect(IBluetooth* bt_iface, const vector<string>& args) {
777 bt_iface->GetLowEnergyInterface(&ble_iface);
789 void HandleSetMtu(IBluetooth* bt_iface, const vector<string>& args) {
812 bt_iface->GetLowEnergyInterface(&ble_iface);
824 void HandleRegisterBLEScanner(IBluetooth* bt_iface,
839 bt_iface->GetLeScannerInterface(&ble_scanner_iface);
852 void HandleUnregisterBLEScanner(IBluetooth* bt_iface,
862 bt_iface->GetLeScannerInterface(&ble_scanner_iface);
873 void HandleStartLeScan(IBluetooth* bt_iface, const vector<string>& args) {
895 bt_iface->GetLeScannerInterface(&ble_scanner_iface);
910 void HandleStopLeScan(IBluetooth* bt_iface, const vector<string>& args) {
917 bt_iface->GetLeScannerInterface(&ble_scanner_iface);
928 void HandleHelp(IBluetooth* bt_iface, const vector<string>& args);
977 void HandleHelp(IBluetooth* /* bt_iface */, const vector<string>& /* args */) {
987 bool ExecuteCommand(const sp<IBluetooth>& bt_iface, std::string& command) {
1000 kCommandMap[i].func(bt_iface.get(), args);
1041 sp<IBluetooth> bt_iface;
1042 status_t status = getService(String16(kServiceName.c_str()), &bt_iface);
1050 if (android::IInterface::asBinder(bt_iface.get())->linkToDeath(dr) !=
1063 bt_iface
1087 if (!ExecuteCommand(bt_iface, command)) break;