/external/parameter-framework/upstream/test/functional-tests/ |
Basic.cpp | 68 /* Instantiating logger first to ensure that its lifetime is longer than the pfw's one, 69 * because the pfw references the logger. */ 72 WarningPF pfw; variable 75 pfw.setLogger(&logger); 77 REQUIRE_NOTHROW(pfw.start()); 86 pfw.setLogger(nullptr); 88 REQUIRE_NOTHROW(pfw.start());
|
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Domains/ |
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/ |
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...] |
tFP16_Q7_8.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, "") 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) 166 assert out != "Done", log.F("PFW : Error not detected when setting parameter %s out of bounds" 195 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 199 out, err = self.pfw.sendCmd("getParameter", self.param_name, "" [all...] |
tFP32_Q0_31.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, "") 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) 165 assert out != "Done", log.F("PFW : Error not detected when setting parameter %s out of bounds" 194 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 198 out, err = self.pfw.sendCmd("getParameter", self.param_name, "" [all...] |
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) 167 assert out != "Done", log.F("PFW : Error not detected when setting parameter %s out of bounds" 196 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 200 out, err = self.pfw.sendCmd("getParameter", self.param_name, "" [all...] |
tFP32_Q31_0.py | 64 self.pfw.sendCmd("setTuningMode", "on") 67 self.pfw.sendCmd("setTuningMode", "off") 92 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 98 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 130 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 136 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 169 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False) 172 assert out != "Done", log.F("PFW : Error not detected when setting parameter %s out of bounds" 201 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 207 out, err = self.pfw.sendCmd("getParameter", self.param_name, "" [all...] |
tFP32_Q8_20.py | 64 self.pfw.sendCmd("setTuningMode", "on") 67 self.pfw.sendCmd("setTuningMode", "off") 92 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 98 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 130 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 136 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 168 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False) 171 assert out != "Done", log.F("PFW : Error not detected when setting parameter %s out of bounds" 200 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 206 out, err = self.pfw.sendCmd("getParameter", self.param_name, "" [all...] |
tFP8_Q0_7.py | 65 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) 204 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 210 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 242 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False [all...] |
tFP8_Q3_4.py | 64 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) 173 assert out != "Done", log.F("PFW : Error not detected when setting parameter %s out of bounds" 202 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 208 out, err = self.pfw.sendCmd("getParameter", self.param_name, "" [all...] |
tFP8_Q7_0.py | 64 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) 173 assert out != "Done", log.F("PFW : Error not detected when setting parameter %s out of bounds" 202 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 208 out, err = self.pfw.sendCmd("getParameter", self.param_name, "" [all...] |
tINT16.py | 63 self.pfw.sendCmd("setTuningMode", "on") 66 self.pfw.sendCmd("setTuningMode", "off") 91 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 97 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 129 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 135 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 168 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False) 171 assert out != "Done", log.F("PFW : Error not detected when setting parameter %s out of bounds" 200 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 206 out, err = self.pfw.sendCmd("getParameter", self.param_name, "" [all...] |
tINT16_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) 97 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 129 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 135 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 168 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False) 171 assert out != "Done", log.F("PFW : Error not detected when setting parameter %s out of bounds" 200 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 206 out, err = self.pfw.sendCmd("getParameter", self.param_name, "" [all...] |
tINT32_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) 97 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) 170 assert out != "Done", log.F("PFW : Error not detected when setting parameter %s out of bounds" 199 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 205 out, err = self.pfw.sendCmd("getParameter", self.param_name, "" [all...] |
tINT8.py | 63 self.pfw.sendCmd("setTuningMode", "on") 66 self.pfw.sendCmd("setTuningMode", "off") 91 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 97 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 129 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 135 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 168 out, err = self.pfw.sendCmd("setParameter", self.param_name, value, expectSuccess=False) 171 assert out != "Done", log.F("PFW : Error not detected when setting parameter %s out of bounds" 200 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 206 out, err = self.pfw.sendCmd("getParameter", self.param_name, "" [all...] |
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) 175 assert out != "Done", log.F("PFW : Error not detected when setting parameter %s out of bounds" 204 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 210 out, err = self.pfw.sendCmd("getParameter", self.param_name, "" [all...] |
tUINT16_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) 174 assert out != "Done", log.F("PFW : Error not detected when setting parameter %s out of bounds" 203 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 209 out, err = self.pfw.sendCmd("getParameter", self.param_name, "" [all...] |
tUINT32.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) 174 assert out != "Done", log.F("PFW : Error not detected when setting parameter %s out of bounds" 203 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 209 out, err = self.pfw.sendCmd("getParameter", self.param_name, "" [all...] |
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) 174 assert out != "Done", log.F("PFW : Error not detected when setting parameter %s out of bounds" 203 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 209 out, err = self.pfw.sendCmd("getParameter", self.param_name, "" [all...] |
tUINT8.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, expectSuccess=False) 173 assert out != "Done", log.F("PFW : Error not detected when setting parameter %s out of bounds" 202 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 208 out, err = self.pfw.sendCmd("getParameter", self.param_name, "" [all...] |
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) 174 assert out != "Done", log.F("PFW : Error not detected when setting parameter %s out of bounds" 203 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 209 out, err = self.pfw.sendCmd("getParameter", self.param_name, "" [all...] |
tINT16_ARRAY.py | 70 self.pfw.sendCmd("setTuningMode", "on") 77 self.pfw.sendCmd("setTuningMode", "off") 106 out, err = self.pfw.sendCmd("setParameter", str(indexed_array_value_path), str(indexed_array_value)) 112 out, err = self.pfw.sendCmd("getParameter", str(indexed_array_value_path), "") 146 out, err = self.pfw.sendCmd("setParameter", str(indexed_array_value_path), str(indexed_array_value)) 152 out, err = self.pfw.sendCmd("getParameter", str(indexed_array_value_path), "") 185 out, err = self.pfw.sendCmd("setParameter", str(indexed_array_value_path), str(indexed_array_value)) 193 out, err = self.pfw.sendCmd("setParameter", str(indexed_array_value_path), str(indexed_array_value), expectSuccess=False) 227 out, err = self.pfw.sendCmd("setParameter", str(indexed_array_value_path), str(indexed_array_value)) 233 out, err = self.pfw.sendCmd("getParameter", str(indexed_array_value_path), "" [all...] |
tUINT32_ARRAY.py | 71 self.pfw.sendCmd("setTuningMode", "on") 78 self.pfw.sendCmd("setTuningMode", "off") 107 out, err = self.pfw.sendCmd("setParameter", str(indexed_array_value_path), str(indexed_array_value)) 113 out, err = self.pfw.sendCmd("getParameter", str(indexed_array_value_path), "") 147 out, err = self.pfw.sendCmd("setParameter", str(indexed_array_value_path), str(indexed_array_value)) 153 out, err = self.pfw.sendCmd("getParameter", str(indexed_array_value_path), "") 186 out, err = self.pfw.sendCmd("setParameter", str(indexed_array_value_path), str(indexed_array_value)) 194 out, err = self.pfw.sendCmd("setParameter", str(indexed_array_value_path), str(indexed_array_value), expectSuccess=False) 228 out, err = self.pfw.sendCmd("setParameter", str(indexed_array_value_path), str(indexed_array_value)) 234 out, err = self.pfw.sendCmd("getParameter", str(indexed_array_value_path), "" [all...] |
/external/parameter-framework/upstream/test/functional-tests-legacy/Util/ |
PfwUnitTestLib.py | 72 class Pfw(RemoteCli): 80 def __init__(self, pfw): 81 self.pfw = pfw 114 # Starts the Pfw 119 self.pfw.setRemoteProcess(self.remoteProcess) 121 # A PfwTestCase gather tests performed on one instance of the PFW. 124 pfw = Pfw() variable in class:PfwTestCase 125 hal = Hal(pfw) [all...] |