Home
last modified time | relevance | path

Searched refs:device_ (Results 1 – 25 of 36) sorted by relevance

12

/foundation/graphic/standard/rosen/modules/composer/hdi_backend/src/
Dhdi_screen.cpp53 if (device_ != nullptr) { in Init()
58 device_ = HdiDevice::GetInstance(); in Init()
59 if (device_ == nullptr) { in Init()
63 int32_t ret = device_->RegScreenVBlankCallback(screenId_, HdiScreen::OnVsync, this); in Init()
70 ret = device_->SetScreenVsyncEnabled(screenId_, true); in Init()
89 if (device_ != nullptr) { in SetHdiDevice()
93 device_ = device; in SetHdiDevice()
98 if (device_ == nullptr) { in GetScreenCapability()
102 return device_->GetScreenCapability(screenId_, dcap); in GetScreenCapability()
107 if (device_ == nullptr) { in GetScreenSupportedModes()
[all …]
Dhdi_backend.cpp61 if (device_ == nullptr) { in Repaint()
84 ret = device_->PrepareScreenLayers(screenId, needFlush); in Repaint()
119 ret = device_->Commit(screenId, fbFence); in Repaint()
151 int32_t ret = device_->GetScreenCompChange(screenId, layersId, types); in UpdateLayerCompType()
221 int32_t ret = device_->SetScreenClientBuffer(screenId, in SetScreenClientInfo()
228 ret = device_->SetScreenClientDamage(screenId, output->GetOutputDamageNum(), in SetScreenClientInfo()
243 int32_t ret = device_->GetScreenReleaseFence(screenId, layersId, fences); in ReleaseLayerBuffer()
315 if (device_ != nullptr) { in InitDevice()
319 device_ = HdiDevice::GetInstance(); in InitDevice()
320 if (device_ == nullptr) { in InitDevice()
[all …]
/foundation/communication/bluetooth/interfaces/innerkits/native_cpp/framework/test/unittest/host/
Dhost_test.cpp158 BluetoothRemoteDevice device_("00:00:00:00:00:00", BT_TRANSPORT_BREDR); variable
159 …BluetoothRemoteDevice remoteDevice = host_->GetRemoteDevice(device_.GetDeviceAddr(), BT_TRANSPORT_…
160 EXPECT_EQ(device_.GetDeviceAddr(), remoteDevice.GetDeviceAddr());
518 BluetoothRemoteDevice device_("00:00:00:00:00:00", BT_TRANSPORT_BREDR); variable
520 EXPECT_FALSE(host_->RemovePair(device_));
579 BluetoothRemoteDevice device_("00:00:00:00:00:00", BT_TRANSPORT_BREDR); variable
580 EXPECT_TRUE(device_.SetPhonebookPermission(1));
581 EXPECT_EQ(device_.GetPhonebookPermission(), 1);
595 BluetoothRemoteDevice device_("00:00:00:00:00:00", BT_TRANSPORT_BREDR); variable
596 EXPECT_TRUE(device_.SetPhonebookPermission(0));
[all …]
/foundation/graphic/ui/frameworks/dock/
Dscreen_device_proxy.h38 device_ = device; in SetDevice()
54 if (device_ != nullptr) { in HardwareFill()
55 return device_->HardwareFill(fillArea, color, opa, dst, dstStride, dstColorMode); in HardwareFill()
73 if (device_ != nullptr) { in HardwareBlend()
74 return device_->HardwareBlend(src, srcRect, srcStride, srcLineNumber, srcColorMode, in HardwareBlend()
92 if (device_ != nullptr) { in HardwareTransform()
93 …return device_->HardwareTransform(src, srcColorMode, srcRect, transformMatrix, opa, color, mask, d… in HardwareTransform()
101 if (device_ != nullptr) { in SnapShot()
102 device_->SnapShot(len, justCopy, dest, rect, justRender); in SnapShot()
206 ScreenDevice* device_ = nullptr; variable
Dscreen_device_proxy.cpp37 if (device_ != nullptr) { in OnRenderFinish()
38 device_->RenderFinish(mask); in OnRenderFinish()
/foundation/communication/bluetooth/interfaces/innerkits/native_cpp/framework/test/unittest/spp/
Dspp_test.cpp103 BluetoothRemoteDevice device_; variable
104 SppClientSocket *pfd_SppClientSocket = new SppClientSocket(fd, device_.GetDeviceAddr());
127 BluetoothRemoteDevice device_; variable
128 SppClientSocket *pfd_SppClientSocket = new SppClientSocket(fd, device_.GetDeviceAddr());
144 BluetoothRemoteDevice device_; variable
145 SppClientSocket *pfd_SppClientSocket = new SppClientSocket(fd, device_.GetDeviceAddr());
159 BluetoothRemoteDevice device_; variable
160 SppClientSocket *pfd_SppClientSocket = new SppClientSocket(fd, device_.GetDeviceAddr());
/foundation/communication/bluetooth/services/bluetooth_standard/service/src/gatt/
Dgatt_connection.h26 GattDevice device_; variable
33 explicit GattConnection(const GattDevice &device) : device_(device) in GattConnection()
36 : connectionHandle_(handle), mtu_(mtu), device_(device) in GattConnection()
41 return device_; in GetDevice()
Dgatt_connection_manager.cpp1249 : State(name, stateMachine), device_(device) in StateBase()
1263 device_.Info().addr_.GetAddress().c_str(), in Entry()
1264 device_.Info().transport_, in Entry()
1275 … if (GattConnectionManager::GetInstance().pimpl->DoConnect(device_) == GattStatus::GATT_SUCCESS) { in Dispatch()
1283 if (GattConnectionManager::GetInstance().pimpl->DoConnectComplete(device_, msg) == in Dispatch()
1314 device_.Info().addr_.GetAddress().c_str(), in Entry()
1315 device_.Info().transport_, in Entry()
1318device_.Info(), OBSERVER_EVENT_CONNECTING, device_.handle_, device_.role_, GattStatus::GATT_SUCCES… in Entry()
1328 if (GattConnectionManager::GetInstance().pimpl->DoConnectComplete(device_, msg) == in Dispatch()
1343 …if (memcpy_s(addr.addr, RawAddress::BT_ADDRESS_BYTE_LEN, device_.addr_, RawAddress::BT_ADDRESS_BYT… in Dispatch()
[all …]
Dgatt_profile_defines.h89 GattDevice device_; member
92 explicit DeviceInfo(GattDevice dev) : device_(dev) in DeviceInfo()
/foundation/communication/bluetooth/services/bluetooth_standard/service/src/pbap_pce/
Dpbap_pce_gap.cpp25 : service_(service), device_(device), gapSecChannel_(channel), l2capOrRfcomm_(rfcommOrPsm) in PbapPceGap()
39 device_.ConvertToUint8(btAddr.addr, sizeof(btAddr.addr)); in Register()
72 device_.ConvertToUint8(btAddr.addr, sizeof(btAddr.addr)); in Deregister()
96 ((PbapPceService &)service_).PostMessage(device_, msg); in RequestSecurity()
103 device_.ConvertToUint8(btAddr.addr, sizeof(btAddr.addr)); in RequestSecurity()
126 ((PbapPceService &)service_).PostMessage(device_, msg); in RequestSecurityCallback()
129 ((PbapPceService &)service_).PostMessage(device_, msg); in RequestSecurityCallback()
Dpbap_pce_gap.h81 RawAddress device_ {}; // remote device address
Dpbap_pce_state_machine.cpp37 : device_(dev), in PbapPceStateMachine()
296 PBAP_PCE_LOG_INFO("[%{public}s] PowerStatusUpdate -> BUSY", device_.GetAddress().c_str()); in SetPowerStatusBusy()
297 … IPowerManager::GetInstance().StatusUpdate(RequestStatus::BUSY, PROFILE_NAME_PBAP_PCE, device_); in SetPowerStatusBusy()
299 PBAP_PCE_LOG_INFO("[%{public}s] PowerStatusUpdate -> IDLE", device_.GetAddress().c_str()); in SetPowerStatusBusy()
300 … IPowerManager::GetInstance().StatusUpdate(RequestStatus::IDLE, PROFILE_NAME_PBAP_PCE, device_); in SetPowerStatusBusy()
682 return this->device_; in GetDevice()
/foundation/communication/bluetooth/interfaces/innerkits/native_cpp/include/
Dbluetooth_hf_call.h80 : device_(device), in HandsFreeUnitCall()
108 : device_(device), in HandsFreeUnitCall()
141 return device_; in GetRemoteDevice()
266 std::string device_ {""};
/foundation/filemanagement/storage_service/services/storage_daemon/disk/src/
Ddisk_info.cpp42 device_ = device; in DiskInfo()
49 return device_; in GetDevice()
91 CreateDiskNode(devPath_, device_); in Create()
136 unsigned int majorId = major(device_); in ReadMetadata()
182 int maxVolumes = GetMaxVolume(device_); in ReadPartition()
227 dev_t partitionDev = makedev(major(device_), minor(device_) + index); in ReadPartition()
/foundation/communication/bluetooth/interfaces/kits/napi/include/
Dnapi_bluetooth_gatt_client.h64 return device_; in GetDevice()
70 device_ = std::make_shared<BluetoothRemoteDevice>(deviceId, 1); in NapiGattClient()
71 client_ = std::make_shared<GattClient>(*device_); in NapiGattClient()
84 std::shared_ptr<BluetoothRemoteDevice> device_ = nullptr; variable
Dnapi_bluetooth_spp_client.h42 std::shared_ptr<BluetoothRemoteDevice> device_ = nullptr; member
/foundation/communication/bluetooth/services/bluetooth_standard/common/
Dhands_free_unit_calls.cpp22 : device_(device), id_(id), state_(state), number_(number), uuid_(Uuid::Random()), in HandsFreeUnitCalls()
30 : device_(device), id_(id), state_(state), number_(number), uuid_(uuid), in HandsFreeUnitCalls()
38 return device_; in GetRemoteDevice()
Dhands_free_unit_calls.h237 std::string device_ {""};
/foundation/communication/bluetooth/services/bluetooth_standard/ipc/parcel/
Dbluetooth_hfp_hf_call.cpp41 bool status = parcel.WriteString(string(device_.c_str(), device_.size())); in WriteToParcel()
79 bool status = parcel.ReadString(device_); in ReadFromParcel()
/foundation/multimedia/camera_lite/services/server/src/
Dcamera_server.cpp182 CameraDevice *device_ = CameraService::GetInstance()->GetCameraDevice(cameraId); in SetCameraConfig() local
183 int32_t setStatus = device_->SetCameraConfig(); in SetCameraConfig()
269 CameraDevice *device_ = CameraService::GetInstance()->GetCameraDevice(cameraId); in TriggerLoopingCapture() local
276 int32_t loopingCaptureStatus = device_->TriggerLoopingCapture(*fc, &streamId); in TriggerLoopingCapture()
285 CameraDevice *device_ = CameraService::GetInstance()->GetCameraDevice(cameraId); in TriggerSingleCapture() local
292 int32_t singleCaptureStatus = device_->TriggerSingleCapture(*fc, &streamId); in TriggerSingleCapture()
301 CameraDevice *device_ = CameraService::GetInstance()->GetCameraDevice(cameraId); in StopLoopingCapture() local
302 if (device_ == nullptr) { in StopLoopingCapture()
306 device_->StopLoopingCapture(); in StopLoopingCapture()
/foundation/filemanagement/storage_service/services/storage_daemon/include/disk/
Ddisk_info.h63 dev_t device_; variable
/foundation/communication/bluetooth/interfaces/innerkits/native_cpp/framework/src/
Dbluetooth_gatt_server.cpp42 bluetooth::GattDevice device_; member
49 : type_(type), device_(device), context_ { in RequestInformation()
55 : type_(type), device_(device), context_ { in RequestInformation()
60 …RequestInformation(uint8_t type, const bluetooth::GattDevice &device) : type_(type), device_(devic… in RequestInformation()
65 return (device_ == rhs.device_ && type_ == rhs.type_); in operator ==()
70 return (device_ < rhs.device_ && type_ == rhs.type_); in operator <()
/foundation/communication/bluetooth/interfaces/kits/napi/src/
Dnapi_bluetooth_spp_client.cpp83 … callbackInfo->device_ = std::make_shared<BluetoothRemoteDevice>(callbackInfo->deviceId_, 0); in SppConnect()
84 callbackInfo->client_ = std::make_shared<SppClientSocket>(*callbackInfo->device_, in SppConnect()
108 client->device_ = callbackInfo->device_; in SppConnect()
/foundation/filemanagement/storage_service/services/storage_daemon/include/volume/
Dexternal_volume_info.h48 dev_t device_; variable
/foundation/graphic/standard/rosen/modules/composer/hdi_backend/include/
Dhdi_screen.h65 Base::HdiDevice *device_ = nullptr; variable

12