Home
last modified time | relevance | path

Searched refs:pfw (Results 1 – 25 of 57) sorted by relevance

123

/external/parameter-framework/upstream/bindings/c/
DTest.cpp60 CAPTURE(pfwGetLastError(pfw)); in REQUIRE_FAILURE()
62 CHECK(not empty(pfwGetLastError(pfw))); in REQUIRE_FAILURE()
70 CAPTURE(pfwGetLastError(pfw)); in REQUIRE_SUCCESS()
72 CHECK(empty(pfwGetLastError(pfw))); in REQUIRE_SUCCESS()
111 PfwHandler *pfw; member
150 pfw = pfwCreate();
151 REQUIRE(pfw != NULL);
154 CHECK(empty(pfwGetLastError(pfw)));
158 REQUIRE_FAILURE(pfwStart(pfw, "/doNotExist", criteria, criterionNb, &logger));
165 REQUIRE_FAILURE(pfwStart(pfw, config, duplicatedCriteria, 2, &logger));
[all …]
DParameterFramework.cpp48 namespace pfw namespace
146 pfw::Criteria criteria;
147 pfw::Pfw *pfw = nullptr; member
164 delete handle->pfw; in pfwDestroy()
174 pfw->setLogger(&mLogger); in setLogger()
196 pfw->createSelectionCriterionType(criterion.inclusive); in createCriteria()
219 criteria[criterion.name] = pfw->createSelectionCriterion(criterion.name, type); in createCriteria()
230 if (handle->pfw != nullptr) { in pfwStart()
234 handle->pfw = new CParameterMgrPlatformConnector(configPath); in pfwStart()
242 return status.forward(handle->pfw->start(status.msg())); in pfwStart()
[all …]
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Types/
DtRAW.py81 self.pfw.sendCmd("setTuningMode", "on")
84 self.pfw.sendCmd("setTuningMode", "off")
110 out, err = self.pfw.sendCmd("setOutputRawFormat", value)
116 out, err = self.pfw.sendCmd("getOutputRawFormat","")
124 out, err = self.pfw.sendCmd("setOutputRawFormat", value)
130 out, err = self.pfw.sendCmd("getOutputRawFormat","")
159 out, err = self.pfw.sendCmd("setValueSpace", value)
165 out, err = self.pfw.sendCmd("getValueSpace","")
172 out, err = self.pfw.sendCmd("setValueSpace", value)
178 out, err = self.pfw.sendCmd("getValueSpace","")
[all …]
DtEnum.py63 self.pfw.sendCmd("setTuningMode", "on")
66 self.pfw.sendCmd("setTuningMode", "off")
91 out,err = self.pfw.sendCmd("setParameter",self.param_name, value)
95 out, err = self.pfw.sendCmd("getParameter",self.param_name)
123 out,err = self.pfw.sendCmd("setParameter",self.param_name, value)
127 out, err = self.pfw.sendCmd("getParameter",self.param_name)
155 out,err = self.pfw.sendCmd("setParameter",self.param_name, value)
159 out, err = self.pfw.sendCmd("getParameter",self.param_name)
186 init_parameter_value, err=self.pfw.sendCmd("getParameter",self.param_name)
189 out,err = self.pfw.sendCmd("setParameter",self.param_name, value, expectSuccess=False)
[all …]
DtBit_Block.py82 self.pfw.sendCmd("setTuningMode", "on")
85 self.pfw.sendCmd("setTuningMode", "off")
118 out,err = self.pfw.sendCmd("setParameter",self.bit_name[index_bit],value_bit[index_bit])
122 out,err = self.pfw.sendCmd("getParameter",self.bit_name[index_bit])
155 out,err=self.pfw.sendCmd("getParameter",self.bit_name[index_bit])
162 out,err = self.pfw.sendCmd("setParameter",self.block_name, value, expectSuccess=False)
166 out,err = self.pfw.sendCmd("getParameter",self.block_name, value, expectSuccess=False)
174 out,err=self.pfw.sendCmd("getParameter",self.bit_name[index_bit])
206 out,err=self.pfw.sendCmd("getParameter",self.bit_name[index_bit])
213 out,err = self.pfw.sendCmd("setParameter",self.bit_name[1],bit_value, expectSuccess=False)
[all …]
DtBoolean.py56 self.pfw.sendCmd("setTuningMode", "on")
59 self.pfw.sendCmd("setTuningMode", "off")
80 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
83 out, err = self.pfw.sendCmd("getParameter", self.param_name, "")
105 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
108 out, err = self.pfw.sendCmd("getParameter", self.param_name, "")
131 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False)
134 out, err = self.pfw.sendCmd("getParameter", self.param_name, "")
157 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False)
160 out, err = self.pfw.sendCmd("getParameter", self.param_name, "")
DtSTRING_128.py42 self.pfw.sendCmd("setTuningMode", "on")
46 self.pfw.sendCmd("setTuningMode", "off")
87 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
91 out, err = self.pfw.sendCmd("getParameter", self.param_name, "")
116 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
120 out, err = self.pfw.sendCmd("getParameter", self.param_name, "")
148 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False)
175 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
179 out, err = self.pfw.sendCmd("getParameter", self.param_name, "")
204 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
[all …]
DtINT32.py62 self.pfw.sendCmd("setTuningMode", "on")
65 self.pfw.sendCmd("setTuningMode", "off")
90 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
94 out, err = self.pfw.sendCmd("getParameter", self.param_name, "")
124 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
128 out, err = self.pfw.sendCmd("getParameter", self.param_name, "")
159 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False)
189 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
193 out, err = self.pfw.sendCmd("getParameter", self.param_name, "")
224 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False)
DtINT8_Max.py62 self.pfw.sendCmd("setTuningMode", "on")
65 self.pfw.sendCmd("setTuningMode", "off")
90 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
94 out, err = self.pfw.sendCmd("getParameter", self.param_name, "")
124 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
128 out, err = self.pfw.sendCmd("getParameter", self.param_name, "")
159 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False)
189 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
193 out, err = self.pfw.sendCmd("getParameter", self.param_name, "")
224 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False)
DtParameter_Block.py77 self.pfw.sendCmd("setTuningMode", "on")
80 self.pfw.sendCmd("setTuningMode", "off")
113 … out,err = self.pfw.sendCmd("setParameter",self.param_name[index_param],value_param[index_param])
120 out,err = self.pfw.sendCmd("getParameter",self.param_name[index_param])
159 out,err = self.pfw.sendCmd("getParameter",self.param_name[index_param])
165 out,err = self.pfw.sendCmd("setParameter",self.block_name, value, expectSuccess=False)
172 out,err = self.pfw.sendCmd("getParameter",self.block_name, value, expectSuccess=False)
185 out,err = self.pfw.sendCmd("getParameter",self.param_name[index_param])
220 out,err = self.pfw.sendCmd("getParameter",self.param_name[index_param])
226 … out,err = self.pfw.sendCmd("setParameter",self.param_name[1],param_value, expectSuccess=False)
[all …]
DtUINT8_Max.py65 self.pfw.sendCmd("setTuningMode", "on")
68 self.pfw.sendCmd("setTuningMode", "off")
93 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
99 out, err = self.pfw.sendCmd("getParameter", self.param_name, "")
131 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
137 out, err = self.pfw.sendCmd("getParameter", self.param_name, "")
170 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False)
202 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
208 out, err = self.pfw.sendCmd("getParameter", self.param_name, "")
241 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False)
DtFP16_Q7_8.py63 self.pfw.sendCmd("setTuningMode", "on")
67 self.pfw.sendCmd("setTuningMode", "off")
92 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
96 out, err = self.pfw.sendCmd("getParameter", self.param_name, "")
127 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
131 out, err = self.pfw.sendCmd("getParameter", self.param_name, "")
163 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False)
194 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
198 out, err = self.pfw.sendCmd("getParameter", self.param_name, "")
230 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False)
DtINT16_Max.py62 self.pfw.sendCmd("setTuningMode", "on")
65 self.pfw.sendCmd("setTuningMode", "off")
90 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
96 out, err = self.pfw.sendCmd("getParameter", self.param_name, "")
128 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
134 out, err = self.pfw.sendCmd("getParameter", self.param_name, "")
167 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False)
199 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
205 out, err = self.pfw.sendCmd("getParameter", self.param_name, "")
238 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False)
DtUINT32.py65 self.pfw.sendCmd("setTuningMode", "on")
68 self.pfw.sendCmd("setTuningMode", "off")
93 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
99 out, err = self.pfw.sendCmd("getParameter", self.param_name, "")
131 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
137 out, err = self.pfw.sendCmd("getParameter", self.param_name, "")
170 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False)
202 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
208 out, err = self.pfw.sendCmd("getParameter", self.param_name, "")
241 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False)
DtUINT16_Max.py65 self.pfw.sendCmd("setTuningMode", "on")
68 self.pfw.sendCmd("setTuningMode", "off")
93 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
99 out, err = self.pfw.sendCmd("getParameter", self.param_name, "")
131 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
137 out, err = self.pfw.sendCmd("getParameter", self.param_name, "")
170 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False)
202 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
208 out, err = self.pfw.sendCmd("getParameter", self.param_name, "")
241 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False)
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Functions/
DtFunction_Export_Import_Domains.py59 self.pfw.sendCmd("setTuningMode", "on")
78 self.pfw.sendCmd("setTuningMode", "off", expectSuccess=None)
115 out, err = self.pfw.sendCmd("importDomainsWithSettingsXML",self.reference_xml, "")
123 out, err = self.pfw.sendCmd("listDomains","","")
137 out, err = self.pfw.sendCmd("listConfigurations",domain_name,"")
161 out, err = self.pfw.sendCmd("getRule",domain_name,conf_name)
173 out, err = self.pfw.sendCmd("restoreConfiguration",domain_name,conf_name)
179 self.pfw.sendCmd("setTuningMode", "off")
186 out, err = self.pfw.sendCmd("getParameter", self.param_name_01, "")
195 out, err = self.pfw.sendCmd("getParameter", self.param_name_02, "")
[all …]
DtFunction_Sync.py59 self.pfw.sendCmd("setTuningMode", "on")
68 self.pfw.sendCmd("setTuningMode", "off")
91 out,err = self.pfw.sendCmd("setAutoSync", value)
95 out, err = self.pfw.sendCmd("getAutoSync","")
100 out,err = self.pfw.sendCmd("setAutoSync", value)
104 out, err = self.pfw.sendCmd("getAutoSync","")
133 init_value_01, err = self.pfw.sendCmd("getParameter", self.param_name_01, "")
134 init_value_02, err = self.pfw.sendCmd("getParameter", self.param_name_02, "")
135 init_value_03, err = self.pfw.sendCmd("getParameter", self.param_name_03, "")
149 out,err = self.pfw.sendCmd("setAutoSync", value)
[all …]
DtFunction_listingFunctions.py54 self.pfw.sendCmd("setTuningMode", "on")
70 self.pfw.sendCmd("setTuningMode", "off")
98 … out, err = self.pfw.sendCmd("importDomainsWithSettingsXML",self.reference_dumpDomains_xml, "")
103 out, err = self.pfw.sendCmd("dumpDomains","","")
125 out, err = self.pfw.sendCmd("help","")
147 out, err = self.pfw.sendCmd("status","")
169 out, err = self.pfw.sendCmd("listCriteria", "XML")
191 out, err = self.pfw.sendCmd("listDomains")
214 out, err = self.pfw.sendCmd("listDomainElements",self.domain_name)
237 out, err = self.pfw.sendCmd("listConfigurations",self.domain_name)
[all …]
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Domains/
DtDomain_Configuration_Backup.py53 self.pfw.sendCmd("setTuningMode", "on")
60 self.pfw.sendCmd("setTuningMode", "off")
82 out, err = self.pfw.sendCmd("restoreConfiguration", self.domain_name, self.conf_1)
85 out, err = self.pfw.sendCmd("getParameter", self.param_name)
92 out, err = self.pfw.sendCmd("setParameter", self.param_name, str(Param_saved_1+1))
98 out, err = self.pfw.sendCmd("saveConfiguration", self.domain_name, self.conf_1)
101 out, err = self.pfw.sendCmd("getParameter", self.param_name)
108 out, err = self.pfw.sendCmd("setParameter", self.param_name, str(Param_saved_1+1))
110 out, err = self.pfw.sendCmd("getParameter", self.param_name)
115 out, err = self.pfw.sendCmd("restoreConfiguration", self.domain_name, self.conf_1)
[all …]
DtDomain_Rules.py54 self.pfw.sendCmd("setTuningMode", "on")
68 self.pfw.sendCmd("setTuningMode", "off")
96 out, err = self.pfw.sendCmd("createDomain",self.domain_name, "")
105 out, err = self.pfw.sendCmd("createConfiguration",self.domain_name,self.conf_1)
112 out, err = self.pfw.sendCmd("createConfiguration",self.domain_name,self.conf_2)
121 out, err = self.pfw.sendCmd("setRule",self.domain_name,self.conf_1,self.rule_1)
126 out, err = self.pfw.sendCmd("setRule",self.domain_name,self.conf_2,self.rule_2)
135 … out, err = self.pfw.sendCmd("clearRule",self.domain_name,"Wrong_Config_Name", expectSuccess=False)
141 … out, err = self.pfw.sendCmd("clearRule","Wrong_Domain_Name",self.conf_2, expectSuccess=False)
147 out, err = self.pfw.sendCmd("clearRule",self.conf_1,self.domain_name, expectSuccess=False)
[all …]
DtDomain_Elements_Sequences.py52 self.pfw.sendCmd("setTuningMode", "on")
60 self.pfw.sendCmd("setTuningMode", "off")
83 out, err = self.pfw.sendCmd("addElement", str(self.domain_name), str(self.elem_1_path))
87 out, err = self.pfw.sendCmd("addElement", str(self.domain_name), str(self.elem_2_path))
94 out, err = self.pfw.sendCmd("getElementSequence", self.domain_name, self.configuration)
100 …out, err = self.pfw.sendCmd("setElementSequence", self.domain_name, self.configuration, self.elem_…
104 out, err = self.pfw.sendCmd("getElementSequence", self.domain_name, self.configuration)
116 out, err = self.pfw.sendCmd("removeElement", str(self.domain_name), str(self.elem_1_path))
119 out, err = self.pfw.sendCmd("removeElement", str(self.domain_name), str(self.elem_2_path))
144 out, err = self.pfw.sendCmd("addElement", str(self.domain_name), str(self.elem_1_path))
[all …]
DtDomain_Configuration.py57 self.pfw.sendCmd("setTuningMode", "on")
64 self.pfw.sendCmd("setTuningMode", "off")
91 out, err = self.pfw.sendCmd("createDomain",self.domain_name, "")
102 out, err = self.pfw.sendCmd("createConfiguration",self.domain_name,new_conf_name)
111 out, err = self.pfw.sendCmd("listConfigurations",self.domain_name, "")
125 …out, err = self.pfw.sendCmd("createConfiguration",self.domain_name,new_conf_name, expectSuccess=Fa…
131 out, err = self.pfw.sendCmd("createConfiguration",self.domain_name, expectSuccess=False)
137 …out, err = self.pfw.sendCmd("createConfiguration","wrong_domain_name",new_conf_name, expectSuccess…
145 out, err = self.pfw.sendCmd("listConfigurations",self.domain_name, "")
165 out, err = self.pfw.sendCmd("deleteDomain",self.domain_name, "")
[all …]
DtDomain_Split.py54 self.pfw.sendCmd("setTuningMode", "on")
74 self.pfw.sendCmd("setTuningMode", "off")
105 out, err = self.pfw.sendCmd("importDomainsWithSettingsXML",self.reference_xml, "")
113 out, err = self.pfw.sendCmd("listAssociatedDomains", self.path_main)
130 out, err = self.pfw.sendCmd("listElements", self.path_main)
145 out, err = self.pfw.sendCmd("listBelongingDomains", element_path)
149 out, err = self.pfw.sendCmd("listAssociatedDomains", element_path)
159 out, err = self.pfw.sendCmd("splitDomain", self.domain_1, self.path_main)
166 out, err = self.pfw.sendCmd("listBelongingDomains", self.path_main)
169 out, err = self.pfw.sendCmd("listAssociatedDomains", self.path_main)
[all …]
DtDomain_Elements.py53 self.pfw.sendCmd("setTuningMode", "on")
60 self.pfw.sendCmd("setTuningMode", "off")
85 out, err = self.pfw.sendCmd("listDomainElements",str(self.domain_name))
102 out, err = self.pfw.sendCmd("addElement", str(self.domain_name), str(self.elem_1_path))
106 out, err = self.pfw.sendCmd("addElement", str(self.domain_name), str(self.elem_2_path))
113 out, err = self.pfw.sendCmd("removeElement", str(self.domain_name), str(self.elem_1_path))
119 out, err = self.pfw.sendCmd("listDomainElements",str(self.domain_name))
153 out, err = self.pfw.sendCmd("removeElement", str(self.domain_name), str(self.elem_2_path))
178 out, err = self.pfw.sendCmd("listDomainElements",str(self.domain_name))
195 …out, err = self.pfw.sendCmd("addElement", str(self.domain_name), str(self.elem_0_path), expectSucc…
[all …]
DtDomain_rename.py52 self.pfw.sendCmd("setTuningMode", "on")
58 self.pfw.sendCmd("setTuningMode", "off")
80 out, err = self.pfw.sendCmd("createDomain",self.domain_name, "")
89 out, err = self.pfw.sendCmd("listDomains","","")
117 out, err = self.pfw.sendCmd("renameDomain",old_name,new_name)
123 out, err = self.pfw.sendCmd("listDomains","","")
169 out, err = self.pfw.sendCmd("createDomain",self.domain_name, "")
178 out, err = self.pfw.sendCmd("listDomains","","")
201 out, err = self.pfw.sendCmd("renameDomain",'FAKE','NEW_NAME', expectSuccess=False)
208 out, err = self.pfw.sendCmd("listDomains","","")
[all …]

123