Home
last modified time | relevance | path

Searched refs:values (Results 1 - 21 of 21) sorted by relevance

/drivers/peripheral/display/buffer/test/benchmarktest/
H A Ddisplay_buffer_benchmark_test.cpp86 std::vector<uint8_t> values(2880, 0); in BENCHMARK_F()
87 ret = g_gralloc->SetMetadata(*g_bufferHandle, key, values); in BENCHMARK_F()
104 std::vector<uint8_t> values(2880, 0); in BENCHMARK_F()
105 ret = g_gralloc->SetMetadata(*g_bufferHandle, key, values); in BENCHMARK_F()
126 std::vector<uint8_t> values(2880, 0); in BENCHMARK_F()
127 ret = g_gralloc->SetMetadata(*g_bufferHandle, key, values); in BENCHMARK_F()
146 std::vector<uint8_t> values(2880, 0); in BENCHMARK_F()
147 ret = g_gralloc->SetMetadata(*g_bufferHandle, key, values); in BENCHMARK_F()
/drivers/external_device_manager/services/native/driver_extension_manager/src/drivers_pkg_manager/
H A Dpkg_db_helper.cpp103 ValuesBucket values; in AddOrUpdatePkgInfo() local
105 values.Clear(); in AddOrUpdatePkgInfo()
106 values.PutString("driverUid", pkgInfo.driverUid); in AddOrUpdatePkgInfo()
107 values.PutLong("userId", pkgInfo.userId); in AddOrUpdatePkgInfo()
108 values.PutLong("appIndex", pkgInfo.appIndex); in AddOrUpdatePkgInfo()
109 values.PutString("bundleAbility", pkgInfo.bundleAbility); in AddOrUpdatePkgInfo()
110 values.PutString("bundleName", pkgInfo.bundleName); in AddOrUpdatePkgInfo()
111 values.PutString("driverName", pkgInfo.driverName); in AddOrUpdatePkgInfo()
112 values.PutString("driverInfo", pkgInfo.driverInfo); in AddOrUpdatePkgInfo()
113 ret = rightDatabase_->Insert(values); in AddOrUpdatePkgInfo()
185 ValuesBucket values; AddOrUpdateRightRecordEx() local
[all...]
H A Dpkg_database.cpp113 int32_t &changedRows, const OHOS::NativeRdb::ValuesBucket &values, const OHOS::NativeRdb::RdbPredicates &predicates) in Update()
119 int32_t ret = store_->Update(changedRows, values, predicates); in Update()
127 int32_t PkgDataBase::Update(int32_t &changedRows, const OHOS::NativeRdb::ValuesBucket &values, in Update() argument
134 int32_t ret = store_->Update(changedRows, PKG_TABLE_NAME, values, whereClause, whereArgs); in Update()
112 Update( int32_t &changedRows, const OHOS::NativeRdb::ValuesBucket &values, const OHOS::NativeRdb::RdbPredicates &predicates) Update() argument
/drivers/peripheral/pin_auth/hdi_service/common/src/
H A Dattribute.c59 Uint8Array *values[ATTRIBUTE_LEN]; member
283 Uint8Array *array = attribute->values[i]; in GetAttributeSerializedMsg()
312 DestroyUint8Array(&impl->values[i]); in FreeAttribute()
397 if (attributePri->values[attributeIndex] == NULL) { in GetAttributeLength()
401 *len = attributePri->values[attributeIndex]->len; in GetAttributeLength()
417 if (attribute->values[attributeIndex] == NULL) { in GetAttributeUint8Array()
422 if (attribute->values[attributeIndex]->data != NULL && attribute->values[attributeIndex]->len != 0) { in GetAttributeUint8Array()
423 errno_t memcpyRet = memcpy_s(retData->data, retData->len, attribute->values[attributeIndex]->data, in GetAttributeUint8Array()
424 attribute->values[attributeInde in GetAttributeUint8Array()
[all...]
/drivers/peripheral/display/buffer/test/fuzztest/metadata_fuzzer/
H A Dmetadata_fuzzer.cpp102 std::vector<uint8_t> values; in TestSetMetadata() local
104 values.push_back(GetData<uint8_t>() % ALPHA_VALUE_RANGE); in TestSetMetadata()
107 (void)g_bufferInterface->SetMetadata(handle, key, values); in TestSetMetadata()
113 std::vector<uint8_t> values = {}; in TestGetMetadata() local
114 (void)g_bufferInterface->GetMetadata(handle, key, values); in TestGetMetadata()
/drivers/peripheral/user_auth/hdi_service/utils/src/
H A Dattribute.c78 Uint8Array *values[ATTRIBUTE_LEN]; member
301 Uint8Array *array = attribute->values[i]; in GetAttributeSerializedMsg()
330 DestroyUint8Array(&impl->values[i]); in FreeAttribute()
417 if (attribute->values[attributeIndex] == NULL) { in GetAttributeUint8Array()
422 if (attribute->values[attributeIndex]->data != NULL && attribute->values[attributeIndex]->len != 0) { in GetAttributeUint8Array()
423 errno_t memcpyRet = memcpy_s(retData->data, retData->len, attribute->values[attributeIndex]->data, in GetAttributeUint8Array()
424 attribute->values[attributeIndex]->len); in GetAttributeUint8Array()
429 retData->len = attribute->values[attributeIndex]->len; in GetAttributeUint8Array()
445 DestroyUint8Array(&attribute->values[attributeInde in SetAttributeUint8Array()
[all...]
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/driver_add/liteos/
H A Dgn_file_add_config.py125 for k_name, values in macro_definition_dict.items():
126 if values.find(parent_path) == -1:
128 if values.startswith("drivers/hdf/framework") and head_path.strip():
130 elif source_path.strip() and not values.startswith("drivers/hdf/framework"):
133 for k_name, values in macro_definition_dict.items():
134 if values.find(parent_path) != -1:
/drivers/external_device_manager/services/native/driver_extension_manager/include/drivers_pkg_manager/
H A Dpkg_database.h52 int32_t Update(int32_t &changedRows, const OHOS::NativeRdb::ValuesBucket &values,
54 int32_t Update(int32_t &changedRows, const OHOS::NativeRdb::ValuesBucket &values, const std::string &whereClause,
/drivers/peripheral/codec/hal/src/
H A Dcodec_config_parser.c94 uint32_t *values = NULL; in GetMaskedConfig() local
104 values = (uint32_t *)OsalMemAlloc(sizeof(uint32_t) * count); in GetMaskedConfig()
105 if (values == NULL) { in GetMaskedConfig()
109 iface->GetUint32Array(node, attrName, values, count, 0); in GetMaskedConfig()
111 *mask |= values[index]; in GetMaskedConfig()
113 OsalMemFree(values); in GetMaskedConfig()
/drivers/hdf_core/framework/model/audio/core/include/
H A Daudio_control.h42 uint32_t count; /* count of values */
62 const uint32_t *values; member
H A Daudio_parse.h85 uint32_t values; member
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/
H A Dhdf_set_handler.py29 def __call__(self, parser, namespace, values, option_string=None):
30 setattr(namespace, self.dest, " ".join(values))
/drivers/peripheral/display/composer/vdi_base/include/
H A Ddrm_device.h52 std::vector<uint64_t> values; member
/drivers/peripheral/codec/hal/idl_service/src/
H A Dcodec_component_config.cpp313 std::unique_ptr<uint32_t[]> values = std::make_unique<uint32_t[]>(count); in GetMaskedConfig() local
314 iface.GetUint32Array(&node, attrName.c_str(), values.get(), count, 0); in GetMaskedConfig()
316 mask |= values[index]; in GetMaskedConfig()
/drivers/peripheral/display/buffer/test/unittest/
H A Ddisplay_buffer_ut.cpp403 std::vector<uint8_t> values = {1, 2, 3}; in MetadataTest() local
406 ret = displayBuffer_->SetMetadata(handle, key, values); in MetadataTest()
411 EXPECT_TRUE(rets == values); in MetadataTest()
/drivers/hdf_core/framework/model/audio/core/src/
H A Daudio_core.c539 if (enumCtrl->values != NULL) { in AudioCodecMuxRegUpdate()
540 val[0] = enumCtrl->values[value[0]]; in AudioCodecMuxRegUpdate()
541 val[1] = enumCtrl->values[value[1]]; in AudioCodecMuxRegUpdate()
998 if (enumCtrl->values != NULL) { in AudioCodecSetEnumRegUpdate()
999 setVal[0] = enumCtrl->values[value[0]]; in AudioCodecSetEnumRegUpdate()
1000 setVal[1] = enumCtrl->values[value[1]]; in AudioCodecSetEnumRegUpdate()
H A Daudio_parse.c260 group->regEnumCfgItem[index].values = buf[step + AUDIO_ENUM_REG_CFG_VALUE_INDEX]; in ParseAudioEnumRegItem()
/drivers/peripheral/camera/test/hdi/v1_2/src/
H A Dcamera_stream_uttest_v1_2.cpp290 // cover OHOS_CONTROL_PREPARE_ZOOM and its values in HWTEST_F()
301 // cover OHOS_CONTROL_SMOOTH_ZOOM_RATIOS, values type: uint32_t array in HWTEST_F()
302 uint32_t values[] = { 10, 300, 20, 400, 30, 500 }; in HWTEST_F() local
304 meta->addEntry(OHOS_CONTROL_SMOOTH_ZOOM_RATIOS, values, sizeof(values) / sizeof(uint32_t)); in HWTEST_F()
/drivers/hdf_core/framework/model/audio/sapm/src/
H A Daudio_sapm.c487 if (enumKtl->values != NULL && enumKtl->texts != NULL) { in MuxValueSetPathStatus()
489 if (val == enumKtl->values[item]) { in MuxValueSetPathStatus()
1397 if (enumCtrl->values != NULL) { in AudioCodecCheckRegIsChange()
1398 value = enumCtrl->values[elemValue->value[0]] << enumCtrl->shiftLeft; in AudioCodecCheckRegIsChange()
1405 value |= enumCtrl->values[elemValue->value[1]] << enumCtrl->shiftRight; in AudioCodecCheckRegIsChange()
/drivers/peripheral/display/composer/vdi_base/src/
H A Ddrm_device.cpp120 prop.values.push_back(p->values[i]); in GetProperty()
/drivers/hdf_core/framework/tools/hdi-gen/
H A Dbuild_hdi_files_info.py476 for idl_detail in all_idl_details.values():

Completed in 18 milliseconds