/foundation/communication/bluetooth/frameworks/inner/ipc/parcel/ |
H A D | bluetooth_phone_state.cpp | 50 BluetoothPhoneState *phoneState = new BluetoothPhoneState(); in Unmarshalling() local 51 if (phoneState != nullptr && !phoneState->ReadFromParcel(parcel)) { in Unmarshalling() 52 delete phoneState; in Unmarshalling() 53 phoneState = nullptr; in Unmarshalling() 55 return phoneState; in Unmarshalling()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/ |
H A D | hfp_ag_profile.cpp | 539 int HfpAgProfile::PhoneStateChange(const HfpAgPhoneState &phoneState) in PhoneStateChange() argument 546 GetCallState(phoneState.callState).c_str(), phoneState.activeNum, phoneState.heldNum); in PhoneStateChange() 548 switch (phoneState.callState) { in PhoneStateChange() 550 ProcessCurrentCallStateDialing(phoneState.activeNum, phoneState.heldNum); in PhoneStateChange() 557 phoneState.activeNum, phoneState.heldNum, phoneState in PhoneStateChange() [all...] |
H A D | hfp_ag_service.cpp | 498 void HfpAgService::PhoneStateChanged(Bluetooth::BluetoothPhoneState &phoneState) in PhoneStateChanged() argument 501 int numActive = phoneState.GetActiveNum(); in PhoneStateChanged() 502 int numHeld = phoneState.GetHeldNum(); in PhoneStateChanged() 503 int callState = phoneState.GetCallState(); in PhoneStateChanged() 504 std::string number = phoneState.GetNumber(); in PhoneStateChanged() 505 int type = phoneState.GetCallType(); in PhoneStateChanged() 535 curEvent.state_ = {numActive, numHeld, callState, number, type, phoneState.GetName()}; in PhoneStateChanged()
|
H A D | hfp_ag_profile.h | 337 * @param phoneState Current phone state. 340 int PhoneStateChange(const HfpAgPhoneState &phoneState);
|
H A D | hfp_ag_service.h | 205 * @param phoneState Bluetooth phone state. 208 void PhoneStateChanged(Bluetooth::BluetoothPhoneState &phoneState) override;
|
H A D | hfp_ag_statemachine.h | 134 void ProcessKeyPressed(const RawAddress &device, const int &phoneState) const;
|
/foundation/communication/bluetooth/frameworks/inner/src/ |
H A D | bluetooth_hfp_ag.cpp | 236 void PhoneStateChanged(BluetoothPhoneState &phoneState) in PhoneStateChanged() 239 phoneState.GetActiveNum(), phoneState.GetHeldNum(), phoneState.GetCallState(), phoneState.GetCallType()); in PhoneStateChanged() 242 proxy->PhoneStateChanged(phoneState); in PhoneStateChanged() 565 BluetoothPhoneState phoneState; in PhoneStateChanged() local 566 phoneState.SetActiveNum(numActive); in PhoneStateChanged() 567 phoneState.SetHeldNum(numHeld); in PhoneStateChanged() 568 phoneState in PhoneStateChanged() [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/server/src/ |
H A D | bluetooth_hfp_ag_server.cpp | 288 void BluetoothHfpAgServer::PhoneStateChanged(BluetoothPhoneState &phoneState) in PhoneStateChanged() argument 291 phoneState.GetActiveNum(), phoneState.GetHeldNum(), phoneState.GetCallState(), phoneState.GetCallType()); in PhoneStateChanged() 293 pimpl->HfpAgService_->PhoneStateChanged(phoneState); in PhoneStateChanged()
|
/foundation/communication/bluetooth/frameworks/inner/ipc/interface/ |
H A D | i_bluetooth_hfp_ag.h | 41 virtual void PhoneStateChanged(BluetoothPhoneState &phoneState) = 0;
|
/foundation/communication/bluetooth_service/services/bluetooth/server/include/ |
H A D | bluetooth_hfp_ag_server.h | 40 void PhoneStateChanged(BluetoothPhoneState &phoneState) override;
|
/foundation/communication/bluetooth_service/services/bluetooth/service/include/ |
H A D | interface_profile_hfp_ag.h | 186 * @param phoneState Bluetooth phone state. 189 virtual void PhoneStateChanged(Bluetooth::BluetoothPhoneState &phoneState) = 0;
|
/foundation/communication/bluetooth_service/services/bluetooth/ipc/src/ |
H A D | bluetooth_hfp_ag_stub.cpp | 236 std::shared_ptr<BluetoothPhoneState> phoneState(data.ReadParcelable<BluetoothPhoneState>()); in PhoneStateChangedInner() 237 CHECK_AND_RETURN_LOG_RET(phoneState, BT_ERR_IPC_TRANS_FAILED, in PhoneStateChangedInner() 239 PhoneStateChanged(*phoneState); in PhoneStateChangedInner()
|
/foundation/communication/bluetooth/frameworks/inner/ipc/include/ |
H A D | bluetooth_hfp_ag_proxy.h | 38 void PhoneStateChanged(BluetoothPhoneState &phoneState) override;
|
/foundation/communication/bluetooth/frameworks/inner/ipc/src/ |
H A D | bluetooth_hfp_ag_proxy.cpp | 200 void BluetoothHfpAgProxy::PhoneStateChanged(BluetoothPhoneState &phoneState) in PhoneStateChanged() argument 204 CHECK_AND_RETURN_LOG(data.WriteParcelable(&phoneState), "write phoneState error"); in PhoneStateChanged()
|