Home
last modified time | relevance | path

Searched refs:param (Results 1 – 25 of 448) sorted by relevance

12345678910>>...18

/drivers/peripheral/codec/test/demo/idl/include/
Dcodec_utils.h27 int32_t InitParam(T &param) in InitParam() argument
29 auto ret = memset_s(&param, sizeof(param), 0x0, sizeof(param)); in InitParam()
34 param.nSize = sizeof(param); in InitParam()
35 param.nVersion.s.nVersionMajor = 1; // mVersion.s.nVersionMajor; in InitParam()
40 int32_t InitParamInOhos(T &param) in InitParamInOhos() argument
42 auto ret = memset_s(&param, sizeof(param), 0x0, sizeof(param)); in InitParamInOhos()
47 param.size = sizeof(param); in InitParamInOhos()
48 param.version.s.nVersionMajor = 1; // mVersion.s.nVersionMajor; in InitParamInOhos()
53 void ObjectToVector(T &param, std::vector<int8_t> &vec) in ObjectToVector() argument
56 int8_t *paramPointer = (int8_t *)&param; in ObjectToVector()
[all …]
/drivers/hdf_core/framework/support/platform/src/hdmi/
Dhdmi_dfm.c42 void HdmiDfmFillParam(struct HdmiDfmParam *param, const struct HdmiVideoDefInfo *videoInfo, in HdmiDfmFillParam() argument
45 if (param == NULL || videoInfo == NULL || audioAttr == NULL) { in HdmiDfmFillParam()
48 param->hactive = videoInfo->hactive; in HdmiDfmFillParam()
49 param->vactive = videoInfo->vactive; in HdmiDfmFillParam()
50 param->hblank = videoInfo->hblank; in HdmiDfmFillParam()
51 param->vblank = videoInfo->vblank; in HdmiDfmFillParam()
52 param->hsync = videoInfo->hsync; in HdmiDfmFillParam()
53 param->hback = videoInfo->hback; in HdmiDfmFillParam()
54 param->hfront = videoInfo->hfront; in HdmiDfmFillParam()
55 param->vsync = videoInfo->vsync; in HdmiDfmFillParam()
[all …]
/drivers/peripheral/codec/hal/passthrough/adapter/src/
Dcomponent_common.cpp359 OMX_PARAM_PORTDEFINITIONTYPE *param = reinterpret_cast<OMX_PARAM_PORTDEFINITIONTYPE *>(paramIn); in SplitParamGettingPortDefinitionVideo() local
362 if (param->nPortIndex == INPUT_PORTINDEX) { in SplitParamGettingPortDefinitionVideo()
364 } else if (param->nPortIndex == OUTPUT_PORTINDEX) { in SplitParamGettingPortDefinitionVideo()
384 OMX_PARAM_PORTDEFINITIONTYPE *param = reinterpret_cast<OMX_PARAM_PORTDEFINITIONTYPE *>(paramIn); in SplitParamSettingPortDefinitionVideo() local
388 paramOut[index].val = reinterpret_cast<void *>(&(param->nBufferSize)); in SplitParamSettingPortDefinitionVideo()
389 paramOut[index].size = sizeof(param->nBufferSize); in SplitParamSettingPortDefinitionVideo()
392 param->format.video.eCompressionFormat = in SplitParamSettingPortDefinitionVideo()
393 …static_cast<OMX_VIDEO_CODINGTYPE>(ConvertVideoCodingTypeToMimeType(param->format.video.eCompressio… in SplitParamSettingPortDefinitionVideo()
394 paramOut[index].val = reinterpret_cast<void *>(&(param->format.video.eCompressionFormat)); in SplitParamSettingPortDefinitionVideo()
395 paramOut[index].size = sizeof(param->format.video.eCompressionFormat); in SplitParamSettingPortDefinitionVideo()
[all …]
/drivers/peripheral/codec/test/unittest/idl_omx/
Dcodec_function_utils.h87 void InitParam(T &param) in InitParam() argument
89 memset_s(&param, sizeof(param), 0x0, sizeof(param)); in InitParam()
90 param.nSize = sizeof(param); in InitParam()
91 param.nVersion.nVersion = 1; in InitParam()
95 void InitExtParam(T &param) in InitExtParam() argument
97 memset_s(&param, sizeof(param), 0x0, sizeof(param)); in InitExtParam()
98 param.size = sizeof(param); in InitExtParam()
99 param.version.nVersion = 1; in InitExtParam()
103 void ObjectToVector(T &param, std::vector<int8_t> &vec) in ObjectToVector() argument
105 int8_t *paramPointer = reinterpret_cast<int8_t *>(&param); in ObjectToVector()
[all …]
Dcodec_hdi_omx_enc_test.cpp163 OMX_VIDEO_PARAM_PORTFORMATTYPE param; variable
164 func_->InitParam(param);
165 param.nPortIndex = inputIndex;
166 param.eCompressionFormat = OMX_VIDEO_CodingAVC;
168 func_->ObjectToVector(param, inParam);
178 OMX_VIDEO_PARAM_PORTFORMATTYPE param; variable
179 int32_t ret = memset_s(&param, sizeof(param), 0, sizeof(param));
181 param.nPortIndex = inputIndex;
182 param.eCompressionFormat = OMX_VIDEO_CodingAVC;
184 func_->ObjectToVector(param, inParam);
[all …]
/drivers/peripheral/codec/test/unittest/hdi_omx/
Dcodec_hdi_omx_test.cpp98 void InitParam(T &param) in InitParam() argument
100 int32_t ret = memset_s(&param, sizeof(param), 0x0, sizeof(param)); in InitParam()
102 param.nSize = sizeof(param); in InitParam()
103 param.nVersion = version_; in InitParam()
107 void InitExtParam(T &param) in InitExtParam() argument
109 int32_t ret = memset_s(&param, sizeof(param), 0x0, sizeof(param)); in InitExtParam()
111 param.size = sizeof(param); in InitExtParam()
112 param.version = version_; in InitExtParam()
351 OMX_VIDEO_PARAM_PORTFORMATTYPE param; variable
352 InitParam(param);
[all …]
/drivers/interface/user_auth/v1_2/
DIUserAuthInterface.idl58 * @param info Indicates executor registration information. See {@link ExecutorRegisterInfo}.
59 * @param index Indicates the executor index under the authentication framework.
60 * @param publicKey Indicates the public key of the authentication framework.
61 * @param templateIds Indicates template IDs enrolled by the executors.
71 * @param index Indicates the executor index under the authentication framework.
80 * @param userId Indicates the user ID.
81 … * @param challenge Indicates the random number, which is used to generate an authentication token.
90 * @param userId Indicates the user ID.
100 * @param userId Indicates the user ID.
101 * @param authToken Indicates the authentication token of the user password.
[all …]
/drivers/interface/ril/v1_0/
DIRil.idl61 * @param rilCallback Callback to set. For details, see {@link IRilCallback}.
74 * @param slotId Card slot ID.
75 * @param serialId Serial ID of a request.
76 … * @param emergencyInfoList Emergency call number list. For details, see {@link EmergencyInfoList}.
89 * @param slotId Card slot ID.
90 * @param serialId Serial ID of a request.
103 * @param slotId Card slot ID.
104 * @param serialId Serial ID of a request.
117 * @param slotId Card slot ID.
118 * @param serialId Serial ID of a request.
[all …]
/drivers/peripheral/user_auth/test/unittest/co_auth/
Dco_auth_test.cpp32 extern ResultCode MountExecutor(const ScheduleParam *param, CoAuthSchedule *coAuthSchedule);
207 ScheduleParam param = {}; variable
208 param.collectorSensorHint = collectorSensorHint;
210 EXPECT_EQ(MountExecutor(&param, &schedule), RESULT_UNKNOWN);
212 EXPECT_EQ(MountExecutor(&param, &schedule), RESULT_NOT_FOUND);
220 ScheduleParam param = {}; variable
221 param.collectorSensorHint = 0;
222 param.verifierSensorHint = 0;
224 EXPECT_EQ(MountExecutor(&param, &schedule), RESULT_NOT_FOUND);
225 param.verifierSensorHint = verifierSensorHint;
[all …]
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/
Dlexer.js261 lexFromOctalNumber(c, param) { argument
264 param.value += toStr(c);
266 param.v = parseInt(param.value, 8);
267 param.baseSystem = 8;
270 lexFromHexNumber(c, param) { argument
278 param.value += toStr(c);
281 param.v = parseInt(param.value, 16);
282 param.baseSystem = 16;
285 lexFromBinaryNumber(c, param) { argument
291 param.value += toStr(c);
[all …]
/drivers/interface/ril/v1_1/
DIRil.idl61 * @param rilCallback Callback to set. For details, see {@link IRilCallback}.
74 * @param slotId Card slot ID.
75 * @param serialId Serial ID of a request.
76 … * @param emergencyInfoList Emergency call number list. For details, see {@link EmergencyInfoList}.
89 * @param slotId Card slot ID.
90 * @param serialId Serial ID of a request.
103 * @param slotId Card slot ID.
104 * @param serialId Serial ID of a request.
117 * @param slotId Card slot ID.
118 * @param serialId Serial ID of a request.
[all …]
/drivers/peripheral/usb/test/fuzztest/usbsetportrole_fuzzer/
Dusbsetportrole_fuzzer.cpp34 Parameters param; in UsbSetPortRoleFuzzTest() local
35 if (memcpy_s((void *)&param, sizeof(param), data, sizeof(param)) != EOK) { in UsbSetPortRoleFuzzTest()
40 int32_t ret = usbInterface->SetPortRole(param.portId, param.powerRole, param.dataRole); in UsbSetPortRoleFuzzTest()
/drivers/interface/wlan/wpa/v1_0/
DIWpaCallback.idl63 * @param disconnectParam Indicates the paramerter of Disconnect
64 * @param ifName Indicates the NIC name.
75 * @param disconnectParam Indicates the paramerter of Connect
76 * @param ifName Indicates the NIC name.
87 * @param disconnectParam Indicates the paramerter of BssidChanged
88 * @param ifName Indicates the NIC name.
99 * @param disconnectParam Indicates the paramerter of BssidChanged
100 * @param ifName Indicates the NIC name.
111 * @param disconnectParam Indicates the paramerter of TempDisabled
112 * @param ifName Indicates the NIC name.
[all …]
DIWpaInterface.idl86 * @param ifName indicates the interface that needs to be added(such as: wlan0 or wlan2).
87 …* @param confName indicates the config file(such as: /data/service/el1/public/wifi/wpa_supplicant/…
100 * @param ifName indicates the interface that needs to be removed(such as: wlan0 or wlan2).
113 * @param ifName Indicates the NIC name.
126 * @param ifName Indicates the NIC name.
127 * @param resultBuf Indicates Scan Result obtained.
140 * @param ifName Indicates the NIC name.
141 * @param networkId Indicates the network ID added.
154 * @param ifName Indicates the NIC name.
155 * @param networkId Indicates the network ID Remove.
[all …]
/drivers/peripheral/user_auth/test/unittest/idm_test/
Duser_idm_funcs_test.cpp42 extern CoAuthSchedule *GenerateIdmSchedule(const PermissionCheckParam *param);
68 PermissionCheckParam param = {}; variable
70 param.executorSensorHint = executorSensorHint;
71 EXPECT_EQ(GenerateIdmSchedule(&param), nullptr);
84 PermissionCheckParam param = {}; variable
85 param.authType = PIN_AUTH;
86 param.executorSensorHint = executorSensorHint;
87 EXPECT_EQ(GenerateIdmSchedule(&param), nullptr);
93 PermissionCheckParam param = {}; variable
94 EXPECT_EQ(CheckEnrollPermission(param, nullptr), RESULT_BAD_PARAM);
[all …]
/drivers/interface/user_auth/v2_0/
DIUserAuthInterface.idl54 * @param deviceUdid Indicates the device udid.
66 * @param info Indicates executor registration information. See {@link ExecutorRegisterInfo}.
67 * @param index Indicates the executor index under the authentication framework.
68 * @param publicKey Indicates the public key of the authentication framework.
69 * @param templateIds Indicates template IDs enrolled by the executors.
82 * @param index Indicates the executor index under the authentication framework.
94 * @param userId Indicates the user ID.
95 … * @param challenge Indicates the random number, which is used to generate an authentication token.
107 * @param userId Indicates the user ID.
119 * @param userId Indicates the user ID.
[all …]
/drivers/peripheral/codec/test/demo/v2.0/src/
Dcodec_hdi_decode.cpp144 OMX_PARAM_PORTDEFINITIONTYPE param; in ConfigPortDefine() local
145 InitParam(param); in ConfigPortDefine()
146 param.nPortIndex = static_cast<uint32_t>(PortIndex::PORT_INDEX_INPUT); in ConfigPortDefine()
148 …arameter(client_, OMX_IndexParamPortDefinition, reinterpret_cast<int8_t *>(&param), sizeof(param)); in ConfigPortDefine()
154 param.format.video.eCompressionFormat, param.format.video.eColorFormat); in ConfigPortDefine()
155 param.format.video.nFrameWidth = width_; in ConfigPortDefine()
156 param.format.video.nFrameHeight = height_; in ConfigPortDefine()
157 param.format.video.nStride = stride_; in ConfigPortDefine()
158 param.format.video.nSliceHeight = height_; in ConfigPortDefine()
160 …arameter(client_, OMX_IndexParamPortDefinition, reinterpret_cast<int8_t *>(&param), sizeof(param)); in ConfigPortDefine()
[all …]
Dcodec_hdi_encode.cpp169 SupportBufferType param; in CheckAndUseBufferHandle() local
170 InitParamInOhos(param); in CheckAndUseBufferHandle()
171 param.portIndex = static_cast<uint32_t>(PortIndex::PORT_INDEX_OUTPUT); in CheckAndUseBufferHandle()
173 …client_->GetParameter(client_, OMX_IndexParamSupportBufferType, reinterpret_cast<int8_t *>(&param), in CheckAndUseBufferHandle()
174 sizeof(param)); in CheckAndUseBufferHandle()
177 err, param.bufferTypes); in CheckAndUseBufferHandle()
181 InitParamInOhos(param); in CheckAndUseBufferHandle()
182 param.portIndex = static_cast<uint32_t>(PortIndex::PORT_INDEX_INPUT); in CheckAndUseBufferHandle()
183 …client_->GetParameter(client_, OMX_IndexParamSupportBufferType, reinterpret_cast<int8_t *>(&param), in CheckAndUseBufferHandle()
184 sizeof(param)); in CheckAndUseBufferHandle()
[all …]
/drivers/peripheral/codec/test/demo/adapter/src/
Dcodec_hdi_adapter_encode.cpp225 OMX_PARAM_PORTDEFINITIONTYPE param; in UseBufferOnPort() local
226 InitParam(param); in UseBufferOnPort()
227 param.nPortIndex = static_cast<uint32_t>(portIndex); in UseBufferOnPort()
229 reinterpret_cast<int8_t *>(&param), sizeof(param)); in UseBufferOnPort()
236 bufferSize = param.nBufferSize; in UseBufferOnPort()
237 bufferCount = param.nBufferCountActual; in UseBufferOnPort()
238 portEnable = param.bEnabled; in UseBufferOnPort()
618 PassthroughParam param; in ConfigMppPassthrough() local
619 int32_t ret = memset_s(&param, sizeof(PassthroughParam), 0, sizeof(PassthroughParam)); in ConfigMppPassthrough()
625 param.key = KEY_CODEC_TYPE; in ConfigMppPassthrough()
[all …]
/drivers/peripheral/codec/test/demo/adapter/include/
Dcodec_hdi_adapter_decode.h82 inline void InitParam(T &param) in InitParam() argument
84 int32_t ret = memset_s(&param, sizeof(param), 0x0, sizeof(param)); in InitParam()
89 param.nSize = sizeof(param); in InitParam()
90 param.nVersion.s.nVersionMajor = 1; // mVersion.s.nVersionMajor; in InitParam()
93 inline void InitParamInOhos(T &param) in InitParamInOhos() argument
95 int32_t ret = memset_s(&param, sizeof(param), 0x0, sizeof(param)); in InitParamInOhos()
100 param.size = sizeof(param); in InitParamInOhos()
101 param.version.s.nVersionMajor = 1; // mVersion.s.nVersionMajor; in InitParamInOhos()
Dcodec_hdi_adapter_encode.h88 inline void InitParam(T &param) in InitParam() argument
90 int32_t ret = memset_s(&param, sizeof(param), 0x0, sizeof(param)); in InitParam()
95 param.nSize = sizeof(param); in InitParam()
96 param.nVersion.s.nVersionMajor = 1; in InitParam()
99 inline void InitParamInOhos(T &param) in InitParamInOhos() argument
101 int32_t ret = memset_s(&param, sizeof(param), 0x0, sizeof(param)); in InitParamInOhos()
106 param.size = sizeof(param); in InitParamInOhos()
107 param.version.s.nVersionMajor = 1; // mVersion.s.nVersionMajor; in InitParamInOhos()
/drivers/peripheral/user_auth/hdi_service/coauth/src/
Dcoauth.c252 IAM_STATIC ResultCode MountExecutor(const ScheduleParam *param, CoAuthSchedule *coAuthSchedule) in MountExecutor() argument
255 SetExecutorConditionAuthType(&condition, param->authType); in MountExecutor()
256 …if (param->collectorSensorHint != INVALID_SENSOR_HINT || param->verifierSensorHint != INVALID_SENS… in MountExecutor()
257 SetExecutorConditionExecutorMatcher(&condition, param->executorMatcher); in MountExecutor()
265 Uint8Array localUdidArray = { .data = (uint8_t *)(param->localUdid), .len = UDID_LEN }; in MountExecutor()
266 Uint8Array collectorUdidArray = { .data = (uint8_t *)(param->collectorUdid), .len = UDID_LEN }; in MountExecutor()
268 …LOG_INFO("collectorSensorHint: %{public}u, verifierSensorHint: %{public}u", param->collectorSensor… in MountExecutor()
269 param->verifierSensorHint); in MountExecutor()
270 …if ((param->collectorSensorHint == INVALID_SENSOR_HINT || param->verifierSensorHint == INVALID_SEN… in MountExecutor()
271 param->collectorSensorHint == param->verifierSensorHint) && in MountExecutor()
[all …]
/drivers/peripheral/codec/test/demo/v2.0/include/
Dcodec_hdi_decode.h92 inline void InitParam(T &param) in InitParam() argument
94 int32_t ret = memset_s(&param, sizeof(param), 0x0, sizeof(param)); in InitParam()
99 param.nSize = sizeof(param); in InitParam()
100 param.nVersion.s.nVersionMajor = 1; // mVersion.s.nVersionMajor; in InitParam()
103 inline void InitParamInOhos(T &param) in InitParamInOhos() argument
105 int32_t ret = memset_s(&param, sizeof(param), 0x0, sizeof(param)); in InitParamInOhos()
110 param.size = sizeof(param); in InitParamInOhos()
111 param.version.s.nVersionMajor = 1; // mVersion.s.nVersionMajor; in InitParamInOhos()
Dcodec_hdi_encode.h83 inline void InitParam(T &param) in InitParam() argument
85 int32_t ret = memset_s(&param, sizeof(param), 0x0, sizeof(param)); in InitParam()
90 param.nSize = sizeof(param); in InitParam()
91 param.nVersion.s.nVersionMajor = 1; in InitParam()
94 inline void InitParamInOhos(T &param) in InitParamInOhos() argument
96 int32_t ret = memset_s(&param, sizeof(param), 0x0, sizeof(param)); in InitParamInOhos()
101 param.size = sizeof(param); in InitParamInOhos()
102 param.version.s.nVersionMajor = 1; // mVersion.s.nVersionMajor; in InitParamInOhos()
/drivers/interface/user_auth/v1_0/
DIUserAuthInterface.idl58 * @param info Indicates executor registration information. See {@link ExecutorRegisterInfo}.
59 * @param index Indicates the executor index under the authentication framework.
60 * @param publicKey Indicates the public key of the authentication framework.
61 * @param templateIds Indicates template IDs enrolled by the executors.
71 * @param index Indicates the executor index under the authentication framework.
80 * @param userId Indicates the user ID.
81 … * @param challenge Indicates the random number, which is used to generate an authentication token.
90 * @param userId Indicates the user ID.
100 * @param userId Indicates the user ID.
101 * @param authToken Indicates the authentication token of the user password.
[all …]

12345678910>>...18