/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/ |
D | lexer.js | 19 function code(s) { function 24 return c == code(' ') || c == code('\t') || c == code('\r'); 28 if (code('a') <= c[0] && c[0] <= code('z')) { 31 if (code('A') <= c[0] && c[0] <= code('Z')) { 42 return code('0') <= c[0] && c[0] <= code('9'); 105 c[0] == code(';') || 106 c[0] == code(',') || 107 c[0] == code('[') || 108 c[0] == code(']') || 109 c[0] == code('{') || [all …]
|
/drivers/hdf_core/framework/model/input/driver/ |
D | event_hub.h | 24 uint32_t code; member 29 void PushOnePackage(InputDevice *inputDev, uint32_t type, uint32_t code, int32_t value); 32 static inline void ReportAbs(InputDevice *inputDev, uint32_t code, int32_t value) in ReportAbs() argument 34 PushOnePackage(inputDev, EV_ABS, code, value); in ReportAbs() 37 static inline void ReportKey(InputDevice *inputDev, uint32_t code, int32_t value) in ReportKey() argument 39 PushOnePackage(inputDev, EV_KEY, code, !!value); in ReportKey() 42 static inline void ReportRel(InputDevice *inputDev, uint32_t code, int32_t value) in ReportRel() argument 44 PushOnePackage(inputDev, EV_REL, code, value); in ReportRel()
|
D | event_hub.c | 39 void PushOnePackage(InputDevice *inputDev, uint32_t type, uint32_t code, int32_t value) in PushOnePackage() argument 52 package.code = code; in PushOnePackage() 69 if (type == EV_SYN && code == SYN_REPORT) { in PushOnePackage()
|
/drivers/peripheral/power/test/fuzztest/powerhdistub_fuzzer/ |
D | powerhdistub_fuzz.cpp | 61 uint32_t code; in PowerStubFuzzTest() local 62 if (size < sizeof(code)) { in PowerStubFuzzTest() 65 if (memcpy_s(&code, sizeof(code), data, sizeof(code)) != EOK) { in PowerStubFuzzTest() 80 if (CMD_POWER_INTERFACE_FORCE_SUSPEND == code) { in PowerStubFuzzTest() 83 g_fuzzService->OnRemoteRequest(code, datas, reply, option); in PowerStubFuzzTest()
|
/drivers/peripheral/thermal/test/fuzztest/thermalhdistub_fuzzer/ |
D | thermalhdistub_fuzz.cpp | 42 uint32_t code; in ThermalStubFuzzTest() local 43 if (size < sizeof(code)) { in ThermalStubFuzzTest() 46 if (memcpy_s(&code, sizeof(code), data, sizeof(code)) != EOK) { in ThermalStubFuzzTest() 59 g_fuzzService->OnRemoteRequest(code, datas, reply, option); in ThermalStubFuzzTest()
|
/drivers/peripheral/battery/interfaces/hdi_service/test/fuzztest/batteryhdistub_fuzzer/ |
D | batteryhdistub_fuzz.cpp | 42 uint32_t code; in BatteryStubFuzzTest() local 43 if (size < sizeof(code)) { in BatteryStubFuzzTest() 46 if (memcpy_s(&code, sizeof(code), data, sizeof(code)) != EOK) { in BatteryStubFuzzTest() 61 g_fuzzService->OnRemoteRequest(code, datas, reply, option); in BatteryStubFuzzTest()
|
/drivers/external_device_manager/test/unittest/device_manager_js_test/ |
D | DeviceManagerJsTest.js | 60 expect(err.code).assertEqual(SERVICE_EXCEPTION_CODE); 75 expect(err.code).assertEqual(SERVICE_EXCEPTION_CODE); 97 expect(error.code).assertEqual(PARAMETER_ERROR_CODE); 114 expect(error.code).assertEqual(SERVICE_EXCEPTION_CODE); 120 expect(error.code).assertEqual(SERVICE_EXCEPTION_CODE); 137 expect(error.code).assertEqual(PARAMETER_ERROR_CODE); 154 expect(error.code).assertEqual(PARAMETER_ERROR_CODE); 171 expect(error.code).assertEqual(PARAMETER_ERROR_CODE); 197 expect(error.code).assertEqual(PARAMETER_ERROR_CODE); 223 expect(error.code).assertEqual(SERVICE_EXCEPTION_CODE); [all …]
|
/drivers/peripheral/wlan/hal/src/ |
D | wifi_hal_ap_feature.c | 39 static int32_t SetCountryCodeInner(const struct IWiFiAp *apFeature, const char *code, uint32_t len) in SetCountryCodeInner() argument 41 if (apFeature == NULL || code == NULL || len != strlen(code)) { in SetCountryCodeInner() 45 return HalCmdSetCountryCode(apFeature->baseFeature.ifName, code, len); in SetCountryCodeInner() 57 static int32_t HalSetCountryCode(const struct IWiFiAp *apFeature, const char *code, uint32_t len) in HalSetCountryCode() argument 60 int32_t ret = SetCountryCodeInner(apFeature, code, len); in HalSetCountryCode()
|
/drivers/peripheral/audio/hal/hdi_binder/server/src/ |
D | hdf_audio_input_event.c | 41 switch (evt.code) { in AudioAnalogHeadsetDeviceCheck() 52 AUDIO_FUNC_LOGE("n't surpport code =0x%{public}x\n", evt.code); in AudioAnalogHeadsetDeviceCheck() 66 AUDIO_FUNC_LOGD("evt.type = EV_SW5, code =0x%{public}d, value = %{public}d\n", evt.code, in AudioPnpInputCheck() 74 …if ((evt.code == KEY_MEDIA) || (evt.code == KEY_KP7) || (evt.code == KEY_KP8) || (evt.code == KEY_… in AudioPnpInputCheck() 75 …DIO_FUNC_LOGD("evt.type = EV_KEY1, code = 0x%{public}x, value = %{public}d.", evt.code, evt.value); in AudioPnpInputCheck()
|
/drivers/peripheral/fingerprint_auth/test/fuzztest/fingerprint_auth/fingerprintexecutorstub_fuzzer/ |
D | fingerprint_auth_executor_stub_fuzzer.cpp | 54 …for (uint32_t code = FINGERPRINT_AUTH_EXECUTOR_CODE_MIN; code <= FINGERPRINT_AUTH_EXECUTOR_CODE_MA… in FingerprintAuthExecutorStubFuzzTest() local 60 if (code < FINGERPRINT_AUTH_EXECUTOR_CODE_MIN_V1_1) { in FingerprintAuthExecutorStubFuzzTest() 69 (void)executorStub->OnRemoteRequest(code, data, reply, optionSync); in FingerprintAuthExecutorStubFuzzTest() 74 (void)executorStub->OnRemoteRequest(code, data, reply, optionAsync); in FingerprintAuthExecutorStubFuzzTest()
|
/drivers/peripheral/face_auth/test/fuzztest/face_auth/faceauthhdistub_fuzzer/ |
D | face_auth_hdi_stub_fuzzer.cpp | 55 for (uint32_t code = EXECUTOR_STUB_CODE_MIN; code < EXECUTOR_STUB_CODE_MAX; code++) { in FaceAuthHdiStubFuzzTest() local 61 if (code < EXECUTOR_STUB_CODE_MIN_V1_1) { in FaceAuthHdiStubFuzzTest() 70 (void)executorStub->OnRemoteRequest(code, data, reply, optionSync); in FaceAuthHdiStubFuzzTest() 75 (void)executorStub->OnRemoteRequest(code, data, reply, optionAsync); in FaceAuthHdiStubFuzzTest()
|
/drivers/peripheral/pin_auth/test/fuzztest/pin_auth/pinauthinterfacestub_fuzzer/ |
D | pin_auth_interface_stub_fuzzer.cpp | 44 for (uint32_t code = HDI_PIN_AUTH_CODE_MIN; code <= HDI_PIN_AUTH_CODE_MAX; code++) { in PinAuthInterfaceStubFuzzTest() local 53 (void)pinAuthInterfaceStub.OnRemoteRequest(code, data, reply, optionSync); in PinAuthInterfaceStubFuzzTest() 58 (void)pinAuthInterfaceStub.OnRemoteRequest(code, data, reply, optionAsync); in PinAuthInterfaceStubFuzzTest()
|
/drivers/peripheral/face_auth/test/fuzztest/face_auth/faceauthinterfacestub_fuzzer/ |
D | face_auth_interface_stub_fuzzer.cpp | 57 …for (uint32_t code = FACE_AUTH_INTERFACE_STUB_CODE_MIN; code < FACE_AUTH_INTERFACE_STUB_CODE_MAX; … in FaceAuthInterfaceStubFuzzTest() local 63 if (code < FACE_AUTH_INTERFACE_STUB_CODE_MIN_V1_1) { in FaceAuthInterfaceStubFuzzTest() 72 (void)faceAuthInterfaceStub->OnRemoteRequest(code, data, reply, optionSync); in FaceAuthInterfaceStubFuzzTest() 77 (void)faceAuthInterfaceStub->OnRemoteRequest(code, data, reply, optionAsync); in FaceAuthInterfaceStubFuzzTest()
|
/drivers/peripheral/user_auth/test/fuzztest/user_auth/userauthhdistub_fuzzer/ |
D | user_auth_hdi_stub_fuzzer.cpp | 62 for (uint32_t code = USER_AUTH_HDI_CODE_MIN; code < USER_AUTH_HDI_CODE_MAX; code++) { in UserAuthHdiStubFuzzTest() local 68 if (code < USER_AUTH_HDI_CODE_MIN_V1_1) { in UserAuthHdiStubFuzzTest() 77 (void)userAuthInterfaceStub->OnRemoteRequest(code, data, reply, optionSync); in UserAuthHdiStubFuzzTest() 82 (void)userAuthInterfaceStub->OnRemoteRequest(code, data, reply, optionAsync); in UserAuthHdiStubFuzzTest()
|
/drivers/peripheral/pin_auth/test/fuzztest/pin_auth/pinauthexecutorstub_fuzzer/ |
D | pin_auth_executor_stub_fuzzer.cpp | 58 for (uint32_t code = PIN_AUTH_EXECUTOR_CODE_MIN; code <= PIN_AUTH_EXECUTOR_CODE_MAX; code++) { in PinAuthExecutorStubFuzzTest() local 64 if (code < PIN_AUTH_EXECUTOR_CODE_MIN_V1_1) { in PinAuthExecutorStubFuzzTest() 73 (void)executorStub->OnRemoteRequest(code, data, reply, optionSync); in PinAuthExecutorStubFuzzTest() 78 (void)executorStub->OnRemoteRequest(code, data, reply, optionAsync); in PinAuthExecutorStubFuzzTest()
|
/drivers/peripheral/fingerprint_auth/test/fuzztest/fingerprint_auth/fingerprintinterfacestub_fuzzer/ |
D | fingerprint_auth_interface_stub_fuzzer.cpp | 45 …for (uint32_t code = HDI_FINGERPRINT_AUTH_CODE_MIN; code <= HDI_FINGERPRINT_AUTH_CODE_MAX; code++)… in FingerprintAuthInterfaceStubFuzzTest() local 54 (void)fingerprintAuthInterfaceStub.OnRemoteRequest(code, data, reply, optionSync); in FingerprintAuthInterfaceStubFuzzTest() 59 (void)fingerprintAuthInterfaceStub.OnRemoteRequest(code, data, reply, optionAsync); in FingerprintAuthInterfaceStubFuzzTest()
|
/drivers/hdf_core/framework/tools/hcs-view/docs/ |
D | DEBUGGUIDE.md | 25 visual studio code 版本需1.62.0及以上。 48 ![](../figures/run-code-mock-succss.png) 61 ![](../figures/run-code-mock-launcher.png) 67 ![](../figures/run-code-mock-web.png) 72 visual studio code 版本需1.62.0及以上。 94 ![](../figures/run-code-succss.png)
|
/drivers/hdf_core/adapter/khdf/linux/platform/mipi_csi/ |
D | mipi_v4l2_adapter.c | 92 u32 code = MEDIA_BUS_FMT_SGBRG12_1X12; in LinuxGetFormatCode() local 96 code = MEDIA_BUS_FMT_SBGGR8_1X8; in LinuxGetFormatCode() 99 code = MEDIA_BUS_FMT_SBGGR10_1X10; in LinuxGetFormatCode() 102 code = MEDIA_BUS_FMT_SBGGR12_1X12; in LinuxGetFormatCode() 105 code = MEDIA_BUS_FMT_SBGGR14_1X14; in LinuxGetFormatCode() 108 code = MEDIA_BUS_FMT_SBGGR16_1X16; in LinuxGetFormatCode() 111 code = MEDIA_BUS_FMT_Y8_1X8; in LinuxGetFormatCode() 114 code = MEDIA_BUS_FMT_Y8_1X8; in LinuxGetFormatCode() 117 code = MEDIA_BUS_FMT_YUYV8_1X16; in LinuxGetFormatCode() 120 code = MEDIA_BUS_FMT_YVYU8_1X16; in LinuxGetFormatCode() [all …]
|
/drivers/hdf_core/framework/test/fuzztest/devsvcmanagerstub_fuzzer/ |
D | devsvcmanagerstub_fuzzer.cpp | 15 struct HdfRemoteService *service, int code, struct HdfSBuf *data, struct HdfSBuf *reply); 64 static bool DevsvcManagerFuzzTest(int32_t code, const uint8_t *data, size_t size) in DevsvcManagerFuzzTest() argument 100 reinterpret_cast<HdfRemoteService *>(instance->remote->target), code, dataBuf, replyBuf); in DevsvcManagerFuzzTest() 111 int32_t code = servmgrCode[i]; in LLVMFuzzerTestOneInput() local 112 DevsvcManagerFuzzTest(code, data, size); in LLVMFuzzerTestOneInput()
|
/drivers/hdf_core/framework/test/fuzztest/devmgrservicestub_fuzzer/ |
D | devmgrservicestub_fuzzer.cpp | 15 struct HdfRemoteService *stub, int code, struct HdfSBuf *data, struct HdfSBuf *reply); 61 static bool AttachDeviceHostFuzzTest(int32_t code, const uint8_t *data, size_t size) in AttachDeviceHostFuzzTest() argument 97 reinterpret_cast<HdfRemoteService *>(instance->remote->target), code, dataBuf, replyBuf); in AttachDeviceHostFuzzTest() 108 int32_t code = g_devMgrCode[i]; in LLVMFuzzerTestOneInput() local 109 AttachDeviceHostFuzzTest(code, data, size); in LLVMFuzzerTestOneInput()
|
/drivers/hdf_core/adapter/khdf/uniproton/ |
D | README.md | 9 This repository stores the code and compilation scripts for the OpenHarmony driver subsystem to ada… 15 ├── core # Driver code for adapting to the LiteOS Cortex-M kernel 17 ├── platform # Platform driver interfaces and adaptation code build 18 └── test # Test code for the kernel driver framework
|
/drivers/peripheral/display/hdi_service/device/src/proxy/display_device_callback/ |
D | display_device_callback_stub.cpp | 19 … uint32_t code, OHOS::MessageParcel &data, OHOS::MessageParcel &reply, OHOS::MessageOption &option) in OnRemoteRequest() argument 22 DISPLAY_LOG("OnRemoteRequest receive code = %{public}u", code); in OnRemoteRequest() 23 switch (code) { in OnRemoteRequest()
|
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/ |
D | bluetooth_a2dp_audio_src_observer_stub.cpp | 40 uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) in OnRemoteRequest() argument 42 …HDF_LOGI("BluetoothA2dpAudioSrcObserverStub::OnRemoteRequest, cmd=%{public}d, flags= %d", code, op… in OnRemoteRequest() 49 auto itFunc = funcMap_.find(code); in OnRemoteRequest() 57 return IPCObjectStub::OnRemoteRequest(code, data, reply, option); in OnRemoteRequest()
|
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/ |
D | index.js | 53 function myKey(type, code) { argument 54 NapiLog.logError(type + code); 55 MainEditor.gi().onKey(code);
|
/drivers/external_device_manager/services/zidl/src/ |
D | driver_ext_mgr_callback_stub.cpp | 22 uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) in OnRemoteRequest() argument 24 EDM_LOGD(MODULE_DEV_MGR, "cmd:%u, flags:%d", code, option.GetFlags()); in OnRemoteRequest() 30 switch (code) { in OnRemoteRequest() 38 return IPCObjectStub::OnRemoteRequest(code, data, reply, option); in OnRemoteRequest()
|