/drivers/peripheral/display/buffer/test/benchmarktest/ |
H A D | display_buffer_benchmark_test.cpp | 86 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 D | pkg_db_helper.cpp | 103 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 D | pkg_database.cpp | 113 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 D | attribute.c | 59 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 D | metadata_fuzzer.cpp | 102 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 D | attribute.c | 78 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 D | gn_file_add_config.py | 125 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 D | pkg_database.h | 52 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 D | codec_config_parser.c | 94 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 D | audio_control.h | 42 uint32_t count; /* count of values */ 62 const uint32_t *values; member
|
H A D | audio_parse.h | 85 uint32_t values; member
|
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/ |
H A D | hdf_set_handler.py | 29 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 D | drm_device.h | 52 std::vector<uint64_t> values; member
|
/drivers/peripheral/codec/hal/idl_service/src/ |
H A D | codec_component_config.cpp | 313 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 D | display_buffer_ut.cpp | 403 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 D | audio_core.c | 539 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 D | audio_parse.c | 260 group->regEnumCfgItem[index].values = buf[step + AUDIO_ENUM_REG_CFG_VALUE_INDEX]; in ParseAudioEnumRegItem()
|
/drivers/peripheral/camera/test/hdi/v1_2/src/ |
H A D | camera_stream_uttest_v1_2.cpp | 290 // 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 D | audio_sapm.c | 487 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 D | drm_device.cpp | 120 prop.values.push_back(p->values[i]); in GetProperty()
|
/drivers/hdf_core/framework/tools/hdi-gen/ |
H A D | build_hdi_files_info.py | 476 for idl_detail in all_idl_details.values():
|