move buildDeviceType to the TrackingProcessor constructor to be called
once.