Add assertion for GPSProcessingMethod EXIF tag.

Change-Id: Ib6e55efa1079c9b267f000d6279b3bfb3b8d934e
diff --git a/tests/tests/hardware/src/android/hardware/cts/CameraTest.java b/tests/tests/hardware/src/android/hardware/cts/CameraTest.java
index 3ef784d..5f1072b 100644
--- a/tests/tests/hardware/src/android/hardware/cts/CameraTest.java
+++ b/tests/tests/hardware/src/android/hardware/cts/CameraTest.java
@@ -726,6 +726,7 @@
         assertEquals(exif.getAttribute(ExifInterface.TAG_GPS_LONGITUDE_REF), null);
         assertEquals(exif.getAttribute(ExifInterface.TAG_GPS_TIMESTAMP), null);
         assertEquals(exif.getAttribute(ExifInterface.TAG_GPS_DATESTAMP), null);
+        assertEquals(exif.getAttribute(ExifInterface.TAG_GPS_PROCESSING_METHOD), null);
         double exifFocalLength = (double)exif.getAttributeDouble(
                 ExifInterface.TAG_FOCAL_LENGTH, -1);
         assertEquals(focalLength, exifFocalLength, 0.001);
@@ -736,6 +737,8 @@
         parameters.setGpsLongitude(-122.441983);
         parameters.setGpsAltitude(21);
         parameters.setGpsTimestamp(1199145600);
+        String thirtyTwoCharacters = "GPS NETWORK HYBRID ARE ALL FINE.";
+        parameters.setGpsProcessingMethod(thirtyTwoCharacters);
         mCamera.setParameters(parameters);
         mCamera.takePicture(mShutterCallback, mRawPictureCallback, mJpegPictureCallback);
         waitForSnapshotDone();
@@ -746,6 +749,8 @@
         assertTrue(exif.getAttribute(ExifInterface.TAG_GPS_LONGITUDE_REF) != null);
         assertTrue(exif.getAttribute(ExifInterface.TAG_GPS_TIMESTAMP) != null);
         assertTrue(exif.getAttribute(ExifInterface.TAG_GPS_DATESTAMP) != null);
+        assertEquals(thirtyTwoCharacters,
+                exif.getAttribute(ExifInterface.TAG_GPS_PROCESSING_METHOD));
         terminateMessageLooper();
     }