Home
last modified time | relevance | path

Searched refs:valType (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/tools/emulator/
Dvhal_emulator.py224 valType = self._propToType[prop]
228 propValue.value_type = valType
229 if valType in self._types.TYPE_STRING:
231 elif valType in self._types.TYPE_BYTES:
233 elif valType in self._types.TYPE_INT32:
235 elif valType in self._types.TYPE_INT64:
237 elif valType in self._types.TYPE_FLOAT:
239 elif valType in self._types.TYPE_INT32S:
241 elif valType in self._types.TYPE_FLOATS:
243 elif valType in self._types.TYPE_MIXED:
[all …]
Dvhal_emulator_test.py67 valType = cfg.value_type
68 if valType in self._types.TYPE_STRING:
70 elif valType in self._types.TYPE_BYTES:
73 elif valType == vhal_consts_2_0.VEHICLEPROPERTYTYPE_BOOLEAN:
75 elif valType in self._types.TYPE_INT32:
82 elif valType in self._types.TYPE_INT64:
89 elif valType in self._types.TYPE_FLOAT:
100 self._log.error("generateTestValue: valType=0x%X is not handled", valType)
111 valType = rxMsg.value[0].value_type
113 if valType in self._types.TYPE_STRING:
[all …]
Dprop_event_simulator.py13 def parseVal(val, valType): argument
25 }[valType]
27 raise ValueError('Property value type not recognized:', valType)