From ec667f9fc49802a477246c6ecc161afc966399a7 Mon Sep 17 00:00:00 2001 From: Nataniel Borges Date: Tue, 20 Sep 2022 15:48:15 +0000 Subject: [PATCH] 4/ Delete flicker test apps from WMShell package Test: atest FlickerLibTest && atest FlickerTests Change-Id: I4a71fedb8190c82abd5649b3d99c9c6cf0cb934e --- .../flicker/test-apps/flickerapp/Android.bp | 35 -- .../test-apps/flickerapp/AndroidManifest.xml | 147 --------- .../test-apps/flickerapp/res/drawable/bg.png | Bin 1966 -> 0 bytes .../flickerapp/res/drawable/ic_bubble.xml | 31 -- .../flickerapp/res/drawable/ic_message.xml | 26 -- .../flickerapp/res/layout/activity_bubble.xml | 48 --- .../flickerapp/res/layout/activity_ime.xml | 27 -- .../flickerapp/res/layout/activity_main.xml | 48 --- .../res/layout/activity_non_resizeable.xml | 32 -- .../res/layout/activity_notification.xml | 30 -- .../flickerapp/res/layout/activity_pip.xml | 141 -------- .../flickerapp/res/layout/activity_simple.xml | 23 -- .../res/layout/activity_splitscreen.xml | 33 -- .../layout/activity_splitscreen_secondary.xml | 32 -- .../flickerapp/res/values/styles.xml | 34 -- .../shell/flicker/testapp/BubbleActivity.java | 77 ----- .../shell/flicker/testapp/BubbleHelper.java | 173 ---------- .../wm/shell/flicker/testapp/Components.java | 108 ------ .../shell/flicker/testapp/FixedActivity.java | 35 -- .../wm/shell/flicker/testapp/ImeActivity.java | 66 ---- .../flicker/testapp/LaunchBubbleActivity.java | 82 ----- .../testapp/NonResizeableActivity.java | 29 -- .../wm/shell/flicker/testapp/PipActivity.java | 308 ------------------ .../testapp/SendNotificationActivity.java | 61 ---- .../shell/flicker/testapp/SimpleActivity.java | 33 -- .../flicker/testapp/SplitScreenActivity.java | 29 -- .../testapp/SplitScreenSecondaryActivity.java | 28 -- tests/FlickerTests/test-apps/Android.bp | 0 28 files changed, 1716 deletions(-) delete mode 100644 libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/Android.bp delete mode 100644 libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/AndroidManifest.xml delete mode 100644 libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/res/drawable/bg.png delete mode 100644 libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/res/drawable/ic_bubble.xml delete mode 100644 libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/res/drawable/ic_message.xml delete mode 100644 libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/res/layout/activity_bubble.xml delete mode 100644 libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/res/layout/activity_ime.xml delete mode 100644 libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/res/layout/activity_main.xml delete mode 100644 libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/res/layout/activity_non_resizeable.xml delete mode 100644 libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/res/layout/activity_notification.xml delete mode 100644 libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/res/layout/activity_pip.xml delete mode 100644 libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/res/layout/activity_simple.xml delete mode 100644 libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/res/layout/activity_splitscreen.xml delete mode 100644 libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/res/layout/activity_splitscreen_secondary.xml delete mode 100644 libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/res/values/styles.xml delete mode 100644 libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/src/com/android/wm/shell/flicker/testapp/BubbleActivity.java delete mode 100644 libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/src/com/android/wm/shell/flicker/testapp/BubbleHelper.java delete mode 100644 libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/src/com/android/wm/shell/flicker/testapp/Components.java delete mode 100644 libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/src/com/android/wm/shell/flicker/testapp/FixedActivity.java delete mode 100644 libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/src/com/android/wm/shell/flicker/testapp/ImeActivity.java delete mode 100644 libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/src/com/android/wm/shell/flicker/testapp/LaunchBubbleActivity.java delete mode 100644 libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/src/com/android/wm/shell/flicker/testapp/NonResizeableActivity.java delete mode 100644 libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/src/com/android/wm/shell/flicker/testapp/PipActivity.java delete mode 100644 libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/src/com/android/wm/shell/flicker/testapp/SendNotificationActivity.java delete mode 100644 libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/src/com/android/wm/shell/flicker/testapp/SimpleActivity.java delete mode 100644 libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/src/com/android/wm/shell/flicker/testapp/SplitScreenActivity.java delete mode 100644 libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/src/com/android/wm/shell/flicker/testapp/SplitScreenSecondaryActivity.java delete mode 100644 tests/FlickerTests/test-apps/Android.bp diff --git a/libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/Android.bp b/libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/Android.bp deleted file mode 100644 index ea606df1536d1..0000000000000 --- a/libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/Android.bp +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright (C) 2020 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 { - // See: http://go/android-license-faq - // A large-scale-change added 'default_applicable_licenses' to import - // all of the 'license_kinds' from "frameworks_base_license" - // to get the below license kinds: - // SPDX-license-identifier-Apache-2.0 - default_applicable_licenses: ["frameworks_base_license"], -} - -android_test { - name: "WMShellFlickerTestApp", - srcs: ["**/*.java"], - sdk_version: "current", - test_suites: ["device-tests"], -} - -java_library { - name: "wmshell-flicker-test-components", - srcs: ["src/**/Components.java"], - sdk_version: "test_current", -} diff --git a/libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/AndroidManifest.xml b/libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/AndroidManifest.xml deleted file mode 100644 index bc0b0b6292b4d..0000000000000 --- a/libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/AndroidManifest.xml +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/res/drawable/bg.png b/libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/res/drawable/bg.png deleted file mode 100644 index d424a17b41572ce762a577db4f5009e395ccd839..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1966 zcmeAS@N?(olHy`uVBq!ia0y~yU;;9k7&t&wwUqN(1_s8KOlRi+PiJR^f};Gi%$!sP z291fe6Ky>XJIEZ3kKU>!%5L3Zk<#HO=He=|mCJR7Kvrv*tdHK`CN*BquI|MTq6$7F zZ+!LO(VErGs}(rv8g}fo)ZFFK`QMvMH_680-SOSk{kzK@HpHdPx@yRmu`73(P@&@F zSkXi4UpR8a3MigBWAsc#lk@(^(td{c_enOV|KFLv*#B%K4+qDQ&1Vd9AMrkV>3jRZ z9)Fos*GN@6bvfggO-K4;!fomv#}rteFkYNyW$G`ZD#n$&W{aWrEUAwo8&_mmJ!LnR zTRmsHMfOvz?0b{<8%(+!K5eI8u>_}15~mQ0#)?HPMma|^u6k~qu;}lO{`wPNy`Kb~ z2xU?}&ZKogVRzjJ`yY4LPMtsJ!z87`1)q-=+PO7+(7Uk0^4#~0k4^jZw|e)jd+o&A^D z6?|h=^BbC-6Sg?qd~NssUEce*_l?i~t7GsDDw-kezF|KwS~v?lB8wRq^pruEv0|xx z8BmbD#M9T6{V69in=Z>XBYrQSkYtH#M2T~LZfkurZLs zBu5XDRTOFmnna1?Dc25kKiNSC2?h$a1HDgP#KE;us9l1rWCORI3feseI1Nyk0!Nb& g71F?vO9JNHC!ewYOL=(Li2(>aUHx3vIVCg!0FQxY5C8xG diff --git a/libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/res/drawable/ic_bubble.xml b/libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/res/drawable/ic_bubble.xml deleted file mode 100644 index b43f31da748d1..0000000000000 --- a/libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/res/drawable/ic_bubble.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - diff --git a/libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/res/drawable/ic_message.xml b/libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/res/drawable/ic_message.xml deleted file mode 100644 index 0e8c7a0fe64a6..0000000000000 --- a/libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/res/drawable/ic_message.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - diff --git a/libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/res/layout/activity_bubble.xml b/libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/res/layout/activity_bubble.xml deleted file mode 100644 index f8b0ca3da26ec..0000000000000 --- a/libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/res/layout/activity_bubble.xml +++ /dev/null @@ -1,48 +0,0 @@ - - - -