Home
last modified time | relevance | path

Searched refs:deviceState (Results 1 - 25 of 34) sorted by relevance

12

/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/deviceManager/
H A Ddms_device_info_test.cpp80 int32_t deviceState; in HWTEST_F() local
85 PARCEL_READ_HELPER_NORET(parcel, Int32, deviceState); in HWTEST_F()
89 EXPECT_EQ(1, deviceState); in HWTEST_F()
/foundation/multimedia/av_session/services/session/server/
H A Dhw_cast_provider_session.cpp167 int32_t deviceState = static_cast<int32_t>(stateInfo.deviceState); in OnDeviceState() local
169 SLOGI("OnDeviceState from cast %{public}d", static_cast<int>(deviceState)); in OnDeviceState()
173 SLOGI("current has not registered listener, stash state: %{public}d", deviceState); in OnDeviceState()
174 stashDeviceState_ = deviceState; in OnDeviceState()
188 listener->OnCastStateChange(static_cast<int>(deviceState), deviceInfo); in OnDeviceState()
/foundation/distributedhardware/device_manager/common/include/ipc/model/
H A Dipc_notify_device_state_req.h42 void SetDeviceState(int32_t deviceState) in SetDeviceState() argument
44 deviceState_ = deviceState; in SetDeviceState()
/foundation/ability/dmsfwk/services/dtbschedmgr/include/deviceManager/
H A Ddms_device_info.h41 int32_t deviceState = ONLINE, int32_t osType = Constants::OH_OS_TYPE, std::string osVersion = "") in DmsDeviceInfo()
42 : deviceName_(deviceName), deviceType_(deviceType), networkId_(networkId), deviceState_(deviceState), in DmsDeviceInfo()
/foundation/CastEngine/castengine_cast_framework/service/src/session/include/
H A Dcast_session_common.h31 DeviceState deviceState; member
H A Dcast_session_impl_class.h71 int32_t GetDeviceState(const std::string &deviceId, DeviceState &deviceState) override;
/foundation/CastEngine/castengine_cast_plus_stream/include/
H A Dcast_session_common.h31 DeviceState deviceState; member
/foundation/distributedhardware/device_manager/test/unittest/
H A DUTTest_ipc_server_client_proxy.cpp99 int deviceState = 1; in HWTEST_F() local
109 req->SetDeviceState(deviceState); in HWTEST_F()
/foundation/CastEngine/castengine_cast_framework/client/include/
H A Dcast_session_impl_proxy.h41 int32_t GetDeviceState(const std::string &deviceId, DeviceState &deviceState) override;
/foundation/CastEngine/castengine_cast_framework/client/src/
H A Dcast_session_impl_proxy.cpp187 int32_t CastSessionImplProxy::GetDeviceState(const std::string &deviceId, DeviceState &deviceState) in GetDeviceState() argument
192 deviceState = DeviceState::DISCONNECTED; in GetDeviceState()
218 deviceState = static_cast<DeviceState>(state); in GetDeviceState()
/foundation/CastEngine/castengine_cast_framework/common/include/private/
H A Di_cast_session_impl.h54 virtual int32_t GetDeviceState(const std::string &deviceId, DeviceState &deviceState) = 0;
/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/src/ipc/lite/
H A Dipc_cmd_parser.cpp324 DmDeviceState deviceState = static_cast<DmDeviceState>(state); in ON_IPC_CMD() local
327 switch (deviceState) { in ON_IPC_CMD()
338 LOGE("unknown device state:%{public}d", deviceState); in ON_IPC_CMD()
/foundation/communication/dsoftbus/core/common/dfx/interface/include/form/
H A Dtrans_event_form.h101 int32_t deviceState; // DEVICE_STATE member
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/
H A Dcast_session_impl.cpp427 int32_t CastSessionImpl::GetDeviceState(const std::string &deviceId, DeviceState &deviceState) in GetDeviceState() argument
435 state = deviceInfo->deviceState; in GetDeviceState()
438 deviceState = state; in GetDeviceState()
952 deviceInfo.deviceState = state; in UpdateRemoteDeviceStateLocked()
1042 DEVICE_STATE_STRING[static_cast<int>(deviceInfo->deviceState)].c_str(), in ChangeDeviceStateLocked()
1045 if (state == deviceInfo->deviceState) { in ChangeDeviceStateLocked()
/foundation/CastEngine/castengine_cast_plus_stream/src/
H A Dcast_session_impl.cpp427 int32_t CastSessionImpl::GetDeviceState(const std::string &deviceId, DeviceState &deviceState) in GetDeviceState() argument
435 state = deviceInfo->deviceState; in GetDeviceState()
438 deviceState = state; in GetDeviceState()
952 deviceInfo.deviceState = state; in UpdateRemoteDeviceStateLocked()
1042 DEVICE_STATE_STRING[static_cast<int>(deviceInfo->deviceState)].c_str(), in ChangeDeviceStateLocked()
1045 if (state == deviceInfo->deviceState) { in ChangeDeviceStateLocked()
/foundation/distributedhardware/device_manager/services/service/src/ipc/lite/
H A Dipc_cmd_parser.cpp64 int32_t deviceState = pReq->GetDeviceState(); in ON_IPC_SET_REQUEST() local
69 WriteInt32(&request, deviceState); in ON_IPC_SET_REQUEST()
/foundation/multimedia/camera_framework/services/camera_service/include/
H A Dhcamera_host_manager.h95 void NotifyDeviceStateChangeInfo(int notifyType, int deviceState);
/foundation/communication/dsoftbus/core/common/dfx/event/src/convert/
H A Dtrans_event_converter.h66 TRANS_ASSIGNER(Int32, DeviceState, deviceState)
/foundation/multimedia/camera_framework/services/camera_service/src/
H A Dhcamera_host_manager.cpp93 void NotifyDeviceStateChangeInfo(int notifyType, int deviceState);
468 void HCameraHostManager::CameraHostInfo::NotifyDeviceStateChangeInfo(int notifyType, int deviceState) in NotifyDeviceStateChangeInfo() argument
472 MEDIA_DEBUG_LOG("CameraHostInfo::NotifyDeviceStateChangeInfo notifyType = %{public}d, deviceState = %{public}d", in NotifyDeviceStateChangeInfo()
473 notifyType, deviceState); in NotifyDeviceStateChangeInfo()
476 cameraHostProxyV1_3_->NotifyDeviceStateChangeInfo(notifyType, deviceState); in NotifyDeviceStateChangeInfo()
479 cameraHostProxyV1_2_->NotifyDeviceStateChangeInfo(notifyType, deviceState); in NotifyDeviceStateChangeInfo()
907 void HCameraHostManager::NotifyDeviceStateChangeInfo(int notifyType, int deviceState) in NotifyDeviceStateChangeInfo() argument
915 cameraHostInfo->NotifyDeviceStateChangeInfo(notifyType, deviceState); in NotifyDeviceStateChangeInfo()
/foundation/CastEngine/castengine_cast_framework/interfaces/kits/js/src/
H A Dnapi_castengine_utils.cpp188 napi_value deviceState = nullptr; in ConvertDeviceStateInfoToJS() local
189 NAPI_CALL(env, napi_create_int32(env, static_cast<int32_t>(stateEvent.deviceState), &deviceState)); in ConvertDeviceStateInfoToJS()
190 NAPI_CALL(env, napi_set_named_property(env, stateEventCallback, "deviceState", deviceState)); in ConvertDeviceStateInfoToJS()
/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/
H A Dsoftbus_proxychannel_listener.c168 extra.deviceState = TransGetDeviceState(appInfo->peerNetWorkId); in OnProxyChannelOpened()
285 extra.deviceState = TransGetDeviceState(appInfo->peerNetWorkId); in TransProxyReportOpenChannelFailEvent()
/foundation/communication/dsoftbus/core/transmission/trans_channel/manager/src/
H A Dtrans_channel_callback.c93 extra.deviceState = TransGetDeviceState(channel->peerDeviceId); in TransServerOnChannelOpened()
/foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/src/
H A Dtrans_tcp_direct_manager.c62 extra.deviceState = TransGetDeviceState(node->appInfo.peerNetWorkId); in OnSessionOpenFailProc()
/foundation/communication/dsoftbus/tests/core/common/dfx/event/unittest/src/
H A Dtrans_event_test.cpp91 .deviceState = 1, in HWTEST_F()
/foundation/CastEngine/castengine_cast_framework/interfaces/inner_api/include/
H A Dcast_engine_common.h231 DeviceState deviceState{ DeviceState::DISCONNECTED };

Completed in 18 milliseconds

12