/ohos5.0/base/usb/usb_manager/services/native/src/ |
H A D | usb_device_manager.cpp | 234 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 D | drawing_sample.cpp | 74 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 D | drawing_sample.h | 76 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 D | usbDdkNdkJsTest.ets | 92 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 D | hdi_backend.cpp | 275 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 D | interface_i_secure_element_callback.md | 20 | [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 D | interface_i_hot_plug_callback_v10.md | 20 | [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 D | usb_device_manager.h | 53 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 D | hello_composer.cpp | 100 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 D | hello_composer.h | 70 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 D | hdi_backend.h | 41 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 D | display_device_callback_stub.cpp | 29 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 D | inputdevice-guidelines.md | 30 …connected 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 D | DdkPermissionJsTest.ets | 70 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 D | secure_element_callback_proxy.cpp.txt | 32 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 D | hot_plug_callback_proxy.cpp.txt | 33 …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 D | ISecureElementCallback.idl | 27 * @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 D | ISecureElementCallback.idl | 27 * @param connected Indicates the secure element connected or not. 32 OnSeStateChanged([in] boolean connected);
|
/ohos5.0/drivers/interface/secure_element/v1_0/ |
H A D | ISecureElementCallback.idl | 27 * @param connected Indicates the secure element connected or not. 31 OnSeStateChanged([in] boolean connected);
|
/ohos5.0/drivers/peripheral/display/composer/test/common/ |
H A D | hdi_test_device.cpp | 33 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 D | IHotPlugCallback.idl | 25 * @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 D | IHotPlugCallback.idl | 25 * @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 D | IHotPlugCallback.idl | 25 * @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 D | drawing_engine_sample.cpp | 103 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 D | README.md | 14 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.
|