Home
last modified time | relevance | path

Searched refs:parent_ (Results 1 – 23 of 23) sorted by relevance

/hardware/interfaces/wifi/1.0/vts/functional/
Dwifi_nan_iface_hidl_test.cpp126 WifiNanIfaceHidlTest& parent_; member in WifiNanIfaceHidlTest::WifiNanIfaceEventCallback
129 WifiNanIfaceEventCallback(WifiNanIfaceHidlTest& parent) : parent_(parent) {}; in WifiNanIfaceEventCallback()
137 parent_.callbackType = NOTIFY_CAPABILITIES_RESPONSE; in notifyCapabilitiesResponse()
139 parent_.id = id; in notifyCapabilitiesResponse()
140 parent_.status = status; in notifyCapabilitiesResponse()
141 parent_.capabilities = capabilities; in notifyCapabilitiesResponse()
143 parent_.notify(); in notifyCapabilitiesResponse()
150 parent_.callbackType = NOTIFY_ENABLE_RESPONSE; in notifyEnableResponse()
152 parent_.id = id; in notifyEnableResponse()
153 parent_.status = status; in notifyEnableResponse()
[all …]
/hardware/interfaces/wifi/1.2/vts/functional/
Dwifi_nan_iface_hidl_test.cpp136 WifiNanIfaceHidlTest& parent_; member in WifiNanIfaceHidlTest::WifiNanIfaceEventCallback
140 : parent_(parent){}; in WifiNanIfaceEventCallback()
147 parent_.callbackType = NOTIFY_CAPABILITIES_RESPONSE; in notifyCapabilitiesResponse()
149 parent_.id = id; in notifyCapabilitiesResponse()
150 parent_.status = status; in notifyCapabilitiesResponse()
151 parent_.capabilities = capabilities; in notifyCapabilitiesResponse()
153 parent_.notify(); in notifyCapabilitiesResponse()
159 parent_.callbackType = NOTIFY_ENABLE_RESPONSE; in notifyEnableResponse()
161 parent_.id = id; in notifyEnableResponse()
162 parent_.status = status; in notifyEnableResponse()
[all …]
/hardware/interfaces/wifi/1.4/vts/functional/
Dwifi_nan_iface_hidl_test.cpp138 WifiNanIfaceHidlTest& parent_; member in WifiNanIfaceHidlTest::WifiNanIfaceEventCallback
142 : parent_(parent){}; in WifiNanIfaceEventCallback()
149 parent_.callbackType = NOTIFY_CAPABILITIES_RESPONSE; in notifyCapabilitiesResponse()
151 parent_.id = id; in notifyCapabilitiesResponse()
152 parent_.status = status; in notifyCapabilitiesResponse()
153 parent_.capabilities = capabilities; in notifyCapabilitiesResponse()
155 parent_.notify(); in notifyCapabilitiesResponse()
161 parent_.callbackType = NOTIFY_ENABLE_RESPONSE; in notifyEnableResponse()
163 parent_.id = id; in notifyEnableResponse()
164 parent_.status = status; in notifyEnableResponse()
[all …]
/hardware/interfaces/wifi/1.5/vts/functional/
Dwifi_nan_iface_hidl_test.cpp139 WifiNanIfaceHidlTest& parent_; member in WifiNanIfaceHidlTest::WifiNanIfaceEventCallback
143 : parent_(parent){}; in WifiNanIfaceEventCallback()
151 parent_.callbackType = NOTIFY_CAPABILITIES_RESPONSE; in notifyCapabilitiesResponse()
153 parent_.id = id; in notifyCapabilitiesResponse()
154 parent_.status = status; in notifyCapabilitiesResponse()
155 parent_.capabilities = capabilities; in notifyCapabilitiesResponse()
157 parent_.notify(); in notifyCapabilitiesResponse()
165 parent_.callbackType = NOTIFY_CAPABILITIES_RESPONSE_1_5; in notifyCapabilitiesResponse_1_5()
167 parent_.id = id; in notifyCapabilitiesResponse_1_5()
168 parent_.status = status; in notifyCapabilitiesResponse_1_5()
[all …]
/hardware/interfaces/wifi/aidl/vts/functional/
Dwifi_nan_iface_aidl_test.cpp157 WifiNanIfaceEventCallback(WifiNanIfaceAidlTest& parent) : parent_(parent){}; in WifiNanIfaceEventCallback()
160 parent_.nan_cluster_event_ind_ = event; in eventClusterEvent()
161 parent_.notify(EVENT_CLUSTER_EVENT); in eventClusterEvent()
165 parent_.nan_data_path_confirm_ind_ = event; in eventDataPathConfirm()
166 parent_.notify(EVENT_DATA_PATH_CONFIRM); in eventDataPathConfirm()
170 parent_.nan_data_path_request_ind_ = event; in eventDataPathRequest()
171 parent_.notify(EVENT_DATA_PATH_REQUEST); in eventDataPathRequest()
176 parent_.nan_data_path_schedule_update_ind_ = event; in eventDataPathScheduleUpdate()
177 parent_.notify(EVENT_DATA_PATH_SCHEDULE_UPDATE); in eventDataPathScheduleUpdate()
181 parent_.ndp_instance_id_ = ndpInstanceId; in eventDataPathTerminated()
[all …]
/hardware/interfaces/wifi/1.6/vts/functional/
Dwifi_nan_iface_hidl_test.cpp136 WifiNanIfaceHidlTest& parent_; member in WifiNanIfaceHidlTest::WifiNanIfaceEventCallback
139 WifiNanIfaceEventCallback(WifiNanIfaceHidlTest& parent) : parent_(parent){}; in WifiNanIfaceEventCallback()
146 parent_.id = id; in notifyCapabilitiesResponse()
147 parent_.status = status; in notifyCapabilitiesResponse()
148 parent_.capabilities = capabilities; in notifyCapabilitiesResponse()
150 parent_.notify(NOTIFY_CAPABILITIES_RESPONSE); in notifyCapabilitiesResponse()
157 parent_.id = id; in notifyCapabilitiesResponse_1_5()
158 parent_.status = status; in notifyCapabilitiesResponse_1_5()
159 parent_.capabilities_1_5 = capabilities; in notifyCapabilitiesResponse_1_5()
161 parent_.notify(NOTIFY_CAPABILITIES_RESPONSE_1_5); in notifyCapabilitiesResponse_1_5()
[all …]
/hardware/interfaces/usb/aidl/vts/
DVtsAidlUsbTargetTest.cpp74 UsbAidlTest& parent_; member in UsbAidlTest::UsbCallback
79 : parent_(parent), cookie(cookie){}; in UsbCallback()
87 parent_.usb_last_port_status.portName = in notifyPortStatusChange()
89 parent_.usb_last_port_status.currentDataRole = in notifyPortStatusChange()
91 parent_.usb_last_port_status.currentPowerRole = in notifyPortStatusChange()
93 parent_.usb_last_port_status.currentMode = in notifyPortStatusChange()
96 parent_.usb_last_cookie = cookie; in notifyPortStatusChange()
103 parent_.usb_last_status = retval; in notifyRoleSwitchStatus()
104 parent_.usb_last_cookie = cookie; in notifyRoleSwitchStatus()
105 parent_.usb_last_port_role = newRole; in notifyRoleSwitchStatus()
[all …]
/hardware/interfaces/usb/1.0/vts/functional/
DVtsHalUsbV1_0TargetTest.cpp59 UsbHidlTest& parent_; member in UsbHidlTest::UsbCallback
64 : parent_(parent), cookie(cookie){}; in UsbCallback()
72 parent_.usb_last_port_status.portName = in notifyPortStatusChange()
74 parent_.usb_last_port_status.currentDataRole = in notifyPortStatusChange()
76 parent_.usb_last_port_status.currentPowerRole = in notifyPortStatusChange()
78 parent_.usb_last_port_status.currentMode = in notifyPortStatusChange()
81 parent_.usb_last_cookie = cookie; in notifyPortStatusChange()
82 parent_.notify(); in notifyPortStatusChange()
90 parent_.usb_last_status = retval; in notifyRoleSwitchStatus()
91 parent_.usb_last_cookie = cookie; in notifyRoleSwitchStatus()
[all …]
/hardware/interfaces/wifi/supplicant/1.2/vts/functional/
Dsupplicant_sta_iface_hidl_test.cpp231 SupplicantStaIfaceHidlTest& parent_; member in IfaceDppCallback
237 parent_.code = 0; in onDppSuccessConfigReceived()
238 parent_.dppCallbackType = SupplicantStaIfaceHidlTest::DppCallbackType:: in onDppSuccessConfigReceived()
240 parent_.notify(); in onDppSuccessConfigReceived()
244 parent_.code = 0; in onDppSuccessConfigSent()
245 parent_.dppCallbackType = SupplicantStaIfaceHidlTest::DppCallbackType:: in onDppSuccessConfigSent()
247 parent_.notify(); in onDppSuccessConfigSent()
251 parent_.code = (uint32_t)code; in onDppProgress()
252 parent_.dppCallbackType = in onDppProgress()
254 parent_.notify(); in onDppProgress()
[all …]
/hardware/interfaces/wifi/supplicant/1.3/vts/functional/
Dsupplicant_sta_iface_hidl_test.cpp263 SupplicantStaIfaceHidlTest& parent_; member in IfacePmkCacheCallback
267 parent_.pmkCacheExpirationTimeInSec = expirationTimeInSec; in onPmkCacheAdded()
268 parent_.serializedPmkCacheEntry = serializedEntry; in onPmkCacheAdded()
274 : parent_(parent) {} in IfacePmkCacheCallback()
278 SupplicantStaIfaceHidlTest& parent_; member in IfaceDppCallback
280 parent_.code = (uint32_t)code; in onDppSuccess()
281 parent_.dppCallbackType = in onDppSuccess()
283 parent_.notify(); in onDppSuccess()
289 parent_.code = (uint32_t)code; in onDppProgress_1_3()
290 parent_.dppCallbackType = in onDppProgress_1_3()
[all …]
/hardware/interfaces/bluetooth/lmp_event/aidl/vts/
DVtsHalLmpEventTargetTest.cpp76 BluetoothLmpEventTest& parent_; member in BluetoothLmpEventTest::BluetoothLmpEventCallback
78 : parent_(parent) {} in BluetoothLmpEventCallback()
105 parent_.event_recv = true; in onEventGenerated()
106 parent_.notify(); in onEventGenerated()
112 parent_.status_recv = status; in onRegistered()
113 parent_.notify(); in onRegistered()
/hardware/interfaces/gnss/1.0/vts/functional/
DVtsHalGnssV1_0TargetTest.cpp282 GnssHalTest& parent_; member in GnssHalTest::GnssCallback
284 GnssCallback(GnssHalTest& parent) : parent_(parent){}; in GnssCallback()
309 parent_.location_called_count_++; in gnssLocationCb()
310 parent_.last_location_ = location; in gnssLocationCb()
311 parent_.notify(); in gnssLocationCb()
317 parent_.capabilities_called_count_++; in gnssSetCapabilitesCb()
318 parent_.last_capabilities_ = capabilities; in gnssSetCapabilitesCb()
319 parent_.notify(); in gnssSetCapabilitesCb()
326 parent_.info_called_count_++; in gnssSetSystemInfoCb()
327 parent_.last_info_ = info; in gnssSetSystemInfoCb()
[all …]
/hardware/interfaces/bluetooth/a2dp/1.0/vts/functional/
DVtsHalBluetoothA2dpV1_0TargetTest.cpp68 BluetoothA2dpHidlTest& parent_; member in BluetoothA2dpHidlTest::BluetoothAudioHost
71 BluetoothAudioHost(BluetoothA2dpHidlTest& parent) : parent_(parent){}; in BluetoothAudioHost()
75 parent_.audio_offload->streamStarted(Status::SUCCESS); in startStream()
80 parent_.audio_offload->streamSuspended(Status::SUCCESS); in suspendStream()
/hardware/interfaces/tv/input/1.0/vts/functional/
DVtsHalTvInputV1_0TargetTest.cpp138 TvInputCallback(TvInputHidlTest& parent) : parent_(parent){}; in TvInputCallback()
147 std::unique_lock<std::mutex> lock(parent_.mutex_); in notify()
150 parent_.onDeviceAvailable(event.deviceInfo); in notify()
153 parent_.onDeviceUnavailable(event.deviceInfo.deviceId); in notify()
156 parent_.onStreamConfigurationsChanged(event.deviceInfo.deviceId); in notify()
164 TvInputHidlTest& parent_; member in TvInputHidlTest::TvInputCallback
/hardware/interfaces/bluetooth/1.1/vts/functional/
DVtsHalBluetoothV1_1TargetTest.cpp262 BluetoothHidlTest& parent_; member in BluetoothHidlTest::BluetoothHciCallbacks
265 BluetoothHciCallbacks(BluetoothHidlTest& parent) : parent_(parent){}; in BluetoothHciCallbacks()
270 parent_.initialized = (status == Status::SUCCESS); in initializationComplete()
278 parent_.event_cb_count++; in hciEventReceived()
279 parent_.event_queue.push(event); in hciEventReceived()
287 parent_.acl_cb_count++; in aclDataReceived()
288 parent_.acl_queue.push(data); in aclDataReceived()
295 parent_.sco_cb_count++; in scoDataReceived()
296 parent_.sco_queue.push(data); in scoDataReceived()
303 parent_.iso_cb_count++; in isoDataReceived()
[all …]
/hardware/interfaces/wifi/supplicant/aidl/vts/functional/
Dsupplicant_sta_iface_aidl_test.cpp682 SupplicantStaIfaceAidlTest& parent_; member in IfaceDppCallback
686 parent_.code = (uint32_t)event; in onDppSuccess()
687 parent_.dppCallbackType = in onDppSuccess()
689 parent_.notify(); in onDppSuccess()
695 parent_.code = (uint32_t)code; in onDppProgress()
696 parent_.dppCallbackType = in onDppProgress()
698 parent_.notify(); in onDppProgress()
707 parent_.code = (uint32_t)code; in onDppFailure()
708 parent_.dppCallbackType = in onDppFailure()
710 parent_.notify(); in onDppFailure()
[all …]
/hardware/interfaces/tv/input/aidl/vts/functional/
DVtsHalTvInputTargetTest.cpp29 : parent_(parent) {} in TvInputCallback()
32 unique_lock<mutex> lock(parent_->mutex_); in notify()
36 parent_->onDeviceAvailable(in_event.deviceInfo); in notify()
39 parent_->onDeviceUnavailable(in_event.deviceInfo.deviceId); in notify()
42 parent_->onStreamConfigurationsChanged(in_event.deviceInfo.deviceId); in notify()
DVtsHalTvInputTargetTest.h59 shared_ptr<TvInputAidlTest> parent_;
/hardware/interfaces/bluetooth/1.0/vts/functional/
DVtsHalBluetoothV1_0TargetTest.cpp260 BluetoothHidlTest& parent_; member in BluetoothHidlTest::BluetoothHciCallbacks
263 BluetoothHciCallbacks(BluetoothHidlTest& parent) : parent_(parent){}; in BluetoothHciCallbacks()
268 parent_.initialized = (status == Status::SUCCESS); in initializationComplete()
276 parent_.event_cb_count++; in hciEventReceived()
277 parent_.event_queue.push(event); in hciEventReceived()
285 parent_.acl_cb_count++; in aclDataReceived()
286 parent_.acl_queue.push(data); in aclDataReceived()
293 parent_.sco_cb_count++; in scoDataReceived()
294 parent_.sco_queue.push(data); in scoDataReceived()
/hardware/interfaces/bluetooth/aidl/vts/
DVtsHalBluetoothTargetTest.cpp242 BluetoothAidlTest& parent_; member in BluetoothAidlTest::BluetoothHciCallbacks
246 : parent_(parent){}; in BluetoothHciCallbacks()
252 parent_.time_after_initialize_complete = in initializationComplete()
255 parent_.initialized_promise.set_value(status == Status::SUCCESS); in initializationComplete()
262 parent_.event_cb_count++; in hciEventReceived()
263 parent_.event_queue.push(event); in hciEventReceived()
270 parent_.acl_cb_count++; in aclDataReceived()
271 parent_.acl_queue.push(data); in aclDataReceived()
277 parent_.sco_cb_count++; in scoDataReceived()
278 parent_.sco_queue.push(data); in scoDataReceived()
[all …]
/hardware/interfaces/confirmationui/aidl/vts/functional/
DVtsHalConfirmationUITargetTest.cpp235 ConfirmationTestCallback(ConfirmationUIAidlTest& parent) : parent_(parent){}; in ConfirmationTestCallback()
243 parent_.notify(); in result()
260 ConfirmationUIAidlTest& parent_; member in aidl::android::hardware::confirmationui::test::ConfirmationTestCallback
/hardware/interfaces/bluetooth/audio/2.0/vts/functional/
DVtsHalBluetoothAudioV2_0TargetTest.cpp125 BluetoothAudioProvidersFactoryHidlTest& parent_; member in BluetoothAudioProvidersFactoryHidlTest::BluetoothAudioPort
129 : parent_(parent) {} in BluetoothAudioPort()
133 parent_.audio_provider_->streamStarted(BluetoothAudioStatus::SUCCESS); in startStream()
138 parent_.audio_provider_->streamSuspended(BluetoothAudioStatus::SUCCESS); in suspendStream()
/hardware/interfaces/bluetooth/audio/2.1/vts/functional/
DVtsHalBluetoothAudioV2_1TargetTest.cpp128 BluetoothAudioProvidersFactoryHidlTest& parent_; member in BluetoothAudioProvidersFactoryHidlTest::BluetoothAudioPort
132 : parent_(parent) {} in BluetoothAudioPort()
136 parent_.audio_provider_->streamStarted(BluetoothAudioStatus::SUCCESS); in startStream()
141 parent_.audio_provider_->streamSuspended(BluetoothAudioStatus::SUCCESS); in suspendStream()