coverity#1169824 Explicit null dereferenced

Change-Id: I5fe32e480d8cc372bccae25a0d180210e34075cf
coverity#1169821 Dereference after null check

Change-Id: Ia239505f1fd58ffd371be1d3a49fcb008982bcf5
1169820 Dereference after null check

Change-Id: I0390add3651df64ab41212cb62a8a450d8d3babd
coverity#1169819 Unchecked dynamic_cast

Change-Id: I8db30306719ea297f312453d81601983e708ad33
coverity#1169817 Unchecked dynamic_cast

Change-Id: I7ec12380f2f010ad04f4fd36b6a53f287a12fd3f
coverity#1169816 Division or modulo by zero

Change-Id: Ibd07c0d3766467f2b11b0a9fb18ca089ddcb1cb2
coverity#1169808 Operands don't affect result

Change-Id: I95a3c09056a00a6839f25ecf54acc15e366cc360
coverity#1169807 Operands don't affect result

Change-Id: Ie96de8af75be60435f00593ca33d1dff2f42a02c
coverity#1169806 Operands don't affect result

Change-Id: I8c219ae3b1adcc615d75a61afba9414eb8acdc22
coverity#1169804 Unchecked return value

Change-Id: I32fb858ab78a741a194ae11a3147645d786c9afe