Coverage Report

Created: 2025-06-24 06:17

/src/connectedhomeip/zzz_generated/app-common/clusters/ContentControl/Attributes.ipp
Line
Count
Source (jump to first uncovered line)
1
/*
2
 *
3
 *    Copyright (c) 2022 Project CHIP Authors
4
 *
5
 *    Licensed under the Apache License, Version 2.0 (the "License");
6
 *    you may not use this file except in compliance with the License.
7
 *    You may obtain a copy of the License at
8
 *
9
 *        http://www.apache.org/licenses/LICENSE-2.0
10
 *
11
 *    Unless required by applicable law or agreed to in writing, software
12
 *    distributed under the License is distributed on an "AS IS" BASIS,
13
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
 *    See the License for the specific language governing permissions and
15
 *    limitations under the License.
16
 */
17
18
// THIS FILE IS GENERATED BY ZAP
19
// This file is generated from clusters-Attributes.ipp.zapt
20
21
#include <clusters/ContentControl/Attributes.h>
22
23
#include <app/data-model/Decode.h>
24
#include <app/data-model/WrappedStructEncoder.h>
25
26
namespace chip {
27
namespace app {
28
namespace Clusters {
29
namespace ContentControl {
30
namespace Attributes {
31
CHIP_ERROR TypeInfo::DecodableType::Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path)
32
0
{
33
0
    switch (path.mAttributeId)
34
0
    {
35
0
    case Attributes::Enabled::TypeInfo::GetAttributeId():
36
0
        return DataModel::Decode(reader, enabled);
37
0
    case Attributes::OnDemandRatings::TypeInfo::GetAttributeId():
38
0
        return DataModel::Decode(reader, onDemandRatings);
39
0
    case Attributes::OnDemandRatingThreshold::TypeInfo::GetAttributeId():
40
0
        return DataModel::Decode(reader, onDemandRatingThreshold);
41
0
    case Attributes::ScheduledContentRatings::TypeInfo::GetAttributeId():
42
0
        return DataModel::Decode(reader, scheduledContentRatings);
43
0
    case Attributes::ScheduledContentRatingThreshold::TypeInfo::GetAttributeId():
44
0
        return DataModel::Decode(reader, scheduledContentRatingThreshold);
45
0
    case Attributes::ScreenDailyTime::TypeInfo::GetAttributeId():
46
0
        return DataModel::Decode(reader, screenDailyTime);
47
0
    case Attributes::RemainingScreenTime::TypeInfo::GetAttributeId():
48
0
        return DataModel::Decode(reader, remainingScreenTime);
49
0
    case Attributes::BlockUnrated::TypeInfo::GetAttributeId():
50
0
        return DataModel::Decode(reader, blockUnrated);
51
0
    case Attributes::GeneratedCommandList::TypeInfo::GetAttributeId():
52
0
        return DataModel::Decode(reader, generatedCommandList);
53
0
    case Attributes::AcceptedCommandList::TypeInfo::GetAttributeId():
54
0
        return DataModel::Decode(reader, acceptedCommandList);
55
0
    case Attributes::AttributeList::TypeInfo::GetAttributeId():
56
0
        return DataModel::Decode(reader, attributeList);
57
0
    case Attributes::FeatureMap::TypeInfo::GetAttributeId():
58
0
        return DataModel::Decode(reader, featureMap);
59
0
    case Attributes::ClusterRevision::TypeInfo::GetAttributeId():
60
0
        return DataModel::Decode(reader, clusterRevision);
61
0
    default:
62
0
        return CHIP_NO_ERROR;
63
0
    }
64
0
}
65
} // namespace Attributes
66
} // namespace ContentControl
67
} // namespace Clusters
68
} // namespace app
69
} // namespace chip