Camera: Consider Hal buffer management when testing native callbacks

Usually pending capture requests on invalid output surfaces will
always trigger request errors. The output buffers cannot be
inserted as part of the request and apart from the error notification
the camera can not generate any other artifacts.
Devices supporting hal side buffer management can behave differently,
the capture requests do not require valid buffers so the invalid
surface state will be detected much later on potentially after
the capture results. The device in this case must notify about the
buffers loss and not flag any errors related to the capture results.

Bug: 155597206
Test: Camera CTS
Change-Id: I7d8400a88eba08fe942f5795c845925f141a2604
1 file changed