/external/parameter-framework/bindings/c/ |
D | Test.cpp | 62 CAPTURE(pfwGetLastError(pfw)); in REQUIRE_FAILURE() 64 CHECK(not empty(pfwGetLastError(pfw))); in REQUIRE_FAILURE() 72 CAPTURE(pfwGetLastError(pfw)); in REQUIRE_SUCCESS() 74 CHECK(empty(pfwGetLastError(pfw))); in REQUIRE_SUCCESS() 120 PfwHandler *pfw; member 158 pfw = pfwCreate(); 159 REQUIRE(pfw != NULL); 162 CHECK(empty(pfwGetLastError(pfw))); 169 REQUIRE_FAILURE(pfwStart(pfw, NULL, criteria, criterionNb, &logger)); 172 REQUIRE_FAILURE(pfwStart(pfw, "/doNotExist", criteria, criterionNb, &logger)); [all …]
|
D | ParameterFramework.cpp | 46 namespace pfw namespace 129 pfw::Criteria criteria; 130 pfw::Pfw *pfw; member 147 if(handle != NULL and handle->pfw != NULL) { in pfwDestroy() 148 delete handle->pfw; in pfwDestroy() 159 pfw->setLogger(&mLogger); in setLogger() 183 pfw->createSelectionCriterionType(criterion.inclusive); in createCriteria() 205 criteria[criterion.name] = pfw->createSelectionCriterion(criterion.name, type); in createCriteria() 219 if (handle->pfw != NULL) { in pfwStart() 232 handle->pfw = new CParameterMgrPlatformConnector(configPath); in pfwStart() [all …]
|
/external/parameter-framework/test/functional-tests/PfwTestCase/Functions/ |
D | tFunction_Export_Import_Domains.py | 62 self.pfw.sendCmd("setTuningMode", "on") 82 self.pfw.sendCmd("setTuningMode", "off") 121 out, err = self.pfw.sendCmd("importDomainsWithSettingsXML",self.reference_xml, "") 129 out, err = self.pfw.sendCmd("listDomains","","") 152 out, err = self.pfw.sendCmd("listConfigurations",domain_name,"") 176 out, err = self.pfw.sendCmd("getRule",domain_name,conf_name) 188 out, err = self.pfw.sendCmd("restoreConfiguration",domain_name,conf_name) 194 self.pfw.sendCmd("setTuningMode", "off") 201 out, err = self.pfw.sendCmd("getParameter", self.param_name_01, "") 210 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","") 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/test/functional-tests/PfwTestCase/Types/ |
D | tRAW.py | 81 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 …]
|
D | tEnum.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) 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) [all …]
|
D | tSTRING_128.py | 41 self.pfw.sendCmd("setTuningMode", "on") 45 self.pfw.sendCmd("setTuningMode", "off") 86 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 90 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 115 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 119 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 147 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 174 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 178 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 203 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) 134 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 157 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 160 out, err = self.pfw.sendCmd("getParameter", self.param_name, "")
|
D | tBit_Block.py | 82 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) 166 out,err = self.pfw.sendCmd("getParameter",self.block_name, value) 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) [all …]
|
D | tINT32.py | 62 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) 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)
|
D | tINT8_Max.py | 62 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) 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)
|
D | tINT32_Max.py | 62 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, "") 127 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 133 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 166 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 198 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 204 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 237 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
|
D | tUINT8_Max.py | 65 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) 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)
|
D | tUINT16_Max.py | 65 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) 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)
|
D | tUINT16.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) 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)
|
D | tFP16_Q15_0.py | 63 self.pfw.sendCmd("setTuningMode", "on") 67 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) 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)
|
/external/parameter-framework/test/functional-tests/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") 141 out, err = self.pfw.sendCmd("clearRule","Wrong_Domain_Name",self.conf_2) 147 out, err = self.pfw.sendCmd("clearRule",self.conf_1,self.domain_name) [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) 131 out, err = self.pfw.sendCmd("createConfiguration",self.domain_name) 137 out, err = self.pfw.sendCmd("createConfiguration","wrong_domain_name",new_conf_name) 145 out, err = self.pfw.sendCmd("listConfigurations",self.domain_name, "") 166 out, err = self.pfw.sendCmd("deleteDomain",self.domain_name, "") [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) 125 out, err = self.pfw.sendCmd("removeElement", str(self.domain_name), str(self.elem_1_path)) 128 out, err = self.pfw.sendCmd("removeElement", str(self.domain_name), str(self.elem_2_path)) 153 out, err = self.pfw.sendCmd("addElement", str(self.domain_name), str(self.elem_1_path)) [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)) [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') 208 out, err = self.pfw.sendCmd("listDomains","","") [all …]
|
/external/parameter-framework/tools/xmlGenerator/ |
D | domainGenerator.py | 243 pfw = PyPfw.ParameterFramework(fake_toplevel_config.name) variable 248 criterion_type = pfw.createSelectionCriterionType(criterion['inclusive']) 263 pfw.createSelectionCriterion(criterion['name'], criterion_type) 266 pfw.setFailureOnMissingSubsystem(False) 267 pfw.setFailureOnFailedSettingsLoad(False) 269 pfw.setValidateSchemasOnStart(True) 274 pfw.setSchemaFolderLocation(schemas_dir) 277 pfw.setLogger(logger) 281 pfw.setForceNoRemoteInterface(True) 284 ok, error = pfw.start() [all …]
|