Home
last modified time | relevance | path

Searched refs:param_name (Results 1 – 25 of 86) sorted by relevance

1234

/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Types/
DtEnum.py61 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,…
95 out, err = self.pfw.sendCmd("getParameter",self.param_name)
96 assert err == None, log.E("getParameter %s : %s" % (self.param_name, err))
97 …t out == value, log.F("getParameter %s - expected : %s , found : %s" % (self.param_name,value,out))
99 …d()[:-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 …]
DtRAW.py77 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 …]
DtSTRING_128.py41 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 …g.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 …]
DtINT16_ARRAY.py66 self.param_name = "/Test/Test/TEST_DIR/INT16_ARRAY"
104 indexed_array_value_path = "".join([self.param_name, "/", str(index)])
107 % (self.param_name, str(index), err))
109 % (self.param_name, str(index), out))
113 % (self.param_name, str(index), err))
115 … % (self.param_name, str(index), str(indexed_array_value), out))
119 … % (self.param_name, str(index)))
142 indexed_array_value_path = "".join([self.param_name, "/", str(index)])
147 % (self.param_name, str(index), err))
149 % (self.param_name, str(index), out))
[all …]
DtUINT8_ARRAY.py67 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 …]
DtBoolean.py55 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 … == 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 …]
DtFP32_Q15_16.py62 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 …]
DtINT32_Max.py61 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 …]
DtFP32_Q0_31.py62 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 …]
DtINT16_Max.py61 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 …]
DtUINT16_Max.py64 self.param_name = "/Test/Test/TEST_DIR/UINT16_Max"
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 …]
DtUINT32_Max.py64 self.param_name = "/Test/Test/TEST_DIR/UINT32_Max"
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 …]
DtUINT16.py65 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 …]
DtINT16.py61 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 …]
DtUINT8_Max.py64 self.param_name = "/Test/Test/TEST_DIR/UINT8_Max"
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 …]
DtUINT32.py64 self.param_name = "/Test/Test/TEST_DIR/UINT32"
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 …]
DtFP32_Q8_20.py62 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 …]
DtUINT8.py63 self.param_name = "/Test/Test/TEST_DIR/UINT8"
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 …]
DtFP16_Q7_8.py62 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 …]
DtINT8.py61 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 …]
DtFP32_Q31_0.py62 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 …]
DtINT32.py61 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 …lue, "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 …]
DtINT8_Max.py61 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 …lue, "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 …]
DtUINT32_ARRAY.py67 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 …]
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Domains/
DtDomain_Configuration_Backup.py57 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.d…
91 …log.I("modifying parameter %s value on configuration %s from domain %s" % (self.param_name, self.c…
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…
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 …]

1234