/foundation/communication/bluetooth/frameworks/inner/src/ |
D | bluetooth_socket.cpp | 38 struct ClientSocket::impl { struct in OHOS::Bluetooth::ClientSocket 41 ~impl() in ~impl() 61 void Close() in Close() 85 bool RecvSocketSignal() in RecvSocketSignal() 119 int getSecurityFlags() in getSecurityFlags() 129 InputStream &GetInputStream() in GetInputStream() 138 OutputStream &GetOutputStream() in GetOutputStream() 147 BluetoothRemoteDevice &GetRemoteDevice() in GetRemoteDevice() 153 bool IsConnected() in IsConnected() 159 int SetBufferSize(int bufferSize) in SetBufferSize() [all …]
|
D | bluetooth_hfp_ag.cpp | 91 struct HandsFreeAudioGateway::impl { struct in OHOS::Bluetooth::HandsFreeAudioGateway 96 int32_t GetConnectedDevices(std::vector<BluetoothRemoteDevice>& devices) in GetConnectedDevices() 115 std::vector<BluetoothRemoteDevice> GetDevicesByStates(std::vector<int> states) in GetDevicesByStates() 135 int32_t GetDeviceState(const BluetoothRemoteDevice &device, int32_t &state) in GetDeviceState() 146 int32_t Connect(const BluetoothRemoteDevice &device) in Connect() 168 int32_t Disconnect(const BluetoothRemoteDevice &device) in Disconnect() 178 int GetScoState(const BluetoothRemoteDevice &device) in GetScoState() 187 bool ConnectSco() in ConnectSco() 196 bool DisconnectSco() in DisconnectSco() 205 void PhoneStateChanged( in PhoneStateChanged() [all …]
|
D | bluetooth_pan.cpp | 58 struct Pan::impl { struct in OHOS::Bluetooth::Pan 63 int32_t GetDevicesByStates(std::vector<int> states, std::vector<BluetoothRemoteDevice>& result) in GetDevicesByStates() 91 int32_t GetDeviceState(const BluetoothRemoteDevice &device, int32_t &state) in GetDeviceState() 102 int32_t Disconnect(const BluetoothRemoteDevice &device) in Disconnect() 113 void RegisterObserver(std::shared_ptr<PanObserver> observer) in RegisterObserver() 119 void DeregisterObserver(std::shared_ptr<PanObserver> observer) in DeregisterObserver() 125 int32_t SetTethering(bool value) in SetTethering() 138 int32_t IsTetheringOn(bool &value) in IsTetheringOn() 148 sptr<IBluetoothPan> proxy_; 151 BluetoothObserverList<PanObserver> observers_; [all …]
|
D | bluetooth_hfp_hf.cpp | 154 struct HandsFreeUnit::impl { struct in OHOS::Bluetooth::HandsFreeUnit 159 bool ConnectSco(const BluetoothRemoteDevice &device) in ConnectSco() 168 bool DisconnectSco(const BluetoothRemoteDevice &device) in DisconnectSco() 177 std::vector<BluetoothRemoteDevice> GetDevicesByStates(std::vector<int> states) in GetDevicesByStates() 197 int GetDeviceState(const BluetoothRemoteDevice &device) in GetDeviceState() 206 int GetScoState(const BluetoothRemoteDevice &device) in GetScoState() 215 bool SendDTMFTone(const BluetoothRemoteDevice &device, uint8_t code) in SendDTMFTone() 224 bool Connect(const BluetoothRemoteDevice &device) in Connect() 235 bool Disconnect(const BluetoothRemoteDevice &device) in Disconnect() 245 bool OpenVoiceRecognition(const BluetoothRemoteDevice &device) in OpenVoiceRecognition() [all …]
|
D | bluetooth_pbap_pse.cpp | 76 struct PbapServer::impl { struct in OHOS::Bluetooth::PbapServer 77 sptr<IBluetoothPbapPse> proxy_; 79 sptr<BluetoothPbapPseDeathRecipient> deathRecipient_ = nullptr; 82 ~impl() in ~impl() 90 void RegisterObserver(std::shared_ptr<PbapObserver> &observer) in RegisterObserver() 98 void DeregisterObserver(std::shared_ptr<PbapObserver> &observer) in DeregisterObserver() 106 int GetDeviceState(const BluetoothRemoteDevice &device) in GetDeviceState() 119 std::vector<BluetoothRemoteDevice> GetDevicesByStates(const std::vector<int> &states) in GetDevicesByStates() 138 std::vector<BluetoothRemoteDevice> GetConnectedDevices() in GetConnectedDevices() 145 bool Disconnect(const BluetoothRemoteDevice &device) in Disconnect() [all …]
|
D | bluetooth_hid_host.cpp | 60 struct HidHost::impl { struct in OHOS::Bluetooth::HidHost 65 int32_t GetDevicesByStates(std::vector<int> states, std::vector<BluetoothRemoteDevice>& result) in GetDevicesByStates() 92 int32_t GetDeviceState(const BluetoothRemoteDevice &device, int32_t &state) in GetDeviceState() 103 int32_t Connect(const BluetoothRemoteDevice &device) in Connect() 126 int32_t Disconnect(const BluetoothRemoteDevice &device) in Disconnect() 137 void RegisterObserver(std::shared_ptr<HidHostObserver> observer) in RegisterObserver() 143 void DeregisterObserver(std::shared_ptr<HidHostObserver> observer) in DeregisterObserver() 149 void HidHostVCUnplug(std::string device, uint8_t id, uint16_t size, uint8_t type) in HidHostVCUnplug() 158 void HidHostSendData(std::string device, uint8_t id, uint16_t size, uint8_t type) in HidHostSendData() 167 void HidHostSetReport(std::string device, uint8_t type, uint16_t size, uint8_t report) in HidHostSetReport() [all …]
|
D | bluetooth_gatt_manager.cpp | 43 struct GattManager::impl { struct in OHOS::Bluetooth::GattManager 45 impl() in impl() argument 52 ~impl() {}; in ~impl() 55 sptr<BluetoothGattClientProxy> clientProxy_;
|
D | bluetooth_avrcp_tg.cpp | 37 struct AvrcpTarget::impl { struct in OHOS::Bluetooth::AvrcpTarget 39 class ObserverImpl : public BluetoothAvrcpTgObserverStub { 41 explicit ObserverImpl(AvrcpTarget::impl *impl) : impl_(impl) in ObserverImpl() 58 class AvrcpTgDeathRecipient final : public IRemoteObject::DeathRecipient { 78 impl() in impl() argument 91 ~impl() in ~impl() 100 bool InitAvrcpTgProxy(void) in InitAvrcpTgProxy() 124 bool IsEnabled(void) in IsEnabled() 131 void OnConnectionStateChanged(const BluetoothRemoteDevice &device, int state) in OnConnectionStateChanged() 140 std::mutex observerMutex_; [all …]
|
D | bluetooth_opp.cpp | 216 struct Opp::impl { struct in OHOS::Bluetooth::Opp 221 std::vector<BluetoothRemoteDevice> GetDevicesByStates(std::vector<int> states) in GetDevicesByStates() 241 int GetDeviceState(const BluetoothRemoteDevice &device) in GetDeviceState() 252 … SendFile(std::string device, std::vector<std::string>filePaths, std::vector<std::string>mimeTypes) in SendFile() 264 bool SetIncomingFileConfirmation(bool accept) in SetIncomingFileConfirmation() 276 BluetoothOppTransferInformation GetCurrentTransferInformation() in GetCurrentTransferInformation() 299 bool CancelTransfer() in CancelTransfer() 311 void RegisterObserver(std::shared_ptr<OppObserver> observer) in RegisterObserver() 317 void DeregisterObserver(std::shared_ptr<OppObserver> observer) in DeregisterObserver() 323 sptr<IBluetoothOpp> proxy_; [all …]
|
D | bluetooth_pbap_pce.cpp | 459 struct PbapClient::impl { struct in OHOS::Bluetooth::PbapClient 460 sptr<IBluetoothPbapPce> proxy_; 462 sptr<BluetoothPbapPceDeathRecipient> deathRecipient_ = nullptr; 464 ~impl() in ~impl() 471 void RegisterObserver(std::shared_ptr<PbapClientObserver> &observer) in RegisterObserver() 477 void DeregisterObserver(std::shared_ptr<PbapClientObserver> &observer) in DeregisterObserver() 483 int GetDeviceState(const BluetoothRemoteDevice &device) in GetDeviceState() 492 std::vector<BluetoothRemoteDevice> GetDevicesByStates(const std::vector<int> &states) in GetDevicesByStates() 511 std::vector<BluetoothRemoteDevice> GetConnectedDevices() in GetConnectedDevices() 527 bool Connect(const BluetoothRemoteDevice &device) in Connect() [all …]
|
/foundation/communication/bluetooth_service/services/bluetooth/server/src/ |
D | bluetooth_avrcp_tg_server.cpp | 32 struct BluetoothAvrcpTgServer::impl { struct in OHOS::Bluetooth::BluetoothAvrcpTgServer 34 class SysStsObserverImpl : public ISystemStateObserver { 36 explicit SysStsObserverImpl(BluetoothAvrcpTgServer::impl *impl) : impl_(impl) {} in SysStsObserverImpl() 47 class ObserverImpl : public IProfileAvrcpTg::IObserver { 49 explicit ObserverImpl(BluetoothAvrcpTgServer::impl *impl) : impl_(impl) {} in ObserverImpl() 61 impl() in impl() function 76 ~impl() in ~impl() 92 bool IsEnabled() in IsEnabled() 102 void OnSystemStateChange(const BTSystemState state) in OnSystemStateChange() 130 void OnConnectionStateChanged(const RawAddress &rawAddr, int state) in OnConnectionStateChanged() [all …]
|
D | bluetooth_pan_server.cpp | 51 struct BluetoothPanServer::impl { struct in OHOS::Bluetooth::BluetoothPanServer 57 std::unique_ptr<SystemStateObserver> systemStateObserver_ = nullptr; 59 RemoteObserverList<IBluetoothPanObserver> observers_; 60 std::unique_ptr<BluetoothPanCallback> observerImp_ = std::make_unique<BluetoothPanCallback>(); 61 IProfilePan *panService_ = nullptr; 62 std::vector<sptr<IBluetoothPanObserver>> advCallBack_; 64 IProfilePan *GetServicePtr() in GetServicePtr() 98 BluetoothPanServer::impl::impl() in impl() function in OHOS::Bluetooth::BluetoothPanServer::impl
|
D | bluetooth_opp_server.cpp | 58 struct BluetoothOppServer::impl { struct in OHOS::Bluetooth::BluetoothOppServer 63 std::unique_ptr<SystemStateObserver> systemStateObserver_ = nullptr; 65 RemoteObserverList<IBluetoothOppObserver> observers_; 66 std::unique_ptr<BluetoothOppCallback> observerImp_ = std::make_unique<BluetoothOppCallback>(); 67 IProfileOpp *oppService_ = nullptr; 68 std::vector<sptr<IBluetoothOppObserver>> advCallBack_; 70 IProfileOpp *GetServicePtr() in GetServicePtr() 106 BluetoothOppServer::impl::impl() in impl() function in OHOS::Bluetooth::BluetoothOppServer::impl
|
D | bluetooth_avrcp_ct_server.cpp | 32 struct BluetoothAvrcpCtServer::impl { struct in OHOS::Bluetooth::BluetoothAvrcpCtServer 34 class SysStsObserverImpl : public ISystemStateObserver { 36 explicit SysStsObserverImpl(BluetoothAvrcpCtServer::impl *impl) : impl_(impl) in SysStsObserverImpl() 49 class ObserverImpl : public IProfileAvrcpCt::IObserver { 51 explicit ObserverImpl(BluetoothAvrcpCtServer::impl *impl) : impl_(impl) in ObserverImpl() 240 impl() in impl() argument 255 ~impl() in ~impl() 271 bool IsEnabled() in IsEnabled() 281 void OnSystemStateChange(const BTSystemState state) in OnSystemStateChange() 309 void OnConnectionStateChanged(const RawAddress &rawAddr, int state) in OnConnectionStateChanged() [all …]
|
D | bluetooth_a2dp_sink_server.cpp | 49 struct BluetoothA2dpSinkServer::impl { struct in OHOS::Bluetooth::BluetoothA2dpSinkServer 55 std::unique_ptr<SystemStateObserver> systemStateObserver_ = nullptr; 57 RemoteObserverList<IBluetoothA2dpSinkObserver> observers_; 58 std::unique_ptr<A2dpSinkObserver> observerImp_{std::make_unique<A2dpSinkObserver>()}; 59 IProfileA2dpSnk *a2dpSnkService_ = nullptr; 97 BluetoothA2dpSinkServer::impl::impl() in impl() function in OHOS::Bluetooth::BluetoothA2dpSinkServer::impl
|
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/ |
D | extension_impl_test.cpp | 74 auto impl = std::make_shared<AbilityRuntime::ExtensionImpl>(); variable 95 auto impl = std::make_shared<AbilityRuntime::ExtensionImpl>(); variable 119 auto impl = std::make_shared<AbilityRuntime::ExtensionImpl>(); variable 140 auto impl = std::make_shared<AbilityRuntime::ExtensionImpl>(); variable 163 auto impl = std::make_shared<AbilityRuntime::ExtensionImpl>(); variable 184 auto impl = std::make_shared<AbilityRuntime::ExtensionImpl>(); variable 207 auto impl = std::make_shared<AbilityRuntime::ExtensionImpl>(); variable 230 auto impl = std::make_shared<AbilityRuntime::ExtensionImpl>(); variable 249 auto impl = std::make_shared<AbilityRuntime::ExtensionImpl>(); variable 263 auto impl = std::make_shared<AbilityRuntime::ExtensionImpl>(); variable [all …]
|
/foundation/ability/form_fwk/test/unittest/fms_form_bms_helper_test/ |
D | fms_form_bms_helper_test.cpp | 66 explicit MockBundleMgrProxy(const sptr<IRemoteObject> &impl) : IRemoteProxy<IBundleMgr>(impl) in MockBundleMgrProxy() 147 const sptr<IRemoteObject> impl; variable 163 const sptr<IRemoteObject> impl; variable 182 const sptr<IRemoteObject> impl; variable 201 const sptr<IRemoteObject> impl; variable 220 const sptr<IRemoteObject> impl; variable 239 const sptr<IRemoteObject> impl; variable 258 const sptr<IRemoteObject> impl; variable 277 const sptr<IRemoteObject> impl; variable 296 const sptr<IRemoteObject> impl; variable [all …]
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/ |
D | power_device.cpp | 28 struct PowerDevice::impl { struct in OHOS::bluetooth::PowerDevice 30 …impl(const RawAddress rawAddr, utility::Dispatcher &dispatcher):rawAddr_(rawAddr), dispatcher_(dis… in impl() argument 31 ~impl(){}; in ~impl() 32 const RawAddress rawAddr_; 33 utility::Dispatcher &dispatcher_; 34 std::map<std::string, RequestStatus> requestPower_ {}; 35 std::unique_ptr<PowerStateMachine> psm_ = nullptr; 36 std::pair<PowerSsrLevel, PowerModeLevel> requestPowerLevel_ = 38 std::pair<PowerSsrLevel, PowerModeLevel> controlPowerLevel_ = 40 int controlPowerMode_ {}; [all …]
|
D | adapter_config.cpp | 24 struct AdapterConfig::impl { struct in OHOS::bluetooth::AdapterConfig 25 utility::XmlParse parse_ = {}; 26 std::string fileName_ = {"bt_config.xml"}; 27 std::string filePath_ = {BT_CONFIG_PATH + fileName_}; 28 std::string fileBasePath_ = {BT_CONFIG_PATH_BASE + fileName_};
|
D | power_manager.cpp | 67 struct PowerManager::impl { struct in OHOS::bluetooth::PowerManager 69 explicit impl(utility::Dispatcher &dispatcher) : dispatcher_(dispatcher) in impl() function 73 ~impl(){}; in ~impl() 75 std::mutex mutex_ {}; 76 std::atomic_bool isEnabled_ = false; 77 BtmPmCallbacks btmPmCallbacks_ {}; 78 BtmAclCallbacks btmAclCallbacks_ {}; 79 utility::Dispatcher &dispatcher_; 80 std::map<RawAddress, std::shared_ptr<PowerDevice>> powerDevices_ {}; 81 std::map<uint16_t, RawAddress> connectionHandles_ {};
|
D | adapter_device_info.cpp | 27 struct AdapterDeviceInfo::impl { struct in OHOS::bluetooth::AdapterDeviceInfo 28 utility::XmlParse parse_ = {}; 29 std::string fileName_ = {"bt_device_info.xml"}; 30 std::string filePath_ = {BT_CONFIG_PATH + fileName_}; 31 std::string fileBasePath_ = {BT_CONFIG_PATH_BASE + fileName_};
|
D | profile_config.cpp | 25 struct ProfileConfig::impl { struct in OHOS::bluetooth::ProfileConfig 26 utility::XmlParse parse_ = {}; 27 std::mutex mutex_ = {}; 28 std::string fileName_ = {"bt_profile_config.xml"}; 29 std::string filePath_ = {BT_CONFIG_PATH + fileName_}; 30 std::string fileBasePath_ = {BT_CONFIG_PATH_BASE + fileName_};
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_app_control_test/ |
D | bms_bundle_app_control_test.cpp | 718 AppControlManagerHostImpl impl; variable 735 AppControlManagerHostImpl impl; variable 751 AppControlManagerHostImpl impl; variable 768 AppControlManagerHostImpl impl; variable 785 AppControlManagerHostImpl impl; variable 801 AppControlManagerHostImpl impl; variable 817 AppControlManagerHostImpl impl; variable 832 AppControlManagerHostImpl impl; variable 846 AppControlManagerHostImpl impl; variable 861 AppControlManagerHostImpl impl; variable [all …]
|
/foundation/communication/wifi/wifi/frameworks/native/src/ |
D | wifi_p2p.cpp | 25 std::unique_ptr<WifiP2pImpl> impl = std::make_unique<WifiP2pImpl>(systemAbilityId); in CreateWifiP2p() local 39 std::unique_ptr<WifiP2pImpl> impl = std::make_unique<WifiP2pImpl>(systemAbilityId); in GetInstance() local
|
D | wifi_hid2d.cpp | 27 std::unique_ptr<WifiP2pImpl> impl = std::make_unique<WifiP2pImpl>(systemAbilityId); in CreateWifiHid2d() local 41 std::unique_ptr<WifiP2pImpl> impl = std::make_unique<WifiP2pImpl>(systemAbilityId); in GetInstance() local
|