/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Functions/ |
tFunction_getParameter.py | 49 self.pfw.sendCmd("setTuningMode", "on") 54 self.pfw.sendCmd("setTuningMode", "off") 73 out, err = self.pfw.sendCmd("getParameter", "Undefined_parameter", expectSuccess=False)
|
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...] |
tFunction_setParameter.py | 49 self.pfw.sendCmd("setTuningMode", "on") 55 self.pfw.sendCmd("setTuningMode", "off") 76 out, err = self.pfw.sendCmd("setParameter", "Undefined_parameter", "0", expectSuccess=False) 81 out, err = self.pfw.sendCmd("setParameter", self.param_name, "Wrong_Value", expectSuccess=False) 87 out, err = self.pfw.sendCmd("setParameter", self.param_name, "1.2345", expectSuccess=False)
|
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...] |
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...] |
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Domains/ |
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...] |
tDomain_Configuration_Selection.py | 51 self.pfw.sendCmd("setTuningMode", "on") 73 self.pfw.sendCmd("setTuningMode", "off", expectSuccess=False) 102 out, err = self.pfw.sendCmd("importDomainsWithSettingsXML",self.reference_xml, "") 109 out, err = self.pfw.sendCmd("listDomains","","") 114 out, err = self.pfw.sendCmd("setTuningMode", "off") 116 out, err = self.hal.sendCmd("applyConfigurations") 120 out, err = self.pfw.sendCmd("status") 133 out, err = self.hal.sendCmd("setCriterionState", "Crit_0", state) 137 out, err = self.hal.sendCmd("setCriterionState", "Crit_1", state) 140 out, err = self.hal.sendCmd("applyConfigurations" [all...] |
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_2_path, self.elem_0_path, self.elem_1_path) 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...] |
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...] |
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...] |
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=False) 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=False) 145 out, err = self.pfw.sendCmd("listConfigurations",self.domain_name, "") 165 out, err = self.pfw.sendCmd("deleteDomain",self.domain_name, "" [all...] |
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), expectSuccess=False [all...] |
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...] |
tDomain_creation_deletion.py | 53 self.pfw.sendCmd("setTuningMode", "on") 58 self.pfw.sendCmd("setTuningMode", "off") 81 out, err = self.pfw.sendCmd("createDomain",domain_name, "") 89 out, err = self.pfw.sendCmd("listDomains","","") 110 out, err = self.pfw.sendCmd("createDomain",domain_name, "", expectSuccess=False) 118 out, err = self.pfw.sendCmd("listDomains","","") 167 out, err = self.pfw.sendCmd("listDomains","","") 188 out, err = self.pfw.sendCmd("deleteDomain",domain_name, "", expectSuccess=False) 196 out, err = self.pfw.sendCmd("listDomains","","") 247 out, err = self.pfw.sendCmd("listDomains","","" [all...] |
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Types/ |
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...] |
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, "" [all...] |
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 [all...] |
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 [all...] |
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 [all...] |
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...] |
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...] |
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...] |
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...] |
tFP16_Q0_15.py | 64 self.pfw.sendCmd("setTuningMode", "on") 68 self.pfw.sendCmd("setTuningMode", "off") 93 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 97 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, "") 162 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False) 192 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 196 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 228 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False [all...] |
/external/parameter-framework/upstream/test/functional-tests-legacy/Util/ |
PfwUnitTestLib.py | 42 def sendCmd(self, cmd, *args, **kwargs): 95 self.sendCmd("exit") 109 self.sendCmd("createInclusiveSelectionCriterion", name, nb) 112 self.sendCmd("createExclusiveSelectionCriterion", name, nb) 116 self.sendCmd("setSchemaUri", os.environ["PFW_SCHEMAS"]) 117 self.sendCmd("setValidateSchemasOnStart", "true") 118 self.sendCmd("start")
|