Remove the camera AUPT profile from platform_testing.

Change-Id: Ifcc7deb4ed08ae566a2feb263068193d1eb72ea4
diff --git a/tests/camera/aupt-profile/Android.mk b/tests/camera/aupt-profile/Android.mk
deleted file mode 100644
index e88c9cf..0000000
--- a/tests/camera/aupt-profile/Android.mk
+++ /dev/null
@@ -1,25 +0,0 @@
-#
-# Copyright (C) 2016 The Android Open Source Project
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-LOCAL_PATH := $(call my-dir)
-
-include $(CLEAR_VARS)
-LOCAL_MODULE := camera-profile-test
-LOCAL_JAVA_LIBRARIES := android.test.runner ub-uiautomator AuptLib
-LOCAL_STATIC_JAVA_LIBRARIES := first-party-app-helpers
-LOCAL_SRC_FILES := $(call all-java-files-under, src)
-LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/local/tmp
-
-include $(BUILD_JAVA_LIBRARY)
diff --git a/tests/camera/aupt-profile/src/com/android/test/uiautomator/aupt/camera/CameraStress4KTest.java b/tests/camera/aupt-profile/src/com/android/test/uiautomator/aupt/camera/CameraStress4KTest.java
deleted file mode 100644
index a58b773..0000000
--- a/tests/camera/aupt-profile/src/com/android/test/uiautomator/aupt/camera/CameraStress4KTest.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * Copyright (C) 2016 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.android.test.uiautomator.aupt.camera;
-
-import android.support.test.aupt.AuptTestCase;
-import android.platform.test.helpers.GoogleCameraHelperImpl;
-
-/**
- * Tests for the camera
- */
-public class CameraStress4KTest extends AuptTestCase {
-    private GoogleCameraHelperImpl mHelper;
-    private int videoTimeMS = 5 * 1000;
-
-    /**
-     * {@inheritDoc}
-     */
-    @Override
-    protected void setUp() throws Exception {
-        super.setUp();
-        mHelper = new GoogleCameraHelperImpl(getInstrumentation());
-        if (getParams().containsKey("video-duration")) {
-            videoTimeMS = Integer.parseInt(getParams().getString("video-duration"));
-        }
-        mHelper.open();
-    }
-
-    public void testCameraStressVideoBack4K() {
-        mHelper.goToBackCamera();
-        mHelper.goToVideoMode();
-        mHelper.set4KMode(GoogleCameraHelperImpl.VIDEO_4K_MODE_ON);
-        mHelper.captureVideo(videoTimeMS);
-    }
-
-    /**
-     * {@inheritDoc}
-     */
-    @Override
-    public void tearDown() throws Exception {
-        mHelper.exit();
-        super.tearDown();
-    }
-}
diff --git a/tests/camera/aupt-profile/src/com/android/test/uiautomator/aupt/camera/CameraStressHDRTest.java b/tests/camera/aupt-profile/src/com/android/test/uiautomator/aupt/camera/CameraStressHDRTest.java
deleted file mode 100644
index 01107b5..0000000
--- a/tests/camera/aupt-profile/src/com/android/test/uiautomator/aupt/camera/CameraStressHDRTest.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * Copyright (C) 2016 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.android.test.uiautomator.aupt.camera;
-
-import android.support.test.aupt.AuptTestCase;
-import android.platform.test.helpers.GoogleCameraHelperImpl;
-
-/**
- * Tests for the camera
- */
-public class CameraStressHDRTest extends AuptTestCase {
-    private GoogleCameraHelperImpl mHelper;
-    private int videoTimeMS = 5 * 1000;
-
-    /**
-     * {@inheritDoc}
-     */
-    @Override
-    protected void setUp() throws Exception {
-        super.setUp();
-        mHelper = new GoogleCameraHelperImpl(getInstrumentation());
-        if (getParams().containsKey("video-duration")) {
-            videoTimeMS = Integer.parseInt(getParams().getString("video-duration"));
-        }
-        mHelper.open();
-    }
-
-    public void testCameraStressStillCaptureBackHDR() {
-        mHelper.goToBackCamera();
-        mHelper.goToCameraMode();
-        mHelper.setHdrMode(GoogleCameraHelperImpl.HDR_MODE_ON);
-        mHelper.capturePhoto();
-
-    }
-
-    public void testCameraStressStillCaptureFrontHDR() {
-        mHelper.goToFrontCamera();
-        mHelper.goToCameraMode();
-        mHelper.setHdrMode(GoogleCameraHelperImpl.HDR_MODE_ON);
-        mHelper.capturePhoto();
-    }
-
-    /**
-     * {@inheritDoc}
-     */
-    @Override
-    public void tearDown() throws Exception {
-        mHelper.exit();
-        super.tearDown();
-    }
-}
diff --git a/tests/camera/aupt-profile/src/com/android/test/uiautomator/aupt/camera/CameraStressHFRTest.java b/tests/camera/aupt-profile/src/com/android/test/uiautomator/aupt/camera/CameraStressHFRTest.java
deleted file mode 100644
index a39fb1f..0000000
--- a/tests/camera/aupt-profile/src/com/android/test/uiautomator/aupt/camera/CameraStressHFRTest.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
- * Copyright (C) 2016 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.android.test.uiautomator.aupt.camera;
-
-import android.support.test.aupt.AuptTestCase;
-import android.platform.test.helpers.GoogleCameraHelperImpl;
-
-/**
- * Tests for the camera
- */
-public class CameraStressHFRTest extends AuptTestCase {
-    private GoogleCameraHelperImpl mHelper;
-    private int videoTimeMS = 5 * 1000;
-
-    /**
-     * {@inheritDoc}
-     */
-    @Override
-    protected void setUp() throws Exception {
-        super.setUp();
-        mHelper = new GoogleCameraHelperImpl(getInstrumentation());
-        if (getParams().containsKey("video-duration")) {
-            videoTimeMS = Integer.parseInt(getParams().getString("video-duration"));
-        }
-        mHelper.open();
-    }
-
-    public void testCameraStressVideoBackHFR120FPS() {
-        mHelper.goToBackCamera();
-        mHelper.goToVideoMode();
-        mHelper.setHFRMode(GoogleCameraHelperImpl.HFR_MODE_120_FPS);
-        mHelper.captureVideo(videoTimeMS);
-        mHelper.setHFRMode(GoogleCameraHelperImpl.HFR_MODE_OFF);
-    }
-
-    public void testCameraStressVideoBackHFR240FPS() {
-        mHelper.goToBackCamera();
-        mHelper.goToVideoMode();
-        mHelper.setHFRMode(GoogleCameraHelperImpl.HFR_MODE_240_FPS);
-        mHelper.captureVideo(videoTimeMS);
-        mHelper.setHFRMode(GoogleCameraHelperImpl.HFR_MODE_OFF);
-    }
-
-    /**
-     * {@inheritDoc}
-     */
-    @Override
-    public void tearDown() throws Exception {
-        mHelper.exit();
-        super.tearDown();
-    }
-}
diff --git a/tests/camera/aupt-profile/src/com/android/test/uiautomator/aupt/camera/CameraStressSnapshotTest.java b/tests/camera/aupt-profile/src/com/android/test/uiautomator/aupt/camera/CameraStressSnapshotTest.java
deleted file mode 100644
index 7c40ae6..0000000
--- a/tests/camera/aupt-profile/src/com/android/test/uiautomator/aupt/camera/CameraStressSnapshotTest.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * Copyright (C) 2016 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.android.test.uiautomator.aupt.camera;
-
-import android.support.test.aupt.AuptTestCase;
-import android.platform.test.helpers.GoogleCameraHelperImpl;
-
-/**
- * Tests for the camera
- */
-public class CameraStressSnapshotTest extends AuptTestCase {
-    private GoogleCameraHelperImpl mHelper;
-    private int videoTimeMs = 5 * 1000;
-    private int snapshotStartTimeMs = 1 * 1000;
-
-    /**
-     * {@inheritDoc}
-     */
-    @Override
-    protected void setUp() throws Exception {
-        super.setUp();
-        mHelper = new GoogleCameraHelperImpl(getInstrumentation());
-        if (getParams().containsKey("video-duration")) {
-            videoTimeMs = Integer.parseInt(getParams().getString("video-duration"));
-        }
-        mHelper.open();
-    }
-
-    public void testCameraStressVideoBackSnapshot() {
-        mHelper.goToBackCamera();
-        mHelper.goToVideoMode();
-        mHelper.snapshotVideo(videoTimeMs, snapshotStartTimeMs);
-    }
-
-    public void testCameraStressVideoFrontSnapshot() {
-        mHelper.goToFrontCamera();
-        mHelper.goToVideoMode();
-        mHelper.snapshotVideo(videoTimeMs, snapshotStartTimeMs);
-    }
-
-    /**
-     * {@inheritDoc}
-     */
-    @Override
-    public void tearDown() throws Exception {
-        mHelper.exit();
-        super.tearDown();
-    }
-}
diff --git a/tests/camera/aupt-profile/src/com/android/test/uiautomator/aupt/camera/CameraStressTest.java b/tests/camera/aupt-profile/src/com/android/test/uiautomator/aupt/camera/CameraStressTest.java
deleted file mode 100644
index effb38d..0000000
--- a/tests/camera/aupt-profile/src/com/android/test/uiautomator/aupt/camera/CameraStressTest.java
+++ /dev/null
@@ -1,80 +0,0 @@
-/*
- * Copyright (C) 2016 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.android.test.uiautomator.aupt.camera;
-
-import android.support.test.aupt.AuptTestCase;
-import android.platform.test.helpers.GoogleCameraHelperImpl;
-
-/**
- * Tests for the camera
- */
-public class CameraStressTest extends AuptTestCase {
-    private GoogleCameraHelperImpl mHelper;
-    private int videoTimeMS = 5 * 1000;
-
-    /**
-     * {@inheritDoc}
-     */
-    @Override
-    protected void setUp() throws Exception {
-        super.setUp();
-        mHelper = new GoogleCameraHelperImpl(getInstrumentation());
-        if (getParams().containsKey("video-duration")) {
-            videoTimeMS = Integer.parseInt(getParams().getString("video-duration"));
-        }
-        mHelper.open();
-    }
-
-    public void testCameraStressStillCaptureBack() {
-        mHelper.goToBackCamera();
-        mHelper.goToCameraMode();
-        mHelper.setHdrMode(GoogleCameraHelperImpl.HDR_MODE_OFF);
-        mHelper.capturePhoto();
-    }
-
-    public void testCameraStressStillCaptureFront() {
-        mHelper.goToFrontCamera();
-        mHelper.goToCameraMode();
-        mHelper.setHdrMode(GoogleCameraHelperImpl.HDR_MODE_OFF);
-        mHelper.capturePhoto();
-    }
-
-    public void testCameraStressVideoBasicBack() {
-        mHelper.goToBackCamera();
-        mHelper.goToVideoMode();
-        //TODO: enable this once b/28723710 is fixed.
-        //mHelper.set4KMode(GoogleCameraHelperImpl.VIDEO_HD_1080);
-        mHelper.captureVideo(videoTimeMS);
-    }
-
-    public void testCameraStressVideoBasicFront() {
-        mHelper.goToFrontCamera();
-        mHelper.goToVideoMode();
-        //TODO: enable this once b/28723710 is fixed
-        //mHelper.set4KMode(GoogleCameraHelperImpl.VIDEO_HD_1080);
-        mHelper.captureVideo(videoTimeMS);
-    }
-
-    /**
-     * {@inheritDoc}
-     */
-    @Override
-    public void tearDown() throws Exception {
-        mHelper.exit();
-        super.tearDown();
-    }
-}