Home
last modified time | relevance | path

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

123

/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Types/
DtEnum.py62 self.param_name = "/Test/Test/TEST_TYPES/ENUM"
91 log.I("Set parameter %s to %s"%(self.param_name,value))
92 out,err = self.pfw.sendCmd("setParameter",self.param_name, value)
93 assert err == None, log.E("setParameter %s %s : %s" % (self.param_name, value, err))
94 …assert out == "Done", log.F("setParameter %s %s - expected : Done : %s" % (self.param_name, value,…
96 out, err = self.pfw.sendCmd("getParameter",self.param_name)
97 assert err == None, log.E("getParameter %s : %s" % (self.param_name, err))
98 …t out == value, log.F("getParameter %s - expected : %s , found : %s" % (self.param_name,value,out))
100 …d()[:-1] == filesystem_value, log.F("FILESYSTEM : parameter update error for %s"%(self.param_name))
123 log.I("Set parameter %s to %s"%(self.param_name,value))
[all …]
DtRAW.py78 self.param_name = "/Test/Test/TEST_DIR/UINT16_Max"
218 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
220 % (self.param_name, err))
222 % (value,self.param_name))
224 out, err = self.pfw.sendCmd("getParameter", self.param_name, "")
226 % (self.param_name, err))
228 % (self.param_name, blackboard_value, out))
231 … % (self.param_name))
268 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
270 % (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 …]
DtUINT8_ARRAY.py68 self.param_name = "/Test/Test/TEST_DIR/UINT8_ARRAY"
106 indexed_array_value_path = "".join([self.param_name, "/", str(index)])
109 % (self.param_name, str(index), err))
111 % (self.param_name, str(index), out))
115 % (self.param_name, str(index), err))
117 … % (self.param_name, str(index), str(indexed_array_value), out))
121 … % (self.param_name, str(index)))
144 indexed_array_value_path = "".join([self.param_name, "/", str(index)])
149 % (self.param_name, str(index), err))
151 % (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 …]
DtFP16_Q7_8.py63 self.param_name = "/Test/Test/TEST_DIR/FP16_Q7.8"
93 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
94 assert err == None, log.E("when setting parameter %s : %s" % (self.param_name, err))
95 assert out == "Done", log.F("when setting parameter %s : %s" % (self.param_name, out))
97 out, err = self.pfw.sendCmd("getParameter", self.param_name, "")
98 assert err == None, log.E("when setting parameter %s : %s" % (self.param_name, err))
100 % (self.param_name, value, out))
128 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
129 assert err == None, log.E("when setting parameter %s : %s" % (self.param_name, err))
130 assert out == "Done", log.F("when setting parameter %s : %s" % (self.param_name, out))
[all …]
DtUINT8_Max.py65 self.param_name = "/Test/Test/TEST_DIR/UINT8_Max"
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 …]
DtINT32_Max.py62 self.param_name = "/Test/Test/TEST_DIR/INT32_Max"
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))
128 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
130 % (self.param_name, err))
132 % (self.param_name, out))
[all …]
DtINT8.py62 self.param_name = "/Test/Test/TEST_DIR/INT8"
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 …]
DtFP32_Q15_16.py63 self.param_name = "/Test/Test/TEST_DIR/FP32_Q15.16"
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, err))
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))
128 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
129 assert err == None, log.E("when setting parameter %s : %s" % (self.param_name, err))
130 assert out == "Done", log.F("when setting parameter %s : %s" % (self.param_name, out))
[all …]
DtUINT32_Max.py65 self.param_name = "/Test/Test/TEST_DIR/UINT32_Max"
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 …]
DtUINT16_Max.py65 self.param_name = "/Test/Test/TEST_DIR/UINT16_Max"
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 …]
DtFP32_Q31_0.py63 self.param_name = "/Test/Test/TEST_DIR/FP32_Q31.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 …]
DtFP32_Q0_31.py63 self.param_name = "/Test/Test/TEST_DIR/FP32_Q0.31"
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 …]
DtINT16_Max.py62 self.param_name = "/Test/Test/TEST_DIR/INT16_Max"
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 …]
DtUINT16.py66 self.param_name = "/Test/Test/TEST_DIR/UINT16"
95 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
97 % (self.param_name, err))
99 % (self.param_name, out))
101 out, err = self.pfw.sendCmd("getParameter", self.param_name, "")
103 % (self.param_name, err))
105 % (self.param_name, value, out))
133 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
135 % (self.param_name, err))
137 % (self.param_name, out))
[all …]
DtUINT32.py65 self.param_name = "/Test/Test/TEST_DIR/UINT32"
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.py62 self.param_name = "/Test/Test/TEST_DIR/INT16"
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.py64 self.param_name = "/Test/Test/TEST_DIR/UINT8"
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.py63 self.param_name = "/Test/Test/TEST_DIR/FP32_Q8.20"
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 …]
DtINT8_Max.py62 self.param_name = "/Test/Test/TEST_DIR/INT8_Max"
91 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
92 assert err == None, "Error when setting parameter %s : %s" % (self.param_name, err)
95 out, err = self.pfw.sendCmd("getParameter", self.param_name, "")
96 assert err == None, "Error when setting parameter %s : %s" % (self.param_name, err)
97 …lue, "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, "Error when setting parameter %s : %s" % (self.param_name, err)
129 out, err = self.pfw.sendCmd("getParameter", self.param_name, "")
130 assert err == None, "PFW : Error when setting parameter %s : %s" % (self.param_name, err)
[all …]
DtINT32.py62 self.param_name = "/Test/Test/TEST_DIR/INT32"
91 out, err = self.pfw.sendCmd("setParameter", self.param_name, value)
92 assert err == None, "Error when setting parameter %s : %s" % (self.param_name, err)
95 out, err = self.pfw.sendCmd("getParameter", self.param_name, "")
96 assert err == None, "Error when setting parameter %s : %s" % (self.param_name, err)
97 …lue, "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, "Error when setting parameter %s : %s" % (self.param_name, err)
129 out, err = self.pfw.sendCmd("getParameter", self.param_name, "")
130 assert err == None, "PFW : Error when setting parameter %s : %s" % (self.param_name, err)
[all …]
DtUINT32_ARRAY.py68 self.param_name = "/Test/Test/TEST_DIR/UINT32_ARRAY"
106 indexed_array_value_path = "".join([self.param_name, "/", str(index)])
109 % (self.param_name, str(index), err))
111 % (self.param_name, str(index), out))
115 % (self.param_name, str(index), err))
117 … % (self.param_name, str(index), str(indexed_array_value), out))
121 … % (self.param_name, str(index)))
144 indexed_array_value_path = "".join([self.param_name, "/", str(index)])
149 % (self.param_name, str(index), err))
151 % (self.param_name, str(index), out))
[all …]
DtINT16_ARRAY.py67 self.param_name = "/Test/Test/TEST_DIR/INT16_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 …]

123