Home
last modified time | relevance | path

Searched refs:connected (Results 1 – 25 of 383) sorted by relevance

12345678910>>...16

/ohos5.0/base/usb/usb_manager/services/native/src/
H A Dusb_device_manager.cpp234 void UsbDeviceManager::BroadcastFuncChange(bool connected, int32_t currentFunc) in BroadcastFuncChange() argument
240 want.SetParam(std::string {UsbSrvSupport::CONNECTED}, connected); in BroadcastFuncChange()
256 "currentFunctions:%{public}d", connected, currentFunc); in BroadcastFuncChange()
258 ReportDevicePlugSysEvent(currentFunc, connected); in BroadcastFuncChange()
261 void UsbDeviceManager::ProcessFuncChange(bool connected, int32_t currentFunc) in ProcessFuncChange() argument
263 BroadcastFuncChange(connected, currentFunc); in ProcessFuncChange()
264 ProcessFunctionSwitchWindow(connected); in ProcessFuncChange()
267 void UsbDeviceManager::ProcessFunctionSwitchWindow(bool connected) in ProcessFunctionSwitchWindow() argument
275 if (connected) { in ProcessFunctionSwitchWindow()
372 void UsbDeviceManager::ReportDevicePlugSysEvent(int32_t currentFunctions, bool connected) in ReportDevicePlugSysEvent() argument
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/
H A Ddrawing_sample.cpp74 void DrawingSample::OnScreenPlug(std::shared_ptr<HdiOutput>& output, bool connected, void* data) in OnScreenPlug() argument
76 LOGI("enter OnScreenPlug, connected is %{public}d", connected); in OnScreenPlug()
78 thisPtr->OnHotPlugEvent(output, connected); in OnScreenPlug()
229 void DrawingSample::OnHotPlugEvent(std::shared_ptr<HdiOutput>& output, bool connected) in OnHotPlugEvent() argument
233 OnHotPlug(output, connected); in OnHotPlugEvent()
236 mainThreadHandler_->PostTask(std::bind(&DrawingSample::OnHotPlug, this, output, connected)); in OnHotPlugEvent()
240 void DrawingSample::OnHotPlug(std::shared_ptr<HdiOutput>& output, bool connected) in OnHotPlug() argument
248 deviceConnected_ = connected; in OnHotPlug()
255 LOGI("Callback HotPlugEvent, connected is %{public}u", connected); in OnHotPlug()
257 if (connected) { in OnHotPlug()
H A Ddrawing_sample.h76 void OnHotPlug(std::shared_ptr<HdiOutput>& output, bool connected);
77 void OnHotPlugEvent(std::shared_ptr<HdiOutput>& output, bool connected);
80 static void OnScreenPlug(std::shared_ptr<HdiOutput>& output, bool connected, void* data);
/ohos5.0/drivers/external_device_manager/test/unittest/ndk_stage_js_test/entry/src/main/ets/test/
H A DusbDdkNdkJsTest.ets92 console.info("Test USB device not connected");
118 console.info("Test USB device not connected");
144 console.info("Test USB device not connected");
170 console.info("Test USB device not connected");
196 console.info("Test USB device not connected");
222 console.info("Test USB device not connected");
248 console.info("Test USB device not connected");
274 console.info("Test USB device not connected");
300 console.info("Test USB device not connected");
326 console.info("Test USB device not connected");
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/src/
H A Dhdi_backend.cpp275 void HdiBackend::OnHdiBackendHotPlugEvent(uint32_t screenId, bool connected, void *data) in OnHdiBackendHotPlugEvent() argument
277 HLOGI("HotPlugEvent, screenId is %{public}u, connected is %{public}u", screenId, connected); in OnHdiBackendHotPlugEvent()
285 hdiBackend->OnHdiBackendConnected(screenId, connected); in OnHdiBackendHotPlugEvent()
307 void HdiBackend::OnHdiBackendConnected(uint32_t screenId, bool connected) in OnHdiBackendConnected() argument
309 if (connected) { in OnHdiBackendConnected()
313 OnScreenHotplug(screenId, connected); in OnHdiBackendConnected()
323 void HdiBackend::OnScreenHotplug(uint32_t screenId, bool connected) in OnScreenHotplug() argument
332 onScreenHotplugCb_(iter->second, connected, onHotPlugCbData_); in OnScreenHotplug()
335 if (!connected) { in OnScreenHotplug()
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/secureelement/
H A Dinterface_i_secure_element_callback.md20 | [OnSeStateChanged](#onsestatechanged) ([in] boolean connected) | 通知SE状态已更改。 |
29 ISecureElementCallback::OnSeStateChanged ([in] boolean connected)
41 | connected | 表示SE是否已连接。 |
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/display/
H A Dinterface_i_hot_plug_callback_v10.md20 | [OnHotPlug](#onhotplug) ([in] unsigned int outputId, [in] boolean connected) | 热插拔事件回调接口声明。 |
29 IHotPlugCallback::OnHotPlug ([in] unsigned int outputId, [in] boolean connected )
42 | connected | 设备是否连接。 |
/ohos5.0/base/usb/usb_manager/services/native/include/
H A Dusb_device_manager.h53 void ProcessFunctionSwitchWindow(bool connected);
57 void ReportDevicePlugSysEvent(int32_t currentFunctions, bool connected);
58 void ProcessFuncChange(bool connected, int32_t currentFunc);
59 void BroadcastFuncChange(bool connected, int32_t currentFunc);
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/composer/
H A Dhello_composer.cpp100 void HelloComposer::OnScreenPlug(std::shared_ptr<HdiOutput> &output, bool connected, void* data) in OnScreenPlug() argument
102 LOGI("enter OnScreenPlug, connected is %{public}d", connected); in OnScreenPlug()
104 thisPtr->OnHotPlugEvent(output, connected); in OnScreenPlug()
341 void HelloComposer::OnHotPlugEvent(std::shared_ptr<HdiOutput> &output, bool connected) in OnHotPlugEvent() argument
345 OnHotPlug(output, connected); in OnHotPlugEvent()
348 mainThreadHandler_->PostTask([this] { this->OnHotPlug(output, connected); }); in OnHotPlugEvent()
352 void HelloComposer::OnHotPlug(std::shared_ptr<HdiOutput> &output, bool connected) in OnHotPlug() argument
360 deviceConnected_ = connected; in OnHotPlug()
362 if (!connected) { in OnHotPlug()
371 …Callback HotPlugEvent, screenId is %{public}d, connected is %{public}u", currScreenId_, connected); in OnHotPlug()
[all …]
H A Dhello_composer.h70 void OnHotPlug(std::shared_ptr<HdiOutput> &output, bool connected);
71 void OnHotPlugEvent(std::shared_ptr<HdiOutput> &output, bool connected);
77 static void OnScreenPlug(std::shared_ptr<HdiOutput> &output, bool connected, void* data);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/include/
H A Dhdi_backend.h41 using OnScreenHotplugFunc = std::function<void(OutputPtr &output, bool connected, void* data)>;
82 static void OnHdiBackendHotPlugEvent(uint32_t deviceId, bool connected, void *data);
85 void OnHdiBackendConnected(uint32_t screenId, bool connected);
87 void OnScreenHotplug(uint32_t screenId, bool connected);
/ohos5.0/drivers/peripheral/display/hdi_service/device/src/proxy/display_device_callback/
H A Ddisplay_device_callback_stub.cpp29 bool connected = data.ReadBool(); in OnRemoteRequest() local
30 … DISPLAY_LOG("call OnHotplugIn id : %{public}d; connected : %{public}d", outputId, connected); in OnRemoteRequest()
31 OnHotplugIn(outputId, connected); in OnRemoteRequest()
/ohos5.0/docs/en/application-dev/device/input/
H A Dinputdevice-guidelines.md30connected input devices. Call the [getKeyboardType](../../reference/apis-input-kit/js-apis-inputde…
31 …ents. If a physical keyboard is inserted, mark the physical keyboard as connected. If a physical k…
39 // 1. Obtain the list of input devices and check whether a physical keyboard is connected.
44 // The physical keyboard is connected.
/ohos5.0/drivers/external_device_manager/test/unittest/ndk_permission_js_test/entry/src/main/ets/test/
H A DDdkPermissionJsTest.ets70 console.info("Test USB device not connected");
96 console.info("Test USB device not connected");
122 console.info("Test USB device not connected");
148 console.info("Test USB device not connected");
174 console.info("Test USB device not connected");
200 console.info("Test USB device not connected");
226 console.info("Test USB device not connected");
252 console.info("Test USB device not connected");
278 console.info("Test USB device not connected");
305 console.info("Test USB device not connected");
[all …]
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/secure_element_v1_0/cpp_target/secure_element/v1_0/
H A Dsecure_element_callback_proxy.cpp.txt32 int32_t OHOS::HDI::SecureElement::V1_0::SecureElementCallbackProxy::OnSeStateChanged(bool connected)
34 …return OHOS::HDI::SecureElement::V1_0::SecureElementCallbackProxy::OnSeStateChanged_(connected, Re…
42 …t32_t OHOS::HDI::SecureElement::V1_0::SecureElementCallbackProxy::OnSeStateChanged_(bool connected,
54 if (!secureElementCallbackData.WriteBool(connected)) {
55 HDF_LOGE("%{public}s: write connected failed!", __func__);
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/display_composer_v1_0/cpp_target/display/composer/v1_0/
H A Dhot_plug_callback_proxy.cpp.txt33 …S::HDI::Display::Composer::V1_0::HotPlugCallbackProxy::OnHotPlug(uint32_t outputId, bool connected)
35 …return OHOS::HDI::Display::Composer::V1_0::HotPlugCallbackProxy::OnHotPlug_(outputId, connected, R…
43 …::HDI::Display::Composer::V1_0::HotPlugCallbackProxy::OnHotPlug_(uint32_t outputId, bool connected,
60 if (!hotPlugCallbackData.WriteBool(connected)) {
61 HDF_LOGE("%{public}s: write connected failed!", __func__);
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/secure_element_v1_0/foo/secure_element/v1_0/
H A DISecureElementCallback.idl27 * @param connected Indicates the secure element connected or not.
31 OnSeStateChanged([in] boolean connected);
/ohos5.0/drivers/interface/secure_element/sim_secure_element/v1_0/
H A DISecureElementCallback.idl27 * @param connected Indicates the secure element connected or not.
32 OnSeStateChanged([in] boolean connected);
/ohos5.0/drivers/interface/secure_element/v1_0/
H A DISecureElementCallback.idl27 * @param connected Indicates the secure element connected or not.
31 OnSeStateChanged([in] boolean connected);
/ohos5.0/drivers/peripheral/display/composer/test/common/
H A Dhdi_test_device.cpp33 void HdiTestDevice::HotPlug(uint32_t outputId, bool connected, void* data) in HotPlug() argument
35 DISPLAY_TEST_LOGD("outputId %{public}u connected %{public}d", outputId, connected); in HotPlug()
38 if (connected) { in HotPlug()
/ohos5.0/drivers/interface/display/composer/v1_0/
H A DIHotPlugCallback.idl25 * @param connected If the device is connected.
32 OnHotPlug([in] unsigned int outputId, [in] boolean connected);
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/display_composer_v1_0/foo/display/composer/v1_0/
H A DIHotPlugCallback.idl25 * @param connected If the device is connected.
32 OnHotPlug([in] unsigned int outputId, [in] boolean connected);
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/display_composer_v1_1/foo/display/composer/v1_0/
H A DIHotPlugCallback.idl25 * @param connected If the device is connected.
32 OnHotPlug([in] unsigned int outputId, [in] boolean connected);
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/
H A Ddrawing_engine_sample.cpp103 void DrawingEngineSample::OnScreenPlug(std::shared_ptr<HdiOutput> &output, bool connected, void* da… in OnScreenPlug() argument
105 std::cout << "enter OnScreenPlug, connected is " << connected << std::endl; in OnScreenPlug()
107 thisPtr->OnHotPlugEvent(output, connected); in OnScreenPlug()
366 void DrawingEngineSample::OnHotPlugEvent(const std::shared_ptr<HdiOutput> &output, bool connected) in OnHotPlugEvent() argument
376 deviceConnected_ = connected; in OnHotPlugEvent()
383 std::cout << "Callback HotPlugEvent, connected is " << connected << std::endl; in OnHotPlugEvent()
384 if (connected) { in OnHotPlugEvent()
/ohos5.0/foundation/communication/connected_nfc_tag/
H A DREADME.md14 For the devices has connected nfc tag chip, this component provides tag reading and writing.
40 - Devices must has the connected nfc tag chip.
44 - connected nfc tag reading and writing.

12345678910>>...16