p1c: move common stuff to common repo

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I866f1b7d33214b849367b93db60c351c714150df
Merge "p1c: move common stuff to common repo" into android-4.4