Home
last modified time | relevance | path

Searched refs:profile_ (Results 1 – 25 of 37) sorted by relevance

12

/foundation/communication/bluetooth/interfaces/innerkits/native_cpp/framework/test/unittest/avrcp/
Davrcp_tg_test.cpp39 static AvrcpTarget *profile_; variable
84 profile_ = AvrcpTarget::GetProfile();
98 profile_ = AvrcpTarget::GetProfile();
99 vector<BluetoothRemoteDevice> devices = profile_->GetConnectedDevices();
113 profile_ = AvrcpTarget::GetProfile();
115 int state = profile_->GetDeviceState(device);
129 profile_ = AvrcpTarget::GetProfile();
130 profile_->RegisterObserver(&observer_);
143 profile_ = AvrcpTarget::GetProfile();
144 profile_->UnregisterObserver(&observer_);
[all …]
Davrcp_ct_test.cpp39 static AvrcpController *profile_; variable
82 profile_ = AvrcpController::GetProfile();
95 profile_ = AvrcpController::GetProfile();
96 vector<BluetoothRemoteDevice> devices = profile_->GetConnectedDevices();
109 profile_ = AvrcpController::GetProfile();
111 int state = profile_->GetDeviceState(device);
125 profile_ = AvrcpController::GetProfile();
126 profile_->RegisterObserver(&observer_);
139 profile_ = AvrcpController::GetProfile();
140 profile_->UnregisterObserver(&observer_);
[all …]
/foundation/communication/bluetooth/interfaces/innerkits/native_cpp/framework/test/unittest/a2dp/
Da2dp_src_test.cpp43 static A2dpSource *profile_; variable
93 profile_ = A2dpSource::GetProfile();
107 profile_ = A2dpSource::GetProfile();
109 int state = profile_->GetPlayingState(device);
123 profile_ = A2dpSource::GetProfile();
124 profile_->RegisterObserver(&observer_);
137 profile_ = A2dpSource::GetProfile();
138 profile_->DeregisterObserver(&observer_);
151 profile_ = A2dpSource::GetProfile();
153 EXPECT_EQ(profile_->GetDeviceState(device), 0);
[all …]
Da2dp_snk_test.cpp41 static A2dpSink *profile_; variable
93 profile_ = A2dpSink::GetProfile();
107 profile_ = A2dpSink::GetProfile();
109 int state = profile_->GetPlayingState(device);
123 profile_ = A2dpSink::GetProfile();
125 bool isOK = profile_->Connect(device);
139 profile_ = A2dpSink::GetProfile();
141 bool isOK = profile_->Disconnect(device);
155 profile_ = A2dpSink::GetProfile();
156 profile_->RegisterObserver(&observer_);
[all …]
/foundation/communication/bluetooth/interfaces/innerkits/native_cpp/framework/test/unittest/hfp/
Dhfp_ag_test.cpp42 static HandsFreeAudioGateway *profile_; variable
92 profile_ = HandsFreeAudioGateway::GetProfile();
107 profile_ = HandsFreeAudioGateway::GetProfile();
108 vector<BluetoothRemoteDevice> devices = profile_->GetConnectedDevices();
123 profile_ = HandsFreeAudioGateway::GetProfile();
125 vector<BluetoothRemoteDevice> devices = profile_->GetDevicesByStates(states);
139 profile_ = HandsFreeAudioGateway::GetProfile();
141 int state = profile_->GetDeviceState(device);
156 profile_ = HandsFreeAudioGateway::GetProfile();
158 bool isOK = profile_->Connect(device);
[all …]
Dhfp_hf_test.cpp48 static HandsFreeUnit *profile_; variable
97 profile_ = HandsFreeUnit::GetProfile();
111 profile_ = HandsFreeUnit::GetProfile();
113 EXPECT_EQ(profile_->ConnectSco(device), true);
127 profile_ = HandsFreeUnit::GetProfile();
129 EXPECT_EQ(profile_->DisconnectSco(device), true);
143 profile_ = HandsFreeUnit::GetProfile();
146 vector<BluetoothRemoteDevice> devices = profile_->GetDevicesByStates(states);
160 profile_ = HandsFreeUnit::GetProfile();
162 EXPECT_EQ(profile_->GetDeviceState(device), 0);
[all …]
/foundation/communication/bluetooth/interfaces/innerkits/native_cpp/framework/test/unittest/map/
Dmap_mce_test.cpp54 static MapClient *profile_; variable
101 profile_ = MapClient::GetProfile();
116 profile_ = MapClient::GetProfile();
117 profile_->RegisterObserver(observer_);
132 profile_ = MapClient::GetProfile();
133 profile_->DeregisterObserver(observer_);
148 profile_ = MapClient::GetProfile();
150 bool ret = profile_->Connect(device);
167 profile_ = MapClient::GetProfile();
169 bool ret = profile_->Disconnect(device);
[all …]
Dmap_mse_test.cpp40 static MapServer *profile_; variable
82 profile_ = MapServer::GetProfile();
84 bool isOK = profile_->Disconnect(device);
97 profile_ = MapServer::GetProfile();
98 profile_->RegisterObserver(observer_);
110 profile_ = MapServer::GetProfile();
111 profile_->DeregisterObserver(observer_);
123 profile_ = MapServer::GetProfile();
124 int ret = profile_->GetState();
137 profile_ = MapServer::GetProfile();
[all …]
/foundation/communication/bluetooth/interfaces/innerkits/native_cpp/framework/test/unittest/pbap/
Dpbap_client_test.cpp43 static PbapClient *profile_; variable
88 profile_ = PbapClient::GetProfile();
90 bool isOK = profile_->Connect(device);
104 profile_ = PbapClient::GetProfile();
106 bool isOK = profile_->Disconnect(device);
120 profile_ = PbapClient::GetProfile();
121 profile_->RegisterObserver(&observer_);
134 profile_ = PbapClient::GetProfile();
135 profile_->DeregisterObserver(&observer_);
147 profile_ = PbapClient::GetProfile();
[all …]
Dpbap_server_test.cpp42 static PbapServer *profile_; variable
85 profile_ = PbapServer::GetProfile();
87 bool isOK = profile_->Disconnect(device);
100 profile_ = PbapServer::GetProfile();
101 profile_->RegisterObserver(&observer_);
113 profile_ = PbapServer::GetProfile();
114 profile_->DeregisterObserver(&observer_);
126 profile_ = PbapServer::GetProfile();
127 vector<BluetoothRemoteDevice> devices = profile_->GetConnectedDevices();
141 profile_ = PbapServer::GetProfile();
[all …]
/foundation/communication/bluetooth/services/bluetooth_standard/service/src/hfp_ag/
Dhfp_ag_statemachine.cpp27 : address_(address), profile_(address), eventProcessor_(profile_, address) in HfpAgStateMachine()
33 profile_.Init(); in Init()
37 std::make_unique<HfpAgDisconnected>(DISCONNECTED, *this, profile_, eventProcessor_); in Init()
39 std::make_unique<HfpAgConnecting>(CONNECTING, *this, profile_, eventProcessor_); in Init()
41 std::make_unique<HfpAgDisconnecting>(DISCONNECTING, *this, profile_, eventProcessor_); in Init()
43 std::make_unique<HfpAgConnected>(CONNECTED, *this, profile_, eventProcessor_); in Init()
45 …std::make_unique<HfpAgAudioConnecting>(AUDIO_CONNECTING, *this, profile_, eventProcessor_, *connec… in Init()
47 …std::make_unique<HfpAgAudioConnected>(AUDIO_CONNECTED, *this, profile_, eventProcessor_, *connecte… in Init()
50 … *this, profile_, eventProcessor_, *connectedState); in Init()
180 profile_.RemoveStateMachine(); in Entry()
[all …]
Dhfp_ag_system_event_processer.cpp24 :profile_(profile), address_(address) in HfpAgSystemEventProcesser()
158 profile_.SendResultCode(HFP_AG_RESULT_ERROR); in ProcessDialOutCallEvent()
168 profile_.SendResultCode(HFP_AG_RESULT_ERROR); in ProcessDialOutCallEvent()
171 profile_.SendResultCode(HFP_AG_RESULT_ERROR); in ProcessDialOutCallEvent()
177 profile_.SendResultCode(HFP_AG_RESULT_OK); in ProcessSendDtmfEvent()
214 profile_.SendResultCode(HFP_AG_RESULT_OK); in ProcessHoldCallEvent()
216 profile_.SendResultCode(HFP_AG_RESULT_ERROR); in ProcessHoldCallEvent()
230 profile_.SendSubscriberNumberInformation(type, number); in GetSubscriberNumber()
231 profile_.SendResultCode(HFP_AG_RESULT_OK); in GetSubscriberNumber()
233 profile_.SendResultCode(HFP_AG_RESULT_ERROR); in GetSubscriberNumber()
[all …]
Dhfp_ag_statemachine.h142 HfpAgProfile profile_; variable
167 profile_(profile), in HfpAgState()
176 profile_(profile), in HfpAgState()
189 HfpAgProfile& profile_;
/foundation/communication/bluetooth/services/bluetooth_standard/service/src/hfp_hf/
Dhfp_hf_statemachine.cpp25 : address_(address), profile_(address) in HfpHfStateMachine()
30 profile_.Init(); in Init()
35 std::make_unique<HfpHfDisconnected>(DISCONNECTED, *this, profile_); in Init()
37 std::make_unique<HfpHfConnecting>(CONNECTING, *this, profile_); in Init()
39 std::make_unique<HfpHfDisconnecting>(DISCONNECTING, *this, profile_); in Init()
41 std::make_unique<HfpHfConnected>(CONNECTED, *this, profile_); in Init()
43 std::make_unique<HfpHfAudioConnecting>(AUDIO_CONNECTING, *this, profile_, *connectedState); in Init()
45 … std::make_unique<HfpHfAudioDisconnecting>(AUDIO_DISCONNECTING, *this, profile_, *connectedState); in Init()
47 std::make_unique<HfpHfAudioConnected>(AUDIO_CONNECTED, *this, profile_, *connectedState); in Init()
66 profile_.RemoveStateMachine(); in Entry()
[all …]
Dhfp_hf_statemachine.h326 HfpHfProfile profile_; variable
350 …: State(name, statemachine, parent), profile_(profile), stateInt_(stateInt), stateMachine_((HfpHfS… in HfpHfState()
354 …: State(name, statemachine), profile_(profile), stateInt_(stateInt), stateMachine_((HfpHfStateMach… in HfpHfState()
365 HfpHfProfile& profile_;
/foundation/communication/bluetooth/services/bluetooth_standard/service/src/avrcp_ct/
Davrcp_ct_service.cpp147 if (profile_ != nullptr) { in Disable()
148 profile_->SetEnableFlag(false); in Disable()
213 profile_ = std::make_unique<AvrcCtProfile>(features_, in EnableProfile()
221 profile_->RegisterObserver(pfObserver_.get()); in EnableProfile()
223 return profile_->Enable(isTgEnabled); in EnableProfile()
230 return profile_->Disable(); in DisableProfile()
239 profile_->UnregisterObserver(); in OnProfileDisabled()
240 profile_ = nullptr; in OnProfileDisabled()
318 result = profile_->GetConnectedDevices(); in GetConnectedDevices()
331 result = profile_->GetDevicesByStates(states); in GetDevicesByStates()
[all …]
/foundation/communication/bluetooth/services/bluetooth_standard/service/src/avrcp_tg/
Davrcp_tg_service.cpp457 if (profile_ != nullptr) { in Disable()
458 profile_->SetEnableFlag(false); in Disable()
562 profile_ = std::make_unique<AvrcTgProfile>(features_, in EnableProfile()
569 profile_->RegisterObserver(pfObserver_.get()); in EnableProfile()
571 return profile_->Enable(); in EnableProfile()
578 return profile_->Disable(); in DisableProfile()
587 profile_->UnregisterObserver(); in OnProfileDisabled()
588 profile_ = nullptr; in OnProfileDisabled()
627 profile_->SetActiveDevice(rawAddr); in SetActiveDevice()
639 result = profile_->GetConnectedDevices(); in GetConnectedDevices()
[all …]
/foundation/aafwk/standard/services/appmgr/test/mock/include/
Dmock_application.h96 profile_ = profile; in ProfileChanged()
102 return (profile.GetName() == profile_.GetName()); in CompareProfile()
110 Profile profile_; variable
/foundation/multimedia/media_standard/services/engine/gstreamer/avcodec/format_processor/
Dprocessor_venc_impl.cpp57 (void)format.GetIntValue("codec_profile", profile_); in ProcessOptional()
62 gstProfile_ = MPEG4ProfileToGst(static_cast<MPEG4Profile>(profile_)); in ProcessOptional()
65 gstProfile_ = AVCProfileToGst(static_cast<AVCProfile>(profile_)); in ProcessOptional()
Dprocessor_aenc_impl.h40 int32_t profile_ = 0; variable
/foundation/aafwk/standard/interfaces/innerkits/app_manager/include/appmgr/
Dapp_launch_data.h105 return profile_; in GetProfile()
172 Profile profile_; variable
/foundation/communication/bluetooth/services/bluetooth_standard/service/src/gatt/
Dgatt_server_service.cpp53 std::unique_ptr<GattServerProfile> profile_ = {nullptr}; member
206 int result = pimpl->profile_->CheckLegalityOfServiceDefinition(service); in AddService()
433 int result = pimpl->profile_->CheckLegalityOfServiceDefinition(service); in AddServiceSync()
443 return pimpl->profile_->GetDBHash(); in GetDatabaseHash()
562 profile_->Enable(); in Enable()
579 profile_->Disable(); in Disable()
617 profile_(std::make_unique<GattServerProfile>( in impl()
684 result = profile_->AddService(service); in AddService()
712 auto deleteService = profile_->GetService(handle); in RemoveService()
718 int result = profile_->RemoveService(handle); in RemoveService()
[all …]
Dgatt_client_service.cpp43 GattClientProfile &profile_; member
47 …Discover(ClientApplication &client, GattClientProfile &profile) : client_(client), profile_(profil… in Discover()
65 discover_(*this, src.discover_.profile_) in ClientApplication()
86 std::unique_ptr<GattClientProfile> profile_ = {nullptr}; member
566profile_(std::make_unique<GattClientProfile>(profileCallback_.get(), service.GetDispatcher())), in impl()
675 profile_->ClearCacheMap(client.connection_.GetHandle()); in DiscoveryServices()
697 profile_->ReadCharacteristicValue(appId, client.connection_.GetHandle(), handle + 1); in ReadCharacteristic()
711 profile_->ReadUsingCharacteristicByUuid(appId, client.connection_.GetHandle(), uuid); in ReadCharacteristicByUuid()
728profile_->WriteWithoutResponse(appId, client.connection_.GetHandle(), handle + 1, value, length); in WriteCharacteristic()
730profile_->WriteCharacteristicValue(appId, client.connection_.GetHandle(), handle + 1, value, lengt… in WriteCharacteristic()
[all …]
/foundation/aafwk/standard/interfaces/innerkits/app_manager/src/appmgr/
Dapp_launch_data.cpp29 profile_ = profile; in SetProfile()
57 if (!parcel.WriteParcelable(&profile_)) { in Marshalling()
98 profile_ = *profileRead; in ReadFromParcel()
/foundation/multimedia/histreamer/engine/plugin/plugins/ffmpeg_adapter/utils/
Davc_config_data_parser.cpp49 profile_(0), in AVCConfigDataParser()
65 … if ((cfgDataSize_ < 3) || !((version_ == 0) && (profile_ == 0) && (profile_compat_ <= 1))) { // 3 in ParseConfigData()
171 if (!bitReader_.ReadBits(1, profile_)) { // AVCProfileIndication in ParseNalHeader()

12