/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Types/ |
tEnum.py | 61 self.param_name = "/Test/Test/TEST_TYPES/ENUM" 90 log.I("Set parameter %s to %s"%(self.param_name,value)) 91 out,err = self.pfw.sendCmd("setParameter",self.param_name, value) 92 assert err == None, log.E("setParameter %s %s : %s" % (self.param_name, value, err)) 93 assert out == "Done", log.F("setParameter %s %s - expected : Done : %s" % (self.param_name, value,out)) 95 out, err = self.pfw.sendCmd("getParameter",self.param_name) 96 assert err == None, log.E("getParameter %s : %s" % (self.param_name, err)) 97 assert out == value, log.F("getParameter %s - expected : %s , found : %s" % (self.param_name,value,out)) 99 assert open(self.filesystem_name).read()[:-1] == filesystem_value, log.F("FILESYSTEM : parameter update error for %s"%(self.param_name)) 122 log.I("Set parameter %s to %s"%(self.param_name,value) [all...] |
tFP16_Q15_0.py | 62 self.param_name = "/Test/Test/TEST_DIR/FP16_Q15.0" 91 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 92 assert err == None, log.E("when setting parameter %s : %s" % (self.param_name, err)) 93 assert out == "Done", log.F("when setting parameter %s : %s" % (self.param_name, out)) 95 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 96 assert err == None, log.E("when setting parameter %s : %s" % (self.param_name, err)) 97 assert float(out) == float(value), log.F("BLACKBOARD : Incorrect value for %s, expected: %s, found: %s" % (self.param_name, value, out)) 125 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 126 assert err == None, log.E("Error when setting parameter %s : %s" % (self.param_name, err)) 127 assert out == "Done", log.F("Error when setting parameter %s : %s" % (self.param_name, out) [all...] |
tBoolean.py | 55 self.param_name = "/Test/Test/TEST_DIR/BOOL" 80 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 81 assert err == None, log.E("When setting parameter %s : %s" % (self.param_name, err)) 82 assert out == "Done", log.F("When setting parameter %s : %s" % (self.param_name, out)) 83 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 84 assert out == value, log.F("incorrect value for %s, expected: %s, found: %s" % (self.param_name, value, out)) 105 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 106 assert err == None, log.E("When setting parameter %s : %s" % (self.param_name, err)) 107 assert out == "Done", log.F("When setting parameter %s : %s" % (self.param_name, out)) 108 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") [all...] |
tINT32.py | 61 self.param_name = "/Test/Test/TEST_DIR/INT32" 90 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 91 assert err == None, "Error when setting parameter %s : %s" % (self.param_name, err) 94 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 95 assert err == None, "Error when setting parameter %s : %s" % (self.param_name, err) 96 assert out == value, "BLACKBOARD : Incorrect value for %s, expected: %s, found: %s" % (self.param_name, value, out) 124 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 125 assert err == None, "Error when setting parameter %s : %s" % (self.param_name, err) 128 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 129 assert err == None, "PFW : Error when setting parameter %s : %s" % (self.param_name, err [all...] |
tINT8_Max.py | 61 self.param_name = "/Test/Test/TEST_DIR/INT8_Max" 90 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 91 assert err == None, "Error when setting parameter %s : %s" % (self.param_name, err) 94 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 95 assert err == None, "Error when setting parameter %s : %s" % (self.param_name, err) 96 assert out == value, "BLACKBOARD : Incorrect value for %s, expected: %s, found: %s" % (self.param_name, value, out) 124 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 125 assert err == None, "Error when setting parameter %s : %s" % (self.param_name, err) 128 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 129 assert err == None, "PFW : Error when setting parameter %s : %s" % (self.param_name, err [all...] |
tSTRING_128.py | 41 self.param_name = "/Test/Test/TEST_DIR/STR_CHAR128" 87 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 88 assert err == None, log.E("when setting parameter %s -> %s" % (self.param_name, err)) 91 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 92 assert err == None, log.E("when getting parameter %s -> %s" % (self.param_name, err)) 93 assert out == value, log.F("BLACKBOARD : Incorrect value for %s, expected: %s, found: %s" % (self.param_name, value, out)) 116 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 117 assert err == None, log.E("when setting parameter %s -> %s" % (self.param_name, err)) 120 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 121 assert err == None, log.E("when getting parameter %s -> %s" % (self.param_name, err) [all...] |
tUINT32_ARRAY.py | 67 self.param_name = "/Test/Test/TEST_DIR/UINT32_ARRAY" 105 indexed_array_value_path = "".join([self.param_name, "/", str(index)]) 108 % (self.param_name, str(index), err)) 110 % (self.param_name, str(index), out)) 114 % (self.param_name, str(index), err)) 116 % (self.param_name, str(index), str(indexed_array_value), out)) 120 % (self.param_name, str(index))) 143 indexed_array_value_path = "".join([self.param_name, "/", str(index)]) 148 % (self.param_name, str(index), err)) 150 % (self.param_name, str(index), out) [all...] |
tRAW.py | 77 self.param_name = "/Test/Test/TEST_DIR/UINT16_Max" 217 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 219 % (self.param_name, err)) 221 % (value,self.param_name)) 223 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 225 % (self.param_name, err)) 227 % (self.param_name, blackboard_value, out)) 230 % (self.param_name)) 267 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 269 % (self.param_name, err) [all...] |
tUINT8_ARRAY.py | 67 self.param_name = "/Test/Test/TEST_DIR/UINT8_ARRAY" 105 indexed_array_value_path = "".join([self.param_name, "/", str(index)]) 108 % (self.param_name, str(index), err)) 110 % (self.param_name, str(index), out)) 114 % (self.param_name, str(index), err)) 116 % (self.param_name, str(index), str(indexed_array_value), out)) 120 % (self.param_name, str(index))) 143 indexed_array_value_path = "".join([self.param_name, "/", str(index)]) 148 % (self.param_name, str(index), err)) 150 % (self.param_name, str(index), out) [all...] |
tParameter_Block.py | 64 self.param_name = [] 68 self.param_name.append(self.block_name+"/BLOCK_UINT8") 71 self.param_name.append(self.block_name+"/BLOCK_UINT16") 74 self.param_name.append(self.block_name+"/BLOCK_UINT32") 110 for index_param in range(len(self.param_name)) : 112 %(self.param_name[index_param],value_param[index_param])) 113 out,err = self.pfw.sendCmd("setParameter",self.param_name[index_param],value_param[index_param]) 115 % (self.param_name[index_param],value_param[index_param], err)) 117 %(self.param_name[index_param],value_param[index_param])) 119 %(self.param_name[index_param]) [all...] |
tFP16_Q0_15.py | 62 self.param_name = "/Test/Test/TEST_DIR/FP16_Q0.15" 92 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 93 assert err == None, log.E("when setting parameter %s : %s" % (self.param_name, err)) 94 assert out == "Done", log.F("when setting parameter %s : %s" % (self.param_name, out)) 96 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 97 assert err == None, log.E("when setting parameter %s : %s" % (self.param_name, err)) 98 assert round(float(out),4) == float(value), log.F("BLACKBOARD : Incorrect value for %s, expected: %s, found: %s" % (self.param_name, value, out)) 126 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 127 assert err == None, log.E("when setting parameter %s : %s" % (self.param_name, err)) 128 assert out == "Done", log.F("when setting parameter %s : %s" % (self.param_name, out) [all...] |
tFP16_Q7_8.py | 62 self.param_name = "/Test/Test/TEST_DIR/FP16_Q7.8" 92 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 93 assert err == None, log.E("when setting parameter %s : %s" % (self.param_name, err)) 94 assert out == "Done", log.F("when setting parameter %s : %s" % (self.param_name, out)) 96 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 97 assert err == None, log.E("when setting parameter %s : %s" % (self.param_name, err)) 99 % (self.param_name, value, out)) 127 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 128 assert err == None, log.E("when setting parameter %s : %s" % (self.param_name, err)) 129 assert out == "Done", log.F("when setting parameter %s : %s" % (self.param_name, out) [all...] |
tFP32_Q0_31.py | 62 self.param_name = "/Test/Test/TEST_DIR/FP32_Q0.31" 91 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 92 assert err == None, log.E("when setting parameter %s : %s" % (self.param_name, err)) 93 assert out == "Done", log.F("when setting parameter %s : %s" % (self.param_name, out)) 95 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 96 assert err == None, log.E("when setting parameter %s : %s" % (self.param_name, err)) 98 % (self.param_name, value, out)) 126 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 127 assert err == None, log.E("when setting parameter %s : %s" % (self.param_name, err)) 128 assert out == "Done", log.F("when setting parameter %s : %s" % (self.param_name, out) [all...] |
tFP32_Q15_16.py | 62 self.param_name = "/Test/Test/TEST_DIR/FP32_Q15.16" 91 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 92 assert err == None, log.E("when setting parameter %s : %s" % (self.param_name, err)) 93 assert out == "Done", log.F("when setting parameter %s : %s" % (self.param_name, err)) 95 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 96 assert err == None, log.E("when setting parameter %s : %s" % (self.param_name, err)) 98 % (self.param_name, value, out)) 127 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 128 assert err == None, log.E("when setting parameter %s : %s" % (self.param_name, err)) 129 assert out == "Done", log.F("when setting parameter %s : %s" % (self.param_name, out) [all...] |
tFP32_Q31_0.py | 62 self.param_name = "/Test/Test/TEST_DIR/FP32_Q31.0" 91 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 93 % (self.param_name, err)) 95 % (self.param_name, out)) 97 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 99 % (self.param_name, err)) 101 % (self.param_name, value, out)) 129 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 131 % (self.param_name, err)) 133 % (self.param_name, out) [all...] |
tFP32_Q8_20.py | 62 self.param_name = "/Test/Test/TEST_DIR/FP32_Q8.20" 91 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 93 % (self.param_name, err)) 95 % (self.param_name, out)) 97 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 99 % (self.param_name, err)) 101 % (self.param_name, value, out)) 129 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 131 % (self.param_name, err)) 133 % (self.param_name, out) [all...] |
tFP8_Q0_7.py | 63 self.param_name = "/Test/Test/TEST_DIR/FP8_Q0.7" 93 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 95 % (self.param_name, err)) 97 % (self.param_name, out)) 99 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 101 % (self.param_name, err)) 103 % (self.param_name, value, out)) 131 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 133 % (self.param_name, err)) 135 % (self.param_name, out) [all...] |
tFP8_Q3_4.py | 62 self.param_name = "/Test/Test/TEST_DIR/FP8_Q3.4" 92 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 94 % (self.param_name, err)) 96 % (self.param_name, out)) 98 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 100 % (self.param_name, err)) 102 % (self.param_name, value, out)) 130 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 132 % (self.param_name, err)) 134 % (self.param_name, out) [all...] |
tFP8_Q7_0.py | 62 self.param_name = "/Test/Test/TEST_DIR/FP8_Q7.0" 92 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 94 % (self.param_name, err)) 96 % (self.param_name, out)) 98 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 100 % (self.param_name, err)) 102 % (self.param_name, value, out)) 130 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 132 % (self.param_name, err)) 134 % (self.param_name, out) [all...] |
tINT16.py | 61 self.param_name = "/Test/Test/TEST_DIR/INT16" 90 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 92 % (self.param_name, err)) 94 % (self.param_name, out)) 96 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 98 % (self.param_name, err)) 100 % (self.param_name, value, out)) 128 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 130 % (self.param_name, err)) 132 % (self.param_name, out) [all...] |
tINT16_Max.py | 61 self.param_name = "/Test/Test/TEST_DIR/INT16_Max" 90 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 92 % (self.param_name, err)) 94 % (self.param_name, out)) 96 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 98 % (self.param_name, err)) 100 % (self.param_name, value, out)) 128 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 130 % (self.param_name, err)) 132 % (self.param_name, out) [all...] |
tINT32_Max.py | 61 self.param_name = "/Test/Test/TEST_DIR/INT32_Max" 90 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 92 % (self.param_name, err)) 94 % (self.param_name, out)) 96 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 98 % (self.param_name, err)) 100 % (self.param_name, value, out)) 127 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 129 % (self.param_name, err)) 131 % (self.param_name, out) [all...] |
tINT8.py | 61 self.param_name = "/Test/Test/TEST_DIR/INT8" 90 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 92 % (self.param_name, err)) 94 % (self.param_name, out)) 96 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 98 % (self.param_name, err)) 100 % (self.param_name, value, out)) 128 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 130 % (self.param_name, err)) 132 % (self.param_name, out) [all...] |
tUINT16.py | 65 self.param_name = "/Test/Test/TEST_DIR/UINT16" 94 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 96 % (self.param_name, err)) 98 % (self.param_name, out)) 100 out, err = self.pfw.sendCmd("getParameter", self.param_name, "") 102 % (self.param_name, err)) 104 % (self.param_name, value, out)) 132 out, err = self.pfw.sendCmd("setParameter", self.param_name, value) 134 % (self.param_name, err)) 136 % (self.param_name, out) [all...] |
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Domains/ |
tDomain_Configuration_Backup.py | 57 self.param_name = "/Test/Test/TEST_DIR/INT8" 85 out, err = self.pfw.sendCmd("getParameter", self.param_name) 86 assert err == None, "Error when getting parameter %s : %s" % (self.param_name, err) 88 log.I("saved parameter %s value on %s from domain %s = %s" % (self.param_name, self.conf_1, self.domain_name, Param_saved_1)) 91 log.I("modifying parameter %s value on configuration %s from domain %s" % (self.param_name, self.conf_1, self.domain_name)) 92 out, err = self.pfw.sendCmd("setParameter", self.param_name, str(Param_saved_1+1)) 93 assert err == None, "Error when setting parameter %s : %s" % (self.param_name, err) 94 log.I("new parameter %s value = %s in place of %s" % (self.param_name, str(Param_saved_1+1), Param_saved_1)) 101 out, err = self.pfw.sendCmd("getParameter", self.param_name) 102 assert err == None, "Error when getting parameter %s : %s" % (self.param_name, err [all...] |