Clean up custom vibration format code.

Change-Id: I0c5bed78d57bf529b5f03eac281f3a1eb15e4fd0