Home
last modified time | relevance | path

Searched defs:device (Results 1 – 25 of 1123) sorted by relevance

12345678910>>...45

/ohos5.0/foundation/communication/bluetooth_service/test/unittest/hfp/
H A Dhfp_hf_test.cpp113 BluetoothRemoteDevice device; variable
129 BluetoothRemoteDevice device; variable
145 BluetoothRemoteDevice device; variable
162 BluetoothRemoteDevice device; variable
178 BluetoothRemoteDevice device; variable
194 BluetoothRemoteDevice device; variable
211 BluetoothRemoteDevice device; variable
227 BluetoothRemoteDevice device; variable
244 BluetoothRemoteDevice device; variable
260 BluetoothRemoteDevice device; variable
[all …]
H A Dhfp_ag_test.cpp35 void OnScoStateChanged(const BluetoothRemoteDevice &device, int state) {} in OnScoStateChanged()
36 void OnActiveDeviceChanged(const BluetoothRemoteDevice &device) {} in OnActiveDeviceChanged()
37 void OnHfEnhancedDriverSafetyChanged(const BluetoothRemoteDevice &device, int indValue) {} in OnHfEnhancedDriverSafetyChanged()
142 BluetoothRemoteDevice device; variable
160 BluetoothRemoteDevice device; variable
178 BluetoothRemoteDevice device; variable
195 BluetoothRemoteDevice device; variable
276 BluetoothRemoteDevice device; variable
294 BluetoothRemoteDevice device; variable
312 BluetoothRemoteDevice device; variable
[all …]
/ohos5.0/foundation/multimodalinput/input/libudev/test/
H A Dcustom_udev_test.cpp78 auto* device = testDevice_.GetDevice(); variable
119 auto* device = testDevice_.GetDevice(); variable
182 auto* device = testDevice_.GetDevice(); variable
198 auto* device = testDevice_.GetDevice(); variable
214 auto* device = testDevice_.GetDevice(); variable
230 auto* device = testDevice_.GetDevice(); variable
251 auto* device = testDevice_.GetDevice(); variable
279 auto* device = testDevice_.GetDevice(); variable
297 auto* device = testDevice_.GetDevice(); variable
316 auto* device = testDevice_.GetDevice(); variable
[all …]
/ohos5.0/foundation/communication/bluetooth_service/test/unittest/avrcp/
H A Davrcp_ct_test.cpp110 BluetoothRemoteDevice device; variable
170 BluetoothRemoteDevice device; variable
187 BluetoothRemoteDevice device; variable
204 BluetoothRemoteDevice device; variable
222 BluetoothRemoteDevice device; variable
240 BluetoothRemoteDevice device; variable
257 BluetoothRemoteDevice device; variable
274 BluetoothRemoteDevice device; variable
291 BluetoothRemoteDevice device; variable
308 BluetoothRemoteDevice device; variable
[all …]
/ohos5.0/foundation/communication/bluetooth_service/test/unittest/a2dp/
H A Da2dp_src_test.cpp109 BluetoothRemoteDevice device; variable
153 BluetoothRemoteDevice device; variable
169 BluetoothRemoteDevice device; variable
186 BluetoothRemoteDevice device; variable
202 BluetoothRemoteDevice device; variable
218 BluetoothRemoteDevice device; variable
249 BluetoothRemoteDevice device; variable
265 BluetoothRemoteDevice device; variable
282 BluetoothRemoteDevice device; variable
298 BluetoothRemoteDevice device; variable
[all …]
H A Da2dp_snk_test.cpp34 …virtual void OnConnectionStateChanged(const BluetoothRemoteDevice &device, int state, int cause) {} in OnConnectionStateChanged()
108 BluetoothRemoteDevice device; variable
124 BluetoothRemoteDevice device; variable
140 BluetoothRemoteDevice device; variable
184 BluetoothRemoteDevice device; variable
200 BluetoothRemoteDevice device; variable
217 BluetoothRemoteDevice device; variable
233 BluetoothRemoteDevice device; variable
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/include/
H A Dinterface_profile_hfp_hf.h65 virtual void OnConnectionStateChanged(const RawAddress &device, int state) in OnConnectionStateChanged()
75 virtual void OnScoStateChanged(const RawAddress &device, int state) in OnScoStateChanged()
85 virtual void OnCallChanged(const RawAddress &device, const HandsFreeUnitCalls &call) in OnCallChanged()
95 virtual void OnBatteryLevelChanged(const RawAddress &device, int batteryLevel) in OnBatteryLevelChanged()
105 virtual void OnSignalStrengthChanged(const RawAddress &device, int signal) in OnSignalStrengthChanged()
115 virtual void OnRegistrationStatusChanged(const RawAddress &device, int status) in OnRegistrationStatusChanged()
125 virtual void OnRoamingStatusChanged(const RawAddress &device, int status) in OnRoamingStatusChanged()
135 virtual void OnOperatorSelectionChanged(const RawAddress &device, const std::string &name) in OnOperatorSelectionChanged()
145 virtual void OnSubscriberNumberChanged(const RawAddress &device, const std::string &number) in OnSubscriberNumberChanged()
155 virtual void OnVoiceRecognitionStatusChanged(const RawAddress &device, int status) in OnVoiceRecognitionStatusChanged()
[all …]
H A Dinterface_profile_gatt_server.h62 …virtual void OnCharacteristicReadRequest(const GattDevice &device, const Characteristic &character… in OnCharacteristicReadRequest()
64 …virtual void OnCharacteristicReadByUuidRequest(const GattDevice &device, const Characteristic &cha… in OnCharacteristicReadByUuidRequest()
77 const GattDevice &device, const Characteristic &characteristic, bool needRespones) {} in OnCharacteristicWriteRequest()
88 virtual void OnDescriptorReadRequest(const GattDevice &device, const Descriptor &descriptor) {} in OnDescriptorReadRequest()
99 virtual void OnDescriptorWriteRequest(const GattDevice &device, const Descriptor &descriptor) {} in OnDescriptorWriteRequest()
109 …virtual void OnNotifyConfirm(const GattDevice &device, const Characteristic &characteristic, int r… in OnNotifyConfirm()
128 virtual void OnMtuChanged(const GattDevice &device, int mtu) {} in OnMtuChanged()
142 const GattDevice &device, int interval, int latency, int timeout, int status) {} in OnConnectionParameterChanged()
/ohos5.0/drivers/hdf_core/framework/support/platform/src/fwk/
H A Dplatform_device.c25 struct PlatformDevice *device = NULL; in PlatformDeviceOnLastPut() local
102 void PlatformDeviceClearName(struct PlatformDevice *device) in PlatformDeviceClearName()
110 int32_t PlatformDeviceInit(struct PlatformDevice *device) in PlatformDeviceInit()
140 void PlatformDeviceUninit(struct PlatformDevice *device) in PlatformDeviceUninit()
152 int32_t PlatformDeviceGet(struct PlatformDevice *device) in PlatformDeviceGet()
163 void PlatformDevicePut(struct PlatformDevice *device) in PlatformDevicePut()
170 int32_t PlatformDeviceRefCount(struct PlatformDevice *device) in PlatformDeviceRefCount()
178 int32_t PlatformDeviceAdd(struct PlatformDevice *device) in PlatformDeviceAdd()
212 void PlatformDeviceDel(struct PlatformDevice *device) in PlatformDeviceDel()
247 int32_t PlatformDeviceCreateService(struct PlatformDevice *device, in PlatformDeviceCreateService()
[all …]
/ohos5.0/foundation/communication/bluetooth_service/test/unittest/map/
H A Dmap_mce_test.cpp149 BluetoothRemoteDevice device; variable
168 BluetoothRemoteDevice device; variable
187 BluetoothRemoteDevice device; variable
244 BluetoothRemoteDevice device; variable
263 BluetoothRemoteDevice device; variable
282 BluetoothRemoteDevice device; variable
301 BluetoothRemoteDevice device; variable
321 BluetoothRemoteDevice device; variable
340 BluetoothRemoteDevice device; variable
360 BluetoothRemoteDevice device; variable
[all …]
/ohos5.0/foundation/communication/bluetooth/interfaces/inner_api/include/
H A Dbluetooth_hfp_hf.h64 virtual void OnConnectionStateChanged(const BluetoothRemoteDevice &device, int state, int cause) in OnConnectionStateChanged()
74 virtual void OnScoStateChanged(const BluetoothRemoteDevice &device, int state) in OnScoStateChanged()
84 virtual void OnCallChanged(const BluetoothRemoteDevice &device, const HandsFreeUnitCall &call) in OnCallChanged()
94 virtual void OnSignalStrengthChanged(const BluetoothRemoteDevice &device, int signal) in OnSignalStrengthChanged()
104 virtual void OnRegistrationStatusChanged(const BluetoothRemoteDevice &device, int status) in OnRegistrationStatusChanged()
114 virtual void OnRoamingStatusChanged(const BluetoothRemoteDevice &device, int status) in OnRoamingStatusChanged()
124 …virtual void OnOperatorSelectionChanged(const BluetoothRemoteDevice &device, const std::string &na… in OnOperatorSelectionChanged()
134 …virtual void OnSubscriberNumberChanged(const BluetoothRemoteDevice &device, const std::string &num… in OnSubscriberNumberChanged()
144 virtual void OnVoiceRecognitionStatusChanged(const BluetoothRemoteDevice &device, int status) in OnVoiceRecognitionStatusChanged()
154 virtual void OnInBandRingToneChanged(const BluetoothRemoteDevice &device, int status) in OnInBandRingToneChanged()
/ohos5.0/drivers/hdf_core/framework/support/platform/src/clock/
H A Dclock_core.c22 struct HdfDeviceObject *device; member
129 void ClockDeviceRemove(struct ClockDevice *device) in ClockDeviceRemove()
141 struct ClockDevice *device = NULL; in ClockManagerFindDevice() local
281 struct ClockDevice *device = NULL; in ClockDeviceOpen() local
506 struct ClockDevice *device = NULL; in ClockManagerClose() local
538 struct ClockDevice *device = NULL; in ClockManagerEnable() local
569 struct ClockDevice *device = NULL; in ClockManagerDisable() local
600 struct ClockDevice *device = NULL; in ClockManagerSetRate() local
637 struct ClockDevice *device = NULL; in ClockManagerGetRate() local
673 struct ClockDevice *device = NULL; in ClockManagerGetParent() local
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/server/src/
H A Dbluetooth_hfp_hf_server.cpp37 void OnConnectionStateChanged(const RawAddress& device, int state) override in OnConnectionStateChanged()
46 void OnScoStateChanged(const RawAddress& device, int state) override in OnScoStateChanged()
62 void OnSignalStrengthChanged(const RawAddress& device, int signal) override in OnSignalStrengthChanged()
78 void OnRoamingStatusChanged(const RawAddress& device, int status) override in OnRoamingStatusChanged()
193 bool BluetoothHfpHfServer::ConnectSco(const BluetoothRawAddress &device) { in ConnectSco()
202 bool BluetoothHfpHfServer::DisconnectSco(const BluetoothRawAddress &device) { in DisconnectSco()
230 for (RawAddress device : rawDevices) { in GetDevicesByStates() local
249 int BluetoothHfpHfServer::GetScoState(const BluetoothRawAddress &device) { in GetScoState()
267 int BluetoothHfpHfServer::Connect(const BluetoothRawAddress &device) { in Connect()
276 int BluetoothHfpHfServer::Disconnect(const BluetoothRawAddress &device) { in Disconnect()
[all …]
H A Dbluetooth_a2dp_source_server.cpp36 void OnConnectionStateChanged(const RawAddress &device, int state) override in OnConnectionStateChanged()
78 void OnMediaStackChanged(const RawAddress &device, int action) override in OnMediaStackChanged()
189 RawAddress device = GetActiveSinkDevice(); in RegisterObserver() local
212 int32_t BluetoothA2dpSourceServer::Connect(const RawAddress &device) in Connect()
229 int32_t BluetoothA2dpSourceServer::Disconnect(const RawAddress &device) in Disconnect()
243 int BluetoothA2dpSourceServer::GetDeviceState(const RawAddress &device, int &state) in GetDeviceState()
302 int BluetoothA2dpSourceServer::SetActiveSinkDevice(const RawAddress &device) in SetActiveSinkDevice()
403 int BluetoothA2dpSourceServer::StartPlaying(const RawAddress &device) in StartPlaying()
409 int BluetoothA2dpSourceServer::SuspendPlaying(const RawAddress &device) in SuspendPlaying()
415 int BluetoothA2dpSourceServer::StopPlaying(const RawAddress &device) in StopPlaying()
[all …]
/ohos5.0/foundation/communication/bluetooth_service/test/unittest/pbap/
H A Dpbap_client_test.cpp89 BluetoothRemoteDevice device; variable
105 BluetoothRemoteDevice device; variable
180 BluetoothRemoteDevice device; variable
195 BluetoothRemoteDevice device; variable
211 BluetoothRemoteDevice device; variable
226 BluetoothRemoteDevice device; variable
243 BluetoothRemoteDevice device; variable
259 BluetoothRemoteDevice device; variable
276 BluetoothRemoteDevice device; variable
292 BluetoothRemoteDevice device; variable
[all …]
/ohos5.0/foundation/communication/nfc/services/include/
H A Dbt_connection_manager.h69 void OnDiscoveryResult(const Bluetooth::BluetoothRemoteDevice &device, in OnDiscoveryResult()
71 void OnPairRequested(const Bluetooth::BluetoothRemoteDevice &device) override {}; in OnPairRequested()
82 void OnAclStateChanged(const Bluetooth::BluetoothRemoteDevice &device, in OnAclStateChanged()
85 void OnRemoteUuidChanged(const Bluetooth::BluetoothRemoteDevice &device, in OnRemoteUuidChanged()
87 void OnRemoteNameChanged(const Bluetooth::BluetoothRemoteDevice &device, in OnRemoteNameChanged()
89 void OnRemoteAliasChanged(const Bluetooth::BluetoothRemoteDevice &device, in OnRemoteAliasChanged()
91 void OnRemoteCodChanged(const Bluetooth::BluetoothRemoteDevice &device, in OnRemoteCodChanged()
101 void OnPlayingStatusChanged(const Bluetooth::BluetoothRemoteDevice &device, in OnPlayingStatusChanged()
103 void OnConfigurationChanged(const Bluetooth::BluetoothRemoteDevice &device, in OnConfigurationChanged()
115 void OnScoStateChanged(const Bluetooth::BluetoothRemoteDevice &device, in OnScoStateChanged()
[all …]
/ohos5.0/drivers/hdf_core/framework/support/platform/src/adc/
H A Dadc_core.c26 struct HdfDeviceObject *device; member
33 static int32_t AdcDeviceLockDefault(struct AdcDevice *device) in AdcDeviceLockDefault()
42 static void AdcDeviceUnlockDefault(struct AdcDevice *device) in AdcDeviceUnlockDefault()
72 int32_t AdcDeviceStart(struct AdcDevice *device) in AdcDeviceStart()
104 int32_t AdcDeviceStop(struct AdcDevice *device) in AdcDeviceStop()
199 struct AdcDevice *device = NULL; in AdcManagerFindDevice() local
228 void AdcDevicePut(struct AdcDevice *device) in AdcDevicePut()
236 struct AdcDevice *device = NULL; in AdcDeviceOpen() local
253 static void AdcDeviceClose(struct AdcDevice *device) in AdcDeviceClose()
264 int32_t AdcDeviceAdd(struct AdcDevice *device) in AdcDeviceAdd()
[all …]
/ohos5.0/drivers/hdf_core/framework/support/platform/src/dac/
H A Ddac_core.c25 struct HdfDeviceObject *device; member
32 static int32_t DacDeviceLockDefault(struct DacDevice *device) in DacDeviceLockDefault()
41 static void DacDeviceUnlockDefault(struct DacDevice *device) in DacDeviceUnlockDefault()
149 struct DacDevice *device = NULL; in DacManagerFindDevice() local
173 int32_t DacDeviceAdd(struct DacDevice *device) in DacDeviceAdd()
205 void DacDeviceRemove(struct DacDevice *device) in DacDeviceRemove()
220 void DacDevicePut(const struct DacDevice *device) in DacDevicePut()
228 struct DacDevice *device = NULL; in DacDeviceOpen() local
245 static void DacDeviceClose(struct DacDevice *device) in DacDeviceClose()
280 int32_t DacDeviceStart(struct DacDevice *device) in DacDeviceStart()
[all …]
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/include/
H A Dnapi_bluetooth_hfp_hf_observer.h34 … void OnCallChanged(const BluetoothRemoteDevice &device, const HandsFreeUnitCall &call) override{} in OnCallChanged()
35 void OnSignalStrengthChanged(const BluetoothRemoteDevice &device, int signal) override{} in OnSignalStrengthChanged()
36 void OnRegistrationStatusChanged(const BluetoothRemoteDevice &device, int status) override{} in OnRegistrationStatusChanged()
37 void OnRoamingStatusChanged(const BluetoothRemoteDevice &device, int status) override{} in OnRoamingStatusChanged()
38 …void OnOperatorSelectionChanged(const BluetoothRemoteDevice &device, const std::string &name) over… in OnOperatorSelectionChanged()
39 …void OnSubscriberNumberChanged(const BluetoothRemoteDevice &device, const std::string &number) ove… in OnSubscriberNumberChanged()
40 void OnVoiceRecognitionStatusChanged(const BluetoothRemoteDevice &device, int status) override{} in OnVoiceRecognitionStatusChanged()
41 void OnInBandRingToneChanged(const BluetoothRemoteDevice &device, int status) override{} in OnInBandRingToneChanged()
/ohos5.0/drivers/hdf_core/framework/core/host/src/
H A Dhdf_device.c22 static void UpdateDeivceNodeIdIndex(struct HdfDevice *device, devid_t nodeDevid) in UpdateDeivceNodeIdIndex()
29 static devid_t FindUsableDevNodeId(struct HdfDevice *device) in FindUsableDevNodeId()
49 static int AcquireNodeDeivceId(struct HdfDevice *device, devid_t *devid) in AcquireNodeDeivceId()
82 struct HdfDevice *device = (struct HdfDevice *)devInst; in HdfDeviceAttach() local
107 struct HdfDevice *device = NULL; in HdfDeviceDetach() local
141 static int HdfDeviceDetachWithDevid(struct IHdfDevice *device, devid_t devid) in HdfDeviceDetachWithDevid()
154 void HdfDeviceConstruct(struct HdfDevice *device) in HdfDeviceConstruct()
164 void HdfDeviceDestruct(struct HdfDevice *device) in HdfDeviceDestruct()
176 struct HdfDevice *device = (struct HdfDevice *)OsalMemCalloc(sizeof(struct HdfDevice)); in HdfDeviceCreate() local
185 struct HdfDevice *device = (struct HdfDevice *)object; in HdfDeviceRelease() local
[all …]
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/nn_backend/
H A Dnn_backend_test.cpp80 std::shared_ptr<MockIDevice> device = std::make_shared<MockIDevice>(); variable
108 std::shared_ptr<MockIDevice> device = std::make_shared<MockIDevice>(); variable
129 std::shared_ptr<MockIDevice> device = std::make_shared<MockIDevice>(); variable
152 std::shared_ptr<MockIDevice> device = std::make_shared<MockIDevice>(); variable
178 std::shared_ptr<MockIDevice> device = std::make_shared<MockIDevice>(); variable
219 std::shared_ptr<MockIDevice> device = std::make_shared<MockIDevice>(); variable
239 std::shared_ptr<MockIDevice> device = std::make_shared<MockIDevice>(); variable
274 std::shared_ptr<MockIDevice> device = std::make_shared<MockIDevice>(); variable
294 std::shared_ptr<MockIDevice> device = std::make_shared<MockIDevice>(); variable
330 std::shared_ptr<MockIDevice> device = std::make_shared<MockIDevice>(); variable
[all …]
/ohos5.0/drivers/hdf_core/framework/test/unittest/platform/virtual/
H A Dclock_virtual.c19 int32_t VirtualClockStart(struct ClockDevice *device) in VirtualClockStart()
30 int32_t VirtualClockSetRate(struct ClockDevice *device, uint32_t rate) in VirtualClockSetRate()
40 int32_t VirtualClockStop(struct ClockDevice *device) in VirtualClockStop()
51 int32_t VirtualClockGetRate(struct ClockDevice *device, uint32_t *rate) in VirtualClockGetRate()
61 int32_t VirtualClockDisable(struct ClockDevice *device) in VirtualClockDisable()
71 int32_t VirtualClockEnable(struct ClockDevice *device) in VirtualClockEnable()
83 int32_t VirtualClockSetParent(struct ClockDevice *device, struct ClockDevice *parent) in VirtualClockSetParent()
120 struct ClockDevice *VirtualClockGetParent(struct ClockDevice *device) in VirtualClockGetParent()
163 struct ClockDevice device; member
188 static int32_t VirtualClockInit(struct HdfDeviceObject *device) in VirtualClockInit()
[all …]
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/connection/
H A Dnapi_bluetooth_remote_device_observer.cpp38 const BluetoothRemoteDevice &device, int state, unsigned int reason) in OnAclStateChanged()
41 void NapiBluetoothRemoteDeviceObserver::OnPairStatusChanged(const BluetoothRemoteDevice &device, in… in OnPairStatusChanged()
52 const BluetoothRemoteDevice &device, const std::vector<ParcelUuid> &uuids) in OnRemoteUuidChanged()
58 const BluetoothRemoteDevice &device, const std::string &deviceName) in OnRemoteNameChanged()
64 const BluetoothRemoteDevice &device, const std::string &alias) in OnRemoteAliasChanged()
70 const BluetoothRemoteDevice &device, const BluetoothDeviceClass &cod) in OnRemoteCodChanged()
76 const BluetoothRemoteDevice &device, int batteryLevel) in OnRemoteBatteryLevelChanged()
82 const BluetoothRemoteDevice &device, const DeviceBatteryInfo &batteryInfo) in OnRemoteBatteryChanged()
89 const BluetoothRemoteDevice &device, int rssi, int status) in OnReadRemoteRssiEvent()
/ohos5.0/foundation/communication/ipc/services/dbinder/test/unittest/
H A Ddbinder_service_stub_unittest.cpp70 const std::string device = "deviceTest"; variable
85 const std::string device = "deviceTest"; variable
100 const std::string device = ""; variable
115 const std::string device = "deviceTest"; variable
131 const std::string device = "deviceTest"; variable
146 const std::string device = "deviceTest"; variable
161 const std::string device = "deviceTest"; variable
176 const std::string device; variable
191 const std::string device = "deviceTest"; variable
206 const std::string device = "deviceTest"; variable
[all …]
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/platform/clock/
H A Dclock_adapter.c31 static int32_t ClockStart(struct ClockDevice *device) in ClockStart()
62 static int32_t ClockLinuxSetRate(struct ClockDevice *device, uint32_t rate) in ClockLinuxSetRate()
76 static int32_t ClockStop(struct ClockDevice *device) in ClockStop()
94 static int32_t ClockLinuxGetRate(struct ClockDevice *device, uint32_t *rate) in ClockLinuxGetRate()
108 static int32_t ClockLinuxDisable(struct ClockDevice *device) in ClockLinuxDisable()
121 static int32_t ClockLinuxEnable(struct ClockDevice *device) in ClockLinuxEnable()
142 static int32_t ClockLinuxSetParent(struct ClockDevice *device, struct ClockDevice *parent) in ClockLinuxSetParent()
190 static struct ClockDevice *ClockLinuxGetParent(struct ClockDevice *device) in ClockLinuxGetParent()
299 static int32_t LinuxClockInit(struct HdfDeviceObject *device) in LinuxClockInit()
325 struct ClockDevice *device = NULL; in ClockRemoveByNode() local
[all …]

12345678910>>...45