/drivers/peripheral/pin_auth/hdi_service/database/src/ |
H A D | pin_db_ops.c | 47 static ResultCode GetVersion(uint8_t *data, uint32_t dataLen, uint32_t *version) in GetVersion() argument 50 *version = DB_VERSION_CURRENT; in GetVersion() 51 LOG_INFO("db file not exist current version:%{public}u.", DB_VERSION_CURRENT); in GetVersion() 57 if (GetDataFromBuf(&temp, &tempLen, (uint8_t *)(version), sizeof(uint32_t)) != RESULT_SUCCESS) { in GetVersion() 58 LOG_ERROR("read version fail."); in GetVersion() 62 LOG_INFO("read version:%{public}u, current version:%{public}u.", *version, DB_VERSION_CURRENT); in GetVersion() 68 uint32_t version = DB_VERSION_CURRENT; in LoadAndUpdatePinDb() local 69 if (GetVersion(data, dataLen, &version) ! in LoadAndUpdatePinDb() [all...] |
H A D | pin_db_ops_v0.c | 76 if (GetDataFromBuf(&temp, &tempLen, (uint8_t *)(&(pinDbV0->version)), in UnpackPinDbV0() 77 sizeof(pinDbV0->version)) != RESULT_SUCCESS) { in UnpackPinDbV0() 78 LOG_ERROR("read version fail."); in UnpackPinDbV0() 81 if (pinDbV0->version != DB_VERSION_0) { in UnpackPinDbV0() 82 LOG_ERROR("read version %{public}u.", pinDbV0->version); in UnpackPinDbV0()
|
/drivers/peripheral/codec/interfaces/include/ |
H A D | codec_omx_ext.h | 126 union OMX_VERSIONTYPE version; /** Component version */ member 136 union OMX_VERSIONTYPE version; /** Component version */ member 146 union OMX_VERSIONTYPE version; /** Component version */ member 156 union OMX_VERSIONTYPE version; /** Component version */ member 169 union OMX_VERSIONTYPE version; /** Component version */ member 188 union OMX_VERSIONTYPE version; /** Component version */ global() member 197 union OMX_VERSIONTYPE version; /** Component version */ global() member 206 union OMX_VERSIONTYPE version; /** Component version */ global() member 314 union OMX_VERSIONTYPE version; /** Component version */ global() member 328 union OMX_VERSIONTYPE version; /** Component version */ global() member 345 union OMX_VERSIONTYPE version; /** Component version */ global() member 365 union OMX_VERSIONTYPE version; /** Component version */ global() member 382 union OMX_VERSIONTYPE version; /** Component version */ global() member 389 union OMX_VERSIONTYPE version; /** Component version */ global() member 395 union OMX_VERSIONTYPE version; /** Component version */ global() member [all...] |
H A D | codec_component_type.h | 185 union OMX_VERSIONTYPE version; /** Component version. */ member 206 union OMX_VERSIONTYPE compVersion; /** The version of the component. For details, see {@link OMX_VERSIONTYPE}. */ 207 union OMX_VERSIONTYPE specVersion; /** The spec version of the component. */
|
/drivers/hdf_core/framework/core/host/test/unittest/ |
H A D | hdf_vdi_test.cpp | 53 uint32_t version = HdfGetVdiVersion(vdi); in HWTEST_F() local 54 ASSERT_TRUE(version == 1); in HWTEST_F() 82 uint32_t version = HdfGetVdiVersion(vdi); in HWTEST_F() local 83 ASSERT_TRUE(version == 1); in HWTEST_F() 130 uint32_t version = HdfGetVdiVersion(vdi); in HWTEST_F() local 132 ASSERT_TRUE(version == HDF_INVALID_VERSION); in HWTEST_F() 149 uint32_t version = HdfGetVdiVersion(vdi); in HWTEST_F() local 150 ASSERT_TRUE(version == HDF_INVALID_VERSION); in HWTEST_F()
|
/drivers/peripheral/audio/test/unittest/common/manager/ |
H A D | audio_manager_common_test.cpp | 96 uint32_t version; in HWTEST_F() local 97 EXPECT_EQ(HDF_ERR_INVALID_OBJECT, g_manager->GetVersion(nullptr, &version, &version)); in HWTEST_F() 102 uint32_t version; in HWTEST_F() local 103 EXPECT_EQ(HDF_ERR_INVALID_PARAM, g_manager->GetVersion(g_manager, nullptr, &version)); in HWTEST_F() 108 uint32_t version; in HWTEST_F() local 109 EXPECT_EQ(HDF_ERR_INVALID_PARAM, g_manager->GetVersion(g_manager, &version, nullptr)); in HWTEST_F()
|
/drivers/peripheral/input/test/unittest/ddk/ |
H A D | hid_ddk_test.cpp | 82 .version = 1, in HWTEST_F() 102 .version = 1, in HWTEST_F() 143 .version = 1, in HWTEST_F()
|
/drivers/peripheral/user_auth/hdi_service/database/src/ |
H A D | global_config_file_manager.c | 107 uint32_t version = VERSION; in UpdateGlobalConfigFile() local 108 ResultCode ret = StreamWrite(parcel, &version, sizeof(uint32_t)); in UpdateGlobalConfigFile() 207 uint32_t version = 0; in ReadGlobalConfigInfo() local 208 ResultCode result = StreamRead(parcel, &index, &version, sizeof(uint32_t)); in ReadGlobalConfigInfo() 210 LOG_ERROR("read version failed"); in ReadGlobalConfigInfo()
|
/drivers/peripheral/motion/hdi_service/ |
H A D | motion_if_service.cpp | 45 uint32_t version = 0; in GetMotionVdiImpl() local 52 version = HdfGetVdiVersion(vdi_); in GetMotionVdiImpl() 53 if (version != 1) { in GetMotionVdiImpl() 54 HDF_LOGE("%{public}s get motion vdi version failed!", __func__); in GetMotionVdiImpl() 70 HDF_LOGE("%{public}s get motion vdi version failed!", __func__); in Init()
|
/drivers/peripheral/wlan/hdi_service/service_extend/service_extend_vdi/ |
H A D | wlan_extend_cmd.c | 41 uint32_t version = 0;
in InitWlanExtendVdiImpl() local 48 version = HdfGetVdiVersion(g_vdi);
in InitWlanExtendVdiImpl() 49 if (version != VDI_VERSION_ONE) {
in InitWlanExtendVdiImpl() 50 HDF_LOGE("%{public}s: get wlan extend vdi version failed", __func__);
in InitWlanExtendVdiImpl()
|
/drivers/peripheral/audio/interfaces/effect/v1_0/ |
H A D | effect_factory.h | 41 * @version 1.0
44 int32_t version; /**< version tag to match the corresponding version of the APIs and the library */
member 60 * @version 1.0
74 * @version 1.0
88 * @version 1.0
|
/drivers/peripheral/sensor/interfaces/v1_0/ |
H A D | isensor_callback_vdi.h | 33 int32_t version; member
|
/drivers/peripheral/pin_auth/hdi_service/database/inc/ |
H A D | pin_db_ops_v0.h | 45 uint32_t version; member
|
/drivers/peripheral/input/test/benchmarktest/ |
H A D | hid_ddk_benchmark_test.cpp | 88 .version = 1, in BENCHMARK_F() 121 .version = 1, in BENCHMARK_F()
|
/drivers/peripheral/light/hdi_service/ |
H A D | light_if_service.cpp | 45 uint32_t version = 0;
in GetLightVdiImpl() local 52 version = HdfGetVdiVersion(vdi_);
in GetLightVdiImpl() 53 if (version != 1) {
in GetLightVdiImpl() 54 HDF_LOGE("%{public}s: get light vdi version failed", __func__);
in GetLightVdiImpl()
|
/drivers/hdf_core/framework/model/input/driver/touchscreen/ |
H A D | touch_ft5x06.c | 47 HDF_LOGI("%s: version = EDT_M06", __func__); in Ft5x06_EP00() 68 HDF_LOGI("%s: version = EDT_M12;", __func__); in Ft5x06_EP01() 105 HDF_LOGI("%s: version = GENERIC_FT;", __func__); in Ft5x06_Identify() 123 HDF_LOGI("%s: version = EDT_M09;", __func__); in Ft5x06_Identify() 127 HDF_LOGI("%s: version = EV_FT;", __func__); in Ft5x06_Identify() 189 static int32_t SelectDataPin(int32_t version, int32_t *offset, int32_t *tpLen, int32_t *crcLen) in SelectDataPin() argument 191 switch (version) { in SelectDataPin() 210 static int32_t ParsePointData(ChipDevice *device, FrameData *frame, uint8_t *buf, uint8_t pointNum, int32_t version) in ParsePointData() argument 220 if (SelectDataPin(version, &offset, &tpLen, &crcLen) != HDF_SUCCESS) { in ParsePointData() 221 HDF_LOGE("%s: SelectDataPin version in ParsePointData() [all...] |
/drivers/peripheral/codec/test/unittest/idl_omx/ |
H A D | codec_function_utils.h | 82 explicit FunctionUtil(CodecVersionType version);
99 param.version.nVersion = 1;
in InitExtParam()
|
/drivers/peripheral/sensor/hdi_service/ |
H A D | sensor_callback_vdi.cpp | 40 event.version = eventVdi.version; in OnDataEventVdi()
|
/drivers/hdf_core/framework/model/sensor/driver/include/ |
H A D | sensor_device_type.h | 78 * The basic description of the sensor includes its vendor, version, type, ID, 84 char firmwareVersion[SENSOR_INFO_VERSION_MAX_LEN]; /**< Sensor firmware version */ 85 char hardwareVersion[SENSOR_INFO_VERSION_MAX_LEN]; /**< Sensor hardware version */ 99 int32_t version; /**< Sensor algorithm version */ member
|
/drivers/peripheral/sensor/hal/include/ |
H A D | sensor_channel.h | 59 int32_t version; member
|
/drivers/peripheral/user_auth/hdi_service/common/inc/ |
H A D | user_sign_centre.h | 55 uint32_t version; member
|
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/hdi_operate/ |
H A D | hdi_add_handler.py | 105 version = "v" + str(self.args.version_number).replace(".", "_")
107 return root, version, interface_converter, interface_name
114 version = "v" + str(self.args.version_number).replace(".", "_")
120 return root, version, peripheral_converter, peripheral_name, board, vendor
137 root, version, interface_converter, interface_name = \
149 inter_name_version = os.path.join(interface_folder_path, version)
189 root, version, peripheral_converter, peripheral_name, board, vendor = \
217 root, out_path, version, file_name)
|
/drivers/peripheral/codec/test/unittest/hdi_omx/ |
H A D | codec_hdi_omx_test.cpp | 57 static void InitCodecBuffer(OmxCodecBuffer& buffer, CodecBufferType type, OMX_VERSIONTYPE& version) in InitCodecBuffer() argument 61 buffer.version = version; in InitCodecBuffer() 112 param.version = version_; in InitExtParam() 119 omxBuffer->version = version_; in InitCodecBufferWithAshMem() 216 omxBuffer->version = version_; in InitBufferHandle() 670 omxBuffer->version = version_; in HWTEST_F() 689 omxBuffer->version = version_; in HWTEST_F() 708 omxBuffer->version = version_; in HWTEST_F() 727 omxBuffer->version in HWTEST_F() [all...] |
/drivers/hdf_core/framework/model/input/driver/ |
H A D | hdf_hid_adapter.h | 78 uint16_t version;
member
|
/drivers/peripheral/codec/test/demo/idl/include/ |
H A D | codec_utils.h | 48 param.version.s.nVersionMajor = 1; // mVersion.s.nVersionMajor;
in InitParamInOhos()
|