/external/parameter-framework/upstream/bindings/c/ |
D | Test.cpp | 60 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 …]
|
D | ParameterFramework.cpp | 48 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 != NULL) { 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/ |
D | tRAW.py | 82 self.pfw.sendCmd("setTuningMode", "on") 85 self.pfw.sendCmd("setTuningMode", "off") 111 out, err = self.pfw.sendCmd("setOutputRawFormat", value) 117 out, err = self.pfw.sendCmd("getOutputRawFormat","") 125 out, err = self.pfw.sendCmd("setOutputRawFormat", value) 131 out, err = self.pfw.sendCmd("getOutputRawFormat","") 160 out, err = self.pfw.sendCmd("setValueSpace", value) 166 out, err = self.pfw.sendCmd("getValueSpace","") 173 out, err = self.pfw.sendCmd("setValueSpace", value) 179 out, err = self.pfw.sendCmd("getValueSpace","") [all …]
|
D | tEnum.py | 64 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) 124 out,err = self.pfw.sendCmd("setParameter",self.param_name, value) 128 out, err = self.pfw.sendCmd("getParameter",self.param_name) 156 out,err = self.pfw.sendCmd("setParameter",self.param_name, value) 160 out, err = self.pfw.sendCmd("getParameter",self.param_name) 187 init_parameter_value, err=self.pfw.sendCmd("getParameter",self.param_name) 190 out,err = self.pfw.sendCmd("setParameter",self.param_name, value, expectSuccess=False) [all …]
|
D | tBit_Block.py | 83 self.pfw.sendCmd("setTuningMode", "on") 86 self.pfw.sendCmd("setTuningMode", "off") 119 out,err = self.pfw.sendCmd("setParameter",self.bit_name[index_bit],value_bit[index_bit]) 123 out,err = self.pfw.sendCmd("getParameter",self.bit_name[index_bit]) 156 out,err=self.pfw.sendCmd("getParameter",self.bit_name[index_bit]) 163 out,err = self.pfw.sendCmd("setParameter",self.block_name, value, expectSuccess=False) 167 out,err = self.pfw.sendCmd("getParameter",self.block_name, value, expectSuccess=False) 175 out,err=self.pfw.sendCmd("getParameter",self.bit_name[index_bit]) 207 out,err=self.pfw.sendCmd("getParameter",self.bit_name[index_bit]) 214 out,err = self.pfw.sendCmd("setParameter",self.bit_name[1],bit_value, expectSuccess=False) [all …]
|
D | tSTRING_128.py | 42 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 …]
|
D | tBoolean.py | 56 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, "")
|
D | tINT32.py | 63 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, "") 125 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 129 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 160 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False) 190 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 194 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 225 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False)
|
D | tINT8_Max.py | 63 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, "") 125 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 129 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 160 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False) 190 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 194 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 225 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False)
|
D | tParameter_Block.py | 78 self.pfw.sendCmd("setTuningMode", "on") 81 self.pfw.sendCmd("setTuningMode", "off") 114 … out,err = self.pfw.sendCmd("setParameter",self.param_name[index_param],value_param[index_param]) 121 out,err = self.pfw.sendCmd("getParameter",self.param_name[index_param]) 160 out,err = self.pfw.sendCmd("getParameter",self.param_name[index_param]) 166 out,err = self.pfw.sendCmd("setParameter",self.block_name, value, expectSuccess=False) 173 out,err = self.pfw.sendCmd("getParameter",self.block_name, value, expectSuccess=False) 186 out,err = self.pfw.sendCmd("getParameter",self.param_name[index_param]) 221 out,err = self.pfw.sendCmd("getParameter",self.param_name[index_param]) 227 … out,err = self.pfw.sendCmd("setParameter",self.param_name[1],param_value, expectSuccess=False) [all …]
|
D | tFP16_Q15_0.py | 64 self.pfw.sendCmd("setTuningMode", "on") 68 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, "") 126 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 130 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 161 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False) 191 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 195 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 226 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False)
|
D | tUINT16.py | 67 self.pfw.sendCmd("setTuningMode", "on") 70 self.pfw.sendCmd("setTuningMode", "off") 95 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 101 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 133 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 139 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 172 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False) 204 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 210 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 243 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False)
|
D | tUINT8_Max.py | 66 self.pfw.sendCmd("setTuningMode", "on") 69 self.pfw.sendCmd("setTuningMode", "off") 94 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 100 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 132 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 138 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 171 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False) 203 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 209 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 242 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False)
|
D | tUINT32_Max.py | 66 self.pfw.sendCmd("setTuningMode", "on") 69 self.pfw.sendCmd("setTuningMode", "off") 94 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 100 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 132 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 138 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 171 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False) 203 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 209 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 242 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False)
|
D | tFP32_Q15_16.py | 64 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, "") 128 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 132 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 164 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False) 196 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 200 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 232 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False)
|
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Functions/ |
D | tFunction_Export_Import_Domains.py | 59 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 …]
|
D | tFunction_Sync.py | 59 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 …]
|
D | tFunction_listingFunctions.py | 54 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/ |
D | tDomain_Configuration_Backup.py | 53 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 …]
|
D | tDomain_Rules.py | 54 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 …]
|
D | tDomain_Elements_Sequences.py | 52 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 …]
|
D | tDomain_Configuration.py | 57 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 …]
|
D | tDomain_Split.py | 54 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 …]
|
D | tDomain_Elements.py | 53 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 …]
|
D | tDomain_rename.py | 52 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 …]
|