/drivers/peripheral/codec/test/demo/idl/include/ |
D | codec_utils.h | 27 int32_t InitParam(T ¶m) in InitParam() argument 29 auto ret = memset_s(¶m, 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 ¶m) in InitParamInOhos() argument 42 auto ret = memset_s(¶m, 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 ¶m, std::vector<int8_t> &vec) in ObjectToVector() argument 56 int8_t *paramPointer = (int8_t *)¶m; in ObjectToVector() [all …]
|
/drivers/hdf_core/framework/support/platform/src/hdmi/ |
D | hdmi_dfm.c | 42 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/ |
D | component_common.cpp | 359 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 = (void *)&(param->nBufferSize); in SplitParamSettingPortDefinitionVideo() 389 paramOut[index].size = sizeof(param->nBufferSize); in SplitParamSettingPortDefinitionVideo() 392 param->format.video.eCompressionFormat = in SplitParamSettingPortDefinitionVideo() 393 … (OMX_VIDEO_CODINGTYPE)ConvertVideoCodingTypeToMimeType(param->format.video.eCompressionFormat); in SplitParamSettingPortDefinitionVideo() 394 paramOut[index].val = (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/ |
D | codec_function_utils.h | 87 void InitParam(T ¶m) in InitParam() argument 89 memset_s(¶m, 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 ¶m) in InitExtParam() argument 97 memset_s(¶m, 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 ¶m, std::vector<int8_t> &vec) in ObjectToVector() argument 105 int8_t *paramPointer = reinterpret_cast<int8_t *>(¶m); in ObjectToVector() [all …]
|
D | codec_hdi_omx_enc_test.cpp | 160 OMX_VIDEO_PARAM_PORTFORMATTYPE param; variable 161 func_->InitParam(param); 162 param.nPortIndex = inputIndex; 163 param.eCompressionFormat = OMX_VIDEO_CodingAVC; 165 func_->ObjectToVector(param, inParam); 175 OMX_VIDEO_PARAM_PORTFORMATTYPE param; variable 176 int32_t ret = memset_s(¶m, sizeof(param), 0, sizeof(param)); 178 param.nPortIndex = inputIndex; 179 param.eCompressionFormat = OMX_VIDEO_CodingAVC; 181 func_->ObjectToVector(param, inParam); [all …]
|
/drivers/peripheral/user_auth/test/unittest/co_auth/ |
D | co_auth_test.cpp | 32 extern ResultCode MountExecutor(const ScheduleParam *param, CoAuthSchedule *coAuthSchedule); 196 ScheduleParam param = {}; variable 197 param.collectorSensorHint = 1012; 199 EXPECT_EQ(MountExecutor(¶m, &schedule), RESULT_UNKNOWN); 201 EXPECT_EQ(MountExecutor(¶m, &schedule), RESULT_NOT_FOUND); 208 ScheduleParam param = {}; variable 209 param.collectorSensorHint = 0; 210 param.verifierSensorHint = 0; 212 EXPECT_EQ(MountExecutor(¶m, &schedule), RESULT_NOT_FOUND); 213 param.verifierSensorHint = 1024; [all …]
|
/drivers/peripheral/codec/test/unittest/hdi_omx/ |
D | codec_hdi_omx_test.cpp | 98 void InitParam(T ¶m) in InitParam() argument 100 int32_t ret = memset_s(¶m, sizeof(param), 0x0, sizeof(param)); in InitParam() 102 param.nSize = sizeof(param); in InitParam() 103 param.nVersion = version_; in InitParam() 107 void InitExtParam(T ¶m) in InitExtParam() argument 109 int32_t ret = memset_s(¶m, sizeof(param), 0x0, sizeof(param)); in InitExtParam() 111 param.size = sizeof(param); in InitExtParam() 112 param.version = version_; in InitExtParam() 349 OMX_VIDEO_PARAM_PORTFORMATTYPE param; variable 350 InitParam(param); [all …]
|
/drivers/peripheral/user_auth/test/unittest/idm_test/ |
D | user_idm_funcs_test.cpp | 42 extern CoAuthSchedule *GenerateIdmSchedule(const PermissionCheckParam *param); 68 PermissionCheckParam param = {}; variable 69 param.executorSensorHint = 10; 70 EXPECT_EQ(GenerateIdmSchedule(¶m), nullptr); 82 PermissionCheckParam param = {}; variable 83 param.authType = 1; 84 param.executorSensorHint = 10; 85 EXPECT_EQ(GenerateIdmSchedule(¶m), nullptr); 91 PermissionCheckParam param = {}; variable 92 EXPECT_EQ(CheckEnrollPermission(param, nullptr), RESULT_BAD_PARAM); [all …]
|
/drivers/interface/ril/v1_0/ |
D | IRil.idl | 61 * @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/ |
D | usbsetportrole_fuzzer.cpp | 34 Parameters param; in UsbSetPortRoleFuzzTest() local 35 if (memcpy_s((void *)¶m, sizeof(param), data, sizeof(param)) != EOK) { in UsbSetPortRoleFuzzTest() 40 int32_t ret = usbInterface->SetPortRole(param.portId, param.powerRole, param.dataRole); in UsbSetPortRoleFuzzTest()
|
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/ |
D | lexer.js | 261 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/ |
D | IRil.idl | 61 * @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/codec/test/demo/adapter/include/ |
D | codec_hdi_adapter_decode.h | 82 inline void InitParam(T ¶m) in InitParam() argument 84 int32_t ret = memset_s(¶m, 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 ¶m) in InitParamInOhos() argument 95 int32_t ret = memset_s(¶m, 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()
|
D | codec_hdi_adapter_encode.h | 88 inline void InitParam(T ¶m) in InitParam() argument 90 int32_t ret = memset_s(¶m, 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 ¶m) in InitParamInOhos() argument 101 int32_t ret = memset_s(¶m, 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/codec/test/demo/v2.0/src/ |
D | codec_hdi_decode.cpp | 144 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 *>(¶m), 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 *>(¶m), sizeof(param)); in ConfigPortDefine() [all …]
|
D | codec_hdi_encode.cpp | 169 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 *>(¶m), 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 *>(¶m), in CheckAndUseBufferHandle() 184 sizeof(param)); in CheckAndUseBufferHandle() [all …]
|
/drivers/peripheral/codec/test/demo/adapter/src/ |
D | codec_hdi_adapter_encode.cpp | 225 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 *>(¶m), 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(¶m, sizeof(PassthroughParam), 0, sizeof(PassthroughParam)); in ConfigMppPassthrough() 625 param.key = KEY_CODEC_TYPE; in ConfigMppPassthrough() [all …]
|
/drivers/peripheral/user_auth/hdi_service/idm/src/ |
D | user_idm_funcs.c | 33 IAM_STATIC CoAuthSchedule *GenerateIdmSchedule(const PermissionCheckParam *param) in GenerateIdmSchedule() argument 36 scheduleParam.associateId.userId = param->userId; in GenerateIdmSchedule() 37 scheduleParam.authType = param->authType; in GenerateIdmSchedule() 39 scheduleParam.collectorSensorHint = param->executorSensorHint; in GenerateIdmSchedule() 50 if (QueryCredentialFunc(param->userId, param->authType, &credList) != RESULT_SUCCESS) { in GenerateIdmSchedule() 81 IAM_STATIC ResultCode GenerateCoAuthSchedule(PermissionCheckParam *param, bool isUpdate, uint64_t *… in GenerateCoAuthSchedule() argument 83 CoAuthSchedule *enrollSchedule = GenerateIdmSchedule(param); in GenerateCoAuthSchedule() 93 ret = AssociateCoauthSchedule(enrollSchedule->scheduleId, param->authType, isUpdate); in GenerateCoAuthSchedule() 106 ResultCode CheckEnrollPermission(PermissionCheckParam param, uint64_t *scheduleId) in CheckEnrollPermission() argument 112 if (!IsSessionValid(param.userId)) { in CheckEnrollPermission() [all …]
|
/drivers/peripheral/codec/test/demo/v2.0/include/ |
D | codec_hdi_encode.h | 83 inline void InitParam(T ¶m) in InitParam() argument 85 int32_t ret = memset_s(¶m, 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 ¶m) in InitParamInOhos() argument 96 int32_t ret = memset_s(¶m, 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()
|
D | codec_hdi_decode.h | 92 inline void InitParam(T ¶m) in InitParam() argument 94 int32_t ret = memset_s(¶m, 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 ¶m) in InitParamInOhos() argument 105 int32_t ret = memset_s(¶m, 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()
|
/drivers/interface/user_auth/v1_0/ |
D | IUserAuthInterface.idl | 58 * @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/peripheral/huks/test/unittest/ |
D | hdi_ihuks_api_compat_test.cpp | 99 struct HksParam param = {0}; variable 100 ASSERT_EQ(param.tag, 0); 101 ASSERT_EQ(param.boolParam, false); 102 ASSERT_EQ(param.int32Param, 0); 103 ASSERT_EQ(param.uint32Param, 0); 104 ASSERT_EQ(param.uint64Param, 0); 105 ASSERT_EQ(param.blob.data, nullptr); 106 ASSERT_EQ(param.blob.size, 0);
|
/drivers/hdf_core/framework/test/unittest/platform/common/ |
D | i3c_test.c | 35 int32_t (*func)(void *param); 147 static int32_t I3cTestSetUpAll(void *param) in I3cTestSetUpAll() argument 153 (void)param; in I3cTestSetUpAll() 176 static int32_t I3cTestTearDownAll(void *param) in I3cTestTearDownAll() argument 182 *((int32_t *)param) = 1; in I3cTestTearDownAll() 197 static int32_t I3cTestTransfer(void *param) in I3cTestTransfer() argument 205 *((int32_t *)param) = 1; in I3cTestTransfer() 212 *((int32_t *)param) = 1; in I3cTestTransfer() 220 *((int32_t *)param) = 1; in I3cTestTransfer() 228 *((int32_t *)param) = 1; in I3cTestTransfer() [all …]
|
/drivers/interface/usb/v1_0/ |
D | IUsbInterface.idl | 59 * @param dev Indicates the USB device address. 69 * @param dev Indicates the USB device address. 79 * @param dev Indicates the USB device address. 80 * @param descriptor Indicates the USB device descriptor. 90 * @param dev Indicates the USB device address. 91 * @param descId Indicates string descriptor ID. 92 * @param descriptor Indicates the configuration descriptor of the USB device. 102 * @param dev Indicates the USB device address. 103 * @param descId Indicates configuration descriptor ID. 104 * @param descriptor Indicates the configuration descriptor of the USB device. [all …]
|
/drivers/peripheral/codec/test/unittest/hdi_adapter/ |
D | codec_hdi_adapter_test.cpp | 64 void InitParam(T ¶m) in InitParam() argument 66 memset_s(¶m, sizeof(param), 0x0, sizeof(param)); in InitParam() 67 param.nSize = sizeof(param); in InitParam() 68 param.nVersion = g_version; in InitParam() 379 OMX_VIDEO_PARAM_PORTFORMATTYPE param; variable 380 InitParam(param); 381 param.nPortIndex = static_cast<uint32_t>(PortIndex::PORT_INDEX_INPUT); 382 param.eCompressionFormat = OMX_VIDEO_CodingAVC; 384 … g_component, OMX_IndexParamVideoPortFormat, reinterpret_cast<int8_t *>(¶m), sizeof(param)); 391 OMX_VIDEO_CONFIG_BITRATETYPE param; variable [all …]
|