Home
last modified time | relevance | path

Searched refs:phoneState (Results 1 - 14 of 14) sorted by relevance

/foundation/communication/bluetooth/frameworks/inner/ipc/parcel/
H A Dbluetooth_phone_state.cpp50 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 Dhfp_ag_profile.cpp539 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 Dhfp_ag_service.cpp498 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 Dhfp_ag_profile.h337 * @param phoneState Current phone state.
340 int PhoneStateChange(const HfpAgPhoneState &phoneState);
H A Dhfp_ag_service.h205 * @param phoneState Bluetooth phone state.
208 void PhoneStateChanged(Bluetooth::BluetoothPhoneState &phoneState) override;
H A Dhfp_ag_statemachine.h134 void ProcessKeyPressed(const RawAddress &device, const int &phoneState) const;
/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_hfp_ag.cpp236 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 Dbluetooth_hfp_ag_server.cpp288 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 Di_bluetooth_hfp_ag.h41 virtual void PhoneStateChanged(BluetoothPhoneState &phoneState) = 0;
/foundation/communication/bluetooth_service/services/bluetooth/server/include/
H A Dbluetooth_hfp_ag_server.h40 void PhoneStateChanged(BluetoothPhoneState &phoneState) override;
/foundation/communication/bluetooth_service/services/bluetooth/service/include/
H A Dinterface_profile_hfp_ag.h186 * @param phoneState Bluetooth phone state.
189 virtual void PhoneStateChanged(Bluetooth::BluetoothPhoneState &phoneState) = 0;
/foundation/communication/bluetooth_service/services/bluetooth/ipc/src/
H A Dbluetooth_hfp_ag_stub.cpp236 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 Dbluetooth_hfp_ag_proxy.h38 void PhoneStateChanged(BluetoothPhoneState &phoneState) override;
/foundation/communication/bluetooth/frameworks/inner/ipc/src/
H A Dbluetooth_hfp_ag_proxy.cpp200 void BluetoothHfpAgProxy::PhoneStateChanged(BluetoothPhoneState &phoneState) in PhoneStateChanged() argument
204 CHECK_AND_RETURN_LOG(data.WriteParcelable(&phoneState), "write phoneState error"); in PhoneStateChanged()

Completed in 10 milliseconds