add constructor with two args

add constructor with two args

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