add constructor with one arg

constructor with one arg.

Change-Id: I14948235190e04e9146bcf830c5ddb22335596aa
Signed-off-by: liukaitj <liukai.tci@gmail.com>