Handling NPE in case of AVC level under 2

In case of using AVC level under 2, getAvcSupportedFormatInfo returns null.
But in some functions, without null point handling, error reproduced.

So first, in case of calling function getAvcSupportedFormatInfo,
(func doTestVirtualDisplayRecycles, checkMaxConcurrentEncodingDecodingResolution)
handled NPE if codecInfo is null

Second, some test functions call func checkMaxConcurrentEncodingDecodingResolution.
Below tests are affacted on this, handled NPE on their code.
Lists are like below.
- testRendering800x480Locally
- testRenderingMaxResolutionLocally
- testRendering800x480Remotely
- testRenderingMaxResolutionRemotely
- testRendering800x480RemotelyWith3Windows
- testRendering800x480LocallyWith3Windows
- testVirtualDisplayRecycles
With this modification, fail with using AVC level under 2 caused by NPE pass the test.

Change-Id: Ib408a9d0f5f9429d11677313c08413e63c286da4
Signed-off-by: Yoongeun Kwon <yoongeun.kwon@lge.com>
1 file changed