Camera: Add performance measuring parameter for PerformanceTest

When the parameter is specified:
- Only capture JPEG for testSingleCapture,
- Do not run test with shell id override, and
- Do not do video decoding when running RecordingTest

Bug: 147517559
Test: atest CtsCameraTestCases -- --module-arg CtsCameraTestCases:instrumentation-arg:camera-id:=1
--module-arg CtsCameraTestCases:instrumentation-arg:perf-measure:=on

Change-Id: I11128c4ed050d3a58d8de982e75a96391a16b953
4 files changed