diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ApkVerityTest/ApkVerityTestApp/feature_split/src/com/android/apkverity/feature_x/DummyActivity.java | 2 | ||||
| -rw-r--r-- | tests/ApkVerityTest/ApkVerityTestApp/src/com/android/apkverity/DummyActivity.java | 2 | ||||
| -rw-r--r-- | tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java | 2 | ||||
| -rw-r--r-- | tests/AttestationVerificationTest/src/android/security/attestationverification/PeerDeviceSystemAttestationVerificationTest.kt | 2 | ||||
| -rw-r--r-- | tests/AttestationVerificationTest/src/android/security/attestationverification/SystemAttestationVerificationTest.kt | 2 | ||||
| -rw-r--r-- | tests/BatteryStatsPerfTest/Android.bp | 2 | ||||
| -rw-r--r-- | tests/BinaryTransparencyHostTest/Android.bp | 2 | ||||
| -rw-r--r-- | tests/BinderLeakTest/Android.bp | 40 | ||||
| -rw-r--r-- | tests/BinderLeakTest/AndroidManifest.xml | 17 | ||||
| -rw-r--r-- | tests/BinderLeakTest/AndroidManifest_legacy.xml | 20 | ||||
| -rw-r--r-- | tests/BinderLeakTest/aidl/com/android/test/binder/IFoo.aidl | 5 | ||||
| -rw-r--r-- | tests/BinderLeakTest/aidl/com/android/test/binder/IFooProvider.aidl | 10 | ||||
| -rw-r--r-- | tests/BinderLeakTest/java/com/android/test/binder/BinderTest.java | 153 | ||||
| -rw-r--r-- | tests/BinderLeakTest/java/com/android/test/binder/MyService.java | 63 | ||||
| -rw-r--r-- | tests/BlobStoreTestUtils/Android.bp | 16 | ||||
| -rw-r--r-- | tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/BackingStore.java | 191 | ||||
| -rw-r--r-- | tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/FrameBuffer1D.java | 16 | ||||
| -rw-r--r-- | tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/GraphExporter.java | 4 | ||||
| -rw-r--r-- | tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/MffContext.java | 36 | ||||
| -rw-r--r-- | tests/ChoreographerTests/Android.bp | 2 | ||||
| -rw-r--r-- | tests/DynamicCodeLoggerIntegrationTests/Android.bp | 2 | ||||
| -rw-r--r-- | tests/DynamicCodeLoggerIntegrationTests/src/com/android/dcl/Simple.java | 2 | ||||
| -rw-r--r-- | tests/FlickerTests/Android.bp | 4 | ||||
| -rw-r--r-- | tests/Input/Android.bp | 2 | ||||
| -rw-r--r-- | tests/Input/OWNERS | 1 | ||||
| -rw-r--r-- | tests/Input/src/com/android/test/input/AnrTest.kt | 2 | ||||
| -rw-r--r-- | tests/Input/src/com/android/test/input/UnresponsiveGestureMonitorActivity.kt | 4 | ||||
| -rw-r--r-- | tests/InputMethodStressTest/Android.bp | 2 | ||||
| -rw-r--r-- | tests/Internal/Android.bp | 2 | ||||
| -rw-r--r-- | tests/Internal/src/stub/DummyWallpaperService.java | 2 | ||||
| -rw-r--r-- | tests/LocalizationTest/Android.bp | 2 | ||||
| -rw-r--r-- | tests/MidiTests/Android.bp | 2 | ||||
| -rw-r--r-- | tests/NetworkSecurityConfigTest/OWNERS | 1 | ||||
| -rw-r--r-- | tests/NetworkSecurityConfigTest/res/raw/ca_certs_der.der | bin | 1473 -> 1382 bytes | |||
| -rw-r--r-- | tests/NetworkSecurityConfigTest/res/raw/ca_certs_pem.pem | 62 | ||||
| -rw-r--r-- | tests/NetworkSecurityConfigTest/res/xml/domain_whitespace.xml | 2 | ||||
| -rw-r--r-- | tests/NetworkSecurityConfigTest/res/xml/nested_domains.xml | 2 | ||||
| -rw-r--r-- | tests/NetworkSecurityConfigTest/res/xml/pins1.xml | 2 | ||||
| -rw-r--r-- | tests/NetworkSecurityConfigTest/src/android/security/net/config/NetworkSecurityConfigTests.java | 26 | ||||
| -rw-r--r-- | tests/NetworkSecurityConfigTest/src/android/security/net/config/TestUtils.java | 18 | ||||
| -rw-r--r-- | tests/NetworkSecurityConfigTest/src/android/security/net/config/XmlConfigTests.java | 30 | ||||
| -rw-r--r-- | tests/PackageWatchdog/Android.bp | 2 | ||||
| -rw-r--r-- | tests/PlatformCompatGating/Android.bp | 2 | ||||
| -rw-r--r-- | tests/PlatformCompatGating/src/com/android/compat/testing/DummyApi.java | 8 | ||||
| -rw-r--r-- | tests/PlatformCompatGating/test-rules/Android.bp | 4 | ||||
| -rw-r--r-- | tests/SilkFX/OWNERS | 1 | ||||
| -rw-r--r-- | tests/SmokeTestApps/Android.bp | 3 | ||||
| -rw-r--r-- | tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/SoundTriggerTestService.java | 2 | ||||
| -rw-r--r-- | tests/StagedInstallTest/OWNERS | 2 | ||||
| -rw-r--r-- | tests/SurfaceViewBufferTests/Android.bp | 9 | ||||
| -rw-r--r-- | tests/TaskOrganizerTest/Android.bp | 9 | ||||
| -rw-r--r-- | tests/TelephonyCommonTests/Android.bp | 4 | ||||
| -rw-r--r-- | tests/TrustTests/Android.bp | 3 | ||||
| -rw-r--r-- | tests/TrustTests/src/android/trust/test/GrantAndRevokeTrustTest.kt | 54 | ||||
| -rw-r--r-- | tests/TrustTests/src/android/trust/test/IsActiveUnlockRunningTest.kt (renamed from tests/TrustTests/src/android/trust/test/CanUnlockWithActiveUnlockTest.kt) | 0 | ||||
| -rw-r--r-- | tests/TrustTests/src/android/trust/test/TemporaryAndRenewableTrustTest.kt | 4 | ||||
| -rw-r--r-- | tests/TrustTests/src/android/trust/test/lib/LockStateTrackingRule.kt | 42 | ||||
| -rw-r--r-- | tests/TrustTests/src/android/trust/test/lib/ScreenLockRule.kt | 2 | ||||
| -rw-r--r-- | tests/UpdatableSystemFontTest/Android.bp | 2 | ||||
| -rw-r--r-- | tests/UsbManagerTests/Android.bp | 2 | ||||
| -rw-r--r-- | tests/UsbManagerTests/lib/Android.bp | 2 | ||||
| -rw-r--r-- | tests/UsbTests/Android.bp | 2 | ||||
| -rw-r--r-- | tests/componentalias/Android.bp | 2 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/.classpath (renamed from tests/HwAccelerationTest/.classpath) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/.gitignore (renamed from tests/HwAccelerationTest/.gitignore) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/Android.bp (renamed from tests/HwAccelerationTest/Android.bp) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/AndroidManifest.xml (renamed from tests/HwAccelerationTest/AndroidManifest.xml) | 9 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/default.properties (renamed from tests/HwAccelerationTest/default.properties) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/jni/Android.bp (renamed from tests/HwAccelerationTest/jni/Android.bp) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/jni/native-lib.cpp (renamed from tests/HwAccelerationTest/jni/native-lib.cpp) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/anim/accelerate_interpolator_2.xml (renamed from tests/HwAccelerationTest/res/anim/accelerate_interpolator_2.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/anim/fade_in.xml (renamed from tests/HwAccelerationTest/res/anim/fade_in.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/anim/fade_out.xml (renamed from tests/HwAccelerationTest/res/anim/fade_out.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/anim/slide_off_left.xml (renamed from tests/HwAccelerationTest/res/anim/slide_off_left.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable-hdpi/appwidget_background.xml (renamed from tests/HwAccelerationTest/res/drawable-hdpi/appwidget_background.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable-hdpi/icon.png (renamed from tests/HwAccelerationTest/res/drawable-hdpi/icon.png) | bin | 5141 -> 5141 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable-hdpi/sunset1.jpg (renamed from tests/HwAccelerationTest/res/drawable-hdpi/sunset1.jpg) | bin | 28050 -> 28050 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable-hdpi/sunset2.png (renamed from tests/HwAccelerationTest/res/drawable-hdpi/sunset2.png) | bin | 55763 -> 55763 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable-hdpi/sunset3.png (renamed from tests/HwAccelerationTest/res/drawable-hdpi/sunset3.png) | bin | 45781 -> 45781 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable-hdpi/widget_header.png (renamed from tests/HwAccelerationTest/res/drawable-hdpi/widget_header.png) | bin | 4092 -> 4092 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable-mdpi/expander_ic_maximized.9.png (renamed from tests/HwAccelerationTest/res/drawable-mdpi/expander_ic_maximized.9.png) | bin | 1929 -> 1929 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable-mdpi/expander_ic_minimized.9.png (renamed from tests/HwAccelerationTest/res/drawable-mdpi/expander_ic_minimized.9.png) | bin | 1982 -> 1982 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable-nodpi/appwidget_bg.9.png (renamed from tests/HwAccelerationTest/res/drawable-nodpi/appwidget_bg.9.png) | bin | 1694 -> 1694 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable-nodpi/appwidget_bg_focus.9.png (renamed from tests/HwAccelerationTest/res/drawable-nodpi/appwidget_bg_focus.9.png) | bin | 1910 -> 1910 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable-nodpi/appwidget_bg_press.9.png (renamed from tests/HwAccelerationTest/res/drawable-nodpi/appwidget_bg_press.9.png) | bin | 1908 -> 1908 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable-nodpi/green_gradient.9.png (renamed from tests/HwAccelerationTest/res/drawable-nodpi/green_gradient.9.png) | bin | 1239 -> 1239 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable-nodpi/large_photo.jpg (renamed from tests/HwAccelerationTest/res/drawable-nodpi/large_photo.jpg) | bin | 311474 -> 311474 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable-nodpi/patch.9.png (renamed from tests/HwAccelerationTest/res/drawable-nodpi/patch.9.png) | bin | 2863 -> 2863 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable-nodpi/patch2.9.png (renamed from tests/HwAccelerationTest/res/drawable-nodpi/patch2.9.png) | bin | 2825 -> 2825 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable-nodpi/progress_vertical_bg_holo_dark.9.png (renamed from tests/HwAccelerationTest/res/drawable-nodpi/progress_vertical_bg_holo_dark.9.png) | bin | 189 -> 189 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable-nodpi/progress_vertical_primary_holo_dark.9.png (renamed from tests/HwAccelerationTest/res/drawable-nodpi/progress_vertical_primary_holo_dark.9.png) | bin | 506 -> 506 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable-nodpi/progress_vertical_secondary_holo_dark.9.png (renamed from tests/HwAccelerationTest/res/drawable-nodpi/progress_vertical_secondary_holo_dark.9.png) | bin | 204 -> 204 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable-nodpi/scratches.png (renamed from tests/HwAccelerationTest/res/drawable-nodpi/scratches.png) | bin | 248848 -> 248848 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable-nodpi/scrubber_vertical_primary_holo.9.png (renamed from tests/HwAccelerationTest/res/drawable-nodpi/scrubber_vertical_primary_holo.9.png) | bin | 177 -> 177 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable-nodpi/scrubber_vertical_secondary_holo.9.png (renamed from tests/HwAccelerationTest/res/drawable-nodpi/scrubber_vertical_secondary_holo.9.png) | bin | 179 -> 179 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable-nodpi/scrubber_vertical_track_holo_dark.9.png (renamed from tests/HwAccelerationTest/res/drawable-nodpi/scrubber_vertical_track_holo_dark.9.png) | bin | 185 -> 185 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable-nodpi/scrubber_vertical_track_holo_light.9.png (renamed from tests/HwAccelerationTest/res/drawable-nodpi/scrubber_vertical_track_holo_light.9.png) | bin | 170 -> 170 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable-nodpi/spot_mask.png (renamed from tests/HwAccelerationTest/res/drawable-nodpi/spot_mask.png) | bin | 25505 -> 25505 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable-nodpi/very_large_photo.jpg (renamed from tests/HwAccelerationTest/res/drawable-nodpi/very_large_photo.jpg) | bin | 1781132 -> 1781132 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable-nodpi/weather_2.jpg (renamed from tests/HwAccelerationTest/res/drawable-nodpi/weather_2.jpg) | bin | 706520 -> 706520 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable-nodpi/widget_title_bg.9.png (renamed from tests/HwAccelerationTest/res/drawable-nodpi/widget_title_bg.9.png) | bin | 1429 -> 1429 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable/appwidget_background.xml (renamed from tests/HwAccelerationTest/res/drawable/appwidget_background.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable/appwidget_bg.9.png (renamed from tests/HwAccelerationTest/res/drawable/appwidget_bg.9.png) | bin | 1694 -> 1694 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable/appwidget_bg_focus.9.png (renamed from tests/HwAccelerationTest/res/drawable/appwidget_bg_focus.9.png) | bin | 1910 -> 1910 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable/appwidget_bg_press.9.png (renamed from tests/HwAccelerationTest/res/drawable/appwidget_bg_press.9.png) | bin | 1908 -> 1908 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable/btn_toggle_off.9.png (renamed from tests/HwAccelerationTest/res/drawable/btn_toggle_off.9.png) | bin | 364 -> 364 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable/btn_toggle_on.9.png (renamed from tests/HwAccelerationTest/res/drawable/btn_toggle_on.9.png) | bin | 442 -> 442 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable/default_wallpaper.png (renamed from tests/HwAccelerationTest/res/drawable/default_wallpaper.png) | bin | 320012 -> 320012 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable/gradient.xml (renamed from tests/HwAccelerationTest/res/drawable/gradient.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable/green_gradient.9.png (renamed from tests/HwAccelerationTest/res/drawable/green_gradient.9.png) | bin | 1239 -> 1239 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable/icon.png (renamed from tests/HwAccelerationTest/res/drawable/icon.png) | bin | 3133 -> 3133 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable/progress_vertical_holo_dark.xml (renamed from tests/HwAccelerationTest/res/drawable/progress_vertical_holo_dark.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable/robot.png (renamed from tests/HwAccelerationTest/res/drawable/robot.png) | bin | 5634 -> 5634 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable/robot_repeated.xml | 18 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable/round_rect_background.xml (renamed from tests/HwAccelerationTest/res/drawable/round_rect_background.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable/scrubber_progress_vertical_holo_dark.xml (renamed from tests/HwAccelerationTest/res/drawable/scrubber_progress_vertical_holo_dark.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable/sunset1.jpg (renamed from tests/HwAccelerationTest/res/drawable/sunset1.jpg) | bin | 28050 -> 28050 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable/sunset2.png (renamed from tests/HwAccelerationTest/res/drawable/sunset2.png) | bin | 55763 -> 55763 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable/sunset3.png (renamed from tests/HwAccelerationTest/res/drawable/sunset3.png) | bin | 45781 -> 45781 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable/widget_header.png (renamed from tests/HwAccelerationTest/res/drawable/widget_header.png) | bin | 6098 -> 6098 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/drawable/widget_title_bg.9.png (renamed from tests/HwAccelerationTest/res/drawable/widget_title_bg.9.png) | bin | 1429 -> 1429 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/layout/_advanced_blend.xml (renamed from tests/HwAccelerationTest/res/layout/_advanced_blend.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/layout/_advanced_gradient.xml (renamed from tests/HwAccelerationTest/res/layout/_advanced_gradient.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/layout/_layers.xml (renamed from tests/HwAccelerationTest/res/layout/_layers.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/layout/_lines.xml (renamed from tests/HwAccelerationTest/res/layout/_lines.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/layout/_newlayers.xml (renamed from tests/HwAccelerationTest/res/layout/_newlayers.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/layout/_paths.xml (renamed from tests/HwAccelerationTest/res/layout/_paths.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/layout/_shaders.xml (renamed from tests/HwAccelerationTest/res/layout/_shaders.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/layout/colored_shadows_activity.xml (renamed from tests/HwAccelerationTest/res/layout/colored_shadows_activity.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/layout/colored_shadows_row.xml (renamed from tests/HwAccelerationTest/res/layout/colored_shadows_row.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/layout/date_picker.xml (renamed from tests/HwAccelerationTest/res/layout/date_picker.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/layout/flipper_item.xml (renamed from tests/HwAccelerationTest/res/layout/flipper_item.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/layout/form.xml (renamed from tests/HwAccelerationTest/res/layout/form.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/layout/image_filter_activity.xml (renamed from tests/HwAccelerationTest/res/layout/image_filter_activity.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/layout/labels.xml (renamed from tests/HwAccelerationTest/res/layout/labels.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/layout/list_activity.xml (renamed from tests/HwAccelerationTest/res/layout/list_activity.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/layout/pen_stylus.xml (renamed from tests/HwAccelerationTest/res/layout/pen_stylus.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/layout/projection.xml (renamed from tests/HwAccelerationTest/res/layout/projection.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/layout/projection_clipping.xml (renamed from tests/HwAccelerationTest/res/layout/projection_clipping.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/layout/scrolling_stretch_surfaceview.xml (renamed from tests/HwAccelerationTest/res/layout/scrolling_stretch_surfaceview.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/layout/stack.xml (renamed from tests/HwAccelerationTest/res/layout/stack.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/layout/stack_item.xml (renamed from tests/HwAccelerationTest/res/layout/stack_item.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/layout/stretch_layout.xml (renamed from tests/HwAccelerationTest/res/layout/stretch_layout.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/layout/text_fade.xml (renamed from tests/HwAccelerationTest/res/layout/text_fade.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/layout/text_large.xml (renamed from tests/HwAccelerationTest/res/layout/text_large.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/layout/text_medium.xml (renamed from tests/HwAccelerationTest/res/layout/text_medium.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/layout/text_small.xml (renamed from tests/HwAccelerationTest/res/layout/text_small.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/layout/transforms_and_animations.xml (renamed from tests/HwAccelerationTest/res/layout/transforms_and_animations.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/layout/view_layer_invalidation.xml (renamed from tests/HwAccelerationTest/res/layout/view_layer_invalidation.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/layout/view_layers.xml (renamed from tests/HwAccelerationTest/res/layout/view_layers.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/layout/view_layers_3.xml (renamed from tests/HwAccelerationTest/res/layout/view_layers_3.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/layout/view_layers_4.xml (renamed from tests/HwAccelerationTest/res/layout/view_layers_4.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/layout/view_layers_5.xml (renamed from tests/HwAccelerationTest/res/layout/view_layers_5.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/layout/view_properties.xml (renamed from tests/HwAccelerationTest/res/layout/view_properties.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/layout/view_runtime_shader.xml (renamed from tests/HwAccelerationTest/res/layout/view_runtime_shader.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/layout/widget.xml (renamed from tests/HwAccelerationTest/res/layout/widget.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/layout/z_ordering.xml (renamed from tests/HwAccelerationTest/res/layout/z_ordering.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/raw/colorgrid_video.mp4 (renamed from tests/HwAccelerationTest/res/raw/colorgrid_video.mp4) | bin | 25216 -> 25216 bytes | |||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/values/strings.xml (renamed from tests/HwAccelerationTest/res/values/strings.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/res/values/styles.xml (renamed from tests/HwAccelerationTest/res/values/styles.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/AdvancedBlendActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/AdvancedBlendActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/AdvancedGradientsActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/AdvancedGradientsActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/Alpha8BitmapActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/Alpha8BitmapActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/AlphaLayersActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/AlphaLayersActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/Animated3dActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/Animated3dActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/AssetsAtlasActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/AssetsAtlasActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/BackdropBlurActivity.java | 119 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/BigGradientActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/BigGradientActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/BitmapMeshActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/BitmapMeshActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/BitmapMeshLayerActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/BitmapMeshLayerActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/BitmapMutateActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/BitmapMutateActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/BitmapTransitionView.kt (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/BitmapTransitionView.kt) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/Bitmaps3dActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/Bitmaps3dActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/BitmapsActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/BitmapsActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/BitmapsAlphaActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/BitmapsAlphaActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/BitmapsRectActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/BitmapsRectActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/BitmapsSkewActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/BitmapsSkewActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/BlurActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/BlurActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/CanvasTextureViewActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/CanvasTextureViewActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/CirclePropActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/CirclePropActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ClearActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/ClearActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ClipOutlineActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/ClipOutlineActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ClipRegion2Activity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/ClipRegion2Activity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ClipRegion3Activity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/ClipRegion3Activity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ClipRegionActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/ClipRegionActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ColorBitmapActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/ColorBitmapActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ColorFiltersActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/ColorFiltersActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ColorFiltersMutateActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/ColorFiltersMutateActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ColoredRectsActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/ColoredRectsActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ColoredShadowsActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/ColoredShadowsActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/CustomRenderer.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/CustomRenderer.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/DatePicker.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/DatePicker.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/DatePickerActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/DatePickerActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/DisplayListLayersActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/DisplayListLayersActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/DrawIntoHwBitmapActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/DrawIntoHwBitmapActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/EdgeEffectStretchActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/EdgeEffectStretchActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/FramebufferBlendActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/FramebufferBlendActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/FrontBufferedLayer.kt (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/FrontBufferedLayer.kt) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/GLDepthTestActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/GLDepthTestActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/GLTextureViewActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/GLTextureViewActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/GetBitmapActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/GetBitmapActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/GetBitmapSurfaceViewActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/GetBitmapSurfaceViewActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/GlyphCacheActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/GlyphCacheActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/GradientStopsActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/GradientStopsActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/GradientsActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/GradientsActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/HardwareBufferRendererActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/HardwareBufferRendererActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/HardwareCanvasSurfaceViewActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/HardwareCanvasSurfaceViewActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/HardwareCanvasTextureViewActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/HardwareCanvasTextureViewActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/HwTests.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/HwTests.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/LabelsActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/LabelsActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/LayersActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/LayersActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/Lines2Activity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/Lines2Activity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/LinesActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/LinesActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ListActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/ListActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/LooperAcceleration.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/LooperAcceleration.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/MarqueeActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/MarqueeActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/MatrixActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/MatrixActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/MaxBitmapSizeActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/MaxBitmapSizeActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/MeshActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/MeshActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/MeshLargeActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/MeshLargeActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/MipMapActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/MipMapActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/MoreNinePatchesActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/MoreNinePatchesActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/MoreShadersActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/MoreShadersActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/MovingSurfaceViewActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/MovingSurfaceViewActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/MultiLayersActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/MultiLayersActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/MultiProducerActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/MultiProducerActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/MyLittleTextureView.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/MyLittleTextureView.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/NewLayersActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/NewLayersActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/NinePatchesActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/NinePatchesActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/NoAATextActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/NoAATextActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/OpaqueActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/OpaqueActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/PaintDrawFilterActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/PaintDrawFilterActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/PathDestructionActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/PathDestructionActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/PathOffsetActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/PathOffsetActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/PathOpsActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/PathOpsActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/PathsActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/PathsActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/PathsCacheActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/PathsCacheActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/PenStylusActivity.kt (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/PenStylusActivity.kt) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/PictureCaptureDemo.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/PictureCaptureDemo.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/PixelCopyWindow.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/PixelCopyWindow.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/PointsActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/PointsActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/PosTextActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/PosTextActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/PositionListenerActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/PositionListenerActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ProjectionActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/ProjectionActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ProjectionClippingActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/ProjectionClippingActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/QuickRejectActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/QuickRejectActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/RenderEffectShaderActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/RenderEffectShaderActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/RenderEffectViewActivity.kt (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/RenderEffectViewActivity.kt) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ResizeActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/ResizeActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/RevealActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/RevealActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/RippleActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/RippleActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/Rotate3dTextActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/Rotate3dTextActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/RotationActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/RotationActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ScaledPathsActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/ScaledPathsActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ScaledTextActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/ScaledTextActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ScrollingStretchSurfaceViewActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/ScrollingStretchSurfaceViewActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ShadersActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/ShadersActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ShapesActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/ShapesActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/SimplePatchActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/SimplePatchActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/SimplePathsActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/SimplePathsActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/SingleFrameTextureViewTestActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/SingleFrameTextureViewTestActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/SmallCircleActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/SmallCircleActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/StackActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/StackActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/StretchShaderActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/StretchShaderActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/StretchySurfaceViewActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/StretchySurfaceViewActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/SurfaceViewAlphaActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/SurfaceViewAlphaActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/TJunctionActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/TJunctionActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/TextActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/TextActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/TextFadeActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/TextFadeActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/TextGammaActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/TextGammaActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/TextOnPathActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/TextOnPathActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/TextPathActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/TextPathActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/TextureViewActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/TextureViewActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ThinPatchesActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/ThinPatchesActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/TimeDialogActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/TimeDialogActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/Transform3dActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/Transform3dActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/TransformsAndAnimationsActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/TransformsAndAnimationsActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/TransparentListActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/TransparentListActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/VideoViewCaptureActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/VideoViewCaptureActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ViewFlipperActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/ViewFlipperActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ViewLayerInvalidationActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/ViewLayerInvalidationActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity2.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity2.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity3.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity3.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity4.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity4.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity5.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity5.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ViewPropertyAlphaActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/ViewPropertyAlphaActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/XfermodeActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/XfermodeActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ZOrderingActivity.java (renamed from tests/HwAccelerationTest/src/com/android/test/hwui/ZOrderingActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/OWNERS (renamed from tests/HwAccelerationTest/OWNERS) | 2 | ||||
| -rw-r--r-- | tests/graphics/RenderThreadTest/Android.bp (renamed from tests/RenderThreadTest/Android.bp) | 0 | ||||
| -rw-r--r-- | tests/graphics/RenderThreadTest/AndroidManifest.xml (renamed from tests/RenderThreadTest/AndroidManifest.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/RenderThreadTest/res/drawable-hdpi/ic_launcher.png (renamed from tests/RenderThreadTest/res/drawable-hdpi/ic_launcher.png) | bin | 9397 -> 9397 bytes | |||
| -rw-r--r-- | tests/graphics/RenderThreadTest/res/drawable-mdpi/ic_launcher.png (renamed from tests/RenderThreadTest/res/drawable-mdpi/ic_launcher.png) | bin | 5237 -> 5237 bytes | |||
| -rw-r--r-- | tests/graphics/RenderThreadTest/res/drawable-xhdpi/ic_launcher.png (renamed from tests/RenderThreadTest/res/drawable-xhdpi/ic_launcher.png) | bin | 14383 -> 14383 bytes | |||
| -rw-r--r-- | tests/graphics/RenderThreadTest/res/drawable-xhdpi/starry_night_bg.jpg (renamed from tests/RenderThreadTest/res/drawable-xhdpi/starry_night_bg.jpg) | bin | 564084 -> 564084 bytes | |||
| -rw-r--r-- | tests/graphics/RenderThreadTest/res/layout/activity_main.xml (renamed from tests/RenderThreadTest/res/layout/activity_main.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/RenderThreadTest/res/layout/activity_sub.xml (renamed from tests/RenderThreadTest/res/layout/activity_sub.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/RenderThreadTest/res/layout/item_layout.xml (renamed from tests/RenderThreadTest/res/layout/item_layout.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/RenderThreadTest/res/values/strings.xml (renamed from tests/RenderThreadTest/res/values/strings.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/RenderThreadTest/res/values/styles.xml (renamed from tests/RenderThreadTest/res/values/styles.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/RenderThreadTest/src/com/example/renderthread/MainActivity.java (renamed from tests/RenderThreadTest/src/com/example/renderthread/MainActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/RenderThreadTest/src/com/example/renderthread/SubActivity.java (renamed from tests/RenderThreadTest/src/com/example/renderthread/SubActivity.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/Android.bp (renamed from tests/SilkFX/Android.bp) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/AndroidManifest.xml (renamed from tests/SilkFX/AndroidManifest.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/assets/gainmaps/city_night.jpg (renamed from tests/SilkFX/assets/gainmaps/city_night.jpg) | bin | 2995396 -> 2995396 bytes | |||
| -rw-r--r-- | tests/graphics/SilkFX/assets/gainmaps/desert_palms.jpg (renamed from tests/SilkFX/assets/gainmaps/desert_palms.jpg) | bin | 3859886 -> 3859886 bytes | |||
| -rw-r--r-- | tests/graphics/SilkFX/assets/gainmaps/desert_sunset.jpg (renamed from tests/SilkFX/assets/gainmaps/desert_sunset.jpg) | bin | 2577663 -> 2577663 bytes | |||
| -rw-r--r-- | tests/graphics/SilkFX/assets/gainmaps/desert_wanda.jpg (renamed from tests/SilkFX/assets/gainmaps/desert_wanda.jpg) | bin | 1925203 -> 1925203 bytes | |||
| -rw-r--r-- | tests/graphics/SilkFX/assets/gainmaps/fountain_night.jpg (renamed from tests/SilkFX/assets/gainmaps/fountain_night.jpg) | bin | 3579758 -> 3579758 bytes | |||
| -rw-r--r-- | tests/graphics/SilkFX/assets/gainmaps/grand_canyon.jpg (renamed from tests/SilkFX/assets/gainmaps/grand_canyon.jpg) | bin | 4714624 -> 4714624 bytes | |||
| -rw-r--r-- | tests/graphics/SilkFX/assets/gainmaps/lamps.jpg (renamed from tests/SilkFX/assets/gainmaps/lamps.jpg) | bin | 1645109 -> 1645109 bytes | |||
| -rw-r--r-- | tests/graphics/SilkFX/assets/gainmaps/mountain_lake.jpg (renamed from tests/SilkFX/assets/gainmaps/mountain_lake.jpg) | bin | 3242535 -> 3242535 bytes | |||
| -rw-r--r-- | tests/graphics/SilkFX/assets/gainmaps/mountains.jpg (renamed from tests/SilkFX/assets/gainmaps/mountains.jpg) | bin | 4936427 -> 4936427 bytes | |||
| -rw-r--r-- | tests/graphics/SilkFX/assets/gainmaps/sunflower.jpg (renamed from tests/SilkFX/assets/gainmaps/sunflower.jpg) | bin | 2525581 -> 2525581 bytes | |||
| -rw-r--r-- | tests/graphics/SilkFX/assets/gainmaps/train_station_night.jpg (renamed from tests/SilkFX/assets/gainmaps/train_station_night.jpg) | bin | 3281254 -> 3281254 bytes | |||
| -rw-r--r-- | tests/graphics/SilkFX/res/drawable-hdpi/background1.jpeg (renamed from tests/SilkFX/res/drawable-hdpi/background1.jpeg) | bin | 200459 -> 200459 bytes | |||
| -rw-r--r-- | tests/graphics/SilkFX/res/drawable-hdpi/background2.jpeg (renamed from tests/SilkFX/res/drawable-hdpi/background2.jpeg) | bin | 110703 -> 110703 bytes | |||
| -rw-r--r-- | tests/graphics/SilkFX/res/drawable-hdpi/background3.jpeg (renamed from tests/SilkFX/res/drawable-hdpi/background3.jpeg) | bin | 318853 -> 318853 bytes | |||
| -rw-r--r-- | tests/graphics/SilkFX/res/drawable-hdpi/noise.png (renamed from tests/SilkFX/res/drawable-hdpi/noise.png) | bin | 494875 -> 494875 bytes | |||
| -rw-r--r-- | tests/graphics/SilkFX/res/drawable-nodpi/blue_sweep_gradient.xml (renamed from tests/SilkFX/res/drawable-nodpi/blue_sweep_gradient.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/res/drawable-nodpi/dark_gradient.xml (renamed from tests/SilkFX/res/drawable-nodpi/dark_gradient.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/res/drawable-nodpi/dark_notification.png (renamed from tests/SilkFX/res/drawable-nodpi/dark_notification.png) | bin | 42263 -> 42263 bytes | |||
| -rw-r--r-- | tests/graphics/SilkFX/res/drawable-nodpi/green_sweep_gradient.xml (renamed from tests/SilkFX/res/drawable-nodpi/green_sweep_gradient.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/res/drawable-nodpi/grey_sweep_gradient.xml (renamed from tests/SilkFX/res/drawable-nodpi/grey_sweep_gradient.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/res/drawable-nodpi/light_gradient.xml (renamed from tests/SilkFX/res/drawable-nodpi/light_gradient.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/res/drawable-nodpi/light_notification.png (renamed from tests/SilkFX/res/drawable-nodpi/light_notification.png) | bin | 37096 -> 37096 bytes | |||
| -rw-r--r-- | tests/graphics/SilkFX/res/drawable-nodpi/red_sweep_gradient.xml (renamed from tests/SilkFX/res/drawable-nodpi/red_sweep_gradient.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/res/drawable/background_blur_drawable.xml (renamed from tests/SilkFX/res/drawable/background_blur_drawable.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/res/drawable/blur_activity_background_drawable_white.xml (renamed from tests/SilkFX/res/drawable/blur_activity_background_drawable_white.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/res/layout-television/activity_glass.xml (renamed from tests/SilkFX/res/layout-television/activity_glass.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/res/layout/activity_background_blur.xml (renamed from tests/SilkFX/res/layout/activity_background_blur.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/res/layout/activity_glass.xml (renamed from tests/SilkFX/res/layout/activity_glass.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/res/layout/bling_notifications.xml (renamed from tests/SilkFX/res/layout/bling_notifications.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/res/layout/color_grid.xml (renamed from tests/SilkFX/res/layout/color_grid.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/res/layout/color_mode_controls.xml (renamed from tests/SilkFX/res/layout/color_mode_controls.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/res/layout/common_base.xml (renamed from tests/SilkFX/res/layout/common_base.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/res/layout/gainmap_decode_test.xml (renamed from tests/SilkFX/res/layout/gainmap_decode_test.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/res/layout/gainmap_image.xml (renamed from tests/SilkFX/res/layout/gainmap_image.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/res/layout/gainmap_metadata.xml (renamed from tests/SilkFX/res/layout/gainmap_metadata.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/res/layout/gainmap_transform_test.xml (renamed from tests/SilkFX/res/layout/gainmap_transform_test.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/res/layout/gradient_sweep.xml (renamed from tests/SilkFX/res/layout/gradient_sweep.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/res/layout/hdr_glows.xml (renamed from tests/SilkFX/res/layout/hdr_glows.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/res/layout/hdr_image_viewer.xml (renamed from tests/SilkFX/res/layout/hdr_image_viewer.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/res/values/style.xml (renamed from tests/SilkFX/res/values/style.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/src/com/android/test/silkfx/Main.kt (renamed from tests/SilkFX/src/com/android/test/silkfx/Main.kt) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/src/com/android/test/silkfx/app/BaseDemoActivity.kt (renamed from tests/SilkFX/src/com/android/test/silkfx/app/BaseDemoActivity.kt) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/src/com/android/test/silkfx/app/CommonDemoActivity.kt (renamed from tests/SilkFX/src/com/android/test/silkfx/app/CommonDemoActivity.kt) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/src/com/android/test/silkfx/app/HdrImageViewer.kt (renamed from tests/SilkFX/src/com/android/test/silkfx/app/HdrImageViewer.kt) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/src/com/android/test/silkfx/app/WindowObserver.kt (renamed from tests/SilkFX/src/com/android/test/silkfx/app/WindowObserver.kt) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/src/com/android/test/silkfx/common/BaseDrawingView.kt (renamed from tests/SilkFX/src/com/android/test/silkfx/common/BaseDrawingView.kt) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/src/com/android/test/silkfx/common/ColorModeControls.kt (renamed from tests/SilkFX/src/com/android/test/silkfx/common/ColorModeControls.kt) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/src/com/android/test/silkfx/common/HDRIndicator.kt (renamed from tests/SilkFX/src/com/android/test/silkfx/common/HDRIndicator.kt) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/BlingyNotification.kt (renamed from tests/SilkFX/src/com/android/test/silkfx/hdr/BlingyNotification.kt) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/ColorGrid.kt (renamed from tests/SilkFX/src/com/android/test/silkfx/hdr/ColorGrid.kt) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/GainmapDecodeTest.kt (renamed from tests/SilkFX/src/com/android/test/silkfx/hdr/GainmapDecodeTest.kt) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/GainmapImage.kt (renamed from tests/SilkFX/src/com/android/test/silkfx/hdr/GainmapImage.kt) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/GainmapMetadataEditor.kt (renamed from tests/SilkFX/src/com/android/test/silkfx/hdr/GainmapMetadataEditor.kt) | 60 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/GainmapTransformsTest.kt (renamed from tests/SilkFX/src/com/android/test/silkfx/hdr/GainmapTransformsTest.kt) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/GlowActivity.kt (renamed from tests/SilkFX/src/com/android/test/silkfx/hdr/GlowActivity.kt) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/GlowingCard.kt (renamed from tests/SilkFX/src/com/android/test/silkfx/hdr/GlowingCard.kt) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/RadialGlow.kt (renamed from tests/SilkFX/src/com/android/test/silkfx/hdr/RadialGlow.kt) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/src/com/android/test/silkfx/materials/BackgroundBlurActivity.kt (renamed from tests/SilkFX/src/com/android/test/silkfx/materials/BackgroundBlurActivity.kt) | 12 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/src/com/android/test/silkfx/materials/GlassActivity.kt (renamed from tests/SilkFX/src/com/android/test/silkfx/materials/GlassActivity.kt) | 0 | ||||
| -rw-r--r-- | tests/graphics/SilkFX/src/com/android/test/silkfx/materials/GlassView.kt (renamed from tests/SilkFX/src/com/android/test/silkfx/materials/GlassView.kt) | 6 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/Android.bp (renamed from tests/VectorDrawableTest/Android.bp) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/AndroidManifest.xml (renamed from tests/VectorDrawableTest/AndroidManifest.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/OWNERS (renamed from tests/VectorDrawableTest/OWNERS) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/anim/alpha_animation_progress_bar.xml (renamed from tests/VectorDrawableTest/res/anim/alpha_animation_progress_bar.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/anim/animation_favorite.xml (renamed from tests/VectorDrawableTest/res/anim/animation_favorite.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/anim/animation_favorite02.xml (renamed from tests/VectorDrawableTest/res/anim/animation_favorite02.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/anim/animation_grouping_1_01.xml (renamed from tests/VectorDrawableTest/res/anim/animation_grouping_1_01.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/anim/animation_grouping_1_02.xml (renamed from tests/VectorDrawableTest/res/anim/animation_grouping_1_02.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/anim/animation_linear_progress_bar_rect1_scale.xml (renamed from tests/VectorDrawableTest/res/anim/animation_linear_progress_bar_rect1_scale.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/anim/animation_linear_progress_bar_rect1_translate.xml (renamed from tests/VectorDrawableTest/res/anim/animation_linear_progress_bar_rect1_translate.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/anim/animation_linear_progress_bar_rect2_scale.xml (renamed from tests/VectorDrawableTest/res/anim/animation_linear_progress_bar_rect2_scale.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/anim/animation_linear_progress_bar_rect2_translate.xml (renamed from tests/VectorDrawableTest/res/anim/animation_linear_progress_bar_rect2_translate.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/anim/blink.xml (renamed from tests/VectorDrawableTest/res/anim/blink.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/anim/ic_hourglass_animation_fill_outlines.xml (renamed from tests/VectorDrawableTest/res/anim/ic_hourglass_animation_fill_outlines.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/anim/ic_hourglass_animation_hourglass_frame.xml (renamed from tests/VectorDrawableTest/res/anim/ic_hourglass_animation_hourglass_frame.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/anim/ic_hourglass_animation_mask_1.xml (renamed from tests/VectorDrawableTest/res/anim/ic_hourglass_animation_mask_1.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/anim/ic_rotate_2_portrait_v2_animation_arrows_1.xml (renamed from tests/VectorDrawableTest/res/anim/ic_rotate_2_portrait_v2_animation_arrows_1.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/anim/ic_rotate_2_portrait_v2_animation_device_1.xml (renamed from tests/VectorDrawableTest/res/anim/ic_rotate_2_portrait_v2_animation_device_1.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/anim/ic_rotate_2_portrait_v2_animation_device_2.xml (renamed from tests/VectorDrawableTest/res/anim/ic_rotate_2_portrait_v2_animation_device_2.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/anim/ic_signal_airplane_v2_animation_cross_1.xml (renamed from tests/VectorDrawableTest/res/anim/ic_signal_airplane_v2_animation_cross_1.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/anim/ic_signal_airplane_v2_animation_ic_signal_airplane.xml (renamed from tests/VectorDrawableTest/res/anim/ic_signal_airplane_v2_animation_ic_signal_airplane.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/anim/ic_signal_airplane_v2_animation_mask_2.xml (renamed from tests/VectorDrawableTest/res/anim/ic_signal_airplane_v2_animation_mask_2.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/anim/ic_signal_airplane_v2_animation_path_1_1.xml (renamed from tests/VectorDrawableTest/res/anim/ic_signal_airplane_v2_animation_path_1_1.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/anim/trim_path_animation01.xml (renamed from tests/VectorDrawableTest/res/anim/trim_path_animation01.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/anim/trim_path_animation02.xml (renamed from tests/VectorDrawableTest/res/anim/trim_path_animation02.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/anim/trim_path_animation03.xml (renamed from tests/VectorDrawableTest/res/anim/trim_path_animation03.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/anim/trim_path_animation04.xml (renamed from tests/VectorDrawableTest/res/anim/trim_path_animation04.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/anim/trim_path_animation05.xml (renamed from tests/VectorDrawableTest/res/anim/trim_path_animation05.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/anim/trim_path_animation06.xml (renamed from tests/VectorDrawableTest/res/anim/trim_path_animation06.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/anim/trim_path_animation_progress_bar.xml (renamed from tests/VectorDrawableTest/res/anim/trim_path_animation_progress_bar.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/color/fill_gradient_linear.xml (renamed from tests/VectorDrawableTest/res/color/fill_gradient_linear.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/color/fill_gradient_linear_clamp.xml (renamed from tests/VectorDrawableTest/res/color/fill_gradient_linear_clamp.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/color/fill_gradient_linear_item.xml (renamed from tests/VectorDrawableTest/res/color/fill_gradient_linear_item.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/color/fill_gradient_linear_item_overlap.xml (renamed from tests/VectorDrawableTest/res/color/fill_gradient_linear_item_overlap.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/color/fill_gradient_linear_item_overlap_mirror.xml (renamed from tests/VectorDrawableTest/res/color/fill_gradient_linear_item_overlap_mirror.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/color/fill_gradient_linear_item_repeat.xml (renamed from tests/VectorDrawableTest/res/color/fill_gradient_linear_item_repeat.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/color/fill_gradient_radial.xml (renamed from tests/VectorDrawableTest/res/color/fill_gradient_radial.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/color/fill_gradient_radial_clamp.xml (renamed from tests/VectorDrawableTest/res/color/fill_gradient_radial_clamp.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/color/fill_gradient_radial_item.xml (renamed from tests/VectorDrawableTest/res/color/fill_gradient_radial_item.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/color/fill_gradient_radial_item_repeat.xml (renamed from tests/VectorDrawableTest/res/color/fill_gradient_radial_item_repeat.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/color/fill_gradient_radial_item_short.xml (renamed from tests/VectorDrawableTest/res/color/fill_gradient_radial_item_short.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/color/fill_gradient_radial_item_short_mirror.xml (renamed from tests/VectorDrawableTest/res/color/fill_gradient_radial_item_short_mirror.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/color/fill_gradient_sweep.xml (renamed from tests/VectorDrawableTest/res/color/fill_gradient_sweep.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/color/fill_gradient_sweep_clamp.xml (renamed from tests/VectorDrawableTest/res/color/fill_gradient_sweep_clamp.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/color/fill_gradient_sweep_item.xml (renamed from tests/VectorDrawableTest/res/color/fill_gradient_sweep_item.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/color/fill_gradient_sweep_item_long.xml (renamed from tests/VectorDrawableTest/res/color/fill_gradient_sweep_item_long.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/color/fill_gradient_sweep_item_long_mirror.xml (renamed from tests/VectorDrawableTest/res/color/fill_gradient_sweep_item_long_mirror.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/color/fill_gradient_sweep_item_repeat.xml (renamed from tests/VectorDrawableTest/res/color/fill_gradient_sweep_item_repeat.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/color/stroke_gradient.xml (renamed from tests/VectorDrawableTest/res/color/stroke_gradient.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/color/stroke_gradient_clamp.xml (renamed from tests/VectorDrawableTest/res/color/stroke_gradient_clamp.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/color/stroke_gradient_item.xml (renamed from tests/VectorDrawableTest/res/color/stroke_gradient_item.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/color/stroke_gradient_item_alpha.xml (renamed from tests/VectorDrawableTest/res/color/stroke_gradient_item_alpha.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/color/stroke_gradient_item_alpha_mirror.xml (renamed from tests/VectorDrawableTest/res/color/stroke_gradient_item_alpha_mirror.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/color/stroke_gradient_item_repeat.xml (renamed from tests/VectorDrawableTest/res/color/stroke_gradient_item_repeat.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/color/vector_icon_fill_state_list.xml (renamed from tests/VectorDrawableTest/res/color/vector_icon_fill_state_list.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/color/vector_icon_fill_state_list_simple.xml (renamed from tests/VectorDrawableTest/res/color/vector_icon_fill_state_list_simple.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/color/vector_icon_stroke_state_list.xml (renamed from tests/VectorDrawableTest/res/color/vector_icon_stroke_state_list.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/color/vector_icon_stroke_state_list_simple.xml (renamed from tests/VectorDrawableTest/res/color/vector_icon_stroke_state_list_simple.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable-hdpi/icon.png (renamed from tests/VectorDrawableTest/res/drawable-hdpi/icon.png) | bin | 5141 -> 5141 bytes | |||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable-nodpi/bitmap_drawable01.jpg (renamed from tests/VectorDrawableTest/res/drawable-nodpi/bitmap_drawable01.jpg) | bin | 3304 -> 3304 bytes | |||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/animated_vector_drawable_attr_icon.xml (renamed from tests/VectorDrawableTest/res/drawable/animated_vector_drawable_attr_icon.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/animated_vector_drawable_attr_icon_animated.xml (renamed from tests/VectorDrawableTest/res/drawable/animated_vector_drawable_attr_icon_animated.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/animation_drawable_vector.xml (renamed from tests/VectorDrawableTest/res/drawable/animation_drawable_vector.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/animation_vector_drawable01.xml (renamed from tests/VectorDrawableTest/res/drawable/animation_vector_drawable01.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/animation_vector_drawable_favorite.xml (renamed from tests/VectorDrawableTest/res/drawable/animation_vector_drawable_favorite.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/animation_vector_drawable_grouping_1.xml (renamed from tests/VectorDrawableTest/res/drawable/animation_vector_drawable_grouping_1.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/animation_vector_linear_progress_bar.xml (renamed from tests/VectorDrawableTest/res/drawable/animation_vector_linear_progress_bar.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/animation_vector_progress_bar.xml (renamed from tests/VectorDrawableTest/res/drawable/animation_vector_progress_bar.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/btn_radio_on_to_off_bundle.xml (renamed from tests/VectorDrawableTest/res/drawable/btn_radio_on_to_off_bundle.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/ic_hourglass.xml (renamed from tests/VectorDrawableTest/res/drawable/ic_hourglass.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/ic_hourglass_animation.xml (renamed from tests/VectorDrawableTest/res/drawable/ic_hourglass_animation.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/ic_rotate_2_portrait_v2.xml (renamed from tests/VectorDrawableTest/res/drawable/ic_rotate_2_portrait_v2.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/ic_rotate_2_portrait_v2_animation.xml (renamed from tests/VectorDrawableTest/res/drawable/ic_rotate_2_portrait_v2_animation.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/ic_signal_airplane_v2.xml (renamed from tests/VectorDrawableTest/res/drawable/ic_signal_airplane_v2.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/ic_signal_airplane_v2_animation.xml (renamed from tests/VectorDrawableTest/res/drawable/ic_signal_airplane_v2_animation.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/icon.png (renamed from tests/VectorDrawableTest/res/drawable/icon.png) | bin | 3133 -> 3133 bytes | |||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/state_animation_drawable04.xml (renamed from tests/VectorDrawableTest/res/drawable/state_animation_drawable04.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/state_animation_drawable04_false.xml (renamed from tests/VectorDrawableTest/res/drawable/state_animation_drawable04_false.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/state_animation_vector_drawable01.xml (renamed from tests/VectorDrawableTest/res/drawable/state_animation_vector_drawable01.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/state_animation_vector_drawable01_false.xml (renamed from tests/VectorDrawableTest/res/drawable/state_animation_vector_drawable01_false.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/state_animation_vector_drawable02.xml (renamed from tests/VectorDrawableTest/res/drawable/state_animation_vector_drawable02.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/state_animation_vector_drawable02_false.xml (renamed from tests/VectorDrawableTest/res/drawable/state_animation_vector_drawable02_false.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/state_animation_vector_drawable03.xml (renamed from tests/VectorDrawableTest/res/drawable/state_animation_vector_drawable03.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/state_animation_vector_drawable03_false.xml (renamed from tests/VectorDrawableTest/res/drawable/state_animation_vector_drawable03_false.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable01.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable01.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable02.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable02.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable03.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable03.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable04.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable04.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable05.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable05.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable06.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable06.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable07.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable07.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable08.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable08.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable09.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable09.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable10.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable10.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable11.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable11.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable12.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable12.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable13.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable13.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable14.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable14.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable15.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable15.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable16.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable16.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable17.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable17.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable18.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable18.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable19.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable19.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable20.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable20.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable21.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable21.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable22.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable22.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable23.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable23.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable24.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable24.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable25.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable25.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable26.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable26.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable27.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable27.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable28.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable28.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable29.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable29.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable30.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable30.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable_favorite.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable_favorite.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable_group_clip.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable_group_clip.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable_grouping_1.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable_grouping_1.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable_linear_progress_bar.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable_linear_progress_bar.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable_progress_bar.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable_progress_bar.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable_scale0.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable_scale0.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable_scale1.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable_scale1.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable_scale2.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable_scale2.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_drawable_scale3.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_drawable_scale3.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_icon_create.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_icon_create.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_icon_delete.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_icon_delete.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_icon_filltype_evenodd.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_icon_filltype_evenodd.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_icon_filltype_nonzero.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_icon_filltype_nonzero.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_icon_gradient_1.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_icon_gradient_1.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_icon_gradient_1_clamp.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_icon_gradient_1_clamp.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_icon_gradient_2.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_icon_gradient_2.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_icon_gradient_2_repeat.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_icon_gradient_2_repeat.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_icon_gradient_3.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_icon_gradient_3.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_icon_gradient_3_mirror.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_icon_gradient_3_mirror.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_icon_heart.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_icon_heart.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_icon_schedule.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_icon_schedule.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_icon_settings.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_icon_settings.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_icon_state_list_simple.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_icon_state_list_simple.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_icon_state_list_theme.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_icon_state_list_theme.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_test01.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_test01.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/drawable/vector_test02.xml (renamed from tests/VectorDrawableTest/res/drawable/vector_test02.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/interpolator/btn_radio_to_off_mtrl_animation_interpolator_0.xml (renamed from tests/VectorDrawableTest/res/interpolator/btn_radio_to_off_mtrl_animation_interpolator_0.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/interpolator/custom_path_interpolator.xml (renamed from tests/VectorDrawableTest/res/interpolator/custom_path_interpolator.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/interpolator/custom_path_interpolator_favorite.xml (renamed from tests/VectorDrawableTest/res/interpolator/custom_path_interpolator_favorite.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/interpolator/custom_path_interpolator_grouping_1_01.xml (renamed from tests/VectorDrawableTest/res/interpolator/custom_path_interpolator_grouping_1_01.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/interpolator/ic_rotate_2_portrait_v2_arrows_1_rotation_interpolator.xml (renamed from tests/VectorDrawableTest/res/interpolator/ic_rotate_2_portrait_v2_arrows_1_rotation_interpolator.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/interpolator/ic_rotate_2_portrait_v2_arrows_1_scalex_interpolator.xml (renamed from tests/VectorDrawableTest/res/interpolator/ic_rotate_2_portrait_v2_arrows_1_scalex_interpolator.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/interpolator/ic_rotate_2_portrait_v2_device_1_rotation_interpolator.xml (renamed from tests/VectorDrawableTest/res/interpolator/ic_rotate_2_portrait_v2_device_1_rotation_interpolator.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/interpolator/ic_rotate_2_portrait_v2_device_2_pathdata_interpolator.xml (renamed from tests/VectorDrawableTest/res/interpolator/ic_rotate_2_portrait_v2_device_2_pathdata_interpolator.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/interpolator/ic_signal_airplane_v2_path_1_1_pathdata_interpolator.xml (renamed from tests/VectorDrawableTest/res/interpolator/ic_signal_airplane_v2_path_1_1_pathdata_interpolator.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/interpolator/trim_end_interpolator.xml (renamed from tests/VectorDrawableTest/res/interpolator/trim_end_interpolator.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/interpolator/trim_start_interpolator.xml (renamed from tests/VectorDrawableTest/res/interpolator/trim_start_interpolator.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/layout/activity_animated_vector_drawable_attr.xml (renamed from tests/VectorDrawableTest/res/layout/activity_animated_vector_drawable_attr.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/values/attrs.xml (renamed from tests/VectorDrawableTest/res/values/attrs.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/values/colors.xml (renamed from tests/VectorDrawableTest/res/values/colors.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/values/strings.xml (renamed from tests/VectorDrawableTest/res/values/strings.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/res/values/styles.xml (renamed from tests/VectorDrawableTest/res/values/styles.xml) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/AnimatedStateVectorDrawableTest.java (renamed from tests/VectorDrawableTest/src/com/android/test/dynamic/AnimatedStateVectorDrawableTest.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/AnimatedVectorDrawableAttr.java (renamed from tests/VectorDrawableTest/src/com/android/test/dynamic/AnimatedVectorDrawableAttr.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/AnimatedVectorDrawableDupPerf.java (renamed from tests/VectorDrawableTest/src/com/android/test/dynamic/AnimatedVectorDrawableDupPerf.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/AnimatedVectorDrawableTest.java (renamed from tests/VectorDrawableTest/src/com/android/test/dynamic/AnimatedVectorDrawableTest.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/BitmapDrawableDupe.java (renamed from tests/VectorDrawableTest/src/com/android/test/dynamic/BitmapDrawableDupe.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/BoundsCheckTest.java (renamed from tests/VectorDrawableTest/src/com/android/test/dynamic/BoundsCheckTest.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/ScaleDrawableTests.java (renamed from tests/VectorDrawableTest/src/com/android/test/dynamic/ScaleDrawableTests.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/VectorCheckbox.java (renamed from tests/VectorDrawableTest/src/com/android/test/dynamic/VectorCheckbox.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawable01.java (renamed from tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawable01.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawableAnimation.java (renamed from tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawableAnimation.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawableDupPerf.java (renamed from tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawableDupPerf.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawablePerformance.java (renamed from tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawablePerformance.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawableStaticPerf.java (renamed from tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawableStaticPerf.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawableTest.java (renamed from tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawableTest.java) | 0 | ||||
| -rw-r--r-- | tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/VectorPathChecking.java (renamed from tests/VectorDrawableTest/src/com/android/test/dynamic/VectorPathChecking.java) | 0 | ||||
| -rw-r--r-- | tests/libs-permissions/system_ext/java/com/android/test/libs/system_ext/LibsSystemExtTest.java | 2 | ||||
| -rw-r--r-- | tests/utils/testutils/java/android/os/test/FakePermissionEnforcer.java | 4 | ||||
| -rw-r--r-- | tests/vcn/java/android/net/vcn/VcnGatewayConnectionConfigTest.java | 52 | ||||
| -rw-r--r-- | tests/vcn/java/com/android/server/vcn/VcnGatewayConnectionConnectedStateTest.java | 99 | ||||
| -rw-r--r-- | tests/vcn/java/com/android/server/vcn/VcnGatewayConnectionTestBase.java | 13 | 
541 files changed, 887 insertions, 427 deletions
diff --git a/tests/ApkVerityTest/ApkVerityTestApp/feature_split/src/com/android/apkverity/feature_x/DummyActivity.java b/tests/ApkVerityTest/ApkVerityTestApp/feature_split/src/com/android/apkverity/feature_x/DummyActivity.java index 0f694c293330..fe9126003967 100644 --- a/tests/ApkVerityTest/ApkVerityTestApp/feature_split/src/com/android/apkverity/feature_x/DummyActivity.java +++ b/tests/ApkVerityTest/ApkVerityTestApp/feature_split/src/com/android/apkverity/feature_x/DummyActivity.java @@ -18,5 +18,5 @@ package com.android.apkverity.feature_x;  import android.app.Activity; -/** Dummy class just to generate some dex */ +/** Placeholder class just to generate some dex */  public class DummyActivity extends Activity {} diff --git a/tests/ApkVerityTest/ApkVerityTestApp/src/com/android/apkverity/DummyActivity.java b/tests/ApkVerityTest/ApkVerityTestApp/src/com/android/apkverity/DummyActivity.java index 837c7be37504..a7bd771400c0 100644 --- a/tests/ApkVerityTest/ApkVerityTestApp/src/com/android/apkverity/DummyActivity.java +++ b/tests/ApkVerityTest/ApkVerityTestApp/src/com/android/apkverity/DummyActivity.java @@ -18,5 +18,5 @@ package com.android.apkverity;  import android.app.Activity; -/** Dummy class just to generate some dex */ +/** Placeholder class just to generate some dex */  public class DummyActivity extends Activity {} diff --git a/tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java b/tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java index 1a58f17ef6a0..fa452dd78873 100644 --- a/tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java +++ b/tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java @@ -674,7 +674,7 @@ public class AppLaunch extends InstrumentationTestCase {              return true;          } -        // iorap compiler filters specified: the compilerFilter must be in the whitelist. +        // iorap compiler filters specified: the compilerFilter must be in the allowlist.          if (mIorapCompilerFilters.indexOf(compilerFilter) != -1) {              return true;          } diff --git a/tests/AttestationVerificationTest/src/android/security/attestationverification/PeerDeviceSystemAttestationVerificationTest.kt b/tests/AttestationVerificationTest/src/android/security/attestationverification/PeerDeviceSystemAttestationVerificationTest.kt index 32c2230e4880..ad95fbc36867 100644 --- a/tests/AttestationVerificationTest/src/android/security/attestationverification/PeerDeviceSystemAttestationVerificationTest.kt +++ b/tests/AttestationVerificationTest/src/android/security/attestationverification/PeerDeviceSystemAttestationVerificationTest.kt @@ -39,7 +39,7 @@ class PeerDeviceSystemAttestationVerificationTest {      @Before      fun setup() {          rule.getScenario().onActivity { -            avm = it.getSystemService(AttestationVerificationManager::class.java) +            avm = it.getSystemService(AttestationVerificationManager::class.java)!!              activity = it          }          invalidAttestationByteArray = TEST_ATTESTATION_CERT_FILENAME.fromPEMFileToByteArray() diff --git a/tests/AttestationVerificationTest/src/android/security/attestationverification/SystemAttestationVerificationTest.kt b/tests/AttestationVerificationTest/src/android/security/attestationverification/SystemAttestationVerificationTest.kt index 169effaa45ca..8f06b4a2ea0a 100644 --- a/tests/AttestationVerificationTest/src/android/security/attestationverification/SystemAttestationVerificationTest.kt +++ b/tests/AttestationVerificationTest/src/android/security/attestationverification/SystemAttestationVerificationTest.kt @@ -43,7 +43,7 @@ class SystemAttestationVerificationTest {      @Before      fun setup() {          rule.getScenario().onActivity { -            avm = it.getSystemService(AttestationVerificationManager::class.java) +            avm = it.getSystemService(AttestationVerificationManager::class.java)!!              activity = it              androidKeystore = KeyStore.getInstance(ANDROID_KEYSTORE).apply { load(null) }          } diff --git a/tests/BatteryStatsPerfTest/Android.bp b/tests/BatteryStatsPerfTest/Android.bp index 5233a5b8654e..c2a70151fa13 100644 --- a/tests/BatteryStatsPerfTest/Android.bp +++ b/tests/BatteryStatsPerfTest/Android.bp @@ -27,7 +27,7 @@ android_test {      static_libs: [          "androidx.test.rules",          "apct-perftests-utils", -        "truth-prebuilt", +        "truth",      ],      platform_apis: true,      certificate: "platform", diff --git a/tests/BinaryTransparencyHostTest/Android.bp b/tests/BinaryTransparencyHostTest/Android.bp index dc6bdff6716c..0dbc022589fc 100644 --- a/tests/BinaryTransparencyHostTest/Android.bp +++ b/tests/BinaryTransparencyHostTest/Android.bp @@ -30,7 +30,7 @@ java_test_host {          "compatibility-host-util",      ],      static_libs: [ -        "truth-prebuilt", +        "truth",      ],      data: [          ":BinaryTransparencyTestApp", diff --git a/tests/BinderLeakTest/Android.bp b/tests/BinderLeakTest/Android.bp new file mode 100644 index 000000000000..78b0ede76d4e --- /dev/null +++ b/tests/BinderLeakTest/Android.bp @@ -0,0 +1,40 @@ +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"], +} + +filegroup { +    name: "binder_leak_test_aidl", +    srcs: ["**/*.aidl"], +    path: "aidl", +} + +java_defaults { +    name: "BinderTest.defaults", +    srcs: [ +        "**/*.java", +        ":binder_leak_test_aidl", +    ], +    static_libs: [ +        "androidx.test.ext.junit", +        "androidx.test.rules", +        "androidx.test.runner", +    ], +} + +// Built with target_sdk_version: current +android_test { +    name: "BinderLeakTest", +    defaults: ["BinderTest.defaults"], +} + +// Built with target_sdk_version: 33 +android_test { +    name: "BinderLeakTest_legacy", +    defaults: ["BinderTest.defaults"], +    manifest: "AndroidManifest_legacy.xml", +} diff --git a/tests/BinderLeakTest/AndroidManifest.xml b/tests/BinderLeakTest/AndroidManifest.xml new file mode 100644 index 000000000000..756def7ac29d --- /dev/null +++ b/tests/BinderLeakTest/AndroidManifest.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<manifest xmlns:android="http://schemas.android.com/apk/res/android" +          package="com.android.test.binder"> +    <application> +        <service +            android:name=".MyService" +            android:enabled="true" +            android:exported="true" +            android:process=":service"> +        </service> +    </application> + +    <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" +        android:targetPackage="com.android.test.binder" +        android:label="Binder leak test"> +    </instrumentation> +</manifest> diff --git a/tests/BinderLeakTest/AndroidManifest_legacy.xml b/tests/BinderLeakTest/AndroidManifest_legacy.xml new file mode 100644 index 000000000000..03d1dfd1fd83 --- /dev/null +++ b/tests/BinderLeakTest/AndroidManifest_legacy.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<manifest xmlns:android="http://schemas.android.com/apk/res/android" +          package="com.android.test.binder"> +    <uses-sdk android:minSdkVersion="33" +          android:targetSdkVersion="33" +          android:maxSdkVersion="33" /> +    <application> +        <service +            android:name=".MyService" +            android:enabled="true" +            android:exported="true" +            android:process=":service"> +        </service> +    </application> + +    <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" +        android:targetPackage="com.android.test.binder" +        android:label="Binder leak test"> +    </instrumentation> +</manifest> diff --git a/tests/BinderLeakTest/aidl/com/android/test/binder/IFoo.aidl b/tests/BinderLeakTest/aidl/com/android/test/binder/IFoo.aidl new file mode 100644 index 000000000000..a721959d19b4 --- /dev/null +++ b/tests/BinderLeakTest/aidl/com/android/test/binder/IFoo.aidl @@ -0,0 +1,5 @@ +package com.android.test.binder; + +interface IFoo { + +} diff --git a/tests/BinderLeakTest/aidl/com/android/test/binder/IFooProvider.aidl b/tests/BinderLeakTest/aidl/com/android/test/binder/IFooProvider.aidl new file mode 100644 index 000000000000..b487f51f812c --- /dev/null +++ b/tests/BinderLeakTest/aidl/com/android/test/binder/IFooProvider.aidl @@ -0,0 +1,10 @@ +package com.android.test.binder; +import com.android.test.binder.IFoo; + +interface IFooProvider { +    IFoo createFoo(); + +    boolean isFooGarbageCollected(); + +    oneway void killProcess(); +} diff --git a/tests/BinderLeakTest/java/com/android/test/binder/BinderTest.java b/tests/BinderLeakTest/java/com/android/test/binder/BinderTest.java new file mode 100644 index 000000000000..f07317f7d5f3 --- /dev/null +++ b/tests/BinderLeakTest/java/com/android/test/binder/BinderTest.java @@ -0,0 +1,153 @@ +/* + * Copyright (C) 2023 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.binder; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertNotEquals; +import static org.junit.Assert.assertTrue; + +import android.content.Intent; +import android.os.Build; +import android.os.IBinder; +import android.os.RemoteException; + +import androidx.test.core.app.ApplicationProvider; +import androidx.test.ext.junit.runners.AndroidJUnit4; +import androidx.test.rule.ServiceTestRule; + +import org.junit.Rule; +import org.junit.Test; +import org.junit.runner.RunWith; + +import java.lang.ref.PhantomReference; +import java.lang.ref.ReferenceQueue; +import java.util.concurrent.TimeoutException; + +@RunWith(AndroidJUnit4.class) +public class BinderTest { +    @Rule +    public final ServiceTestRule serviceRule = new ServiceTestRule(); + +    @Test +    public void testDeathRecipientLeaksOrNot() +            throws RemoteException, TimeoutException, InterruptedException { +        Intent intent = new Intent(ApplicationProvider.getApplicationContext(), MyService.class); +        IFooProvider provider = IFooProvider.Stub.asInterface(serviceRule.bindService(intent)); +        FooHolder holder = new FooHolder(provider.createFoo()); + +        // ref will get enqueued right after holder is finalized for gc. +        ReferenceQueue<FooHolder> refQueue = new ReferenceQueue<>(); +        PhantomReference<FooHolder> ref = new PhantomReference<>(holder, refQueue); + +        DeathRecorder deathRecorder = new DeathRecorder(); +        holder.registerDeathRecorder(deathRecorder); + +        if (getSdkVersion() >= Build.VERSION_CODES.VANILLA_ICE_CREAM) { +            ///////////////////////////////////////////// +            // New behavior +            // +            // Reference chain at this moment: +            // holder --(java strong ref)--> FooHolder +            // FooHolder.mProxy --(java strong ref)--> IFoo.Proxy +            // IFoo.Proxy.mRemote --(java strong ref)--> BinderProxy +            // BinderProxy --(binder ref)--> Foo.Stub +            // In other words, the variable "holder" is the root of the reference chain. + +            // By setting the variable to null, we make FooHolder, IFoo.Proxy, BinderProxy, and even +            // Foo.Stub unreachable. +            holder = null; + +            // Ensure that the objects are garbage collected +            forceGc(); +            assertEquals(ref, refQueue.poll()); +            assertTrue(provider.isFooGarbageCollected()); + +            // The binder has died, but we don't get notified since the death recipient is GC'ed. +            provider.killProcess(); +            Thread.sleep(1000); // give some time for the service process to die and reaped +            assertFalse(deathRecorder.deathRecorded); +        } else { +            ///////////////////////////////////////////// +            // Legacy behavior +            // +            // Reference chain at this moment: +            // JavaDeathRecipient --(JNI strong ref)--> FooHolder +            // holder --(java strong ref)--> FooHolder +            // FooHolder.mProxy --(java strong ref)--> IFoo.Proxy +            // IFoo.Proxy.mRemote --(java strong ref)--> BinderProxy +            // BinderProxy --(binder ref)--> Foo.Stub +            // So, BOTH JavaDeathRecipient and holder are roots of the reference chain. + +            // Even if we set holder to null, it doesn't make other objects unreachable; they are +            // still reachable via the JNI strong ref. +            holder = null; + +            // Check that objects are not garbage collected +            forceGc(); +            assertNotEquals(ref, refQueue.poll()); +            assertFalse(provider.isFooGarbageCollected()); + +            // The legacy behavior is getting notified even when there's no reference +            provider.killProcess(); +            Thread.sleep(1000); // give some time for the service process to die and reaped +            assertTrue(deathRecorder.deathRecorded); +        } +    } + +    static class FooHolder implements IBinder.DeathRecipient { +        private IFoo mProxy; +        private DeathRecorder mDeathRecorder; + +        FooHolder(IFoo proxy) throws RemoteException { +            proxy.asBinder().linkToDeath(this, 0); + +            // A strong reference from DeathRecipient(this) to the binder proxy is created here +            mProxy = proxy; +        } + +        public void registerDeathRecorder(DeathRecorder dr) { +            mDeathRecorder = dr; +        } + +        @Override +        public void binderDied() { +            if (mDeathRecorder != null) { +                mDeathRecorder.deathRecorded = true; +            } +        } +    } + +    static class DeathRecorder { +        public boolean deathRecorded = false; +    } + +    // Try calling System.gc() until an orphaned object is confirmed to be finalized +    private static void forceGc() { +        Object obj = new Object(); +        ReferenceQueue<Object> refQueue = new ReferenceQueue<>(); +        PhantomReference<Object> ref = new PhantomReference<>(obj, refQueue); +        obj = null; // make it an orphan +        while (refQueue.poll() != ref) { +            System.gc(); +        } +    } + +    private static int getSdkVersion() { +        return ApplicationProvider.getApplicationContext().getApplicationInfo().targetSdkVersion; +    } +} diff --git a/tests/BinderLeakTest/java/com/android/test/binder/MyService.java b/tests/BinderLeakTest/java/com/android/test/binder/MyService.java new file mode 100644 index 000000000000..c701253446f4 --- /dev/null +++ b/tests/BinderLeakTest/java/com/android/test/binder/MyService.java @@ -0,0 +1,63 @@ +/* + * Copyright (C) 2023 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.binder; + +import android.app.Service; +import android.content.Intent; +import android.os.IBinder; +import android.os.RemoteException; + +import java.lang.ref.PhantomReference; +import java.lang.ref.ReferenceQueue; + +public class MyService extends Service { +    @Override +    public IBinder onBind(Intent intent) { +        return new IFooProvider.Stub() { +            ReferenceQueue<IFoo> mRefQueue = new ReferenceQueue<>(); +            PhantomReference<IFoo> mRef; + +            @Override +            public IFoo createFoo() throws RemoteException { +                IFoo binder = new IFoo.Stub() {}; +                mRef = new PhantomReference<>(binder, mRefQueue); +                return binder; +            } + +            @Override +            public boolean isFooGarbageCollected() throws RemoteException { +                forceGc(); +                return mRefQueue.poll() == mRef; +            } + +            @Override +            public void killProcess() throws RemoteException { +                android.os.Process.killProcess(android.os.Process.myPid()); +            } +        }; +    } + +    private static void forceGc() { +        Object obj = new Object(); +        ReferenceQueue<Object> refQueue = new ReferenceQueue<>(); +        PhantomReference<Object> ref = new PhantomReference<>(obj, refQueue); +        obj = null; // make it an orphan +        while (refQueue.poll() != ref) { +            System.gc(); +        } +    } +} diff --git a/tests/BlobStoreTestUtils/Android.bp b/tests/BlobStoreTestUtils/Android.bp index c4faf7f4fb11..1fb73e2c0967 100644 --- a/tests/BlobStoreTestUtils/Android.bp +++ b/tests/BlobStoreTestUtils/Android.bp @@ -22,12 +22,12 @@ package {  }  java_library { -  name: "BlobStoreTestUtils", -  srcs: ["src/**/*.java"], -  static_libs: [ -    "truth-prebuilt", -    "androidx.test.uiautomator_uiautomator", -    "androidx.test.ext.junit", -  ], -  sdk_version: "test_current", +    name: "BlobStoreTestUtils", +    srcs: ["src/**/*.java"], +    static_libs: [ +        "truth", +        "androidx.test.uiautomator_uiautomator", +        "androidx.test.ext.junit", +    ], +    sdk_version: "test_current",  } diff --git a/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/BackingStore.java b/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/BackingStore.java index 216e743938ca..df140b976768 100644 --- a/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/BackingStore.java +++ b/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/BackingStore.java @@ -14,17 +14,10 @@  package androidx.media.filterfw; -import android.annotation.TargetApi;  import android.graphics.Bitmap; -import android.os.Build; -import android.renderscript.Allocation; -import android.renderscript.Element; -import android.renderscript.RenderScript; -import android.renderscript.Type;  import android.util.Log;  import java.nio.ByteBuffer; -import java.nio.ByteOrder;  import java.util.Arrays;  import java.util.Vector; @@ -42,14 +35,11 @@ final class BackingStore {      static final int ACCESS_OBJECT = 0x08;      /** Access mode Bitmap: Frame data will be accessed as a Bitmap. */      static final int ACCESS_BITMAP = 0x10; -    /** Access mode Allocation: Frame data will be accessed as a RenderScript Allocation. */ -    static final int ACCESS_ALLOCATION = 0x20;      private static final int BACKING_BYTEBUFFER = 1;      private static final int BACKING_TEXTURE = 2;      private static final int BACKING_OBJECT = 3;      private static final int BACKING_BITMAP = 4; -    private static final int BACKING_ALLOCATION = 5;      private final FrameType mType;      private int[] mDimensions; @@ -243,14 +233,6 @@ final class BackingStore {                  case ACCESS_BITMAP:                      backing = new BitmapBacking();                      break; -                case ACCESS_ALLOCATION: -                    if (!AllocationBacking.isSupported()) { -                        throw new RuntimeException( -                                "Attempted to create an AllocationBacking in context that does " + -                                "not support RenderScript!"); -                    } -                    backing = new AllocationBacking(mFrameManager.getContext().getRenderScript()); -                    break;              }              if (backing == null) {                  throw new RuntimeException( @@ -518,9 +500,6 @@ final class BackingStore {                  RenderTarget renderTarget = (RenderTarget) backing.lock(ACCESS_RENDERTARGET);                  mBitmap.copyPixelsFromBuffer(                          renderTarget.getPixelData(mDimensions[0], mDimensions[1])); -            } else if ((access & ACCESS_ALLOCATION) != 0 && AllocationBacking.isSupported()) { -                createBitmap(); -                syncToAllocationBacking(backing);              } else {                  throw new RuntimeException("Cannot sync bytebuffer backing!");              } @@ -528,12 +507,6 @@ final class BackingStore {              mIsDirty = false;          } -        @TargetApi(11) -        private void syncToAllocationBacking(Backing backing) { -            Allocation allocation = (Allocation) backing.lock(ACCESS_ALLOCATION); -            allocation.copyTo(mBitmap); -        } -          @Override          public Object lock(int accessType) {              return mBitmap; @@ -612,8 +585,6 @@ final class BackingStore {                  int w = mDimensions[0];                  int h = mDimensions[1];                  ImageShader.renderTextureToTarget(texture, getRenderTarget(), w, h); -            } else if ((access & ACCESS_ALLOCATION) != 0 && AllocationBacking.isSupported()) { -                syncToAllocationBacking(backing);              } else {                  throw new RuntimeException("Cannot sync bytebuffer backing!");              } @@ -621,14 +592,6 @@ final class BackingStore {              mIsDirty = false;          } -        @TargetApi(11) -        private void syncToAllocationBacking(Backing backing) { -            Allocation allocation = (Allocation) backing.lock(ACCESS_ALLOCATION); -            ByteBuffer pixels = ByteBuffer.allocateDirect(getSize()); -            allocation.copyTo(pixels.array()); -            mTexture.allocateWithPixels(pixels, mDimensions[0], mDimensions[1]); -        } -          @Override          public Object lock(int accessType) {              switch (accessType) { @@ -733,8 +696,6 @@ final class BackingStore {                  ByteBuffer otherBuffer = (ByteBuffer) backing.lock(ACCESS_BYTES);                  mBuffer.put(otherBuffer);                  otherBuffer.rewind(); -            } else if ((access & ACCESS_ALLOCATION) != 0 && AllocationBacking.isSupported()) { -                syncToAllocationBacking(backing);              } else {                  throw new RuntimeException("Cannot sync bytebuffer backing!");              } @@ -743,23 +704,6 @@ final class BackingStore {              mIsDirty = false;          } -        @TargetApi(11) -        private void syncToAllocationBacking(Backing backing) { -            Allocation allocation = (Allocation) backing.lock(ACCESS_ALLOCATION); -            if (getElementId() == FrameType.ELEMENT_RGBA8888) { -                byte[] bytes = mBuffer.array(); -                allocation.copyTo(bytes); -            } else if (getElementId() == FrameType.ELEMENT_FLOAT32) { -                float[] floats = new float[getSize() / 4]; -                allocation.copyTo(floats); -                mBuffer.asFloatBuffer().put(floats); -            } else { -                throw new RuntimeException( -                        "Trying to sync to an allocation with an unsupported element id: " -                        + getElementId()); -            } -        } -          @Override          public Object lock(int accessType) {              return mBuffer.rewind(); @@ -791,139 +735,4 @@ final class BackingStore {          }      } - -    @TargetApi(11) -    static class AllocationBacking extends Backing { - -        private final RenderScript mRenderScript; -        private Allocation mAllocation = null; - -        public AllocationBacking(RenderScript renderScript) { -            mRenderScript = renderScript; -        } - -        @Override -        public void allocate(FrameType frameType) { -            assertCompatible(frameType); - -            Element element = null; -            switch (frameType.getElementId()) { -                case FrameType.ELEMENT_RGBA8888: -                    element = Element.RGBA_8888(mRenderScript); -                    break; -                case FrameType.ELEMENT_FLOAT32: -                    element = Element.F32(mRenderScript); -                    break; -            } -            Type.Builder imageTypeBuilder = new Type.Builder(mRenderScript, element); -            imageTypeBuilder.setX(mDimensions.length >= 1 ? mDimensions[0] : 1); -            imageTypeBuilder.setY(mDimensions.length == 2 ? mDimensions[1] : 1); -            Type imageType = imageTypeBuilder.create(); - -            mAllocation = Allocation.createTyped(mRenderScript, imageType); -        } - -        @Override -        public int readAccess() { -            return ACCESS_ALLOCATION; -        } - -        @Override -        public int writeAccess() { -            return ACCESS_ALLOCATION; -        } - -        @Override -        public boolean requiresGpu() { -            return false; -        } - -        @Override -        public void syncTo(Backing backing) { -            int access = backing.readAccess(); -            if ((access & ACCESS_TEXTURE) != 0) { -                RenderTarget target = (RenderTarget) backing.lock(ACCESS_RENDERTARGET); -                ByteBuffer pixels = ByteBuffer.allocateDirect(getSize()); -                GLToolbox.readTarget(target, pixels, mDimensions[0], mDimensions[1]); -                mAllocation.copyFrom(pixels.array()); -            } else if ((access & ACCESS_BITMAP) != 0) { -                Bitmap bitmap = (Bitmap) backing.lock(ACCESS_BITMAP); -                mAllocation.copyFrom(bitmap); -            } else if ((access & ACCESS_BYTES) != 0) { -                ByteBuffer buffer = (ByteBuffer) backing.lock(ACCESS_BYTES); -                if (buffer.order() != ByteOrder.nativeOrder()) { -                    throw new RuntimeException( -                            "Trying to sync to the ByteBufferBacking with non-native byte order!"); -                } -                byte[] bytes; -                if (buffer.hasArray()) { -                    bytes = buffer.array(); -                } else { -                    bytes = new byte[getSize()]; -                    buffer.get(bytes); -                    buffer.rewind(); -                } -                mAllocation.copyFromUnchecked(bytes); -            } else { -                throw new RuntimeException("Cannot sync allocation backing!"); -            } -            backing.unlock(); -            mIsDirty = false; -        } - -        @Override -        public Object lock(int accessType) { -            return mAllocation; -        } - -        @Override -        public void unlock() { -        } - -        @Override -        public int getType() { -            return BACKING_ALLOCATION; -        } - -        @Override -        public boolean shouldCache() { -            return true; -        } - -        @Override -        public void destroy() { -            if (mAllocation != null) { -                mAllocation.destroy(); -                mAllocation = null; -            } -        } - -        @Override -        public int getSize() { -            int elementCount = 1; -            for (int dim : mDimensions) { -                elementCount *= dim; -            } -            return getElementSize() * elementCount; -        } - -        public static boolean isSupported() { -            return Build.VERSION.SDK_INT >= 11; -        } - -        private void assertCompatible(FrameType type) { -            // TODO: consider adding support for other data types. -            if (type.getElementId() != FrameType.ELEMENT_RGBA8888 -                    && type.getElementId() != FrameType.ELEMENT_FLOAT32) { -                throw new RuntimeException( -                        "Cannot allocate allocation with a non-RGBA or non-float data type!"); -            } -            if (mDimensions == null || mDimensions.length > 2) { -                throw new RuntimeException( -                        "Cannot create an allocation with more than 2 dimensions!"); -            } -        } - -    } -  } diff --git a/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/FrameBuffer1D.java b/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/FrameBuffer1D.java index 0e24f5be954a..20cc1bf3cb80 100644 --- a/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/FrameBuffer1D.java +++ b/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/FrameBuffer1D.java @@ -16,9 +16,6 @@  package androidx.media.filterfw; -import android.annotation.TargetApi; -import android.renderscript.Allocation; -  import java.nio.ByteBuffer;  import java.nio.ByteOrder; @@ -40,19 +37,6 @@ public class FrameBuffer1D extends Frame {          return (ByteBuffer)mBackingStore.lockData(mode, BackingStore.ACCESS_BYTES);      } -    /** -     * Access frame's data using a RenderScript {@link Allocation}. -     * This is a convenience method and is equivalent to calling {@code lockData} with an -     * {@code accessFormat} of {@code ACCESS_ALLOCATION}. -     * -     * @return The Allocation instance holding the Frame's data. -     */ -    @TargetApi(11) -    public Allocation lockAllocation(int mode) { -        assertAccessible(mode); -        return (Allocation) mBackingStore.lockData(mode, BackingStore.ACCESS_ALLOCATION); -    } -      public int getLength() {          return mLength;      } diff --git a/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/GraphExporter.java b/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/GraphExporter.java index 001396527267..4b7ca5306bfb 100644 --- a/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/GraphExporter.java +++ b/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/GraphExporter.java @@ -113,7 +113,7 @@ public class GraphExporter {                          getDotName(target.getFilter().getName()) + ":" +                          getDotName(target.getName()) + "_IN;\n" );                  } else { -                    // Found a unconnected output port, add dummy node +                    // Found a unconnected output port, add placeholder node                      String color = filter.getSignature().getOutputPortInfo(portName).isRequired()                          ? "red" : "blue";  // red for unconnected, required ports                      dotFile.write("  " + @@ -131,7 +131,7 @@ public class GraphExporter {                  if(target != null) {                      // Found a connection -- nothing to do, connections have been written out above                  } else { -                    // Found a unconnected input port, add dummy node +                    // Found a unconnected input port, add placeholder node                      String color = filter.getSignature().getInputPortInfo(portName).isRequired()                          ? "red" : "blue";  // red for unconnected, required ports                      dotFile.write("  " + diff --git a/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/MffContext.java b/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/MffContext.java index b7212f982bce..8fd44d2df975 100644 --- a/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/MffContext.java +++ b/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/MffContext.java @@ -16,15 +16,12 @@  package androidx.media.filterfw; -import android.annotation.TargetApi;  import android.app.Activity;  import android.app.ActivityManager;  import android.content.Context;  import android.content.pm.ConfigurationInfo; -import android.os.Build;  import android.os.Handler;  import android.os.Looper; -import android.renderscript.RenderScript;  import android.util.Log;  import android.view.SurfaceHolder;  import android.view.SurfaceView; @@ -66,9 +63,9 @@ public class MffContext {          /**           * On older Android versions the Camera may need a SurfaceView to render into in order to -         * function. You may specify a dummy SurfaceView here if you do not want the context to +         * function. You may specify a placeholder SurfaceView here if you do not want the context to           * create its own view. Note, that your view may or may not be used. You cannot rely on -         * your dummy view to be used by the Camera. If you pass null, no dummy view will be used. +         * your placeholder view to be used by the Camera. If you pass null, no placeholder view will be used.           * In this case your application may not run correctly on older devices if you use the           * camera. This flag has no effect if you do not require the camera.           */ @@ -104,7 +101,7 @@ public class MffContext {      /** The current context state. */      private State mState = new State(); -    /** A dummy SurfaceView that is required for Camera operation on older devices. */ +    /** A placeholder SurfaceView that is required for Camera operation on older devices. */      private SurfaceView mDummySurfaceView = null;      /** Handler to execute code in the context's thread, such as issuing callbacks. */ @@ -116,9 +113,6 @@ public class MffContext {      /** Flag whether camera streaming is supported in this context. */      private boolean mCameraStreamingSupport; -    /** RenderScript base master class. */ -    private RenderScript mRenderScript; -      /**       * Creates a new MffContext with the default configuration.       * @@ -126,7 +120,7 @@ public class MffContext {       * multiple MffContexts, however data between them cannot be shared. The context must be       * created in a thread with a Looper (such as the main/UI thread).       * -     * On older versions of Android, the MffContext may create a visible dummy view for the +     * On older versions of Android, the MffContext may create a visible placeholder view for the       * camera to render into. This is a 1x1 SurfaceView that is placed into the top-left corner.       *       * @param context The application context to attach the MffContext to. @@ -142,7 +136,7 @@ public class MffContext {       * multiple MffContexts, however data between them cannot be shared. The context must be       * created in a thread with a Looper (such as the main/UI thread).       * -     * On older versions of Android, the MffContext may create a visible dummy view for the +     * On older versions of Android, the MffContext may create a visible placeholder view for the       * camera to render into. This is a 1x1 SurfaceView that is placed into the top-left corner.       * You may alternatively specify your own SurfaceView in the configuration.       * @@ -200,9 +194,7 @@ public class MffContext {                      mCameraStreamer.stop();                      mCameraStreamer.tearDown();                  } -                if (Build.VERSION.SDK_INT >= 11) { -                    maybeDestroyRenderScript(); -                } +                  stopRunners(false);                  waitUntilStopped();                  tearDown(); @@ -301,14 +293,6 @@ public class MffContext {          return mCameraStreamingSupport;      } -    @TargetApi(11) -    public final RenderScript getRenderScript() { -        if (mRenderScript == null) { -            mRenderScript = RenderScript.create(mApplicationContext); -        } -        return mRenderScript; -    } -      final void assertOpenGLSupported() {          if (!isOpenGLSupported()) {              throw new RuntimeException("Attempting to use OpenGL ES 2 in a context that does not " @@ -459,12 +443,4 @@ public class MffContext {          return (context instanceof Activity) ? (Activity) context : null;      } -    @TargetApi(11) -    private void maybeDestroyRenderScript() { -        if (mRenderScript != null) { -            mRenderScript.destroy(); -            mRenderScript = null; -        } -    } -  } diff --git a/tests/ChoreographerTests/Android.bp b/tests/ChoreographerTests/Android.bp index ca3026705c63..5d49120ee702 100644 --- a/tests/ChoreographerTests/Android.bp +++ b/tests/ChoreographerTests/Android.bp @@ -34,7 +34,7 @@ android_test {          "androidx.test.rules",          "compatibility-device-util-axt",          "com.google.android.material_material", -        "truth-prebuilt", +        "truth",      ],      jni_libs: [          "libchoreographertests_jni", diff --git a/tests/DynamicCodeLoggerIntegrationTests/Android.bp b/tests/DynamicCodeLoggerIntegrationTests/Android.bp index 448d46fe5e4e..3f2c80831565 100644 --- a/tests/DynamicCodeLoggerIntegrationTests/Android.bp +++ b/tests/DynamicCodeLoggerIntegrationTests/Android.bp @@ -47,7 +47,7 @@ android_test {      static_libs: [          "androidx.test.rules", -        "truth-prebuilt", +        "truth",      ],      compile_multilib: "both", diff --git a/tests/DynamicCodeLoggerIntegrationTests/src/com/android/dcl/Simple.java b/tests/DynamicCodeLoggerIntegrationTests/src/com/android/dcl/Simple.java index e995a26ea5c9..2ca91fbc1d3d 100644 --- a/tests/DynamicCodeLoggerIntegrationTests/src/com/android/dcl/Simple.java +++ b/tests/DynamicCodeLoggerIntegrationTests/src/com/android/dcl/Simple.java @@ -16,7 +16,7 @@  package com.android.dcl; -/** Dummy class which is built into a jar purely so we can pass it to DexClassLoader. */ +/** Placeholder class which is built into a jar purely so we can pass it to DexClassLoader. */  public final class Simple {      public Simple() {}  } diff --git a/tests/FlickerTests/Android.bp b/tests/FlickerTests/Android.bp index 2ccc0fa9e1e7..3042a053d2fa 100644 --- a/tests/FlickerTests/Android.bp +++ b/tests/FlickerTests/Android.bp @@ -235,7 +235,7 @@ java_library {      static_libs: [          "flickerlib",          "flickerlib-helpers", -        "truth-prebuilt", +        "truth",          "app-helpers-core",      ],  } @@ -254,7 +254,7 @@ java_library {          "flickerlib",          "flickerlib-apphelpers",          "flickerlib-helpers", -        "truth-prebuilt", +        "truth",          "app-helpers-core",          "wm-flicker-window-extensions",      ], diff --git a/tests/Input/Android.bp b/tests/Input/Android.bp index 4fa6fbe1d4e1..292fbcb0031e 100644 --- a/tests/Input/Android.bp +++ b/tests/Input/Android.bp @@ -24,7 +24,7 @@ android_test {          "mockito-target-minus-junit4",          "services.core.unboosted",          "testables", -        "truth-prebuilt", +        "truth",          "androidx.test.uiautomator_uiautomator",      ],      test_suites: ["device-tests"], diff --git a/tests/Input/OWNERS b/tests/Input/OWNERS index d701f23cb9b8..3cffce960b1c 100644 --- a/tests/Input/OWNERS +++ b/tests/Input/OWNERS @@ -1 +1,2 @@ +# Bug component: 136048  include /core/java/android/hardware/input/OWNERS diff --git a/tests/Input/src/com/android/test/input/AnrTest.kt b/tests/Input/src/com/android/test/input/AnrTest.kt index d185ee6ae116..7bc5df52e316 100644 --- a/tests/Input/src/com/android/test/input/AnrTest.kt +++ b/tests/Input/src/com/android/test/input/AnrTest.kt @@ -134,7 +134,7 @@ class AnrTest {      private fun getExitReasons(): List<ApplicationExitInfo> {          lateinit var infos: List<ApplicationExitInfo>          instrumentation.runOnMainSync { -            val am = instrumentation.getContext().getSystemService(ActivityManager::class.java) +            val am = instrumentation.getContext().getSystemService(ActivityManager::class.java)!!              infos = am.getHistoricalProcessExitReasons(PACKAGE_NAME, ALL_PIDS, NO_MAX)          }          return infos diff --git a/tests/Input/src/com/android/test/input/UnresponsiveGestureMonitorActivity.kt b/tests/Input/src/com/android/test/input/UnresponsiveGestureMonitorActivity.kt index 3a24406e2b73..63782f1bf955 100644 --- a/tests/Input/src/com/android/test/input/UnresponsiveGestureMonitorActivity.kt +++ b/tests/Input/src/com/android/test/input/UnresponsiveGestureMonitorActivity.kt @@ -45,9 +45,9 @@ class UnresponsiveGestureMonitorActivity : Activity() {      private lateinit var mInputMonitor: InputMonitor      override fun onCreate(savedInstanceState: Bundle?) {          super.onCreate(savedInstanceState) -        val inputManager = getSystemService(InputManager::class.java) +        val inputManager = checkNotNull(getSystemService(InputManager::class.java))          mInputMonitor = inputManager.monitorGestureInput(MONITOR_NAME, displayId)          mInputEventReceiver = UnresponsiveReceiver( -                mInputMonitor.getInputChannel(), Looper.myLooper()) +                mInputMonitor.getInputChannel(), Looper.myLooper()!!)      }  } diff --git a/tests/InputMethodStressTest/Android.bp b/tests/InputMethodStressTest/Android.bp index 84845c69fb27..58ceb3f3edf4 100644 --- a/tests/InputMethodStressTest/Android.bp +++ b/tests/InputMethodStressTest/Android.bp @@ -26,7 +26,7 @@ android_test {          "compatibility-device-util-axt",          "platform-test-annotations",          "platform-test-rules", -        "truth-prebuilt", +        "truth",      ],      test_suites: [          "general-tests", diff --git a/tests/Internal/Android.bp b/tests/Internal/Android.bp index ef45864dd93b..ddec8fa1d70a 100644 --- a/tests/Internal/Android.bp +++ b/tests/Internal/Android.bp @@ -19,7 +19,7 @@ android_test {          "junit",          "androidx.test.rules",          "mockito-target-minus-junit4", -        "truth-prebuilt", +        "truth",          "platform-test-annotations",      ],      java_resource_dirs: ["res"], diff --git a/tests/Internal/src/stub/DummyWallpaperService.java b/tests/Internal/src/stub/DummyWallpaperService.java index 084c036bea26..db1b7805a316 100644 --- a/tests/Internal/src/stub/DummyWallpaperService.java +++ b/tests/Internal/src/stub/DummyWallpaperService.java @@ -19,7 +19,7 @@ package stub;  import android.service.wallpaper.WallpaperService;  /** - * Dummy wallpaper service only for test purposes, won't draw anything. + * Placeholder wallpaper service only for test purposes, won't draw anything.   */  public class DummyWallpaperService extends WallpaperService {      @Override diff --git a/tests/LocalizationTest/Android.bp b/tests/LocalizationTest/Android.bp index 4e0b0a89d972..909ca5972552 100644 --- a/tests/LocalizationTest/Android.bp +++ b/tests/LocalizationTest/Android.bp @@ -34,7 +34,7 @@ android_test {          "androidx.test.ext.junit",          "androidx.test.rules",          "mockito-target-extended-minus-junit4", -        "truth-prebuilt", +        "truth",      ],      jni_libs: [          // For mockito extended diff --git a/tests/MidiTests/Android.bp b/tests/MidiTests/Android.bp index 254770d21818..fcacab3fb13c 100644 --- a/tests/MidiTests/Android.bp +++ b/tests/MidiTests/Android.bp @@ -31,7 +31,7 @@ android_test {          "mockito-target-inline-minus-junit4",          "platform-test-annotations",          "services.midi", -        "truth-prebuilt", +        "truth",      ],      jni_libs: ["libdexmakerjvmtiagent"],      certificate: "platform", diff --git a/tests/NetworkSecurityConfigTest/OWNERS b/tests/NetworkSecurityConfigTest/OWNERS index aa87958f1d53..90e1bed9fb26 100644 --- a/tests/NetworkSecurityConfigTest/OWNERS +++ b/tests/NetworkSecurityConfigTest/OWNERS @@ -1 +1,2 @@  include /services/core/java/com/android/server/net/OWNERS +include /core/java/android/security/net/OWNERS diff --git a/tests/NetworkSecurityConfigTest/res/raw/ca_certs_der.der b/tests/NetworkSecurityConfigTest/res/raw/ca_certs_der.der Binary files differindex 235bd4797b78..fd888ec600cd 100644 --- a/tests/NetworkSecurityConfigTest/res/raw/ca_certs_der.der +++ b/tests/NetworkSecurityConfigTest/res/raw/ca_certs_der.der diff --git a/tests/NetworkSecurityConfigTest/res/raw/ca_certs_pem.pem b/tests/NetworkSecurityConfigTest/res/raw/ca_certs_pem.pem index 413e3c07d2ab..66f7bfd21289 100644 --- a/tests/NetworkSecurityConfigTest/res/raw/ca_certs_pem.pem +++ b/tests/NetworkSecurityConfigTest/res/raw/ca_certs_pem.pem @@ -1,35 +1,31 @@  -----BEGIN CERTIFICATE----- -MIIDfTCCAuagAwIBAgIDErvmMA0GCSqGSIb3DQEBBQUAME4xCzAJBgNVBAYTAlVT -MRAwDgYDVQQKEwdFcXVpZmF4MS0wKwYDVQQLEyRFcXVpZmF4IFNlY3VyZSBDZXJ0 -aWZpY2F0ZSBBdXRob3JpdHkwHhcNMDIwNTIxMDQwMDAwWhcNMTgwODIxMDQwMDAw -WjBCMQswCQYDVQQGEwJVUzEWMBQGA1UEChMNR2VvVHJ1c3QgSW5jLjEbMBkGA1UE -AxMSR2VvVHJ1c3QgR2xvYmFsIENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB -CgKCAQEA2swYYzD99BcjGlZ+W988bDjkcbd4kdS8odhM+KhDtgPpTSEHCIjaWC9m -OSm9BXiLnTjoBbdqfnGk5sRgprDvgOSJKA+eJdbtg/OtppHHmMlCGDUUna2YRpIu -T8rxh0PBFpVXLVDviS2Aelet8u5fa9IAjbkU+BQVNdnARqN7csiRv8lVK83Qlz6c -JmTM386DGXHKTubU1XupGc1V3sjs0l44U+VcT4wt/lAjNvxm5suOpDkZALeVAjmR -Cw7+OC7RHQWa9k0+bw8HHa8sHo9gOeL6NlMTOdReJivbPagUvTLrGAMoUgRx5asz -PeE4uwc2hGKceeoWMPRfwCvocWvk+QIDAQABo4HwMIHtMB8GA1UdIwQYMBaAFEjm -aPkr0rKV10fYIyAQTzOYkJ/UMB0GA1UdDgQWBBTAephojYn7qwVkDBF9qn1luMrM -TjAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBBjA6BgNVHR8EMzAxMC+g -LaArhilodHRwOi8vY3JsLmdlb3RydXN0LmNvbS9jcmxzL3NlY3VyZWNhLmNybDBO -BgNVHSAERzBFMEMGBFUdIAAwOzA5BggrBgEFBQcCARYtaHR0cHM6Ly93d3cuZ2Vv -dHJ1c3QuY29tL3Jlc291cmNlcy9yZXBvc2l0b3J5MA0GCSqGSIb3DQEBBQUAA4GB -AHbhEm5OSxYShjAGsoEIz/AIx8dxfmbuwu3UOx//8PDITtZDOLC5MH0Y0FWDomrL -NhGc6Ehmo21/uBPUR/6LWlxz/K7ZGzIZOKuXNBSqltLroxwUCEm2u+WR74M26x1W -b8ravHNjkOR/ez4iyz0H7V84dJzjA1BOoa+Y7mHyhD8S ------END CERTIFICATE----- ------BEGIN CERTIFICATE----- -MIICPDCCAaUCEDyRMcsf9tAbDpq40ES/Er4wDQYJKoZIhvcNAQEFBQAwXzELMAkG -A1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFz -cyAzIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTk2 -MDEyOTAwMDAwMFoXDTI4MDgwMjIzNTk1OVowXzELMAkGA1UEBhMCVVMxFzAVBgNV -BAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFzcyAzIFB1YmxpYyBQcmlt -YXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIGfMA0GCSqGSIb3DQEBAQUAA4GN -ADCBiQKBgQDJXFme8huKARS0EN8EQNvjV69qRUCPhAwL0TPZ2RHP7gJYHyX3KqhE -BarsAx94f56TuZoAqiN91qyFomNFx3InzPRMxnVx0jnvT0Lwdd8KkMaOIG+YD/is -I19wKTakyYbnsZogy1Olhec9vn2a/iRFM9x2Fe0PonFkTGUugWhFpwIDAQABMA0G -CSqGSIb3DQEBBQUAA4GBABByUqkFFBkyCEHwxWsKzH4PIRnN5GfcX6kb5sroc50i -2JhucwNhkcV8sEVAbkSdjbCxlnRhLQ2pRdKkkirWmnWXbj9T/UWZYB2oK0z5XqcJ -2HUw19JlYD1n1khVdWk/kfVIC0dpImmClr7JyDiGSnoscxlIaU5rfGW/D/xwzoiQ +MIIFYjCCBEqgAwIBAgIQd70NbNs2+RrqIQ/E8FjTDTANBgkqhkiG9w0BAQsFADBX +MQswCQYDVQQGEwJCRTEZMBcGA1UEChMQR2xvYmFsU2lnbiBudi1zYTEQMA4GA1UE +CxMHUm9vdCBDQTEbMBkGA1UEAxMSR2xvYmFsU2lnbiBSb290IENBMB4XDTIwMDYx +OTAwMDA0MloXDTI4MDEyODAwMDA0MlowRzELMAkGA1UEBhMCVVMxIjAgBgNVBAoT +GUdvb2dsZSBUcnVzdCBTZXJ2aWNlcyBMTEMxFDASBgNVBAMTC0dUUyBSb290IFIx +MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAthECix7joXebO9y/lD63 +ladAPKH9gvl9MgaCcfb2jH/76Nu8ai6Xl6OMS/kr9rH5zoQdsfnFl97vufKj6bwS +iV6nqlKr+CMny6SxnGPb15l+8Ape62im9MZaRw1NEDPjTrETo8gYbEvs/AmQ351k +KSUjB6G00j0uYODP0gmHu81I8E3CwnqIiru6z1kZ1q+PsAewnjHxgsHA3y6mbWwZ +DrXYfiYaRQM9sHmklCitD38m5agI/pboPGiUU+6DOogrFZYJsuB6jC511pzrp1Zk +j5ZPaK49l8KEj8C8QMALXL32h7M1bKwYUH+E4EzNktMg6TO8UpmvMrUpsyUqtEj5 +cuHKZPfmghCN6J3Cioj6OGaK/GP5Afl4/Xtcd/p2h/rs37EOeZVXtL0m79YB0esW +CruOC7XFxYpVq9Os6pFLKcwZpDIlTirxZUTQAs6qzkm06p98g7BAe+dDq6dso499 +iYH6TKX/1Y7DzkvgtdizjkXPdsDtQCv9Uw+wp9U7DbGKogPeMa3Md+pvez7W35Ei +Eua++tgy/BBjFFFy3l3WFpO9KWgz7zpm7AeKJt8T11dleCfeXkkUAKIAf5qoIbap +sZWwpbkNFhHax2xIPEDgfg1azVY80ZcFuctL7TlLnMQ/0lUTbiSw1nH69MG6zO0b +9f6BQdgAmD06yK56mDcYBZUCAwEAAaOCATgwggE0MA4GA1UdDwEB/wQEAwIBhjAP +BgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTkrysmcRorSCeFL1JmLO/wiRNxPjAf +BgNVHSMEGDAWgBRge2YaRQ2XyolQL30EzTSo//z9SzBgBggrBgEFBQcBAQRUMFIw +JQYIKwYBBQUHMAGGGWh0dHA6Ly9vY3NwLnBraS5nb29nL2dzcjEwKQYIKwYBBQUH +MAKGHWh0dHA6Ly9wa2kuZ29vZy9nc3IxL2dzcjEuY3J0MDIGA1UdHwQrMCkwJ6Al +oCOGIWh0dHA6Ly9jcmwucGtpLmdvb2cvZ3NyMS9nc3IxLmNybDA7BgNVHSAENDAy +MAgGBmeBDAECATAIBgZngQwBAgIwDQYLKwYBBAHWeQIFAwIwDQYLKwYBBAHWeQIF +AwMwDQYJKoZIhvcNAQELBQADggEBADSkHrEoo9C0dhemMXoh6dFSPsjbdBZBiLg9 +NR3t5P+T4Vxfq7vqfM/b5A3Ri1fyJm9bvhdGaJQ3b2t6yMAYN/olUazsaL+yyEn9 +WprKASOshIArAoyZl+tJaox118fessmXn1hIVw41oeQa1v1vg4Fv74zPl6/AhSrw +9U5pCZEt4Wi4wStz6dTZ/CLANx8LZh1J7QJVj2fhMtfTJr9w4z30Z209fOU0iOMy ++qduBmpvvYuR7hZL6Dupszfnw0Skfths18dG9ZKb59UhvmaSGZRVbNQpsg3BZlvi +d0lIKO2d1xozclOzgjXPYovJJIultzkMu34qQb9Sz/yilrbCgj8=  -----END CERTIFICATE----- diff --git a/tests/NetworkSecurityConfigTest/res/xml/domain_whitespace.xml b/tests/NetworkSecurityConfigTest/res/xml/domain_whitespace.xml index 5d23d36e1dbf..99106ad37783 100644 --- a/tests/NetworkSecurityConfigTest/res/xml/domain_whitespace.xml +++ b/tests/NetworkSecurityConfigTest/res/xml/domain_whitespace.xml @@ -5,7 +5,7 @@      </domain>      <domain>   developer.android.com    </domain>      <pin-set> -      <pin digest="SHA-256">  7HIpactkIAq2Y49orFOOQKurWxmmSFZhBCoQYcRhJ3Y=  </pin> +      <pin digest="SHA-256">  zCTnfLwLKbS9S2sbp+uFz4KZOocFvXxkV06Ce9O5M2w=  </pin>      </pin-set>    </domain-config>  </network-security-config> diff --git a/tests/NetworkSecurityConfigTest/res/xml/nested_domains.xml b/tests/NetworkSecurityConfigTest/res/xml/nested_domains.xml index d45fd77a5f0f..232f88ff6cc9 100644 --- a/tests/NetworkSecurityConfigTest/res/xml/nested_domains.xml +++ b/tests/NetworkSecurityConfigTest/res/xml/nested_domains.xml @@ -9,7 +9,7 @@        <domain-config>            <domain>developer.android.com</domain>            <pin-set> -              <pin digest="SHA-256">7HIpactkIAq2Y49orFOOQKurWxmmSFZhBCoQYcRhJ3Y=</pin> +              <pin digest="SHA-256">zCTnfLwLKbS9S2sbp+uFz4KZOocFvXxkV06Ce9O5M2w=</pin>            </pin-set>        </domain-config>      </domain-config> diff --git a/tests/NetworkSecurityConfigTest/res/xml/pins1.xml b/tests/NetworkSecurityConfigTest/res/xml/pins1.xml index 1773d28094a3..7cc81b0101f1 100644 --- a/tests/NetworkSecurityConfigTest/res/xml/pins1.xml +++ b/tests/NetworkSecurityConfigTest/res/xml/pins1.xml @@ -3,7 +3,7 @@    <domain-config>      <domain>android.com</domain>      <pin-set> -      <pin digest="SHA-256">7HIpactkIAq2Y49orFOOQKurWxmmSFZhBCoQYcRhJ3Y=</pin> +      <pin digest="SHA-256">zCTnfLwLKbS9S2sbp+uFz4KZOocFvXxkV06Ce9O5M2w=</pin>      </pin-set>    </domain-config>  </network-security-config> diff --git a/tests/NetworkSecurityConfigTest/src/android/security/net/config/NetworkSecurityConfigTests.java b/tests/NetworkSecurityConfigTest/src/android/security/net/config/NetworkSecurityConfigTests.java index 047be162e642..0494f174f191 100644 --- a/tests/NetworkSecurityConfigTest/src/android/security/net/config/NetworkSecurityConfigTests.java +++ b/tests/NetworkSecurityConfigTest/src/android/security/net/config/NetworkSecurityConfigTests.java @@ -22,23 +22,17 @@ import android.os.Build;  import android.test.ActivityUnitTestCase;  import android.util.ArraySet;  import android.util.Pair; + +import com.android.org.conscrypt.TrustedCertificateStore; +  import java.io.ByteArrayInputStream; -import java.io.IOException; -import java.net.Socket; -import java.net.URL;  import java.security.cert.Certificate;  import java.security.cert.CertificateFactory;  import java.security.cert.X509Certificate; -import java.util.ArrayList; -import java.util.Collections;  import java.util.HashSet;  import java.util.Set; -import javax.net.ssl.HttpsURLConnection; -import javax.net.ssl.SSLContext; -import javax.net.ssl.SSLHandshakeException; -import javax.net.ssl.TrustManager; -import com.android.org.conscrypt.TrustedCertificateStore; +import javax.net.ssl.SSLContext;  public class NetworkSecurityConfigTests extends ActivityUnitTestCase<Activity> { @@ -46,9 +40,9 @@ public class NetworkSecurityConfigTests extends ActivityUnitTestCase<Activity> {          super(Activity.class);      } -    // SHA-256 of the G2 intermediate CA for android.com (as of 10/2015). -    private static final byte[] G2_SPKI_SHA256 -            = hexToBytes("ec722969cb64200ab6638f68ac538e40abab5b19a6485661042a1061c4612776"); +    // SHA-256 of the GTS intermediate CA (CN = GTS CA 1C3) for android.com (as of 09/2023). +    private static final byte[] GTS_INTERMEDIATE_SPKI_SHA256 = +        hexToBytes("cc24e77cbc0b29b4bd4b6b1ba7eb85cf82993a8705bd7c64574e827bd3b9336c");      private static final byte[] TEST_CA_BYTES              = hexToBytes( @@ -161,7 +155,7 @@ public class NetworkSecurityConfigTests extends ActivityUnitTestCase<Activity> {      public void testGoodPin() throws Exception {          ArraySet<Pin> pins = new ArraySet<Pin>(); -        pins.add(new Pin("SHA-256", G2_SPKI_SHA256)); +        pins.add(new Pin("SHA-256", GTS_INTERMEDIATE_SPKI_SHA256));          NetworkSecurityConfig domain = new NetworkSecurityConfig.Builder()                  .setPinSet(new PinSet(pins, Long.MAX_VALUE))                  .addCertificatesEntryRef( @@ -247,7 +241,7 @@ public class NetworkSecurityConfigTests extends ActivityUnitTestCase<Activity> {      public void testWithUrlConnection() throws Exception {          ArraySet<Pin> pins = new ArraySet<Pin>(); -        pins.add(new Pin("SHA-256", G2_SPKI_SHA256)); +        pins.add(new Pin("SHA-256", GTS_INTERMEDIATE_SPKI_SHA256));          NetworkSecurityConfig domain = new NetworkSecurityConfig.Builder()                  .setPinSet(new PinSet(pins, Long.MAX_VALUE))                  .addCertificatesEntryRef( @@ -304,7 +298,7 @@ public class NetworkSecurityConfigTests extends ActivityUnitTestCase<Activity> {          } finally {              // Delete the user added CA. We don't know the alias so just delete them all.              for (String alias : store.aliases()) { -                if (store.isUser(alias)) { +                if (TrustedCertificateStore.isUser(alias)) {                      try {                          store.deleteCertificateEntry(alias);                      } catch (Exception ignored) { diff --git a/tests/NetworkSecurityConfigTest/src/android/security/net/config/TestUtils.java b/tests/NetworkSecurityConfigTest/src/android/security/net/config/TestUtils.java index 9dec21be7f37..39b5cb4c4f0d 100644 --- a/tests/NetworkSecurityConfigTest/src/android/security/net/config/TestUtils.java +++ b/tests/NetworkSecurityConfigTest/src/android/security/net/config/TestUtils.java @@ -16,19 +16,20 @@  package android.security.net.config; +import static org.junit.Assert.fail; +  import android.content.pm.ApplicationInfo;  import android.os.Build; -import java.net.Socket; +  import java.net.URL; +  import javax.net.ssl.HttpsURLConnection;  import javax.net.ssl.SSLContext;  import javax.net.ssl.SSLHandshakeException; -import javax.net.ssl.TrustManager; +import javax.net.ssl.SSLSocket;  import javax.net.ssl.TrustManagerFactory; -import junit.framework.Assert; - -public final class TestUtils extends Assert { +public final class TestUtils {      private TestUtils() {      } @@ -36,8 +37,8 @@ public final class TestUtils extends Assert {      public static void assertConnectionFails(SSLContext context, String host, int port)              throws Exception {          try { -            Socket s = context.getSocketFactory().createSocket(host, port); -            s.getInputStream(); +            SSLSocket s = (SSLSocket) context.getSocketFactory().createSocket(host, port); +            s.startHandshake();              fail("Expected connection to " + host + ":" + port + " to fail.");          } catch (SSLHandshakeException expected) {          } @@ -45,7 +46,8 @@ public final class TestUtils extends Assert {      public static void assertConnectionSucceeds(SSLContext context, String host, int port)              throws Exception { -        Socket s = context.getSocketFactory().createSocket(host, port); +        SSLSocket s = (SSLSocket) context.getSocketFactory().createSocket(host, port); +        s.startHandshake();          s.getInputStream();      } diff --git a/tests/NetworkSecurityConfigTest/src/android/security/net/config/XmlConfigTests.java b/tests/NetworkSecurityConfigTest/src/android/security/net/config/XmlConfigTests.java index 4b7a014f25dc..81e05c1d4e42 100644 --- a/tests/NetworkSecurityConfigTest/src/android/security/net/config/XmlConfigTests.java +++ b/tests/NetworkSecurityConfigTest/src/android/security/net/config/XmlConfigTests.java @@ -16,26 +16,18 @@  package android.security.net.config; -import android.content.Context;  import android.content.pm.ApplicationInfo;  import android.test.AndroidTestCase;  import android.test.MoreAsserts; -import android.util.ArraySet; -import android.util.Pair; +  import java.io.IOException;  import java.net.InetAddress; -import java.net.Socket; -import java.net.URL;  import java.security.KeyStore;  import java.security.Provider; -import java.security.Security;  import java.security.cert.X509Certificate; -import java.util.ArrayList; -import java.util.Collections;  import java.util.Set; -import javax.net.ssl.HttpsURLConnection; +  import javax.net.ssl.SSLContext; -import javax.net.ssl.SSLHandshakeException;  import javax.net.ssl.SSLSocket;  import javax.net.ssl.TrustManager;  import javax.net.ssl.TrustManagerFactory; @@ -52,7 +44,7 @@ public class XmlConfigTests extends AndroidTestCase {          NetworkSecurityConfig config = appConfig.getConfigForHostname("");          assertNotNull(config);          // Check defaults. -        assertTrue(config.isCleartextTrafficPermitted()); +        assertFalse(config.isCleartextTrafficPermitted());          assertFalse(config.isHstsEnforced());          assertFalse(config.getTrustAnchors().isEmpty());          PinSet pinSet = config.getPins(); @@ -72,7 +64,7 @@ public class XmlConfigTests extends AndroidTestCase {          NetworkSecurityConfig config = appConfig.getConfigForHostname("");          assertNotNull(config);          // Check defaults. -        assertTrue(config.isCleartextTrafficPermitted()); +        assertFalse(config.isCleartextTrafficPermitted());          assertFalse(config.isHstsEnforced());          assertTrue(config.getTrustAnchors().isEmpty());          PinSet pinSet = config.getPins(); @@ -91,14 +83,14 @@ public class XmlConfigTests extends AndroidTestCase {          NetworkSecurityConfig config = appConfig.getConfigForHostname("");          assertNotNull(config);          // Check defaults. -        assertTrue(config.isCleartextTrafficPermitted()); +        assertFalse(config.isCleartextTrafficPermitted());          assertFalse(config.isHstsEnforced());          assertTrue(config.getTrustAnchors().isEmpty());          PinSet pinSet = config.getPins();          assertTrue(pinSet.pins.isEmpty());          // Check android.com.          config = appConfig.getConfigForHostname("android.com"); -        assertTrue(config.isCleartextTrafficPermitted()); +        assertFalse(config.isCleartextTrafficPermitted());          assertFalse(config.isHstsEnforced());          assertFalse(config.getTrustAnchors().isEmpty());          pinSet = config.getPins(); @@ -188,7 +180,7 @@ public class XmlConfigTests extends AndroidTestCase {          ApplicationConfig appConfig = new ApplicationConfig(source);          assertTrue(appConfig.hasPerDomainConfigs());          NetworkSecurityConfig config = appConfig.getConfigForHostname("android.com"); -        assertTrue(config.isCleartextTrafficPermitted()); +        assertFalse(config.isCleartextTrafficPermitted());          assertFalse(config.isHstsEnforced());          assertFalse(config.getTrustAnchors().isEmpty());          PinSet pinSet = config.getPins(); @@ -250,9 +242,9 @@ public class XmlConfigTests extends AndroidTestCase {          ApplicationConfig appConfig = new ApplicationConfig(source);          // Check android.com.          NetworkSecurityConfig config = appConfig.getConfigForHostname("android.com"); -        assertTrue(config.isCleartextTrafficPermitted()); +        assertFalse(config.isCleartextTrafficPermitted());          assertFalse(config.isHstsEnforced()); -        assertEquals(2, config.getTrustAnchors().size()); +        assertEquals(1, config.getTrustAnchors().size());          // Try connections.          SSLContext context = TestUtils.getSSLContext(source);          TestUtils.assertConnectionSucceeds(context, "android.com", 443); @@ -267,9 +259,9 @@ public class XmlConfigTests extends AndroidTestCase {          ApplicationConfig appConfig = new ApplicationConfig(source);          // Check android.com.          NetworkSecurityConfig config = appConfig.getConfigForHostname("android.com"); -        assertTrue(config.isCleartextTrafficPermitted()); +        assertFalse(config.isCleartextTrafficPermitted());          assertFalse(config.isHstsEnforced()); -        assertEquals(2, config.getTrustAnchors().size()); +        assertEquals(1, config.getTrustAnchors().size());          // Try connections.          SSLContext context = TestUtils.getSSLContext(source);          TestUtils.assertConnectionSucceeds(context, "android.com", 443); diff --git a/tests/PackageWatchdog/Android.bp b/tests/PackageWatchdog/Android.bp index 1e1dc8458560..e0e6c4c43b16 100644 --- a/tests/PackageWatchdog/Android.bp +++ b/tests/PackageWatchdog/Android.bp @@ -32,7 +32,7 @@ android_test {          "androidx.test.rules",          "services.core",          "services.net", -        "truth-prebuilt", +        "truth",      ],      libs: ["android.test.runner"],      jni_libs: [ diff --git a/tests/PlatformCompatGating/Android.bp b/tests/PlatformCompatGating/Android.bp index f0f9c4bdd721..fd992cf415cf 100644 --- a/tests/PlatformCompatGating/Android.bp +++ b/tests/PlatformCompatGating/Android.bp @@ -38,7 +38,7 @@ android_test {          "androidx.test.ext.junit",          "mockito-target-minus-junit4",          "testng", -        "truth-prebuilt", +        "truth",          "platform-compat-test-rules",      ],  } diff --git a/tests/PlatformCompatGating/src/com/android/compat/testing/DummyApi.java b/tests/PlatformCompatGating/src/com/android/compat/testing/DummyApi.java index 731be8e3d9f0..a77950fe4a2d 100644 --- a/tests/PlatformCompatGating/src/com/android/compat/testing/DummyApi.java +++ b/tests/PlatformCompatGating/src/com/android/compat/testing/DummyApi.java @@ -24,7 +24,7 @@ import android.os.ServiceManager;  import com.android.internal.compat.IPlatformCompat;  /** - * This is a dummy API to test gating + * This is a placeholder API to test gating   *   * @hide   */ @@ -36,7 +36,7 @@ public class DummyApi {      public static final long CHANGE_SYSTEM_SERVER = 666016;      /** -     * Dummy method +     * Placeholder method       * @return "A" if change is enabled, "B" otherwise.       */      public static String dummyFunc() { @@ -47,7 +47,7 @@ public class DummyApi {      }      /** -     * Dummy combined method +     * Placeholder combined method       * @return "0" if {@link CHANGE_ID_1} is disabled and {@link CHANGE_ID_2} is disabled,                 "1" if {@link CHANGE_ID_1} is disabled and {@link CHANGE_ID_2} is enabled,                 "2" if {@link CHANGE_ID_1} is enabled and {@link CHANGE_ID_2} is disabled, @@ -68,7 +68,7 @@ public class DummyApi {      }      /** -     * Dummy api using system server API. +     * Placeholder api using system server API.       */      public static boolean dummySystemServer(Context context) {          IPlatformCompat platformCompat = IPlatformCompat.Stub diff --git a/tests/PlatformCompatGating/test-rules/Android.bp b/tests/PlatformCompatGating/test-rules/Android.bp index 5f91f9d0e505..f6a41c2f44b7 100644 --- a/tests/PlatformCompatGating/test-rules/Android.bp +++ b/tests/PlatformCompatGating/test-rules/Android.bp @@ -29,7 +29,7 @@ java_library {      static_libs: [          "junit",          "androidx.test.core", -        "truth-prebuilt", -        "core-compat-test-rules" +        "truth", +        "core-compat-test-rules",      ],  } diff --git a/tests/SilkFX/OWNERS b/tests/SilkFX/OWNERS deleted file mode 100644 index c88a9f82c347..000000000000 --- a/tests/SilkFX/OWNERS +++ /dev/null @@ -1 +0,0 @@ -include /libs/hwui/OWNERS diff --git a/tests/SmokeTestApps/Android.bp b/tests/SmokeTestApps/Android.bp index 3505fe1c4afb..38ee8ac99747 100644 --- a/tests/SmokeTestApps/Android.bp +++ b/tests/SmokeTestApps/Android.bp @@ -11,4 +11,7 @@ android_test {      name: "SmokeTestTriggerApps",      srcs: ["src/**/*.java"],      sdk_version: "current", +    errorprone: { +        enabled: false, +    },  } diff --git a/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/SoundTriggerTestService.java b/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/SoundTriggerTestService.java index 3567c08d0285..cc6cebf88907 100644 --- a/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/SoundTriggerTestService.java +++ b/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/SoundTriggerTestService.java @@ -469,7 +469,7 @@ public class SoundTriggerTestService extends Service {              }          } -        // Create a few dummy models if we didn't load anything. +        // Create a few placeholder models if we didn't load anything.          if (!loadedModel) {              Properties dummyModelProperties = new Properties();              for (String name : new String[]{"1", "2", "3"}) { diff --git a/tests/StagedInstallTest/OWNERS b/tests/StagedInstallTest/OWNERS index aac68e994a39..d7301dc9c895 100644 --- a/tests/StagedInstallTest/OWNERS +++ b/tests/StagedInstallTest/OWNERS @@ -1,3 +1,5 @@ +# Bug component: 36137 +  include /services/core/java/com/android/server/pm/OWNERS  dariofreni@google.com diff --git a/tests/SurfaceViewBufferTests/Android.bp b/tests/SurfaceViewBufferTests/Android.bp index dc75f00e7cdc..d34f780fd40c 100644 --- a/tests/SurfaceViewBufferTests/Android.bp +++ b/tests/SurfaceViewBufferTests/Android.bp @@ -23,7 +23,10 @@ package {  android_test {      name: "SurfaceViewBufferTests", -    srcs: ["**/*.java","**/*.kt"], +    srcs: [ +        "**/*.java", +        "**/*.kt", +    ],      manifest: "AndroidManifest.xml",      test_config: "AndroidTest.xml",      platform_apis: true, @@ -41,7 +44,7 @@ android_test {          "kotlin-stdlib",          "kotlinx-coroutines-android",          "flickerlib", -        "truth-prebuilt", +        "truth",          "cts-wm-util",          "CtsSurfaceValidatorLib",      ], @@ -60,7 +63,7 @@ cc_library_shared {          "libandroid",      ],      include_dirs: [ -        "system/core/include" +        "system/core/include",      ],      stl: "libc++_static",      cflags: [ diff --git a/tests/TaskOrganizerTest/Android.bp b/tests/TaskOrganizerTest/Android.bp index 9b72d359aae6..2a92c42b8ae0 100644 --- a/tests/TaskOrganizerTest/Android.bp +++ b/tests/TaskOrganizerTest/Android.bp @@ -25,7 +25,10 @@ package {  android_test {      name: "TaskOrganizerTest", -    srcs: ["**/*.java","**/*.kt"], +    srcs: [ +        "**/*.java", +        "**/*.kt", +    ],      manifest: "AndroidManifest.xml",      test_config: "AndroidTest.xml",      platform_apis: true, @@ -39,6 +42,6 @@ android_test {          "kotlin-stdlib",          "kotlinx-coroutines-android",          "flickerlib", -        "truth-prebuilt", +        "truth",      ], -}
\ No newline at end of file +} diff --git a/tests/TelephonyCommonTests/Android.bp b/tests/TelephonyCommonTests/Android.bp index 81ec265c2c29..b968e5d81148 100644 --- a/tests/TelephonyCommonTests/Android.bp +++ b/tests/TelephonyCommonTests/Android.bp @@ -32,11 +32,11 @@ android_test {      static_libs: [          "mockito-target-extended",          "androidx.test.rules", -        "truth-prebuilt", +        "truth",          "platform-test-annotations",          "androidx.core_core",          "androidx.fragment_fragment", -        "androidx.test.ext.junit" +        "androidx.test.ext.junit",      ],      jni_libs: ["libdexmakerjvmtiagent"], diff --git a/tests/TrustTests/Android.bp b/tests/TrustTests/Android.bp index a1b888aef934..4e75a1d02a41 100644 --- a/tests/TrustTests/Android.bp +++ b/tests/TrustTests/Android.bp @@ -25,9 +25,10 @@ android_test {          "androidx.test.rules",          "androidx.test.ext.junit",          "androidx.test.uiautomator_uiautomator", +        "flag-junit",          "mockito-target-minus-junit4",          "servicestests-utils", -        "truth-prebuilt", +        "truth",      ],      libs: [          "android.test.runner", diff --git a/tests/TrustTests/src/android/trust/test/GrantAndRevokeTrustTest.kt b/tests/TrustTests/src/android/trust/test/GrantAndRevokeTrustTest.kt index f864fedf4e62..d0e56268a27d 100644 --- a/tests/TrustTests/src/android/trust/test/GrantAndRevokeTrustTest.kt +++ b/tests/TrustTests/src/android/trust/test/GrantAndRevokeTrustTest.kt @@ -16,6 +16,10 @@  package android.trust.test +import android.content.pm.PackageManager +import android.platform.test.annotations.RequiresFlagsDisabled +import android.platform.test.annotations.RequiresFlagsEnabled +import android.platform.test.flag.junit.DeviceFlagsValueProvider  import android.service.trust.GrantTrustResult  import android.trust.BaseTrustAgentService  import android.trust.TrustTestActivity @@ -27,6 +31,7 @@ import androidx.test.ext.junit.runners.AndroidJUnit4  import androidx.test.platform.app.InstrumentationRegistry.getInstrumentation  import androidx.test.uiautomator.UiDevice  import com.android.server.testutils.mock +import org.junit.Assume.assumeFalse  import org.junit.Before  import org.junit.Rule  import org.junit.Test @@ -45,6 +50,7 @@ class GrantAndRevokeTrustTest {      private val activityScenarioRule = ActivityScenarioRule(TrustTestActivity::class.java)      private val lockStateTrackingRule = LockStateTrackingRule()      private val trustAgentRule = TrustAgentRule<GrantAndRevokeTrustAgent>() +    private val packageManager = getInstrumentation().getTargetContext().getPackageManager()      @get:Rule      val rule: RuleChain = RuleChain @@ -52,6 +58,7 @@ class GrantAndRevokeTrustTest {          .around(ScreenLockRule())          .around(lockStateTrackingRule)          .around(trustAgentRule) +        .around(DeviceFlagsValueProvider.createCheckFlagsRule())      @Before      fun manageTrust() { @@ -72,7 +79,7 @@ class GrantAndRevokeTrustTest {          trustAgentRule.agent.grantTrust(GRANT_MESSAGE, 10000, 0) {}          uiDevice.sleep() -        lockStateTrackingRule.assertUnlocked() +        lockStateTrackingRule.assertUnlockedAndTrusted()      }      @Test @@ -86,6 +93,51 @@ class GrantAndRevokeTrustTest {      }      @Test +    @RequiresFlagsEnabled(android.security.Flags.FLAG_FIX_UNLOCKED_DEVICE_REQUIRED_KEYS_V2) +    fun grantCannotActivelyUnlockDevice() { +        // On automotive, trust agents can actively unlock the device. +        assumeFalse(packageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) + +        // Lock the device. +        uiDevice.sleep() +        lockStateTrackingRule.assertLocked() + +        // Grant trust. +        trustAgentRule.agent.grantTrust(GRANT_MESSAGE, 10000, 0) {} + +        // The grant should not have unlocked the device.  Wait a bit so that +        // TrustManagerService probably will have finished processing the grant. +        await() +        lockStateTrackingRule.assertLocked() + +        // Turn the screen on and off to cause TrustManagerService to refresh +        // its deviceLocked state.  Then verify the state is still locked.  This +        // part failed before the fix for b/296464083. +        uiDevice.wakeUp() +        uiDevice.sleep() +        await() +        lockStateTrackingRule.assertLocked() +    } + +    @Test +    @RequiresFlagsDisabled(android.security.Flags.FLAG_FIX_UNLOCKED_DEVICE_REQUIRED_KEYS_V2) +    fun grantCouldCauseWrongDeviceLockedStateDueToBug() { +        // On automotive, trust agents can actively unlock the device. +        assumeFalse(packageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)) + +        // Verify that b/296464083 exists.  That is, when the device is locked +        // and a trust agent grants trust, the deviceLocked state incorrectly +        // becomes false even though the device correctly remains locked. +        uiDevice.sleep() +        lockStateTrackingRule.assertLocked() +        trustAgentRule.agent.grantTrust(GRANT_MESSAGE, 10000, 0) {} +        uiDevice.wakeUp() +        uiDevice.sleep() +        await() +        lockStateTrackingRule.assertUnlockedButNotReally() +    } + +    @Test      fun grantDoesNotCallBack() {          val callback = mock<(GrantTrustResult) -> Unit>()          trustAgentRule.agent.grantTrust(GRANT_MESSAGE, 0, 0, callback) diff --git a/tests/TrustTests/src/android/trust/test/CanUnlockWithActiveUnlockTest.kt b/tests/TrustTests/src/android/trust/test/IsActiveUnlockRunningTest.kt index 7b68a829e23b..7b68a829e23b 100644 --- a/tests/TrustTests/src/android/trust/test/CanUnlockWithActiveUnlockTest.kt +++ b/tests/TrustTests/src/android/trust/test/IsActiveUnlockRunningTest.kt diff --git a/tests/TrustTests/src/android/trust/test/TemporaryAndRenewableTrustTest.kt b/tests/TrustTests/src/android/trust/test/TemporaryAndRenewableTrustTest.kt index ae722477a2bc..96362b8e71dc 100644 --- a/tests/TrustTests/src/android/trust/test/TemporaryAndRenewableTrustTest.kt +++ b/tests/TrustTests/src/android/trust/test/TemporaryAndRenewableTrustTest.kt @@ -102,7 +102,7 @@ class TemporaryAndRenewableTrustTest {          trustAgentRule.agent.grantTrust(              GRANT_MESSAGE, 0, FLAG_GRANT_TRUST_TEMPORARY_AND_RENEWABLE) {} -        lockStateTrackingRule.assertUnlocked() +        lockStateTrackingRule.assertUnlockedAndTrusted()      }      @Test @@ -125,7 +125,7 @@ class TemporaryAndRenewableTrustTest {              Log.i(TAG, "Callback received; status=${it.status}")              result = it          } -        lockStateTrackingRule.assertUnlocked() +        lockStateTrackingRule.assertUnlockedAndTrusted()          wait("callback triggered") { result?.status == STATUS_UNLOCKED_BY_GRANT }      } diff --git a/tests/TrustTests/src/android/trust/test/lib/LockStateTrackingRule.kt b/tests/TrustTests/src/android/trust/test/lib/LockStateTrackingRule.kt index 1400dde5781d..01218099f34c 100644 --- a/tests/TrustTests/src/android/trust/test/lib/LockStateTrackingRule.kt +++ b/tests/TrustTests/src/android/trust/test/lib/LockStateTrackingRule.kt @@ -16,6 +16,7 @@  package android.trust.test.lib +import android.app.KeyguardManager  import android.app.trust.TrustManager  import android.content.Context  import android.util.Log @@ -26,18 +27,24 @@ import org.junit.runner.Description  import org.junit.runners.model.Statement  /** - * Rule for tracking the lock state of the device based on events emitted to [TrustListener]. + * Rule for tracking the trusted state of the device based on events emitted to + * [TrustListener].  Provides helper methods for verifying that the trusted + * state has a particular value and is consistent with (a) the keyguard "locked" + * (i.e. showing) value when applicable, and (b) the device locked value that is + * tracked by TrustManagerService and is queryable via KeyguardManager.   */  class LockStateTrackingRule : TestRule {      private val context: Context = getApplicationContext() -    private val windowManager = WindowManagerGlobal.getWindowManagerService() +    private val windowManager = checkNotNull(WindowManagerGlobal.getWindowManagerService()) +    private val keyguardManager = +            context.getSystemService(KeyguardManager::class.java) as KeyguardManager -    @Volatile lateinit var lockState: LockState +    @Volatile lateinit var trustState: TrustState          private set      override fun apply(base: Statement, description: Description) = object : Statement() {          override fun evaluate() { -            lockState = LockState(locked = windowManager.isKeyguardLocked) +            trustState = TrustState()              val trustManager = context.getSystemService(TrustManager::class.java) as TrustManager              val listener = Listener() @@ -51,12 +58,25 @@ class LockStateTrackingRule : TestRule {      }      fun assertLocked() { -        wait("un-locked per TrustListener") { lockState.locked == true } -        wait("keyguard lock") { windowManager.isKeyguardLocked } +        wait("device locked") { keyguardManager.isDeviceLocked } +        // isDeviceLocked implies isKeyguardLocked && !trusted. +        wait("keyguard locked") { windowManager.isKeyguardLocked } +        wait("not trusted") { trustState.trusted == false }      } -    fun assertUnlocked() { -        wait("locked per TrustListener") { lockState.locked == false } +    // TODO(b/299298338) remove this when removing FLAG_FIX_UNLOCKED_DEVICE_REQUIRED_KEYS_V2 +    fun assertUnlockedButNotReally() { +        wait("device unlocked") { !keyguardManager.isDeviceLocked } +        wait("not trusted") { trustState.trusted == false } +        wait("keyguard locked") { windowManager.isKeyguardLocked } +    } + +    fun assertUnlockedAndTrusted() { +        wait("device unlocked") { !keyguardManager.isDeviceLocked } +        wait("trusted") { trustState.trusted == true } +        // Can't check for !isKeyguardLocked here, since isKeyguardLocked +        // returns true in the case where the keyguard is dismissible with +        // swipe, which is considered "device unlocked"!      }      inner class Listener : TestTrustListener() { @@ -68,12 +88,12 @@ class LockStateTrackingRule : TestRule {              trustGrantedMessages: MutableList<String>          ) {              Log.d(TAG, "Device became trusted=$enabled") -            lockState = lockState.copy(locked = !enabled) +            trustState = trustState.copy(trusted = enabled)          }      } -    data class LockState( -        val locked: Boolean? = null +    data class TrustState( +        val trusted: Boolean? = null      )      companion object { diff --git a/tests/TrustTests/src/android/trust/test/lib/ScreenLockRule.kt b/tests/TrustTests/src/android/trust/test/lib/ScreenLockRule.kt index 4189baae10cb..f1edca3ff86e 100644 --- a/tests/TrustTests/src/android/trust/test/lib/ScreenLockRule.kt +++ b/tests/TrustTests/src/android/trust/test/lib/ScreenLockRule.kt @@ -36,7 +36,7 @@ import org.junit.runners.model.Statement  class ScreenLockRule : TestRule {      private val context: Context = getApplicationContext()      private val uiDevice = UiDevice.getInstance(getInstrumentation()) -    private val windowManager = WindowManagerGlobal.getWindowManagerService() +    private val windowManager = checkNotNull(WindowManagerGlobal.getWindowManagerService())      private val lockPatternUtils = LockPatternUtils(context)      private var instantLockSavedValue = false diff --git a/tests/UpdatableSystemFontTest/Android.bp b/tests/UpdatableSystemFontTest/Android.bp index 9bfcc18ee301..ddb3649a8320 100644 --- a/tests/UpdatableSystemFontTest/Android.bp +++ b/tests/UpdatableSystemFontTest/Android.bp @@ -30,7 +30,7 @@ android_test {          "androidx.test.uiautomator_uiautomator",          "compatibility-device-util-axt",          "platform-test-annotations", -        "truth-prebuilt", +        "truth",      ],      test_suites: [          "general-tests", diff --git a/tests/UsbManagerTests/Android.bp b/tests/UsbManagerTests/Android.bp index 97fbf5b32035..c02d8e96abb0 100644 --- a/tests/UsbManagerTests/Android.bp +++ b/tests/UsbManagerTests/Android.bp @@ -31,7 +31,7 @@ android_test {          "androidx.test.rules",          "mockito-target-inline-minus-junit4",          "platform-test-annotations", -        "truth-prebuilt", +        "truth",          "UsbManagerTestLib",      ],      jni_libs: ["libdexmakerjvmtiagent"], diff --git a/tests/UsbManagerTests/lib/Android.bp b/tests/UsbManagerTests/lib/Android.bp index 994484cd63bf..4e5a70fef0ca 100644 --- a/tests/UsbManagerTests/lib/Android.bp +++ b/tests/UsbManagerTests/lib/Android.bp @@ -34,7 +34,7 @@ android_library {          "services.core",          "services.net",          "services.usb", -        "truth-prebuilt", +        "truth",          "androidx.core_core",      ],      libs: [ diff --git a/tests/UsbTests/Android.bp b/tests/UsbTests/Android.bp index 9328b67795cb..1c2f746da5bd 100644 --- a/tests/UsbTests/Android.bp +++ b/tests/UsbTests/Android.bp @@ -34,7 +34,7 @@ android_test {          "services.core",          "services.net",          "services.usb", -        "truth-prebuilt", +        "truth",          "UsbManagerTestLib",      ],      jni_libs: ["libdexmakerjvmtiagent"], diff --git a/tests/componentalias/Android.bp b/tests/componentalias/Android.bp index 7af76e1144f8..bbd46c5fddfe 100644 --- a/tests/componentalias/Android.bp +++ b/tests/componentalias/Android.bp @@ -25,7 +25,7 @@ java_defaults {          "androidx.test.rules",          "compatibility-device-util-axt",          "mockito-target-extended-minus-junit4", -        "truth-prebuilt", +        "truth",          "ub-uiautomator",      ],      libs: ["android.test.base"], diff --git a/tests/HwAccelerationTest/.classpath b/tests/graphics/HwAccelerationTest/.classpath index 609aa00ebc43..609aa00ebc43 100644 --- a/tests/HwAccelerationTest/.classpath +++ b/tests/graphics/HwAccelerationTest/.classpath diff --git a/tests/HwAccelerationTest/.gitignore b/tests/graphics/HwAccelerationTest/.gitignore index f178f174effb..f178f174effb 100644 --- a/tests/HwAccelerationTest/.gitignore +++ b/tests/graphics/HwAccelerationTest/.gitignore diff --git a/tests/HwAccelerationTest/Android.bp b/tests/graphics/HwAccelerationTest/Android.bp index 51848f2857c9..51848f2857c9 100644 --- a/tests/HwAccelerationTest/Android.bp +++ b/tests/graphics/HwAccelerationTest/Android.bp diff --git a/tests/HwAccelerationTest/AndroidManifest.xml b/tests/graphics/HwAccelerationTest/AndroidManifest.xml index 80c7a21dc11b..db3a992b9c7b 100644 --- a/tests/HwAccelerationTest/AndroidManifest.xml +++ b/tests/graphics/HwAccelerationTest/AndroidManifest.xml @@ -789,6 +789,15 @@              </intent-filter>          </activity> +        <activity android:name="BackdropBlurActivity" +                  android:label="RenderEffect/BackdropBlur" +                  android:exported="true"> +            <intent-filter> +                <action android:name="android.intent.action.MAIN"/> +                <category android:name="com.android.test.hwui.TEST"/> +            </intent-filter> +        </activity> +          <activity android:name="BlurActivity"                    android:label="RenderEffect/Blur"                    android:exported="true"> diff --git a/tests/HwAccelerationTest/default.properties b/tests/graphics/HwAccelerationTest/default.properties index da2dcdd13172..da2dcdd13172 100644 --- a/tests/HwAccelerationTest/default.properties +++ b/tests/graphics/HwAccelerationTest/default.properties diff --git a/tests/HwAccelerationTest/jni/Android.bp b/tests/graphics/HwAccelerationTest/jni/Android.bp index 8edddab0ad1f..8edddab0ad1f 100644 --- a/tests/HwAccelerationTest/jni/Android.bp +++ b/tests/graphics/HwAccelerationTest/jni/Android.bp diff --git a/tests/HwAccelerationTest/jni/native-lib.cpp b/tests/graphics/HwAccelerationTest/jni/native-lib.cpp index 407d4bf76336..407d4bf76336 100644 --- a/tests/HwAccelerationTest/jni/native-lib.cpp +++ b/tests/graphics/HwAccelerationTest/jni/native-lib.cpp diff --git a/tests/HwAccelerationTest/res/anim/accelerate_interpolator_2.xml b/tests/graphics/HwAccelerationTest/res/anim/accelerate_interpolator_2.xml index e4a8d480a28b..e4a8d480a28b 100644 --- a/tests/HwAccelerationTest/res/anim/accelerate_interpolator_2.xml +++ b/tests/graphics/HwAccelerationTest/res/anim/accelerate_interpolator_2.xml diff --git a/tests/HwAccelerationTest/res/anim/fade_in.xml b/tests/graphics/HwAccelerationTest/res/anim/fade_in.xml index 34310f53fc54..34310f53fc54 100644 --- a/tests/HwAccelerationTest/res/anim/fade_in.xml +++ b/tests/graphics/HwAccelerationTest/res/anim/fade_in.xml diff --git a/tests/HwAccelerationTest/res/anim/fade_out.xml b/tests/graphics/HwAccelerationTest/res/anim/fade_out.xml index 9832c322ff65..9832c322ff65 100644 --- a/tests/HwAccelerationTest/res/anim/fade_out.xml +++ b/tests/graphics/HwAccelerationTest/res/anim/fade_out.xml diff --git a/tests/HwAccelerationTest/res/anim/slide_off_left.xml b/tests/graphics/HwAccelerationTest/res/anim/slide_off_left.xml index f05de3937586..f05de3937586 100644 --- a/tests/HwAccelerationTest/res/anim/slide_off_left.xml +++ b/tests/graphics/HwAccelerationTest/res/anim/slide_off_left.xml diff --git a/tests/HwAccelerationTest/res/drawable-hdpi/appwidget_background.xml b/tests/graphics/HwAccelerationTest/res/drawable-hdpi/appwidget_background.xml index abbb9e69af94..abbb9e69af94 100644 --- a/tests/HwAccelerationTest/res/drawable-hdpi/appwidget_background.xml +++ b/tests/graphics/HwAccelerationTest/res/drawable-hdpi/appwidget_background.xml diff --git a/tests/HwAccelerationTest/res/drawable-hdpi/icon.png b/tests/graphics/HwAccelerationTest/res/drawable-hdpi/icon.png Binary files differindex 60fbdf5d0403..60fbdf5d0403 100644 --- a/tests/HwAccelerationTest/res/drawable-hdpi/icon.png +++ b/tests/graphics/HwAccelerationTest/res/drawable-hdpi/icon.png diff --git a/tests/HwAccelerationTest/res/drawable-hdpi/sunset1.jpg b/tests/graphics/HwAccelerationTest/res/drawable-hdpi/sunset1.jpg Binary files differindex 086c05542836..086c05542836 100644 --- a/tests/HwAccelerationTest/res/drawable-hdpi/sunset1.jpg +++ b/tests/graphics/HwAccelerationTest/res/drawable-hdpi/sunset1.jpg diff --git a/tests/HwAccelerationTest/res/drawable-hdpi/sunset2.png b/tests/graphics/HwAccelerationTest/res/drawable-hdpi/sunset2.png Binary files differindex 3258ee745389..3258ee745389 100644 --- a/tests/HwAccelerationTest/res/drawable-hdpi/sunset2.png +++ b/tests/graphics/HwAccelerationTest/res/drawable-hdpi/sunset2.png diff --git a/tests/HwAccelerationTest/res/drawable-hdpi/sunset3.png b/tests/graphics/HwAccelerationTest/res/drawable-hdpi/sunset3.png Binary files differindex 6508b27a1452..6508b27a1452 100644 --- a/tests/HwAccelerationTest/res/drawable-hdpi/sunset3.png +++ b/tests/graphics/HwAccelerationTest/res/drawable-hdpi/sunset3.png diff --git a/tests/HwAccelerationTest/res/drawable-hdpi/widget_header.png b/tests/graphics/HwAccelerationTest/res/drawable-hdpi/widget_header.png Binary files differindex cd9ec4488486..cd9ec4488486 100644 --- a/tests/HwAccelerationTest/res/drawable-hdpi/widget_header.png +++ b/tests/graphics/HwAccelerationTest/res/drawable-hdpi/widget_header.png diff --git a/tests/HwAccelerationTest/res/drawable-mdpi/expander_ic_maximized.9.png b/tests/graphics/HwAccelerationTest/res/drawable-mdpi/expander_ic_maximized.9.png Binary files differindex d5c32766cece..d5c32766cece 100644 --- a/tests/HwAccelerationTest/res/drawable-mdpi/expander_ic_maximized.9.png +++ b/tests/graphics/HwAccelerationTest/res/drawable-mdpi/expander_ic_maximized.9.png diff --git a/tests/HwAccelerationTest/res/drawable-mdpi/expander_ic_minimized.9.png b/tests/graphics/HwAccelerationTest/res/drawable-mdpi/expander_ic_minimized.9.png Binary files differindex 4515b42177bb..4515b42177bb 100644 --- a/tests/HwAccelerationTest/res/drawable-mdpi/expander_ic_minimized.9.png +++ b/tests/graphics/HwAccelerationTest/res/drawable-mdpi/expander_ic_minimized.9.png diff --git a/tests/HwAccelerationTest/res/drawable-nodpi/appwidget_bg.9.png b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/appwidget_bg.9.png Binary files differindex 80491912d80b..80491912d80b 100644 --- a/tests/HwAccelerationTest/res/drawable-nodpi/appwidget_bg.9.png +++ b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/appwidget_bg.9.png diff --git a/tests/HwAccelerationTest/res/drawable-nodpi/appwidget_bg_focus.9.png b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/appwidget_bg_focus.9.png Binary files differindex c81f67582110..c81f67582110 100644 --- a/tests/HwAccelerationTest/res/drawable-nodpi/appwidget_bg_focus.9.png +++ b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/appwidget_bg_focus.9.png diff --git a/tests/HwAccelerationTest/res/drawable-nodpi/appwidget_bg_press.9.png b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/appwidget_bg_press.9.png Binary files differindex d060b77556bb..d060b77556bb 100644 --- a/tests/HwAccelerationTest/res/drawable-nodpi/appwidget_bg_press.9.png +++ b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/appwidget_bg_press.9.png diff --git a/tests/HwAccelerationTest/res/drawable-nodpi/green_gradient.9.png b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/green_gradient.9.png Binary files differindex a535678ab531..a535678ab531 100644 --- a/tests/HwAccelerationTest/res/drawable-nodpi/green_gradient.9.png +++ b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/green_gradient.9.png diff --git a/tests/HwAccelerationTest/res/drawable-nodpi/large_photo.jpg b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/large_photo.jpg Binary files differindex e23dbb093f39..e23dbb093f39 100644 --- a/tests/HwAccelerationTest/res/drawable-nodpi/large_photo.jpg +++ b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/large_photo.jpg diff --git a/tests/HwAccelerationTest/res/drawable-nodpi/patch.9.png b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/patch.9.png Binary files differindex e3b3639e86f2..e3b3639e86f2 100644 --- a/tests/HwAccelerationTest/res/drawable-nodpi/patch.9.png +++ b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/patch.9.png diff --git a/tests/HwAccelerationTest/res/drawable-nodpi/patch2.9.png b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/patch2.9.png Binary files differindex f65a35592cd4..f65a35592cd4 100644 --- a/tests/HwAccelerationTest/res/drawable-nodpi/patch2.9.png +++ b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/patch2.9.png diff --git a/tests/HwAccelerationTest/res/drawable-nodpi/progress_vertical_bg_holo_dark.9.png b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/progress_vertical_bg_holo_dark.9.png Binary files differindex 089704e90869..089704e90869 100644 --- a/tests/HwAccelerationTest/res/drawable-nodpi/progress_vertical_bg_holo_dark.9.png +++ b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/progress_vertical_bg_holo_dark.9.png diff --git a/tests/HwAccelerationTest/res/drawable-nodpi/progress_vertical_primary_holo_dark.9.png b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/progress_vertical_primary_holo_dark.9.png Binary files differindex 385dbc4a62f6..385dbc4a62f6 100644 --- a/tests/HwAccelerationTest/res/drawable-nodpi/progress_vertical_primary_holo_dark.9.png +++ b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/progress_vertical_primary_holo_dark.9.png diff --git a/tests/HwAccelerationTest/res/drawable-nodpi/progress_vertical_secondary_holo_dark.9.png b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/progress_vertical_secondary_holo_dark.9.png Binary files differindex f1510b247065..f1510b247065 100644 --- a/tests/HwAccelerationTest/res/drawable-nodpi/progress_vertical_secondary_holo_dark.9.png +++ b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/progress_vertical_secondary_holo_dark.9.png diff --git a/tests/HwAccelerationTest/res/drawable-nodpi/scratches.png b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/scratches.png Binary files differindex cc8adf15f4f0..cc8adf15f4f0 100644 --- a/tests/HwAccelerationTest/res/drawable-nodpi/scratches.png +++ b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/scratches.png diff --git a/tests/HwAccelerationTest/res/drawable-nodpi/scrubber_vertical_primary_holo.9.png b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/scrubber_vertical_primary_holo.9.png Binary files differindex 4208c6f78fde..4208c6f78fde 100644 --- a/tests/HwAccelerationTest/res/drawable-nodpi/scrubber_vertical_primary_holo.9.png +++ b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/scrubber_vertical_primary_holo.9.png diff --git a/tests/HwAccelerationTest/res/drawable-nodpi/scrubber_vertical_secondary_holo.9.png b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/scrubber_vertical_secondary_holo.9.png Binary files differindex b25fb2f18231..b25fb2f18231 100644 --- a/tests/HwAccelerationTest/res/drawable-nodpi/scrubber_vertical_secondary_holo.9.png +++ b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/scrubber_vertical_secondary_holo.9.png diff --git a/tests/HwAccelerationTest/res/drawable-nodpi/scrubber_vertical_track_holo_dark.9.png b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/scrubber_vertical_track_holo_dark.9.png Binary files differindex 25129c69600b..25129c69600b 100644 --- a/tests/HwAccelerationTest/res/drawable-nodpi/scrubber_vertical_track_holo_dark.9.png +++ b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/scrubber_vertical_track_holo_dark.9.png diff --git a/tests/HwAccelerationTest/res/drawable-nodpi/scrubber_vertical_track_holo_light.9.png b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/scrubber_vertical_track_holo_light.9.png Binary files differindex 1505e0eeefa4..1505e0eeefa4 100644 --- a/tests/HwAccelerationTest/res/drawable-nodpi/scrubber_vertical_track_holo_light.9.png +++ b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/scrubber_vertical_track_holo_light.9.png diff --git a/tests/HwAccelerationTest/res/drawable-nodpi/spot_mask.png b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/spot_mask.png Binary files differindex 89537594e1a6..89537594e1a6 100644 --- a/tests/HwAccelerationTest/res/drawable-nodpi/spot_mask.png +++ b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/spot_mask.png diff --git a/tests/HwAccelerationTest/res/drawable-nodpi/very_large_photo.jpg b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/very_large_photo.jpg Binary files differindex 6e1a866dfb00..6e1a866dfb00 100644 --- a/tests/HwAccelerationTest/res/drawable-nodpi/very_large_photo.jpg +++ b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/very_large_photo.jpg diff --git a/tests/HwAccelerationTest/res/drawable-nodpi/weather_2.jpg b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/weather_2.jpg Binary files differindex b5aff104207a..b5aff104207a 100644 --- a/tests/HwAccelerationTest/res/drawable-nodpi/weather_2.jpg +++ b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/weather_2.jpg diff --git a/tests/HwAccelerationTest/res/drawable-nodpi/widget_title_bg.9.png b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/widget_title_bg.9.png Binary files differindex 79615c237ffe..79615c237ffe 100644 --- a/tests/HwAccelerationTest/res/drawable-nodpi/widget_title_bg.9.png +++ b/tests/graphics/HwAccelerationTest/res/drawable-nodpi/widget_title_bg.9.png diff --git a/tests/HwAccelerationTest/res/drawable/appwidget_background.xml b/tests/graphics/HwAccelerationTest/res/drawable/appwidget_background.xml index abbb9e69af94..abbb9e69af94 100644 --- a/tests/HwAccelerationTest/res/drawable/appwidget_background.xml +++ b/tests/graphics/HwAccelerationTest/res/drawable/appwidget_background.xml diff --git a/tests/HwAccelerationTest/res/drawable/appwidget_bg.9.png b/tests/graphics/HwAccelerationTest/res/drawable/appwidget_bg.9.png Binary files differindex 80491912d80b..80491912d80b 100644 --- a/tests/HwAccelerationTest/res/drawable/appwidget_bg.9.png +++ b/tests/graphics/HwAccelerationTest/res/drawable/appwidget_bg.9.png diff --git a/tests/HwAccelerationTest/res/drawable/appwidget_bg_focus.9.png b/tests/graphics/HwAccelerationTest/res/drawable/appwidget_bg_focus.9.png Binary files differindex c81f67582110..c81f67582110 100644 --- a/tests/HwAccelerationTest/res/drawable/appwidget_bg_focus.9.png +++ b/tests/graphics/HwAccelerationTest/res/drawable/appwidget_bg_focus.9.png diff --git a/tests/HwAccelerationTest/res/drawable/appwidget_bg_press.9.png b/tests/graphics/HwAccelerationTest/res/drawable/appwidget_bg_press.9.png Binary files differindex d060b77556bb..d060b77556bb 100644 --- a/tests/HwAccelerationTest/res/drawable/appwidget_bg_press.9.png +++ b/tests/graphics/HwAccelerationTest/res/drawable/appwidget_bg_press.9.png diff --git a/tests/HwAccelerationTest/res/drawable/btn_toggle_off.9.png b/tests/graphics/HwAccelerationTest/res/drawable/btn_toggle_off.9.png Binary files differindex 26ee1c2e9259..26ee1c2e9259 100644 --- a/tests/HwAccelerationTest/res/drawable/btn_toggle_off.9.png +++ b/tests/graphics/HwAccelerationTest/res/drawable/btn_toggle_off.9.png diff --git a/tests/HwAccelerationTest/res/drawable/btn_toggle_on.9.png b/tests/graphics/HwAccelerationTest/res/drawable/btn_toggle_on.9.png Binary files differindex 53e95af9697d..53e95af9697d 100644 --- a/tests/HwAccelerationTest/res/drawable/btn_toggle_on.9.png +++ b/tests/graphics/HwAccelerationTest/res/drawable/btn_toggle_on.9.png diff --git a/tests/HwAccelerationTest/res/drawable/default_wallpaper.png b/tests/graphics/HwAccelerationTest/res/drawable/default_wallpaper.png Binary files differindex 91ad252507e5..91ad252507e5 100644 --- a/tests/HwAccelerationTest/res/drawable/default_wallpaper.png +++ b/tests/graphics/HwAccelerationTest/res/drawable/default_wallpaper.png diff --git a/tests/HwAccelerationTest/res/drawable/gradient.xml b/tests/graphics/HwAccelerationTest/res/drawable/gradient.xml index 756db0b23dbf..756db0b23dbf 100644 --- a/tests/HwAccelerationTest/res/drawable/gradient.xml +++ b/tests/graphics/HwAccelerationTest/res/drawable/gradient.xml diff --git a/tests/HwAccelerationTest/res/drawable/green_gradient.9.png b/tests/graphics/HwAccelerationTest/res/drawable/green_gradient.9.png Binary files differindex a535678ab531..a535678ab531 100644 --- a/tests/HwAccelerationTest/res/drawable/green_gradient.9.png +++ b/tests/graphics/HwAccelerationTest/res/drawable/green_gradient.9.png diff --git a/tests/HwAccelerationTest/res/drawable/icon.png b/tests/graphics/HwAccelerationTest/res/drawable/icon.png Binary files differindex cb40a1988b52..cb40a1988b52 100644 --- a/tests/HwAccelerationTest/res/drawable/icon.png +++ b/tests/graphics/HwAccelerationTest/res/drawable/icon.png diff --git a/tests/HwAccelerationTest/res/drawable/progress_vertical_holo_dark.xml b/tests/graphics/HwAccelerationTest/res/drawable/progress_vertical_holo_dark.xml index 9eb54b729b1d..9eb54b729b1d 100644 --- a/tests/HwAccelerationTest/res/drawable/progress_vertical_holo_dark.xml +++ b/tests/graphics/HwAccelerationTest/res/drawable/progress_vertical_holo_dark.xml diff --git a/tests/HwAccelerationTest/res/drawable/robot.png b/tests/graphics/HwAccelerationTest/res/drawable/robot.png Binary files differindex 8a9e6984be96..8a9e6984be96 100644 --- a/tests/HwAccelerationTest/res/drawable/robot.png +++ b/tests/graphics/HwAccelerationTest/res/drawable/robot.png diff --git a/tests/graphics/HwAccelerationTest/res/drawable/robot_repeated.xml b/tests/graphics/HwAccelerationTest/res/drawable/robot_repeated.xml new file mode 100644 index 000000000000..bbb15b71c3a5 --- /dev/null +++ b/tests/graphics/HwAccelerationTest/res/drawable/robot_repeated.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2022 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. +--> +<bitmap xmlns:android="http://schemas.android.com/apk/res/android" +        android:src="@drawable/robot" +        android:tileMode="repeat" android:gravity="fill" />
\ No newline at end of file diff --git a/tests/HwAccelerationTest/res/drawable/round_rect_background.xml b/tests/graphics/HwAccelerationTest/res/drawable/round_rect_background.xml index 14d40736b3b9..14d40736b3b9 100644 --- a/tests/HwAccelerationTest/res/drawable/round_rect_background.xml +++ b/tests/graphics/HwAccelerationTest/res/drawable/round_rect_background.xml diff --git a/tests/HwAccelerationTest/res/drawable/scrubber_progress_vertical_holo_dark.xml b/tests/graphics/HwAccelerationTest/res/drawable/scrubber_progress_vertical_holo_dark.xml index 0cc56bfa4260..0cc56bfa4260 100644 --- a/tests/HwAccelerationTest/res/drawable/scrubber_progress_vertical_holo_dark.xml +++ b/tests/graphics/HwAccelerationTest/res/drawable/scrubber_progress_vertical_holo_dark.xml diff --git a/tests/HwAccelerationTest/res/drawable/sunset1.jpg b/tests/graphics/HwAccelerationTest/res/drawable/sunset1.jpg Binary files differindex 3b4e056b70d0..3b4e056b70d0 100644 --- a/tests/HwAccelerationTest/res/drawable/sunset1.jpg +++ b/tests/graphics/HwAccelerationTest/res/drawable/sunset1.jpg diff --git a/tests/HwAccelerationTest/res/drawable/sunset2.png b/tests/graphics/HwAccelerationTest/res/drawable/sunset2.png Binary files differindex 3258ee745389..3258ee745389 100644 --- a/tests/HwAccelerationTest/res/drawable/sunset2.png +++ b/tests/graphics/HwAccelerationTest/res/drawable/sunset2.png diff --git a/tests/HwAccelerationTest/res/drawable/sunset3.png b/tests/graphics/HwAccelerationTest/res/drawable/sunset3.png Binary files differindex 6508b27a1452..6508b27a1452 100644 --- a/tests/HwAccelerationTest/res/drawable/sunset3.png +++ b/tests/graphics/HwAccelerationTest/res/drawable/sunset3.png diff --git a/tests/HwAccelerationTest/res/drawable/widget_header.png b/tests/graphics/HwAccelerationTest/res/drawable/widget_header.png Binary files differindex 0297dd109bdf..0297dd109bdf 100644 --- a/tests/HwAccelerationTest/res/drawable/widget_header.png +++ b/tests/graphics/HwAccelerationTest/res/drawable/widget_header.png diff --git a/tests/HwAccelerationTest/res/drawable/widget_title_bg.9.png b/tests/graphics/HwAccelerationTest/res/drawable/widget_title_bg.9.png Binary files differindex 79615c237ffe..79615c237ffe 100644 --- a/tests/HwAccelerationTest/res/drawable/widget_title_bg.9.png +++ b/tests/graphics/HwAccelerationTest/res/drawable/widget_title_bg.9.png diff --git a/tests/HwAccelerationTest/res/layout/_advanced_blend.xml b/tests/graphics/HwAccelerationTest/res/layout/_advanced_blend.xml index 5b6fd3c2624a..5b6fd3c2624a 100644 --- a/tests/HwAccelerationTest/res/layout/_advanced_blend.xml +++ b/tests/graphics/HwAccelerationTest/res/layout/_advanced_blend.xml diff --git a/tests/HwAccelerationTest/res/layout/_advanced_gradient.xml b/tests/graphics/HwAccelerationTest/res/layout/_advanced_gradient.xml index 5e32ed2ec7cb..5e32ed2ec7cb 100644 --- a/tests/HwAccelerationTest/res/layout/_advanced_gradient.xml +++ b/tests/graphics/HwAccelerationTest/res/layout/_advanced_gradient.xml diff --git a/tests/HwAccelerationTest/res/layout/_layers.xml b/tests/graphics/HwAccelerationTest/res/layout/_layers.xml index 25c76ac710cf..25c76ac710cf 100644 --- a/tests/HwAccelerationTest/res/layout/_layers.xml +++ b/tests/graphics/HwAccelerationTest/res/layout/_layers.xml diff --git a/tests/HwAccelerationTest/res/layout/_lines.xml b/tests/graphics/HwAccelerationTest/res/layout/_lines.xml index c24dc25af9ac..c24dc25af9ac 100644 --- a/tests/HwAccelerationTest/res/layout/_lines.xml +++ b/tests/graphics/HwAccelerationTest/res/layout/_lines.xml diff --git a/tests/HwAccelerationTest/res/layout/_newlayers.xml b/tests/graphics/HwAccelerationTest/res/layout/_newlayers.xml index 5c37e371aeff..5c37e371aeff 100644 --- a/tests/HwAccelerationTest/res/layout/_newlayers.xml +++ b/tests/graphics/HwAccelerationTest/res/layout/_newlayers.xml diff --git a/tests/HwAccelerationTest/res/layout/_paths.xml b/tests/graphics/HwAccelerationTest/res/layout/_paths.xml index 34baf8474b6c..34baf8474b6c 100644 --- a/tests/HwAccelerationTest/res/layout/_paths.xml +++ b/tests/graphics/HwAccelerationTest/res/layout/_paths.xml diff --git a/tests/HwAccelerationTest/res/layout/_shaders.xml b/tests/graphics/HwAccelerationTest/res/layout/_shaders.xml index 070ac1291f2c..070ac1291f2c 100644 --- a/tests/HwAccelerationTest/res/layout/_shaders.xml +++ b/tests/graphics/HwAccelerationTest/res/layout/_shaders.xml diff --git a/tests/HwAccelerationTest/res/layout/colored_shadows_activity.xml b/tests/graphics/HwAccelerationTest/res/layout/colored_shadows_activity.xml index 18633250cfcb..18633250cfcb 100644 --- a/tests/HwAccelerationTest/res/layout/colored_shadows_activity.xml +++ b/tests/graphics/HwAccelerationTest/res/layout/colored_shadows_activity.xml diff --git a/tests/HwAccelerationTest/res/layout/colored_shadows_row.xml b/tests/graphics/HwAccelerationTest/res/layout/colored_shadows_row.xml index 61b075974926..61b075974926 100644 --- a/tests/HwAccelerationTest/res/layout/colored_shadows_row.xml +++ b/tests/graphics/HwAccelerationTest/res/layout/colored_shadows_row.xml diff --git a/tests/HwAccelerationTest/res/layout/date_picker.xml b/tests/graphics/HwAccelerationTest/res/layout/date_picker.xml index 742a03bfd1c5..742a03bfd1c5 100644 --- a/tests/HwAccelerationTest/res/layout/date_picker.xml +++ b/tests/graphics/HwAccelerationTest/res/layout/date_picker.xml diff --git a/tests/HwAccelerationTest/res/layout/flipper_item.xml b/tests/graphics/HwAccelerationTest/res/layout/flipper_item.xml index 43a7bbfc2deb..43a7bbfc2deb 100644 --- a/tests/HwAccelerationTest/res/layout/flipper_item.xml +++ b/tests/graphics/HwAccelerationTest/res/layout/flipper_item.xml diff --git a/tests/HwAccelerationTest/res/layout/form.xml b/tests/graphics/HwAccelerationTest/res/layout/form.xml index 0b17db186cd0..0b17db186cd0 100644 --- a/tests/HwAccelerationTest/res/layout/form.xml +++ b/tests/graphics/HwAccelerationTest/res/layout/form.xml diff --git a/tests/HwAccelerationTest/res/layout/image_filter_activity.xml b/tests/graphics/HwAccelerationTest/res/layout/image_filter_activity.xml index a0ee67ae0bef..a0ee67ae0bef 100644 --- a/tests/HwAccelerationTest/res/layout/image_filter_activity.xml +++ b/tests/graphics/HwAccelerationTest/res/layout/image_filter_activity.xml diff --git a/tests/HwAccelerationTest/res/layout/labels.xml b/tests/graphics/HwAccelerationTest/res/layout/labels.xml index 695a2cc09db5..695a2cc09db5 100644 --- a/tests/HwAccelerationTest/res/layout/labels.xml +++ b/tests/graphics/HwAccelerationTest/res/layout/labels.xml diff --git a/tests/HwAccelerationTest/res/layout/list_activity.xml b/tests/graphics/HwAccelerationTest/res/layout/list_activity.xml index 1a5d3d9202e2..1a5d3d9202e2 100644 --- a/tests/HwAccelerationTest/res/layout/list_activity.xml +++ b/tests/graphics/HwAccelerationTest/res/layout/list_activity.xml diff --git a/tests/HwAccelerationTest/res/layout/pen_stylus.xml b/tests/graphics/HwAccelerationTest/res/layout/pen_stylus.xml index 37aafed208fb..37aafed208fb 100644 --- a/tests/HwAccelerationTest/res/layout/pen_stylus.xml +++ b/tests/graphics/HwAccelerationTest/res/layout/pen_stylus.xml diff --git a/tests/HwAccelerationTest/res/layout/projection.xml b/tests/graphics/HwAccelerationTest/res/layout/projection.xml index b6e4c5ef6ad2..b6e4c5ef6ad2 100644 --- a/tests/HwAccelerationTest/res/layout/projection.xml +++ b/tests/graphics/HwAccelerationTest/res/layout/projection.xml diff --git a/tests/HwAccelerationTest/res/layout/projection_clipping.xml b/tests/graphics/HwAccelerationTest/res/layout/projection_clipping.xml index 1ea9f9cd49f6..1ea9f9cd49f6 100644 --- a/tests/HwAccelerationTest/res/layout/projection_clipping.xml +++ b/tests/graphics/HwAccelerationTest/res/layout/projection_clipping.xml diff --git a/tests/HwAccelerationTest/res/layout/scrolling_stretch_surfaceview.xml b/tests/graphics/HwAccelerationTest/res/layout/scrolling_stretch_surfaceview.xml index 77f5e60dc091..77f5e60dc091 100644 --- a/tests/HwAccelerationTest/res/layout/scrolling_stretch_surfaceview.xml +++ b/tests/graphics/HwAccelerationTest/res/layout/scrolling_stretch_surfaceview.xml diff --git a/tests/HwAccelerationTest/res/layout/stack.xml b/tests/graphics/HwAccelerationTest/res/layout/stack.xml index b4d2d73a1c90..b4d2d73a1c90 100644 --- a/tests/HwAccelerationTest/res/layout/stack.xml +++ b/tests/graphics/HwAccelerationTest/res/layout/stack.xml diff --git a/tests/HwAccelerationTest/res/layout/stack_item.xml b/tests/graphics/HwAccelerationTest/res/layout/stack_item.xml index 35040186b0e6..35040186b0e6 100644 --- a/tests/HwAccelerationTest/res/layout/stack_item.xml +++ b/tests/graphics/HwAccelerationTest/res/layout/stack_item.xml diff --git a/tests/HwAccelerationTest/res/layout/stretch_layout.xml b/tests/graphics/HwAccelerationTest/res/layout/stretch_layout.xml index 81e0c019490f..81e0c019490f 100644 --- a/tests/HwAccelerationTest/res/layout/stretch_layout.xml +++ b/tests/graphics/HwAccelerationTest/res/layout/stretch_layout.xml diff --git a/tests/HwAccelerationTest/res/layout/text_fade.xml b/tests/graphics/HwAccelerationTest/res/layout/text_fade.xml index 08a70b3a3e71..08a70b3a3e71 100644 --- a/tests/HwAccelerationTest/res/layout/text_fade.xml +++ b/tests/graphics/HwAccelerationTest/res/layout/text_fade.xml diff --git a/tests/HwAccelerationTest/res/layout/text_large.xml b/tests/graphics/HwAccelerationTest/res/layout/text_large.xml index 85b374ce0c0f..85b374ce0c0f 100644 --- a/tests/HwAccelerationTest/res/layout/text_large.xml +++ b/tests/graphics/HwAccelerationTest/res/layout/text_large.xml diff --git a/tests/HwAccelerationTest/res/layout/text_medium.xml b/tests/graphics/HwAccelerationTest/res/layout/text_medium.xml index 8e195e661169..8e195e661169 100644 --- a/tests/HwAccelerationTest/res/layout/text_medium.xml +++ b/tests/graphics/HwAccelerationTest/res/layout/text_medium.xml diff --git a/tests/HwAccelerationTest/res/layout/text_small.xml b/tests/graphics/HwAccelerationTest/res/layout/text_small.xml index 45eee609db6b..45eee609db6b 100644 --- a/tests/HwAccelerationTest/res/layout/text_small.xml +++ b/tests/graphics/HwAccelerationTest/res/layout/text_small.xml diff --git a/tests/HwAccelerationTest/res/layout/transforms_and_animations.xml b/tests/graphics/HwAccelerationTest/res/layout/transforms_and_animations.xml index 1595502f6db9..1595502f6db9 100644 --- a/tests/HwAccelerationTest/res/layout/transforms_and_animations.xml +++ b/tests/graphics/HwAccelerationTest/res/layout/transforms_and_animations.xml diff --git a/tests/HwAccelerationTest/res/layout/view_layer_invalidation.xml b/tests/graphics/HwAccelerationTest/res/layout/view_layer_invalidation.xml index 7df8bb6046b6..7df8bb6046b6 100644 --- a/tests/HwAccelerationTest/res/layout/view_layer_invalidation.xml +++ b/tests/graphics/HwAccelerationTest/res/layout/view_layer_invalidation.xml diff --git a/tests/HwAccelerationTest/res/layout/view_layers.xml b/tests/graphics/HwAccelerationTest/res/layout/view_layers.xml index e0cdc78d2ae9..e0cdc78d2ae9 100644 --- a/tests/HwAccelerationTest/res/layout/view_layers.xml +++ b/tests/graphics/HwAccelerationTest/res/layout/view_layers.xml diff --git a/tests/HwAccelerationTest/res/layout/view_layers_3.xml b/tests/graphics/HwAccelerationTest/res/layout/view_layers_3.xml index a820f5f2c43f..a820f5f2c43f 100644 --- a/tests/HwAccelerationTest/res/layout/view_layers_3.xml +++ b/tests/graphics/HwAccelerationTest/res/layout/view_layers_3.xml diff --git a/tests/HwAccelerationTest/res/layout/view_layers_4.xml b/tests/graphics/HwAccelerationTest/res/layout/view_layers_4.xml index 54367379855a..54367379855a 100644 --- a/tests/HwAccelerationTest/res/layout/view_layers_4.xml +++ b/tests/graphics/HwAccelerationTest/res/layout/view_layers_4.xml diff --git a/tests/HwAccelerationTest/res/layout/view_layers_5.xml b/tests/graphics/HwAccelerationTest/res/layout/view_layers_5.xml index 5baf5835dd8b..5baf5835dd8b 100644 --- a/tests/HwAccelerationTest/res/layout/view_layers_5.xml +++ b/tests/graphics/HwAccelerationTest/res/layout/view_layers_5.xml diff --git a/tests/HwAccelerationTest/res/layout/view_properties.xml b/tests/graphics/HwAccelerationTest/res/layout/view_properties.xml index d7ed8192b3c4..d7ed8192b3c4 100644 --- a/tests/HwAccelerationTest/res/layout/view_properties.xml +++ b/tests/graphics/HwAccelerationTest/res/layout/view_properties.xml diff --git a/tests/HwAccelerationTest/res/layout/view_runtime_shader.xml b/tests/graphics/HwAccelerationTest/res/layout/view_runtime_shader.xml index b91377d1ab49..b91377d1ab49 100644 --- a/tests/HwAccelerationTest/res/layout/view_runtime_shader.xml +++ b/tests/graphics/HwAccelerationTest/res/layout/view_runtime_shader.xml diff --git a/tests/HwAccelerationTest/res/layout/widget.xml b/tests/graphics/HwAccelerationTest/res/layout/widget.xml index 503facedbf28..503facedbf28 100644 --- a/tests/HwAccelerationTest/res/layout/widget.xml +++ b/tests/graphics/HwAccelerationTest/res/layout/widget.xml diff --git a/tests/HwAccelerationTest/res/layout/z_ordering.xml b/tests/graphics/HwAccelerationTest/res/layout/z_ordering.xml index 970c5fd6e275..970c5fd6e275 100644 --- a/tests/HwAccelerationTest/res/layout/z_ordering.xml +++ b/tests/graphics/HwAccelerationTest/res/layout/z_ordering.xml diff --git a/tests/HwAccelerationTest/res/raw/colorgrid_video.mp4 b/tests/graphics/HwAccelerationTest/res/raw/colorgrid_video.mp4 Binary files differindex 1be8bee39fd4..1be8bee39fd4 100644 --- a/tests/HwAccelerationTest/res/raw/colorgrid_video.mp4 +++ b/tests/graphics/HwAccelerationTest/res/raw/colorgrid_video.mp4 diff --git a/tests/HwAccelerationTest/res/values/strings.xml b/tests/graphics/HwAccelerationTest/res/values/strings.xml index 69e58aab18bf..69e58aab18bf 100644 --- a/tests/HwAccelerationTest/res/values/strings.xml +++ b/tests/graphics/HwAccelerationTest/res/values/strings.xml diff --git a/tests/HwAccelerationTest/res/values/styles.xml b/tests/graphics/HwAccelerationTest/res/values/styles.xml index 55f4dd697907..55f4dd697907 100644 --- a/tests/HwAccelerationTest/res/values/styles.xml +++ b/tests/graphics/HwAccelerationTest/res/values/styles.xml diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/AdvancedBlendActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/AdvancedBlendActivity.java index a83005b4440b..a83005b4440b 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/AdvancedBlendActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/AdvancedBlendActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/AdvancedGradientsActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/AdvancedGradientsActivity.java index b0b54eb83149..b0b54eb83149 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/AdvancedGradientsActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/AdvancedGradientsActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/Alpha8BitmapActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/Alpha8BitmapActivity.java index 5fe512e55072..5fe512e55072 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/Alpha8BitmapActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/Alpha8BitmapActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/AlphaLayersActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/AlphaLayersActivity.java index 37661828da22..37661828da22 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/AlphaLayersActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/AlphaLayersActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/Animated3dActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/Animated3dActivity.java index f632c8372c35..f632c8372c35 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/Animated3dActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/Animated3dActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/AssetsAtlasActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/AssetsAtlasActivity.java index cbf99dc46a45..cbf99dc46a45 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/AssetsAtlasActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/AssetsAtlasActivity.java diff --git a/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/BackdropBlurActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/BackdropBlurActivity.java new file mode 100644 index 000000000000..8086b29df7cd --- /dev/null +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/BackdropBlurActivity.java @@ -0,0 +1,119 @@ +/* + * Copyright (C) 2022 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.hwui; + +import android.app.Activity; +import android.content.Context; +import android.graphics.Canvas; +import android.graphics.ColorMatrix; +import android.graphics.ColorMatrixColorFilter; +import android.graphics.Outline; +import android.graphics.RenderEffect; +import android.graphics.Shader; +import android.os.Bundle; +import android.view.MotionEvent; +import android.view.View; +import android.view.ViewGroup; +import android.view.ViewOutlineProvider; +import android.view.animation.DecelerateInterpolator; +import android.widget.FrameLayout; +import android.widget.ScrollView; + +@SuppressWarnings({"UnusedDeclaration"}) +public class BackdropBlurActivity extends Activity { +    @Override +    protected void onCreate(Bundle savedInstanceState) { +        super.onCreate(savedInstanceState); + +        final ScrollView scrollView = new ScrollView(this); +        final FrameLayout innerFrame = new FrameLayout(this); +        final View backgroundView = new View(this); +        backgroundView.setBackgroundResource(R.drawable.robot_repeated); +        innerFrame.addView(backgroundView, ViewGroup.LayoutParams.MATCH_PARENT, 10000); +        scrollView.addView(innerFrame, +                ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT); + +        final FrameLayout contentView = new FrameLayout(this); +        contentView.addView(scrollView, +                ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT); +        contentView.addView(new BackdropBlurView(this), 300, 300); +        setContentView(contentView); +    } + +    private static class BackdropBlurView extends View { +        private final float mBlurRadius = 60f; +        private final float mSaturation = 1.8f; + +        private float mDownOffsetX; +        private float mDownOffsetY; + +        BackdropBlurView(Context c) { +            super(c); + +            // init RenderEffect. +            final RenderEffect blurEffect = RenderEffect.createBlurEffect( +                    mBlurRadius, mBlurRadius, +                    null, Shader.TileMode.MIRROR // TileMode.MIRROR is better for blur. +            ); + +            final ColorMatrix colorMatrix = new ColorMatrix(); +            colorMatrix.setSaturation(mSaturation); +            final RenderEffect effect = RenderEffect.createColorFilterEffect( +                    new ColorMatrixColorFilter(colorMatrix), blurEffect +            ); +            setBackdropRenderEffect(effect); + +            // clip to a round outline. +            setOutlineProvider(new ViewOutlineProvider() { +                @Override +                public void getOutline(View v, Outline outline) { +                    outline.setOval(0, 0, v.getWidth(), v.getHeight()); +                } +            }); +            setClipToOutline(true); + +            animate().setInterpolator(new DecelerateInterpolator(2.0f)); +        } + +        @Override +        protected void onDraw(Canvas canvas) { +            super.onDraw(canvas); + +            canvas.drawColor(0x99F0F0F0); +        } + +        @Override +        public boolean onTouchEvent(MotionEvent event) { +            switch (event.getActionMasked()) { +                case MotionEvent.ACTION_DOWN: +                    mDownOffsetX = event.getRawX() - getTranslationX(); +                    mDownOffsetY = event.getRawY() - getTranslationY(); +                    animate().scaleX(1.5f).scaleY(1.5f).start(); +                    break; +                case MotionEvent.ACTION_UP: +                case MotionEvent.ACTION_CANCEL: +                    animate().scaleX(1f).scaleY(1f).start(); +                    break; +                case MotionEvent.ACTION_MOVE: +                    setTranslationX(event.getRawX() - mDownOffsetX); +                    setTranslationY(event.getRawY() - mDownOffsetY); +                    break; +            } +            return true; +        } +    } +} diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/BigGradientActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/BigGradientActivity.java index 4d28f5125ff2..4d28f5125ff2 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/BigGradientActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/BigGradientActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/BitmapMeshActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/BitmapMeshActivity.java index 69d34a590a46..69d34a590a46 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/BitmapMeshActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/BitmapMeshActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/BitmapMeshLayerActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/BitmapMeshLayerActivity.java index ac59a4bcca19..ac59a4bcca19 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/BitmapMeshLayerActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/BitmapMeshLayerActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/BitmapMutateActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/BitmapMutateActivity.java index 0d825d7c60ed..0d825d7c60ed 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/BitmapMutateActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/BitmapMutateActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/BitmapTransitionView.kt b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/BitmapTransitionView.kt index 3af54503d469..3af54503d469 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/BitmapTransitionView.kt +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/BitmapTransitionView.kt diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/Bitmaps3dActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/Bitmaps3dActivity.java index baa1cb916864..baa1cb916864 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/Bitmaps3dActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/Bitmaps3dActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/BitmapsActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/BitmapsActivity.java index 607a1738c13a..607a1738c13a 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/BitmapsActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/BitmapsActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/BitmapsAlphaActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/BitmapsAlphaActivity.java index ef49c7fd00a9..ef49c7fd00a9 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/BitmapsAlphaActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/BitmapsAlphaActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/BitmapsRectActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/BitmapsRectActivity.java index b192209e7823..b192209e7823 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/BitmapsRectActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/BitmapsRectActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/BitmapsSkewActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/BitmapsSkewActivity.java index 099c0dde4eac..099c0dde4eac 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/BitmapsSkewActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/BitmapsSkewActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/BlurActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/BlurActivity.java index e4ca7881f796..e4ca7881f796 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/BlurActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/BlurActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/CanvasTextureViewActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/CanvasTextureViewActivity.java index bd2f68f77f28..bd2f68f77f28 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/CanvasTextureViewActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/CanvasTextureViewActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/CirclePropActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/CirclePropActivity.java index 571f623aea99..571f623aea99 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/CirclePropActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/CirclePropActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/ClearActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ClearActivity.java index 1c82e9bbdf9b..1c82e9bbdf9b 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/ClearActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ClearActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/ClipOutlineActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ClipOutlineActivity.java index 23bb6b4a4a0c..23bb6b4a4a0c 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/ClipOutlineActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ClipOutlineActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/ClipRegion2Activity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ClipRegion2Activity.java index fe4d602a62d1..fe4d602a62d1 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/ClipRegion2Activity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ClipRegion2Activity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/ClipRegion3Activity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ClipRegion3Activity.java index 6fd03fb992e5..6fd03fb992e5 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/ClipRegion3Activity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ClipRegion3Activity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/ClipRegionActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ClipRegionActivity.java index 774811e5bf10..774811e5bf10 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/ClipRegionActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ClipRegionActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/ColorBitmapActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ColorBitmapActivity.java index e2d17cdbe9e6..e2d17cdbe9e6 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/ColorBitmapActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ColorBitmapActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/ColorFiltersActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ColorFiltersActivity.java index 09d63d6eda17..09d63d6eda17 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/ColorFiltersActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ColorFiltersActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/ColorFiltersMutateActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ColorFiltersMutateActivity.java index fafe60b46676..fafe60b46676 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/ColorFiltersMutateActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ColorFiltersMutateActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/ColoredRectsActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ColoredRectsActivity.java index d4bc2a6d3317..d4bc2a6d3317 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/ColoredRectsActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ColoredRectsActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/ColoredShadowsActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ColoredShadowsActivity.java index 901d90eed70a..901d90eed70a 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/ColoredShadowsActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ColoredShadowsActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/CustomRenderer.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/CustomRenderer.java index 5ad7fb9027a2..5ad7fb9027a2 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/CustomRenderer.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/CustomRenderer.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/DatePicker.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/DatePicker.java index 492d158ec5ef..492d158ec5ef 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/DatePicker.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/DatePicker.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/DatePickerActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/DatePickerActivity.java index 5482ee2b656f..5482ee2b656f 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/DatePickerActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/DatePickerActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/DisplayListLayersActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/DisplayListLayersActivity.java index ec91c35dce0f..ec91c35dce0f 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/DisplayListLayersActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/DisplayListLayersActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/DrawIntoHwBitmapActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/DrawIntoHwBitmapActivity.java index 220016aa8ab7..220016aa8ab7 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/DrawIntoHwBitmapActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/DrawIntoHwBitmapActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/EdgeEffectStretchActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/EdgeEffectStretchActivity.java index c4b0072eaff8..c4b0072eaff8 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/EdgeEffectStretchActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/EdgeEffectStretchActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/FramebufferBlendActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/FramebufferBlendActivity.java index 1556baec0c9c..1556baec0c9c 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/FramebufferBlendActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/FramebufferBlendActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/FrontBufferedLayer.kt b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/FrontBufferedLayer.kt index ebec22e29d69..ebec22e29d69 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/FrontBufferedLayer.kt +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/FrontBufferedLayer.kt diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/GLDepthTestActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/GLDepthTestActivity.java index 1bb6d0ca8591..1bb6d0ca8591 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/GLDepthTestActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/GLDepthTestActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/GLTextureViewActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/GLTextureViewActivity.java index 733e44f28130..733e44f28130 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/GLTextureViewActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/GLTextureViewActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/GetBitmapActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/GetBitmapActivity.java index 038434a72de2..038434a72de2 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/GetBitmapActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/GetBitmapActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/GetBitmapSurfaceViewActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/GetBitmapSurfaceViewActivity.java index 6fe2cb472a97..6fe2cb472a97 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/GetBitmapSurfaceViewActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/GetBitmapSurfaceViewActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/GlyphCacheActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/GlyphCacheActivity.java index e89b2948062b..e89b2948062b 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/GlyphCacheActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/GlyphCacheActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/GradientStopsActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/GradientStopsActivity.java index a73eab579d12..a73eab579d12 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/GradientStopsActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/GradientStopsActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/GradientsActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/GradientsActivity.java index fbe7856f32ec..fbe7856f32ec 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/GradientsActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/GradientsActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/HardwareBufferRendererActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/HardwareBufferRendererActivity.java index e4de434f1ed2..e4de434f1ed2 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/HardwareBufferRendererActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/HardwareBufferRendererActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/HardwareCanvasSurfaceViewActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/HardwareCanvasSurfaceViewActivity.java index 2bfe994aa1b7..2bfe994aa1b7 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/HardwareCanvasSurfaceViewActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/HardwareCanvasSurfaceViewActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/HardwareCanvasTextureViewActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/HardwareCanvasTextureViewActivity.java index 63a6efa712fb..63a6efa712fb 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/HardwareCanvasTextureViewActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/HardwareCanvasTextureViewActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/HwTests.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/HwTests.java index b1c32a88c353..b1c32a88c353 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/HwTests.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/HwTests.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/LabelsActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/LabelsActivity.java index bae0500f39e9..bae0500f39e9 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/LabelsActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/LabelsActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/LayersActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/LayersActivity.java index 9d5cd284301a..9d5cd284301a 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/LayersActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/LayersActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/Lines2Activity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/Lines2Activity.java index 584ab596836c..584ab596836c 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/Lines2Activity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/Lines2Activity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/LinesActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/LinesActivity.java index eed0ec890b8f..eed0ec890b8f 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/LinesActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/LinesActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/ListActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ListActivity.java index 134c2e045449..134c2e045449 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/ListActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ListActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/LooperAcceleration.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/LooperAcceleration.java index 20d8e11cbe45..20d8e11cbe45 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/LooperAcceleration.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/LooperAcceleration.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/MarqueeActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/MarqueeActivity.java index 715cdbb226cb..715cdbb226cb 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/MarqueeActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/MarqueeActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/MatrixActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/MatrixActivity.java index 1906b9d5dd91..1906b9d5dd91 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/MatrixActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/MatrixActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/MaxBitmapSizeActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/MaxBitmapSizeActivity.java index b3b42dcdf157..b3b42dcdf157 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/MaxBitmapSizeActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/MaxBitmapSizeActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/MeshActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/MeshActivity.java index ae3dcb834687..ae3dcb834687 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/MeshActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/MeshActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/MeshLargeActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/MeshLargeActivity.java index 01ca2fcdbb86..01ca2fcdbb86 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/MeshLargeActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/MeshLargeActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/MipMapActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/MipMapActivity.java index 1034649b6cb2..1034649b6cb2 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/MipMapActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/MipMapActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/MoreNinePatchesActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/MoreNinePatchesActivity.java index 0c42387ee693..0c42387ee693 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/MoreNinePatchesActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/MoreNinePatchesActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/MoreShadersActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/MoreShadersActivity.java index 1847f43b7ea0..1847f43b7ea0 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/MoreShadersActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/MoreShadersActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/MovingSurfaceViewActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/MovingSurfaceViewActivity.java index fa25b45c2b06..fa25b45c2b06 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/MovingSurfaceViewActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/MovingSurfaceViewActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/MultiLayersActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/MultiLayersActivity.java index eb8a0a926af8..eb8a0a926af8 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/MultiLayersActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/MultiLayersActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/MultiProducerActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/MultiProducerActivity.java index e7d7f2b11801..e7d7f2b11801 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/MultiProducerActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/MultiProducerActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/MyLittleTextureView.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/MyLittleTextureView.java index 08d5d4fff50a..08d5d4fff50a 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/MyLittleTextureView.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/MyLittleTextureView.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/NewLayersActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/NewLayersActivity.java index 2509d367fe30..2509d367fe30 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/NewLayersActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/NewLayersActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/NinePatchesActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/NinePatchesActivity.java index 7410f79363b3..7410f79363b3 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/NinePatchesActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/NinePatchesActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/NoAATextActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/NoAATextActivity.java index 5bd2f583c4c8..5bd2f583c4c8 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/NoAATextActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/NoAATextActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/OpaqueActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/OpaqueActivity.java index af45f299bec3..af45f299bec3 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/OpaqueActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/OpaqueActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/PaintDrawFilterActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/PaintDrawFilterActivity.java index 85232720f436..85232720f436 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/PaintDrawFilterActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/PaintDrawFilterActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/PathDestructionActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/PathDestructionActivity.java index 5cede6540410..5cede6540410 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/PathDestructionActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/PathDestructionActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/PathOffsetActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/PathOffsetActivity.java index fa73de157cf7..fa73de157cf7 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/PathOffsetActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/PathOffsetActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/PathOpsActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/PathOpsActivity.java index b9927ac08523..b9927ac08523 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/PathOpsActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/PathOpsActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/PathsActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/PathsActivity.java index c241a6243011..c241a6243011 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/PathsActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/PathsActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/PathsCacheActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/PathsCacheActivity.java index c1e7f4ad156c..c1e7f4ad156c 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/PathsCacheActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/PathsCacheActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/PenStylusActivity.kt b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/PenStylusActivity.kt index 1445b1db801e..1445b1db801e 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/PenStylusActivity.kt +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/PenStylusActivity.kt diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/PictureCaptureDemo.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/PictureCaptureDemo.java index 15568ac72227..15568ac72227 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/PictureCaptureDemo.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/PictureCaptureDemo.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/PixelCopyWindow.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/PixelCopyWindow.java index a039fba14f65..a039fba14f65 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/PixelCopyWindow.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/PixelCopyWindow.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/PointsActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/PointsActivity.java index b3fb7a1b47d2..b3fb7a1b47d2 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/PointsActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/PointsActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/PosTextActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/PosTextActivity.java index 1c868d233339..1c868d233339 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/PosTextActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/PosTextActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/PositionListenerActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/PositionListenerActivity.java index 2ad034cd143e..2ad034cd143e 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/PositionListenerActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/PositionListenerActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/ProjectionActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ProjectionActivity.java index 4eb40722f6dd..4eb40722f6dd 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/ProjectionActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ProjectionActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/ProjectionClippingActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ProjectionClippingActivity.java index 9abd7ea5f361..9abd7ea5f361 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/ProjectionClippingActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ProjectionClippingActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/QuickRejectActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/QuickRejectActivity.java index 5192bfe84fef..5192bfe84fef 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/QuickRejectActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/QuickRejectActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/RenderEffectShaderActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/RenderEffectShaderActivity.java index 661d48a84768..661d48a84768 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/RenderEffectShaderActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/RenderEffectShaderActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/RenderEffectViewActivity.kt b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/RenderEffectViewActivity.kt index 3c71b96c6c31..3c71b96c6c31 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/RenderEffectViewActivity.kt +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/RenderEffectViewActivity.kt diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/ResizeActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ResizeActivity.java index 04f9de184038..04f9de184038 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/ResizeActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ResizeActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/RevealActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/RevealActivity.java index 1216fc43640e..1216fc43640e 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/RevealActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/RevealActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/RippleActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/RippleActivity.java index b78907c46744..b78907c46744 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/RippleActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/RippleActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/Rotate3dTextActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/Rotate3dTextActivity.java index 0368b2fffc06..0368b2fffc06 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/Rotate3dTextActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/Rotate3dTextActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/RotationActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/RotationActivity.java index 5c309b4431bf..5c309b4431bf 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/RotationActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/RotationActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/ScaledPathsActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ScaledPathsActivity.java index deb4b6b87fe4..deb4b6b87fe4 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/ScaledPathsActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ScaledPathsActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/ScaledTextActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ScaledTextActivity.java index a4e9b52f4290..a4e9b52f4290 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/ScaledTextActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ScaledTextActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/ScrollingStretchSurfaceViewActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ScrollingStretchSurfaceViewActivity.java index 040bff5d74d8..040bff5d74d8 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/ScrollingStretchSurfaceViewActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ScrollingStretchSurfaceViewActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/ShadersActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ShadersActivity.java index 1d18f61986ba..1d18f61986ba 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/ShadersActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ShadersActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/ShapesActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ShapesActivity.java index 61dca784ce5e..61dca784ce5e 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/ShapesActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ShapesActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/SimplePatchActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/SimplePatchActivity.java index a9b4d1c3cefb..a9b4d1c3cefb 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/SimplePatchActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/SimplePatchActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/SimplePathsActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/SimplePathsActivity.java index c3e18a3c08ff..c3e18a3c08ff 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/SimplePathsActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/SimplePathsActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/SingleFrameTextureViewTestActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/SingleFrameTextureViewTestActivity.java index 4d3826b68247..4d3826b68247 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/SingleFrameTextureViewTestActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/SingleFrameTextureViewTestActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/SmallCircleActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/SmallCircleActivity.java index a3f4ddc382d4..a3f4ddc382d4 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/SmallCircleActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/SmallCircleActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/StackActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/StackActivity.java index 262b0e93671b..262b0e93671b 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/StackActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/StackActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/StretchShaderActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/StretchShaderActivity.java index 2990c9e59fec..2990c9e59fec 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/StretchShaderActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/StretchShaderActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/StretchySurfaceViewActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/StretchySurfaceViewActivity.java index acb872cd23b8..acb872cd23b8 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/StretchySurfaceViewActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/StretchySurfaceViewActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/SurfaceViewAlphaActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/SurfaceViewAlphaActivity.java index 01fe6ae0518b..01fe6ae0518b 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/SurfaceViewAlphaActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/SurfaceViewAlphaActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/TJunctionActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/TJunctionActivity.java index d2bcae9645b9..d2bcae9645b9 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/TJunctionActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/TJunctionActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/TextActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/TextActivity.java index 4a1f5a24ba2b..4a1f5a24ba2b 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/TextActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/TextActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/TextFadeActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/TextFadeActivity.java index d307ef871b97..d307ef871b97 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/TextFadeActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/TextFadeActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/TextGammaActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/TextGammaActivity.java index f40b89dc0d36..f40b89dc0d36 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/TextGammaActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/TextGammaActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/TextOnPathActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/TextOnPathActivity.java index ceccfaa9cd0f..ceccfaa9cd0f 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/TextOnPathActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/TextOnPathActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/TextPathActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/TextPathActivity.java index 35a1fc92b468..35a1fc92b468 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/TextPathActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/TextPathActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/TextureViewActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/TextureViewActivity.java index 6d8c43c00acf..6d8c43c00acf 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/TextureViewActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/TextureViewActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/ThinPatchesActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ThinPatchesActivity.java index 656f2b143654..656f2b143654 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/ThinPatchesActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ThinPatchesActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/TimeDialogActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/TimeDialogActivity.java index 9e3e950f0850..9e3e950f0850 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/TimeDialogActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/TimeDialogActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/Transform3dActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/Transform3dActivity.java index 6df66e6bbd9a..6df66e6bbd9a 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/Transform3dActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/Transform3dActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/TransformsAndAnimationsActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/TransformsAndAnimationsActivity.java index b5a5e025e757..b5a5e025e757 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/TransformsAndAnimationsActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/TransformsAndAnimationsActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/TransparentListActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/TransparentListActivity.java index deb8585a95f5..deb8585a95f5 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/TransparentListActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/TransparentListActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/VideoViewCaptureActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/VideoViewCaptureActivity.java index b87be8058d81..b87be8058d81 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/VideoViewCaptureActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/VideoViewCaptureActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/ViewFlipperActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ViewFlipperActivity.java index 0e244fc0a31b..0e244fc0a31b 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/ViewFlipperActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ViewFlipperActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/ViewLayerInvalidationActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ViewLayerInvalidationActivity.java index a261fb729a65..a261fb729a65 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/ViewLayerInvalidationActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ViewLayerInvalidationActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity.java index 07dc0a1b5df0..07dc0a1b5df0 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity2.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity2.java index a037d70ef845..a037d70ef845 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity2.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity2.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity3.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity3.java index 96cf43e48778..96cf43e48778 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity3.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity3.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity4.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity4.java index 1f3f874744db..1f3f874744db 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity4.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity4.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity5.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity5.java index 715da201458b..715da201458b 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity5.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ViewLayersActivity5.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/ViewPropertyAlphaActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ViewPropertyAlphaActivity.java index 9ae38119cac6..9ae38119cac6 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/ViewPropertyAlphaActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ViewPropertyAlphaActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/XfermodeActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/XfermodeActivity.java index 411077f04f93..411077f04f93 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/XfermodeActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/XfermodeActivity.java diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/ZOrderingActivity.java b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ZOrderingActivity.java index 08979bce8f73..08979bce8f73 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/ZOrderingActivity.java +++ b/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ZOrderingActivity.java diff --git a/tests/HwAccelerationTest/OWNERS b/tests/graphics/OWNERS index c88a9f82c347..fb7fc14640b1 100644 --- a/tests/HwAccelerationTest/OWNERS +++ b/tests/graphics/OWNERS @@ -1 +1,3 @@ +# Bug component: 1075130 +  include /libs/hwui/OWNERS diff --git a/tests/RenderThreadTest/Android.bp b/tests/graphics/RenderThreadTest/Android.bp index b18b04edb4c4..b18b04edb4c4 100644 --- a/tests/RenderThreadTest/Android.bp +++ b/tests/graphics/RenderThreadTest/Android.bp diff --git a/tests/RenderThreadTest/AndroidManifest.xml b/tests/graphics/RenderThreadTest/AndroidManifest.xml index 22a4e43c988c..22a4e43c988c 100644 --- a/tests/RenderThreadTest/AndroidManifest.xml +++ b/tests/graphics/RenderThreadTest/AndroidManifest.xml diff --git a/tests/RenderThreadTest/res/drawable-hdpi/ic_launcher.png b/tests/graphics/RenderThreadTest/res/drawable-hdpi/ic_launcher.png Binary files differindex 96a442e5b8e9..96a442e5b8e9 100644 --- a/tests/RenderThreadTest/res/drawable-hdpi/ic_launcher.png +++ b/tests/graphics/RenderThreadTest/res/drawable-hdpi/ic_launcher.png diff --git a/tests/RenderThreadTest/res/drawable-mdpi/ic_launcher.png b/tests/graphics/RenderThreadTest/res/drawable-mdpi/ic_launcher.png Binary files differindex 359047dfa4ed..359047dfa4ed 100644 --- a/tests/RenderThreadTest/res/drawable-mdpi/ic_launcher.png +++ b/tests/graphics/RenderThreadTest/res/drawable-mdpi/ic_launcher.png diff --git a/tests/RenderThreadTest/res/drawable-xhdpi/ic_launcher.png b/tests/graphics/RenderThreadTest/res/drawable-xhdpi/ic_launcher.png Binary files differindex 71c6d760f051..71c6d760f051 100644 --- a/tests/RenderThreadTest/res/drawable-xhdpi/ic_launcher.png +++ b/tests/graphics/RenderThreadTest/res/drawable-xhdpi/ic_launcher.png diff --git a/tests/RenderThreadTest/res/drawable-xhdpi/starry_night_bg.jpg b/tests/graphics/RenderThreadTest/res/drawable-xhdpi/starry_night_bg.jpg Binary files differindex 14d6027bf006..14d6027bf006 100644 --- a/tests/RenderThreadTest/res/drawable-xhdpi/starry_night_bg.jpg +++ b/tests/graphics/RenderThreadTest/res/drawable-xhdpi/starry_night_bg.jpg diff --git a/tests/RenderThreadTest/res/layout/activity_main.xml b/tests/graphics/RenderThreadTest/res/layout/activity_main.xml index 1fd545946f3c..1fd545946f3c 100644 --- a/tests/RenderThreadTest/res/layout/activity_main.xml +++ b/tests/graphics/RenderThreadTest/res/layout/activity_main.xml diff --git a/tests/RenderThreadTest/res/layout/activity_sub.xml b/tests/graphics/RenderThreadTest/res/layout/activity_sub.xml index 713cee49de53..713cee49de53 100644 --- a/tests/RenderThreadTest/res/layout/activity_sub.xml +++ b/tests/graphics/RenderThreadTest/res/layout/activity_sub.xml diff --git a/tests/RenderThreadTest/res/layout/item_layout.xml b/tests/graphics/RenderThreadTest/res/layout/item_layout.xml index 5bdb1ac422f5..5bdb1ac422f5 100644 --- a/tests/RenderThreadTest/res/layout/item_layout.xml +++ b/tests/graphics/RenderThreadTest/res/layout/item_layout.xml diff --git a/tests/RenderThreadTest/res/values/strings.xml b/tests/graphics/RenderThreadTest/res/values/strings.xml index f782e98f43f8..f782e98f43f8 100644 --- a/tests/RenderThreadTest/res/values/strings.xml +++ b/tests/graphics/RenderThreadTest/res/values/strings.xml diff --git a/tests/RenderThreadTest/res/values/styles.xml b/tests/graphics/RenderThreadTest/res/values/styles.xml index f6b5d6aa6dbc..f6b5d6aa6dbc 100644 --- a/tests/RenderThreadTest/res/values/styles.xml +++ b/tests/graphics/RenderThreadTest/res/values/styles.xml diff --git a/tests/RenderThreadTest/src/com/example/renderthread/MainActivity.java b/tests/graphics/RenderThreadTest/src/com/example/renderthread/MainActivity.java index 65b7549f22d1..65b7549f22d1 100644 --- a/tests/RenderThreadTest/src/com/example/renderthread/MainActivity.java +++ b/tests/graphics/RenderThreadTest/src/com/example/renderthread/MainActivity.java diff --git a/tests/RenderThreadTest/src/com/example/renderthread/SubActivity.java b/tests/graphics/RenderThreadTest/src/com/example/renderthread/SubActivity.java index 22fc6911f7df..22fc6911f7df 100644 --- a/tests/RenderThreadTest/src/com/example/renderthread/SubActivity.java +++ b/tests/graphics/RenderThreadTest/src/com/example/renderthread/SubActivity.java diff --git a/tests/SilkFX/Android.bp b/tests/graphics/SilkFX/Android.bp index 1e467db44545..1e467db44545 100644 --- a/tests/SilkFX/Android.bp +++ b/tests/graphics/SilkFX/Android.bp diff --git a/tests/SilkFX/AndroidManifest.xml b/tests/graphics/SilkFX/AndroidManifest.xml index c293589bdbaf..c293589bdbaf 100644 --- a/tests/SilkFX/AndroidManifest.xml +++ b/tests/graphics/SilkFX/AndroidManifest.xml diff --git a/tests/SilkFX/assets/gainmaps/city_night.jpg b/tests/graphics/SilkFX/assets/gainmaps/city_night.jpg Binary files differindex ba26ed6a5780..ba26ed6a5780 100644 --- a/tests/SilkFX/assets/gainmaps/city_night.jpg +++ b/tests/graphics/SilkFX/assets/gainmaps/city_night.jpg diff --git a/tests/SilkFX/assets/gainmaps/desert_palms.jpg b/tests/graphics/SilkFX/assets/gainmaps/desert_palms.jpg Binary files differindex 048178670a96..048178670a96 100644 --- a/tests/SilkFX/assets/gainmaps/desert_palms.jpg +++ b/tests/graphics/SilkFX/assets/gainmaps/desert_palms.jpg diff --git a/tests/SilkFX/assets/gainmaps/desert_sunset.jpg b/tests/graphics/SilkFX/assets/gainmaps/desert_sunset.jpg Binary files differindex 919a1574a4b9..919a1574a4b9 100644 --- a/tests/SilkFX/assets/gainmaps/desert_sunset.jpg +++ b/tests/graphics/SilkFX/assets/gainmaps/desert_sunset.jpg diff --git a/tests/SilkFX/assets/gainmaps/desert_wanda.jpg b/tests/graphics/SilkFX/assets/gainmaps/desert_wanda.jpg Binary files differindex f5a2ef9c53ea..f5a2ef9c53ea 100644 --- a/tests/SilkFX/assets/gainmaps/desert_wanda.jpg +++ b/tests/graphics/SilkFX/assets/gainmaps/desert_wanda.jpg diff --git a/tests/SilkFX/assets/gainmaps/fountain_night.jpg b/tests/graphics/SilkFX/assets/gainmaps/fountain_night.jpg Binary files differindex d8b2d759e4c0..d8b2d759e4c0 100644 --- a/tests/SilkFX/assets/gainmaps/fountain_night.jpg +++ b/tests/graphics/SilkFX/assets/gainmaps/fountain_night.jpg diff --git a/tests/SilkFX/assets/gainmaps/grand_canyon.jpg b/tests/graphics/SilkFX/assets/gainmaps/grand_canyon.jpg Binary files differindex 2f605bbb0a7e..2f605bbb0a7e 100644 --- a/tests/SilkFX/assets/gainmaps/grand_canyon.jpg +++ b/tests/graphics/SilkFX/assets/gainmaps/grand_canyon.jpg diff --git a/tests/SilkFX/assets/gainmaps/lamps.jpg b/tests/graphics/SilkFX/assets/gainmaps/lamps.jpg Binary files differindex 768665f643cb..768665f643cb 100644 --- a/tests/SilkFX/assets/gainmaps/lamps.jpg +++ b/tests/graphics/SilkFX/assets/gainmaps/lamps.jpg diff --git a/tests/SilkFX/assets/gainmaps/mountain_lake.jpg b/tests/graphics/SilkFX/assets/gainmaps/mountain_lake.jpg Binary files differindex b7981fdca6da..b7981fdca6da 100644 --- a/tests/SilkFX/assets/gainmaps/mountain_lake.jpg +++ b/tests/graphics/SilkFX/assets/gainmaps/mountain_lake.jpg diff --git a/tests/SilkFX/assets/gainmaps/mountains.jpg b/tests/graphics/SilkFX/assets/gainmaps/mountains.jpg Binary files differindex fe69993e0706..fe69993e0706 100644 --- a/tests/SilkFX/assets/gainmaps/mountains.jpg +++ b/tests/graphics/SilkFX/assets/gainmaps/mountains.jpg diff --git a/tests/SilkFX/assets/gainmaps/sunflower.jpg b/tests/graphics/SilkFX/assets/gainmaps/sunflower.jpg Binary files differindex 4b17614d66bf..4b17614d66bf 100644 --- a/tests/SilkFX/assets/gainmaps/sunflower.jpg +++ b/tests/graphics/SilkFX/assets/gainmaps/sunflower.jpg diff --git a/tests/SilkFX/assets/gainmaps/train_station_night.jpg b/tests/graphics/SilkFX/assets/gainmaps/train_station_night.jpg Binary files differindex ecd45ee1e629..ecd45ee1e629 100644 --- a/tests/SilkFX/assets/gainmaps/train_station_night.jpg +++ b/tests/graphics/SilkFX/assets/gainmaps/train_station_night.jpg diff --git a/tests/SilkFX/res/drawable-hdpi/background1.jpeg b/tests/graphics/SilkFX/res/drawable-hdpi/background1.jpeg Binary files differindex dcdfa7b850bc..dcdfa7b850bc 100644 --- a/tests/SilkFX/res/drawable-hdpi/background1.jpeg +++ b/tests/graphics/SilkFX/res/drawable-hdpi/background1.jpeg diff --git a/tests/SilkFX/res/drawable-hdpi/background2.jpeg b/tests/graphics/SilkFX/res/drawable-hdpi/background2.jpeg Binary files differindex dc7ce84e6784..dc7ce84e6784 100644 --- a/tests/SilkFX/res/drawable-hdpi/background2.jpeg +++ b/tests/graphics/SilkFX/res/drawable-hdpi/background2.jpeg diff --git a/tests/SilkFX/res/drawable-hdpi/background3.jpeg b/tests/graphics/SilkFX/res/drawable-hdpi/background3.jpeg Binary files differindex 12b3429e3920..12b3429e3920 100644 --- a/tests/SilkFX/res/drawable-hdpi/background3.jpeg +++ b/tests/graphics/SilkFX/res/drawable-hdpi/background3.jpeg diff --git a/tests/SilkFX/res/drawable-hdpi/noise.png b/tests/graphics/SilkFX/res/drawable-hdpi/noise.png Binary files differindex 053995dad760..053995dad760 100644 --- a/tests/SilkFX/res/drawable-hdpi/noise.png +++ b/tests/graphics/SilkFX/res/drawable-hdpi/noise.png diff --git a/tests/SilkFX/res/drawable-nodpi/blue_sweep_gradient.xml b/tests/graphics/SilkFX/res/drawable-nodpi/blue_sweep_gradient.xml index c183c5deab4f..c183c5deab4f 100644 --- a/tests/SilkFX/res/drawable-nodpi/blue_sweep_gradient.xml +++ b/tests/graphics/SilkFX/res/drawable-nodpi/blue_sweep_gradient.xml diff --git a/tests/SilkFX/res/drawable-nodpi/dark_gradient.xml b/tests/graphics/SilkFX/res/drawable-nodpi/dark_gradient.xml index f20dd424c617..f20dd424c617 100644 --- a/tests/SilkFX/res/drawable-nodpi/dark_gradient.xml +++ b/tests/graphics/SilkFX/res/drawable-nodpi/dark_gradient.xml diff --git a/tests/SilkFX/res/drawable-nodpi/dark_notification.png b/tests/graphics/SilkFX/res/drawable-nodpi/dark_notification.png Binary files differindex 6de6c2ae785c..6de6c2ae785c 100644 --- a/tests/SilkFX/res/drawable-nodpi/dark_notification.png +++ b/tests/graphics/SilkFX/res/drawable-nodpi/dark_notification.png diff --git a/tests/SilkFX/res/drawable-nodpi/green_sweep_gradient.xml b/tests/graphics/SilkFX/res/drawable-nodpi/green_sweep_gradient.xml index c600d0f66325..c600d0f66325 100644 --- a/tests/SilkFX/res/drawable-nodpi/green_sweep_gradient.xml +++ b/tests/graphics/SilkFX/res/drawable-nodpi/green_sweep_gradient.xml diff --git a/tests/SilkFX/res/drawable-nodpi/grey_sweep_gradient.xml b/tests/graphics/SilkFX/res/drawable-nodpi/grey_sweep_gradient.xml index d0c17fa2e1b9..d0c17fa2e1b9 100644 --- a/tests/SilkFX/res/drawable-nodpi/grey_sweep_gradient.xml +++ b/tests/graphics/SilkFX/res/drawable-nodpi/grey_sweep_gradient.xml diff --git a/tests/SilkFX/res/drawable-nodpi/light_gradient.xml b/tests/graphics/SilkFX/res/drawable-nodpi/light_gradient.xml index c75f925647e7..c75f925647e7 100644 --- a/tests/SilkFX/res/drawable-nodpi/light_gradient.xml +++ b/tests/graphics/SilkFX/res/drawable-nodpi/light_gradient.xml diff --git a/tests/SilkFX/res/drawable-nodpi/light_notification.png b/tests/graphics/SilkFX/res/drawable-nodpi/light_notification.png Binary files differindex 81a67cd3d388..81a67cd3d388 100644 --- a/tests/SilkFX/res/drawable-nodpi/light_notification.png +++ b/tests/graphics/SilkFX/res/drawable-nodpi/light_notification.png diff --git a/tests/SilkFX/res/drawable-nodpi/red_sweep_gradient.xml b/tests/graphics/SilkFX/res/drawable-nodpi/red_sweep_gradient.xml index e3b834a46406..e3b834a46406 100644 --- a/tests/SilkFX/res/drawable-nodpi/red_sweep_gradient.xml +++ b/tests/graphics/SilkFX/res/drawable-nodpi/red_sweep_gradient.xml diff --git a/tests/SilkFX/res/drawable/background_blur_drawable.xml b/tests/graphics/SilkFX/res/drawable/background_blur_drawable.xml index 173ca99bdfdf..173ca99bdfdf 100644 --- a/tests/SilkFX/res/drawable/background_blur_drawable.xml +++ b/tests/graphics/SilkFX/res/drawable/background_blur_drawable.xml diff --git a/tests/SilkFX/res/drawable/blur_activity_background_drawable_white.xml b/tests/graphics/SilkFX/res/drawable/blur_activity_background_drawable_white.xml index bd8942d46383..bd8942d46383 100644 --- a/tests/SilkFX/res/drawable/blur_activity_background_drawable_white.xml +++ b/tests/graphics/SilkFX/res/drawable/blur_activity_background_drawable_white.xml diff --git a/tests/SilkFX/res/layout-television/activity_glass.xml b/tests/graphics/SilkFX/res/layout-television/activity_glass.xml index 1f566860da3d..1f566860da3d 100644 --- a/tests/SilkFX/res/layout-television/activity_glass.xml +++ b/tests/graphics/SilkFX/res/layout-television/activity_glass.xml diff --git a/tests/SilkFX/res/layout/activity_background_blur.xml b/tests/graphics/SilkFX/res/layout/activity_background_blur.xml index f13c0883cb01..f13c0883cb01 100644 --- a/tests/SilkFX/res/layout/activity_background_blur.xml +++ b/tests/graphics/SilkFX/res/layout/activity_background_blur.xml diff --git a/tests/SilkFX/res/layout/activity_glass.xml b/tests/graphics/SilkFX/res/layout/activity_glass.xml index aa09f276d5c8..aa09f276d5c8 100644 --- a/tests/SilkFX/res/layout/activity_glass.xml +++ b/tests/graphics/SilkFX/res/layout/activity_glass.xml diff --git a/tests/SilkFX/res/layout/bling_notifications.xml b/tests/graphics/SilkFX/res/layout/bling_notifications.xml index 6d266b701a68..6d266b701a68 100644 --- a/tests/SilkFX/res/layout/bling_notifications.xml +++ b/tests/graphics/SilkFX/res/layout/bling_notifications.xml diff --git a/tests/SilkFX/res/layout/color_grid.xml b/tests/graphics/SilkFX/res/layout/color_grid.xml index 37242eee7195..37242eee7195 100644 --- a/tests/SilkFX/res/layout/color_grid.xml +++ b/tests/graphics/SilkFX/res/layout/color_grid.xml diff --git a/tests/SilkFX/res/layout/color_mode_controls.xml b/tests/graphics/SilkFX/res/layout/color_mode_controls.xml index c0c0bab8a605..c0c0bab8a605 100644 --- a/tests/SilkFX/res/layout/color_mode_controls.xml +++ b/tests/graphics/SilkFX/res/layout/color_mode_controls.xml diff --git a/tests/SilkFX/res/layout/common_base.xml b/tests/graphics/SilkFX/res/layout/common_base.xml index c0eaf9bc1476..c0eaf9bc1476 100644 --- a/tests/SilkFX/res/layout/common_base.xml +++ b/tests/graphics/SilkFX/res/layout/common_base.xml diff --git a/tests/SilkFX/res/layout/gainmap_decode_test.xml b/tests/graphics/SilkFX/res/layout/gainmap_decode_test.xml index e7ef61f8dac1..e7ef61f8dac1 100644 --- a/tests/SilkFX/res/layout/gainmap_decode_test.xml +++ b/tests/graphics/SilkFX/res/layout/gainmap_decode_test.xml diff --git a/tests/SilkFX/res/layout/gainmap_image.xml b/tests/graphics/SilkFX/res/layout/gainmap_image.xml index b0ed9147585e..b0ed9147585e 100644 --- a/tests/SilkFX/res/layout/gainmap_image.xml +++ b/tests/graphics/SilkFX/res/layout/gainmap_image.xml diff --git a/tests/SilkFX/res/layout/gainmap_metadata.xml b/tests/graphics/SilkFX/res/layout/gainmap_metadata.xml index 4cc3e0cbdb83..4cc3e0cbdb83 100644 --- a/tests/SilkFX/res/layout/gainmap_metadata.xml +++ b/tests/graphics/SilkFX/res/layout/gainmap_metadata.xml diff --git a/tests/SilkFX/res/layout/gainmap_transform_test.xml b/tests/graphics/SilkFX/res/layout/gainmap_transform_test.xml index 5aeb53661cbc..5aeb53661cbc 100644 --- a/tests/SilkFX/res/layout/gainmap_transform_test.xml +++ b/tests/graphics/SilkFX/res/layout/gainmap_transform_test.xml diff --git a/tests/SilkFX/res/layout/gradient_sweep.xml b/tests/graphics/SilkFX/res/layout/gradient_sweep.xml index 261022a40380..261022a40380 100644 --- a/tests/SilkFX/res/layout/gradient_sweep.xml +++ b/tests/graphics/SilkFX/res/layout/gradient_sweep.xml diff --git a/tests/SilkFX/res/layout/hdr_glows.xml b/tests/graphics/SilkFX/res/layout/hdr_glows.xml index b6050645866a..b6050645866a 100644 --- a/tests/SilkFX/res/layout/hdr_glows.xml +++ b/tests/graphics/SilkFX/res/layout/hdr_glows.xml diff --git a/tests/SilkFX/res/layout/hdr_image_viewer.xml b/tests/graphics/SilkFX/res/layout/hdr_image_viewer.xml index 9816430cd915..9816430cd915 100644 --- a/tests/SilkFX/res/layout/hdr_image_viewer.xml +++ b/tests/graphics/SilkFX/res/layout/hdr_image_viewer.xml diff --git a/tests/SilkFX/res/values/style.xml b/tests/graphics/SilkFX/res/values/style.xml index 66edbb5c9382..66edbb5c9382 100644 --- a/tests/SilkFX/res/values/style.xml +++ b/tests/graphics/SilkFX/res/values/style.xml diff --git a/tests/SilkFX/src/com/android/test/silkfx/Main.kt b/tests/graphics/SilkFX/src/com/android/test/silkfx/Main.kt index 59a6078376cf..59a6078376cf 100644 --- a/tests/SilkFX/src/com/android/test/silkfx/Main.kt +++ b/tests/graphics/SilkFX/src/com/android/test/silkfx/Main.kt diff --git a/tests/SilkFX/src/com/android/test/silkfx/app/BaseDemoActivity.kt b/tests/graphics/SilkFX/src/com/android/test/silkfx/app/BaseDemoActivity.kt index 89011b51b8d6..89011b51b8d6 100644 --- a/tests/SilkFX/src/com/android/test/silkfx/app/BaseDemoActivity.kt +++ b/tests/graphics/SilkFX/src/com/android/test/silkfx/app/BaseDemoActivity.kt diff --git a/tests/SilkFX/src/com/android/test/silkfx/app/CommonDemoActivity.kt b/tests/graphics/SilkFX/src/com/android/test/silkfx/app/CommonDemoActivity.kt index e56ce40463f4..e56ce40463f4 100644 --- a/tests/SilkFX/src/com/android/test/silkfx/app/CommonDemoActivity.kt +++ b/tests/graphics/SilkFX/src/com/android/test/silkfx/app/CommonDemoActivity.kt diff --git a/tests/SilkFX/src/com/android/test/silkfx/app/HdrImageViewer.kt b/tests/graphics/SilkFX/src/com/android/test/silkfx/app/HdrImageViewer.kt index 7302169f4d1b..7302169f4d1b 100644 --- a/tests/SilkFX/src/com/android/test/silkfx/app/HdrImageViewer.kt +++ b/tests/graphics/SilkFX/src/com/android/test/silkfx/app/HdrImageViewer.kt diff --git a/tests/SilkFX/src/com/android/test/silkfx/app/WindowObserver.kt b/tests/graphics/SilkFX/src/com/android/test/silkfx/app/WindowObserver.kt index 3d989a54cf27..3d989a54cf27 100644 --- a/tests/SilkFX/src/com/android/test/silkfx/app/WindowObserver.kt +++ b/tests/graphics/SilkFX/src/com/android/test/silkfx/app/WindowObserver.kt diff --git a/tests/SilkFX/src/com/android/test/silkfx/common/BaseDrawingView.kt b/tests/graphics/SilkFX/src/com/android/test/silkfx/common/BaseDrawingView.kt index f88e6b01483b..f88e6b01483b 100644 --- a/tests/SilkFX/src/com/android/test/silkfx/common/BaseDrawingView.kt +++ b/tests/graphics/SilkFX/src/com/android/test/silkfx/common/BaseDrawingView.kt diff --git a/tests/SilkFX/src/com/android/test/silkfx/common/ColorModeControls.kt b/tests/graphics/SilkFX/src/com/android/test/silkfx/common/ColorModeControls.kt index 56ab755af47b..56ab755af47b 100644 --- a/tests/SilkFX/src/com/android/test/silkfx/common/ColorModeControls.kt +++ b/tests/graphics/SilkFX/src/com/android/test/silkfx/common/ColorModeControls.kt diff --git a/tests/SilkFX/src/com/android/test/silkfx/common/HDRIndicator.kt b/tests/graphics/SilkFX/src/com/android/test/silkfx/common/HDRIndicator.kt index f42161f63811..f42161f63811 100644 --- a/tests/SilkFX/src/com/android/test/silkfx/common/HDRIndicator.kt +++ b/tests/graphics/SilkFX/src/com/android/test/silkfx/common/HDRIndicator.kt diff --git a/tests/SilkFX/src/com/android/test/silkfx/hdr/BlingyNotification.kt b/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/BlingyNotification.kt index 4ad21faec9d4..4ad21faec9d4 100644 --- a/tests/SilkFX/src/com/android/test/silkfx/hdr/BlingyNotification.kt +++ b/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/BlingyNotification.kt diff --git a/tests/SilkFX/src/com/android/test/silkfx/hdr/ColorGrid.kt b/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/ColorGrid.kt index 6920f832333f..6920f832333f 100644 --- a/tests/SilkFX/src/com/android/test/silkfx/hdr/ColorGrid.kt +++ b/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/ColorGrid.kt diff --git a/tests/SilkFX/src/com/android/test/silkfx/hdr/GainmapDecodeTest.kt b/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/GainmapDecodeTest.kt index 585320aee615..585320aee615 100644 --- a/tests/SilkFX/src/com/android/test/silkfx/hdr/GainmapDecodeTest.kt +++ b/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/GainmapDecodeTest.kt diff --git a/tests/SilkFX/src/com/android/test/silkfx/hdr/GainmapImage.kt b/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/GainmapImage.kt index 7cf69b7780d9..7cf69b7780d9 100644 --- a/tests/SilkFX/src/com/android/test/silkfx/hdr/GainmapImage.kt +++ b/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/GainmapImage.kt diff --git a/tests/SilkFX/src/com/android/test/silkfx/hdr/GainmapMetadataEditor.kt b/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/GainmapMetadataEditor.kt index 8a653045c97b..1a79a11a3718 100644 --- a/tests/SilkFX/src/com/android/test/silkfx/hdr/GainmapMetadataEditor.kt +++ b/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/GainmapMetadataEditor.kt @@ -99,23 +99,23 @@ class GainmapMetadataEditor(val parent: ViewGroup, val renderView: View) {          (view.getParent() as ViewGroup).removeView(view)          parent.addView(view) -        view.findViewById<Button>(R.id.gainmap_metadata_done)!!.setOnClickListener { +        view.requireViewById<Button>(R.id.gainmap_metadata_done).setOnClickListener {              closeEditor()          } -        view.findViewById<Button>(R.id.gainmap_metadata_reset)!!.setOnClickListener { +        view.requireViewById<Button>(R.id.gainmap_metadata_reset).setOnClickListener {              resetGainmapMetadata()          }          updateMetadataUi() -        val gainmapMinSeek = view.findViewById<SeekBar>(R.id.gainmap_metadata_gainmapmin) -        val gainmapMaxSeek = view.findViewById<SeekBar>(R.id.gainmap_metadata_gainmapmax) -        val capacityMinSeek = view.findViewById<SeekBar>(R.id.gainmap_metadata_capacitymin) -        val capacityMaxSeek = view.findViewById<SeekBar>(R.id.gainmap_metadata_capacitymax) -        val gammaSeek = view.findViewById<SeekBar>(R.id.gainmap_metadata_gamma) -        val offsetSdrSeek = view.findViewById<SeekBar>(R.id.gainmap_metadata_offsetsdr) -        val offsetHdrSeek = view.findViewById<SeekBar>(R.id.gainmap_metadata_offsethdr) +        val gainmapMinSeek = view.requireViewById<SeekBar>(R.id.gainmap_metadata_gainmapmin) +        val gainmapMaxSeek = view.requireViewById<SeekBar>(R.id.gainmap_metadata_gainmapmax) +        val capacityMinSeek = view.requireViewById<SeekBar>(R.id.gainmap_metadata_capacitymin) +        val capacityMaxSeek = view.requireViewById<SeekBar>(R.id.gainmap_metadata_capacitymax) +        val gammaSeek = view.requireViewById<SeekBar>(R.id.gainmap_metadata_gamma) +        val offsetSdrSeek = view.requireViewById<SeekBar>(R.id.gainmap_metadata_offsetsdr) +        val offsetHdrSeek = view.requireViewById<SeekBar>(R.id.gainmap_metadata_offsethdr)          arrayOf(gainmapMinSeek, gainmapMaxSeek, capacityMinSeek, capacityMaxSeek, gammaSeek,              offsetSdrSeek, offsetHdrSeek).forEach {              it.setOnSeekBarChangeListener(object : SeekBar.OnSeekBarChangeListener{ @@ -140,13 +140,13 @@ class GainmapMetadataEditor(val parent: ViewGroup, val renderView: View) {      }      private fun updateMetadataUi() { -        val gainmapMinSeek = parent.findViewById<SeekBar>(R.id.gainmap_metadata_gainmapmin) -        val gainmapMaxSeek = parent.findViewById<SeekBar>(R.id.gainmap_metadata_gainmapmax) -        val capacityMinSeek = parent.findViewById<SeekBar>(R.id.gainmap_metadata_capacitymin) -        val capacityMaxSeek = parent.findViewById<SeekBar>(R.id.gainmap_metadata_capacitymax) -        val gammaSeek = parent.findViewById<SeekBar>(R.id.gainmap_metadata_gamma) -        val offsetSdrSeek = parent.findViewById<SeekBar>(R.id.gainmap_metadata_offsetsdr) -        val offsetHdrSeek = parent.findViewById<SeekBar>(R.id.gainmap_metadata_offsethdr) +        val gainmapMinSeek = parent.requireViewById<SeekBar>(R.id.gainmap_metadata_gainmapmin) +        val gainmapMaxSeek = parent.requireViewById<SeekBar>(R.id.gainmap_metadata_gainmapmax) +        val capacityMinSeek = parent.requireViewById<SeekBar>(R.id.gainmap_metadata_capacitymin) +        val capacityMaxSeek = parent.requireViewById<SeekBar>(R.id.gainmap_metadata_capacitymax) +        val gammaSeek = parent.requireViewById<SeekBar>(R.id.gainmap_metadata_gamma) +        val offsetSdrSeek = parent.requireViewById<SeekBar>(R.id.gainmap_metadata_offsetsdr) +        val offsetHdrSeek = parent.requireViewById<SeekBar>(R.id.gainmap_metadata_offsethdr)          gainmapMinSeek.setProgress(              ((currentMetadata.ratioMin - minRatioMin) / maxRatioMin * maxProgress).toInt()) @@ -166,19 +166,19 @@ class GainmapMetadataEditor(val parent: ViewGroup, val renderView: View) {              ((1.0 - Math.log(currentMetadata.offsetHdr.toDouble() / Math.log(3.0)) / -11.0)               .toFloat() * maxProgress).toInt()) -        parent.findViewById<TextView>(R.id.gainmap_metadata_gainmapmin_val)!!.setText( +        parent.requireViewById<TextView>(R.id.gainmap_metadata_gainmapmin_val).setText(              "%.3f".format(currentMetadata.ratioMin)) -        parent.findViewById<TextView>(R.id.gainmap_metadata_gainmapmax_val)!!.setText( +        parent.requireViewById<TextView>(R.id.gainmap_metadata_gainmapmax_val).setText(              "%.3f".format(currentMetadata.ratioMax)) -        parent.findViewById<TextView>(R.id.gainmap_metadata_capacitymin_val)!!.setText( +        parent.requireViewById<TextView>(R.id.gainmap_metadata_capacitymin_val).setText(              "%.3f".format(currentMetadata.capacityMin)) -        parent.findViewById<TextView>(R.id.gainmap_metadata_capacitymax_val)!!.setText( +        parent.requireViewById<TextView>(R.id.gainmap_metadata_capacitymax_val).setText(              "%.3f".format(currentMetadata.capacityMax)) -        parent.findViewById<TextView>(R.id.gainmap_metadata_gamma_val)!!.setText( +        parent.requireViewById<TextView>(R.id.gainmap_metadata_gamma_val).setText(              "%.3f".format(currentMetadata.gamma)) -        parent.findViewById<TextView>(R.id.gainmap_metadata_offsetsdr_val)!!.setText( +        parent.requireViewById<TextView>(R.id.gainmap_metadata_offsetsdr_val).setText(              "%.5f".format(currentMetadata.offsetSdr)) -        parent.findViewById<TextView>(R.id.gainmap_metadata_offsethdr_val)!!.setText( +        parent.requireViewById<TextView>(R.id.gainmap_metadata_offsethdr_val).setText(              "%.5f".format(currentMetadata.offsetHdr))      } @@ -201,7 +201,7 @@ class GainmapMetadataEditor(val parent: ViewGroup, val renderView: View) {      private fun updateGainmapMin(normalized: Float) {          val newValue = minRatioMin + normalized * (maxRatioMin - minRatioMin) -        parent.findViewById<TextView>(R.id.gainmap_metadata_gainmapmin_val)!!.setText( +        parent.requireViewById<TextView>(R.id.gainmap_metadata_gainmapmin_val).setText(              "%.3f".format(newValue))          currentMetadata.ratioMin = newValue          if (showingEdits) { @@ -212,7 +212,7 @@ class GainmapMetadataEditor(val parent: ViewGroup, val renderView: View) {      private fun updateGainmapMax(normalized: Float) {          val newValue = minRatioMax + normalized * (maxRatioMax - minRatioMax) -        parent.findViewById<TextView>(R.id.gainmap_metadata_gainmapmax_val)!!.setText( +        parent.requireViewById<TextView>(R.id.gainmap_metadata_gainmapmax_val).setText(              "%.3f".format(newValue))          currentMetadata.ratioMax = newValue          if (showingEdits) { @@ -223,7 +223,7 @@ class GainmapMetadataEditor(val parent: ViewGroup, val renderView: View) {      private fun updateCapacityMin(normalized: Float) {          val newValue = minCapacityMin + normalized * (maxCapacityMin - minCapacityMin) -        parent.findViewById<TextView>(R.id.gainmap_metadata_capacitymin_val)!!.setText( +        parent.requireViewById<TextView>(R.id.gainmap_metadata_capacitymin_val).setText(              "%.3f".format(newValue))          currentMetadata.capacityMin = newValue          if (showingEdits) { @@ -234,7 +234,7 @@ class GainmapMetadataEditor(val parent: ViewGroup, val renderView: View) {      private fun updateCapacityMax(normalized: Float) {          val newValue = minCapacityMax + normalized * (maxCapacityMax - minCapacityMax) -        parent.findViewById<TextView>(R.id.gainmap_metadata_capacitymax_val)!!.setText( +        parent.requireViewById<TextView>(R.id.gainmap_metadata_capacitymax_val).setText(              "%.3f".format(newValue))          currentMetadata.capacityMax = newValue          if (showingEdits) { @@ -245,7 +245,7 @@ class GainmapMetadataEditor(val parent: ViewGroup, val renderView: View) {      private fun updateGamma(normalized: Float) {          val newValue = minGamma + normalized * (maxGamma - minGamma) -        parent.findViewById<TextView>(R.id.gainmap_metadata_gamma_val)!!.setText( +        parent.requireViewById<TextView>(R.id.gainmap_metadata_gamma_val).setText(              "%.3f".format(newValue))          currentMetadata.gamma = newValue          if (showingEdits) { @@ -259,7 +259,7 @@ class GainmapMetadataEditor(val parent: ViewGroup, val renderView: View) {          if (normalized > 0.0f ) {              newValue = Math.pow(3.0, (1.0 - normalized.toDouble()) * -11.0).toFloat()          } -        parent.findViewById<TextView>(R.id.gainmap_metadata_offsetsdr_val)!!.setText( +        parent.requireViewById<TextView>(R.id.gainmap_metadata_offsetsdr_val).setText(              "%.5f".format(newValue))          currentMetadata.offsetSdr = newValue          if (showingEdits) { @@ -273,7 +273,7 @@ class GainmapMetadataEditor(val parent: ViewGroup, val renderView: View) {          if (normalized > 0.0f ) {              newValue = Math.pow(3.0, (1.0 - normalized.toDouble()) * -11.0).toFloat()          } -        parent.findViewById<TextView>(R.id.gainmap_metadata_offsethdr_val)!!.setText( +        parent.requireViewById<TextView>(R.id.gainmap_metadata_offsethdr_val).setText(              "%.5f".format(newValue))          currentMetadata.offsetHdr = newValue          if (showingEdits) { diff --git a/tests/SilkFX/src/com/android/test/silkfx/hdr/GainmapTransformsTest.kt b/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/GainmapTransformsTest.kt index 20984fae2133..20984fae2133 100644 --- a/tests/SilkFX/src/com/android/test/silkfx/hdr/GainmapTransformsTest.kt +++ b/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/GainmapTransformsTest.kt diff --git a/tests/SilkFX/src/com/android/test/silkfx/hdr/GlowActivity.kt b/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/GlowActivity.kt index 64dbb22ace43..64dbb22ace43 100644 --- a/tests/SilkFX/src/com/android/test/silkfx/hdr/GlowActivity.kt +++ b/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/GlowActivity.kt diff --git a/tests/SilkFX/src/com/android/test/silkfx/hdr/GlowingCard.kt b/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/GlowingCard.kt index b388bb659685..b388bb659685 100644 --- a/tests/SilkFX/src/com/android/test/silkfx/hdr/GlowingCard.kt +++ b/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/GlowingCard.kt diff --git a/tests/SilkFX/src/com/android/test/silkfx/hdr/RadialGlow.kt b/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/RadialGlow.kt index 20acb4919c78..20acb4919c78 100644 --- a/tests/SilkFX/src/com/android/test/silkfx/hdr/RadialGlow.kt +++ b/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/RadialGlow.kt diff --git a/tests/SilkFX/src/com/android/test/silkfx/materials/BackgroundBlurActivity.kt b/tests/graphics/SilkFX/src/com/android/test/silkfx/materials/BackgroundBlurActivity.kt index 9d17d38d4298..4d38660e6029 100644 --- a/tests/SilkFX/src/com/android/test/silkfx/materials/BackgroundBlurActivity.kt +++ b/tests/graphics/SilkFX/src/com/android/test/silkfx/materials/BackgroundBlurActivity.kt @@ -132,7 +132,7 @@ class BackgroundBlurActivity : Activity(), SeekBar.OnSeekBarChangeListener  {          mBlurForceDisabled = disabled          Settings.Global.putInt(getContentResolver(), Settings.Global.DISABLE_WINDOW_BLURS,                  if (mBlurForceDisabled) 1 else 0) -        (findViewById(R.id.toggle_blur_enabled) as Button) +        (requireViewById(R.id.toggle_blur_enabled) as Button)                  .setText(if (mBlurForceDisabled) "Enable blurs" else "Disable blurs")      } @@ -142,13 +142,13 @@ class BackgroundBlurActivity : Activity(), SeekBar.OnSeekBarChangeListener  {      fun setBackgroundBlur(radius: Int) {          mBackgroundBlurRadius = radius -        (findViewById(R.id.background_blur_radius) as TextView).setText(radius.toString()) +        (requireViewById(R.id.background_blur_radius) as TextView).setText(radius.toString())          window.setBackgroundBlurRadius(mBackgroundBlurRadius)      }      fun setBlurBehind(radius: Int) {          mBlurBehindRadius = radius -        (findViewById(R.id.blur_behind_radius) as TextView).setText(radius.toString()) +        (requireViewById(R.id.blur_behind_radius) as TextView).setText(radius.toString())          window.getAttributes().setBlurBehindRadius(mBlurBehindRadius)          window.setAttributes(window.getAttributes())      } @@ -159,7 +159,7 @@ class BackgroundBlurActivity : Activity(), SeekBar.OnSeekBarChangeListener  {          } else {              mDimAmountNoBlur = amount          } -        (findViewById(R.id.dim_amount) as TextView).setText("%.2f".format(amount)) +        (requireViewById(R.id.dim_amount) as TextView).setText("%.2f".format(amount))          window.getAttributes().dimAmount = amount          window.setAttributes(window.getAttributes())      } @@ -168,7 +168,7 @@ class BackgroundBlurActivity : Activity(), SeekBar.OnSeekBarChangeListener  {          mBatterySavingModeOn = on          Settings.Global.putInt(getContentResolver(),              Settings.Global.LOW_POWER_MODE, if (on) 1 else 0) -        (findViewById(R.id.toggle_battery_saving_mode) as Button).setText( +        (requireViewById(R.id.toggle_battery_saving_mode) as Button).setText(              if (on) "Exit low power mode" else "Enter low power mode")      } @@ -182,7 +182,7 @@ class BackgroundBlurActivity : Activity(), SeekBar.OnSeekBarChangeListener  {          } else {              mAlphaNoBlur = alpha          } -        (findViewById(R.id.background_alpha) as TextView).setText("%.2f".format(alpha)) +        (requireViewById(R.id.background_alpha) as TextView).setText("%.2f".format(alpha))          mBackgroundDrawable.setAlpha((alpha * 255f).toInt())          getWindowManager().updateViewLayout(window.getDecorView(), window.getAttributes())      } diff --git a/tests/SilkFX/src/com/android/test/silkfx/materials/GlassActivity.kt b/tests/graphics/SilkFX/src/com/android/test/silkfx/materials/GlassActivity.kt index dde245ff9baf..dde245ff9baf 100644 --- a/tests/SilkFX/src/com/android/test/silkfx/materials/GlassActivity.kt +++ b/tests/graphics/SilkFX/src/com/android/test/silkfx/materials/GlassActivity.kt diff --git a/tests/SilkFX/src/com/android/test/silkfx/materials/GlassView.kt b/tests/graphics/SilkFX/src/com/android/test/silkfx/materials/GlassView.kt index 2f2578b87f35..41baeadf7a8c 100644 --- a/tests/SilkFX/src/com/android/test/silkfx/materials/GlassView.kt +++ b/tests/graphics/SilkFX/src/com/android/test/silkfx/materials/GlassView.kt @@ -190,9 +190,9 @@ class GlassView(context: Context, attributeSet: AttributeSet) : FrameLayout(cont          sensorManager?.unregisterListener(sensorListener)      } -    override fun onDraw(canvas: Canvas?) { +    override fun onDraw(canvas: Canvas) {          updateGlassRenderNode() -        canvas?.drawRenderNode(renderNode) +        canvas.drawRenderNode(renderNode)      }      fun resetGyroOffsets() { @@ -227,4 +227,4 @@ class GlassView(context: Context, attributeSet: AttributeSet) : FrameLayout(cont              renderNodeIsDirty = false          }      } -}
\ No newline at end of file +} diff --git a/tests/VectorDrawableTest/Android.bp b/tests/graphics/VectorDrawableTest/Android.bp index 9da7c5fdbb17..9da7c5fdbb17 100644 --- a/tests/VectorDrawableTest/Android.bp +++ b/tests/graphics/VectorDrawableTest/Android.bp diff --git a/tests/VectorDrawableTest/AndroidManifest.xml b/tests/graphics/VectorDrawableTest/AndroidManifest.xml index 5334dac57ca2..5334dac57ca2 100644 --- a/tests/VectorDrawableTest/AndroidManifest.xml +++ b/tests/graphics/VectorDrawableTest/AndroidManifest.xml diff --git a/tests/VectorDrawableTest/OWNERS b/tests/graphics/VectorDrawableTest/OWNERS index 27e16681899e..27e16681899e 100644 --- a/tests/VectorDrawableTest/OWNERS +++ b/tests/graphics/VectorDrawableTest/OWNERS diff --git a/tests/VectorDrawableTest/res/anim/alpha_animation_progress_bar.xml b/tests/graphics/VectorDrawableTest/res/anim/alpha_animation_progress_bar.xml index 867abc7744a1..867abc7744a1 100644 --- a/tests/VectorDrawableTest/res/anim/alpha_animation_progress_bar.xml +++ b/tests/graphics/VectorDrawableTest/res/anim/alpha_animation_progress_bar.xml diff --git a/tests/VectorDrawableTest/res/anim/animation_favorite.xml b/tests/graphics/VectorDrawableTest/res/anim/animation_favorite.xml index 13bd6f5e00fe..13bd6f5e00fe 100644 --- a/tests/VectorDrawableTest/res/anim/animation_favorite.xml +++ b/tests/graphics/VectorDrawableTest/res/anim/animation_favorite.xml diff --git a/tests/VectorDrawableTest/res/anim/animation_favorite02.xml b/tests/graphics/VectorDrawableTest/res/anim/animation_favorite02.xml index 15d3b8eb530e..15d3b8eb530e 100644 --- a/tests/VectorDrawableTest/res/anim/animation_favorite02.xml +++ b/tests/graphics/VectorDrawableTest/res/anim/animation_favorite02.xml diff --git a/tests/VectorDrawableTest/res/anim/animation_grouping_1_01.xml b/tests/graphics/VectorDrawableTest/res/anim/animation_grouping_1_01.xml index 8ab79a5c6256..8ab79a5c6256 100644 --- a/tests/VectorDrawableTest/res/anim/animation_grouping_1_01.xml +++ b/tests/graphics/VectorDrawableTest/res/anim/animation_grouping_1_01.xml diff --git a/tests/VectorDrawableTest/res/anim/animation_grouping_1_02.xml b/tests/graphics/VectorDrawableTest/res/anim/animation_grouping_1_02.xml index ae63203184c2..ae63203184c2 100644 --- a/tests/VectorDrawableTest/res/anim/animation_grouping_1_02.xml +++ b/tests/graphics/VectorDrawableTest/res/anim/animation_grouping_1_02.xml diff --git a/tests/VectorDrawableTest/res/anim/animation_linear_progress_bar_rect1_scale.xml b/tests/graphics/VectorDrawableTest/res/anim/animation_linear_progress_bar_rect1_scale.xml index 73472205db38..73472205db38 100644 --- a/tests/VectorDrawableTest/res/anim/animation_linear_progress_bar_rect1_scale.xml +++ b/tests/graphics/VectorDrawableTest/res/anim/animation_linear_progress_bar_rect1_scale.xml diff --git a/tests/VectorDrawableTest/res/anim/animation_linear_progress_bar_rect1_translate.xml b/tests/graphics/VectorDrawableTest/res/anim/animation_linear_progress_bar_rect1_translate.xml index 4781ba83ca36..4781ba83ca36 100644 --- a/tests/VectorDrawableTest/res/anim/animation_linear_progress_bar_rect1_translate.xml +++ b/tests/graphics/VectorDrawableTest/res/anim/animation_linear_progress_bar_rect1_translate.xml diff --git a/tests/VectorDrawableTest/res/anim/animation_linear_progress_bar_rect2_scale.xml b/tests/graphics/VectorDrawableTest/res/anim/animation_linear_progress_bar_rect2_scale.xml index a61af8f7a78c..a61af8f7a78c 100644 --- a/tests/VectorDrawableTest/res/anim/animation_linear_progress_bar_rect2_scale.xml +++ b/tests/graphics/VectorDrawableTest/res/anim/animation_linear_progress_bar_rect2_scale.xml diff --git a/tests/VectorDrawableTest/res/anim/animation_linear_progress_bar_rect2_translate.xml b/tests/graphics/VectorDrawableTest/res/anim/animation_linear_progress_bar_rect2_translate.xml index 31fa7950922c..31fa7950922c 100644 --- a/tests/VectorDrawableTest/res/anim/animation_linear_progress_bar_rect2_translate.xml +++ b/tests/graphics/VectorDrawableTest/res/anim/animation_linear_progress_bar_rect2_translate.xml diff --git a/tests/VectorDrawableTest/res/anim/blink.xml b/tests/graphics/VectorDrawableTest/res/anim/blink.xml index 714f4911939a..714f4911939a 100644 --- a/tests/VectorDrawableTest/res/anim/blink.xml +++ b/tests/graphics/VectorDrawableTest/res/anim/blink.xml diff --git a/tests/VectorDrawableTest/res/anim/ic_hourglass_animation_fill_outlines.xml b/tests/graphics/VectorDrawableTest/res/anim/ic_hourglass_animation_fill_outlines.xml index 17499d5a7f74..17499d5a7f74 100644 --- a/tests/VectorDrawableTest/res/anim/ic_hourglass_animation_fill_outlines.xml +++ b/tests/graphics/VectorDrawableTest/res/anim/ic_hourglass_animation_fill_outlines.xml diff --git a/tests/VectorDrawableTest/res/anim/ic_hourglass_animation_hourglass_frame.xml b/tests/graphics/VectorDrawableTest/res/anim/ic_hourglass_animation_hourglass_frame.xml index 17499d5a7f74..17499d5a7f74 100644 --- a/tests/VectorDrawableTest/res/anim/ic_hourglass_animation_hourglass_frame.xml +++ b/tests/graphics/VectorDrawableTest/res/anim/ic_hourglass_animation_hourglass_frame.xml diff --git a/tests/VectorDrawableTest/res/anim/ic_hourglass_animation_mask_1.xml b/tests/graphics/VectorDrawableTest/res/anim/ic_hourglass_animation_mask_1.xml index 541792e3b41d..541792e3b41d 100644 --- a/tests/VectorDrawableTest/res/anim/ic_hourglass_animation_mask_1.xml +++ b/tests/graphics/VectorDrawableTest/res/anim/ic_hourglass_animation_mask_1.xml diff --git a/tests/VectorDrawableTest/res/anim/ic_rotate_2_portrait_v2_animation_arrows_1.xml b/tests/graphics/VectorDrawableTest/res/anim/ic_rotate_2_portrait_v2_animation_arrows_1.xml index 89b0f7bd5425..89b0f7bd5425 100644 --- a/tests/VectorDrawableTest/res/anim/ic_rotate_2_portrait_v2_animation_arrows_1.xml +++ b/tests/graphics/VectorDrawableTest/res/anim/ic_rotate_2_portrait_v2_animation_arrows_1.xml diff --git a/tests/VectorDrawableTest/res/anim/ic_rotate_2_portrait_v2_animation_device_1.xml b/tests/graphics/VectorDrawableTest/res/anim/ic_rotate_2_portrait_v2_animation_device_1.xml index 47e1e7145b7d..47e1e7145b7d 100644 --- a/tests/VectorDrawableTest/res/anim/ic_rotate_2_portrait_v2_animation_device_1.xml +++ b/tests/graphics/VectorDrawableTest/res/anim/ic_rotate_2_portrait_v2_animation_device_1.xml diff --git a/tests/VectorDrawableTest/res/anim/ic_rotate_2_portrait_v2_animation_device_2.xml b/tests/graphics/VectorDrawableTest/res/anim/ic_rotate_2_portrait_v2_animation_device_2.xml index f1126cfd618c..f1126cfd618c 100644 --- a/tests/VectorDrawableTest/res/anim/ic_rotate_2_portrait_v2_animation_device_2.xml +++ b/tests/graphics/VectorDrawableTest/res/anim/ic_rotate_2_portrait_v2_animation_device_2.xml diff --git a/tests/VectorDrawableTest/res/anim/ic_signal_airplane_v2_animation_cross_1.xml b/tests/graphics/VectorDrawableTest/res/anim/ic_signal_airplane_v2_animation_cross_1.xml index 993493b007fe..993493b007fe 100644 --- a/tests/VectorDrawableTest/res/anim/ic_signal_airplane_v2_animation_cross_1.xml +++ b/tests/graphics/VectorDrawableTest/res/anim/ic_signal_airplane_v2_animation_cross_1.xml diff --git a/tests/VectorDrawableTest/res/anim/ic_signal_airplane_v2_animation_ic_signal_airplane.xml b/tests/graphics/VectorDrawableTest/res/anim/ic_signal_airplane_v2_animation_ic_signal_airplane.xml index 1bdfde6b3bb7..1bdfde6b3bb7 100644 --- a/tests/VectorDrawableTest/res/anim/ic_signal_airplane_v2_animation_ic_signal_airplane.xml +++ b/tests/graphics/VectorDrawableTest/res/anim/ic_signal_airplane_v2_animation_ic_signal_airplane.xml diff --git a/tests/VectorDrawableTest/res/anim/ic_signal_airplane_v2_animation_mask_2.xml b/tests/graphics/VectorDrawableTest/res/anim/ic_signal_airplane_v2_animation_mask_2.xml index 94b0a3241d4f..94b0a3241d4f 100644 --- a/tests/VectorDrawableTest/res/anim/ic_signal_airplane_v2_animation_mask_2.xml +++ b/tests/graphics/VectorDrawableTest/res/anim/ic_signal_airplane_v2_animation_mask_2.xml diff --git a/tests/VectorDrawableTest/res/anim/ic_signal_airplane_v2_animation_path_1_1.xml b/tests/graphics/VectorDrawableTest/res/anim/ic_signal_airplane_v2_animation_path_1_1.xml index 0a4a7c476c09..0a4a7c476c09 100644 --- a/tests/VectorDrawableTest/res/anim/ic_signal_airplane_v2_animation_path_1_1.xml +++ b/tests/graphics/VectorDrawableTest/res/anim/ic_signal_airplane_v2_animation_path_1_1.xml diff --git a/tests/VectorDrawableTest/res/anim/trim_path_animation01.xml b/tests/graphics/VectorDrawableTest/res/anim/trim_path_animation01.xml index d47e019bf4ad..d47e019bf4ad 100644 --- a/tests/VectorDrawableTest/res/anim/trim_path_animation01.xml +++ b/tests/graphics/VectorDrawableTest/res/anim/trim_path_animation01.xml diff --git a/tests/VectorDrawableTest/res/anim/trim_path_animation02.xml b/tests/graphics/VectorDrawableTest/res/anim/trim_path_animation02.xml index 5d688cf8261f..5d688cf8261f 100644 --- a/tests/VectorDrawableTest/res/anim/trim_path_animation02.xml +++ b/tests/graphics/VectorDrawableTest/res/anim/trim_path_animation02.xml diff --git a/tests/VectorDrawableTest/res/anim/trim_path_animation03.xml b/tests/graphics/VectorDrawableTest/res/anim/trim_path_animation03.xml index 0c1073e5b2cd..0c1073e5b2cd 100644 --- a/tests/VectorDrawableTest/res/anim/trim_path_animation03.xml +++ b/tests/graphics/VectorDrawableTest/res/anim/trim_path_animation03.xml diff --git a/tests/VectorDrawableTest/res/anim/trim_path_animation04.xml b/tests/graphics/VectorDrawableTest/res/anim/trim_path_animation04.xml index 4d0aae1c9314..4d0aae1c9314 100644 --- a/tests/VectorDrawableTest/res/anim/trim_path_animation04.xml +++ b/tests/graphics/VectorDrawableTest/res/anim/trim_path_animation04.xml diff --git a/tests/VectorDrawableTest/res/anim/trim_path_animation05.xml b/tests/graphics/VectorDrawableTest/res/anim/trim_path_animation05.xml index 92b1ab51ade8..92b1ab51ade8 100644 --- a/tests/VectorDrawableTest/res/anim/trim_path_animation05.xml +++ b/tests/graphics/VectorDrawableTest/res/anim/trim_path_animation05.xml diff --git a/tests/VectorDrawableTest/res/anim/trim_path_animation06.xml b/tests/graphics/VectorDrawableTest/res/anim/trim_path_animation06.xml index 1a81866669bc..1a81866669bc 100644 --- a/tests/VectorDrawableTest/res/anim/trim_path_animation06.xml +++ b/tests/graphics/VectorDrawableTest/res/anim/trim_path_animation06.xml diff --git a/tests/VectorDrawableTest/res/anim/trim_path_animation_progress_bar.xml b/tests/graphics/VectorDrawableTest/res/anim/trim_path_animation_progress_bar.xml index c9fd6767baff..c9fd6767baff 100644 --- a/tests/VectorDrawableTest/res/anim/trim_path_animation_progress_bar.xml +++ b/tests/graphics/VectorDrawableTest/res/anim/trim_path_animation_progress_bar.xml diff --git a/tests/VectorDrawableTest/res/color/fill_gradient_linear.xml b/tests/graphics/VectorDrawableTest/res/color/fill_gradient_linear.xml index e0e3f03d64f5..e0e3f03d64f5 100644 --- a/tests/VectorDrawableTest/res/color/fill_gradient_linear.xml +++ b/tests/graphics/VectorDrawableTest/res/color/fill_gradient_linear.xml diff --git a/tests/VectorDrawableTest/res/color/fill_gradient_linear_clamp.xml b/tests/graphics/VectorDrawableTest/res/color/fill_gradient_linear_clamp.xml index 6a24453c0198..6a24453c0198 100644 --- a/tests/VectorDrawableTest/res/color/fill_gradient_linear_clamp.xml +++ b/tests/graphics/VectorDrawableTest/res/color/fill_gradient_linear_clamp.xml diff --git a/tests/VectorDrawableTest/res/color/fill_gradient_linear_item.xml b/tests/graphics/VectorDrawableTest/res/color/fill_gradient_linear_item.xml index cfb123603735..cfb123603735 100644 --- a/tests/VectorDrawableTest/res/color/fill_gradient_linear_item.xml +++ b/tests/graphics/VectorDrawableTest/res/color/fill_gradient_linear_item.xml diff --git a/tests/VectorDrawableTest/res/color/fill_gradient_linear_item_overlap.xml b/tests/graphics/VectorDrawableTest/res/color/fill_gradient_linear_item_overlap.xml index 18274b9ec55a..18274b9ec55a 100644 --- a/tests/VectorDrawableTest/res/color/fill_gradient_linear_item_overlap.xml +++ b/tests/graphics/VectorDrawableTest/res/color/fill_gradient_linear_item_overlap.xml diff --git a/tests/VectorDrawableTest/res/color/fill_gradient_linear_item_overlap_mirror.xml b/tests/graphics/VectorDrawableTest/res/color/fill_gradient_linear_item_overlap_mirror.xml index d342bca32208..d342bca32208 100644 --- a/tests/VectorDrawableTest/res/color/fill_gradient_linear_item_overlap_mirror.xml +++ b/tests/graphics/VectorDrawableTest/res/color/fill_gradient_linear_item_overlap_mirror.xml diff --git a/tests/VectorDrawableTest/res/color/fill_gradient_linear_item_repeat.xml b/tests/graphics/VectorDrawableTest/res/color/fill_gradient_linear_item_repeat.xml index afb45aa2eebe..afb45aa2eebe 100644 --- a/tests/VectorDrawableTest/res/color/fill_gradient_linear_item_repeat.xml +++ b/tests/graphics/VectorDrawableTest/res/color/fill_gradient_linear_item_repeat.xml diff --git a/tests/VectorDrawableTest/res/color/fill_gradient_radial.xml b/tests/graphics/VectorDrawableTest/res/color/fill_gradient_radial.xml index ef6fd70c67f7..ef6fd70c67f7 100644 --- a/tests/VectorDrawableTest/res/color/fill_gradient_radial.xml +++ b/tests/graphics/VectorDrawableTest/res/color/fill_gradient_radial.xml diff --git a/tests/VectorDrawableTest/res/color/fill_gradient_radial_clamp.xml b/tests/graphics/VectorDrawableTest/res/color/fill_gradient_radial_clamp.xml index 64b32f6fba3f..64b32f6fba3f 100644 --- a/tests/VectorDrawableTest/res/color/fill_gradient_radial_clamp.xml +++ b/tests/graphics/VectorDrawableTest/res/color/fill_gradient_radial_clamp.xml diff --git a/tests/VectorDrawableTest/res/color/fill_gradient_radial_item.xml b/tests/graphics/VectorDrawableTest/res/color/fill_gradient_radial_item.xml index c6cea7c5c698..c6cea7c5c698 100644 --- a/tests/VectorDrawableTest/res/color/fill_gradient_radial_item.xml +++ b/tests/graphics/VectorDrawableTest/res/color/fill_gradient_radial_item.xml diff --git a/tests/VectorDrawableTest/res/color/fill_gradient_radial_item_repeat.xml b/tests/graphics/VectorDrawableTest/res/color/fill_gradient_radial_item_repeat.xml index fb4346ad4abd..fb4346ad4abd 100644 --- a/tests/VectorDrawableTest/res/color/fill_gradient_radial_item_repeat.xml +++ b/tests/graphics/VectorDrawableTest/res/color/fill_gradient_radial_item_repeat.xml diff --git a/tests/VectorDrawableTest/res/color/fill_gradient_radial_item_short.xml b/tests/graphics/VectorDrawableTest/res/color/fill_gradient_radial_item_short.xml index fefbe9f05eff..fefbe9f05eff 100644 --- a/tests/VectorDrawableTest/res/color/fill_gradient_radial_item_short.xml +++ b/tests/graphics/VectorDrawableTest/res/color/fill_gradient_radial_item_short.xml diff --git a/tests/VectorDrawableTest/res/color/fill_gradient_radial_item_short_mirror.xml b/tests/graphics/VectorDrawableTest/res/color/fill_gradient_radial_item_short_mirror.xml index 8b5ad7c826ac..8b5ad7c826ac 100644 --- a/tests/VectorDrawableTest/res/color/fill_gradient_radial_item_short_mirror.xml +++ b/tests/graphics/VectorDrawableTest/res/color/fill_gradient_radial_item_short_mirror.xml diff --git a/tests/VectorDrawableTest/res/color/fill_gradient_sweep.xml b/tests/graphics/VectorDrawableTest/res/color/fill_gradient_sweep.xml index e1fbd10b7e91..e1fbd10b7e91 100644 --- a/tests/VectorDrawableTest/res/color/fill_gradient_sweep.xml +++ b/tests/graphics/VectorDrawableTest/res/color/fill_gradient_sweep.xml diff --git a/tests/VectorDrawableTest/res/color/fill_gradient_sweep_clamp.xml b/tests/graphics/VectorDrawableTest/res/color/fill_gradient_sweep_clamp.xml index 80f39f3ee980..80f39f3ee980 100644 --- a/tests/VectorDrawableTest/res/color/fill_gradient_sweep_clamp.xml +++ b/tests/graphics/VectorDrawableTest/res/color/fill_gradient_sweep_clamp.xml diff --git a/tests/VectorDrawableTest/res/color/fill_gradient_sweep_item.xml b/tests/graphics/VectorDrawableTest/res/color/fill_gradient_sweep_item.xml index 332b93894960..332b93894960 100644 --- a/tests/VectorDrawableTest/res/color/fill_gradient_sweep_item.xml +++ b/tests/graphics/VectorDrawableTest/res/color/fill_gradient_sweep_item.xml diff --git a/tests/VectorDrawableTest/res/color/fill_gradient_sweep_item_long.xml b/tests/graphics/VectorDrawableTest/res/color/fill_gradient_sweep_item_long.xml index 3931288c5c25..3931288c5c25 100644 --- a/tests/VectorDrawableTest/res/color/fill_gradient_sweep_item_long.xml +++ b/tests/graphics/VectorDrawableTest/res/color/fill_gradient_sweep_item_long.xml diff --git a/tests/VectorDrawableTest/res/color/fill_gradient_sweep_item_long_mirror.xml b/tests/graphics/VectorDrawableTest/res/color/fill_gradient_sweep_item_long_mirror.xml index 0890bd6fc733..0890bd6fc733 100644 --- a/tests/VectorDrawableTest/res/color/fill_gradient_sweep_item_long_mirror.xml +++ b/tests/graphics/VectorDrawableTest/res/color/fill_gradient_sweep_item_long_mirror.xml diff --git a/tests/VectorDrawableTest/res/color/fill_gradient_sweep_item_repeat.xml b/tests/graphics/VectorDrawableTest/res/color/fill_gradient_sweep_item_repeat.xml index 2ec50148b44d..2ec50148b44d 100644 --- a/tests/VectorDrawableTest/res/color/fill_gradient_sweep_item_repeat.xml +++ b/tests/graphics/VectorDrawableTest/res/color/fill_gradient_sweep_item_repeat.xml diff --git a/tests/VectorDrawableTest/res/color/stroke_gradient.xml b/tests/graphics/VectorDrawableTest/res/color/stroke_gradient.xml index cb324c9a7f4e..cb324c9a7f4e 100644 --- a/tests/VectorDrawableTest/res/color/stroke_gradient.xml +++ b/tests/graphics/VectorDrawableTest/res/color/stroke_gradient.xml diff --git a/tests/VectorDrawableTest/res/color/stroke_gradient_clamp.xml b/tests/graphics/VectorDrawableTest/res/color/stroke_gradient_clamp.xml index 3d746e720cf8..3d746e720cf8 100644 --- a/tests/VectorDrawableTest/res/color/stroke_gradient_clamp.xml +++ b/tests/graphics/VectorDrawableTest/res/color/stroke_gradient_clamp.xml diff --git a/tests/VectorDrawableTest/res/color/stroke_gradient_item.xml b/tests/graphics/VectorDrawableTest/res/color/stroke_gradient_item.xml index 15d948c25899..15d948c25899 100644 --- a/tests/VectorDrawableTest/res/color/stroke_gradient_item.xml +++ b/tests/graphics/VectorDrawableTest/res/color/stroke_gradient_item.xml diff --git a/tests/VectorDrawableTest/res/color/stroke_gradient_item_alpha.xml b/tests/graphics/VectorDrawableTest/res/color/stroke_gradient_item_alpha.xml index fda2b88bc3e1..fda2b88bc3e1 100644 --- a/tests/VectorDrawableTest/res/color/stroke_gradient_item_alpha.xml +++ b/tests/graphics/VectorDrawableTest/res/color/stroke_gradient_item_alpha.xml diff --git a/tests/VectorDrawableTest/res/color/stroke_gradient_item_alpha_mirror.xml b/tests/graphics/VectorDrawableTest/res/color/stroke_gradient_item_alpha_mirror.xml index 352a2fd463a8..352a2fd463a8 100644 --- a/tests/VectorDrawableTest/res/color/stroke_gradient_item_alpha_mirror.xml +++ b/tests/graphics/VectorDrawableTest/res/color/stroke_gradient_item_alpha_mirror.xml diff --git a/tests/VectorDrawableTest/res/color/stroke_gradient_item_repeat.xml b/tests/graphics/VectorDrawableTest/res/color/stroke_gradient_item_repeat.xml index 42281d15dc0b..42281d15dc0b 100644 --- a/tests/VectorDrawableTest/res/color/stroke_gradient_item_repeat.xml +++ b/tests/graphics/VectorDrawableTest/res/color/stroke_gradient_item_repeat.xml diff --git a/tests/VectorDrawableTest/res/color/vector_icon_fill_state_list.xml b/tests/graphics/VectorDrawableTest/res/color/vector_icon_fill_state_list.xml index 45d88b567ba2..45d88b567ba2 100644 --- a/tests/VectorDrawableTest/res/color/vector_icon_fill_state_list.xml +++ b/tests/graphics/VectorDrawableTest/res/color/vector_icon_fill_state_list.xml diff --git a/tests/VectorDrawableTest/res/color/vector_icon_fill_state_list_simple.xml b/tests/graphics/VectorDrawableTest/res/color/vector_icon_fill_state_list_simple.xml index 0e2467fa9d95..0e2467fa9d95 100644 --- a/tests/VectorDrawableTest/res/color/vector_icon_fill_state_list_simple.xml +++ b/tests/graphics/VectorDrawableTest/res/color/vector_icon_fill_state_list_simple.xml diff --git a/tests/VectorDrawableTest/res/color/vector_icon_stroke_state_list.xml b/tests/graphics/VectorDrawableTest/res/color/vector_icon_stroke_state_list.xml index 16251c8d50bd..16251c8d50bd 100644 --- a/tests/VectorDrawableTest/res/color/vector_icon_stroke_state_list.xml +++ b/tests/graphics/VectorDrawableTest/res/color/vector_icon_stroke_state_list.xml diff --git a/tests/VectorDrawableTest/res/color/vector_icon_stroke_state_list_simple.xml b/tests/graphics/VectorDrawableTest/res/color/vector_icon_stroke_state_list_simple.xml index 7e6c8cea409a..7e6c8cea409a 100644 --- a/tests/VectorDrawableTest/res/color/vector_icon_stroke_state_list_simple.xml +++ b/tests/graphics/VectorDrawableTest/res/color/vector_icon_stroke_state_list_simple.xml diff --git a/tests/VectorDrawableTest/res/drawable-hdpi/icon.png b/tests/graphics/VectorDrawableTest/res/drawable-hdpi/icon.png Binary files differindex 60fbdf5d0403..60fbdf5d0403 100644 --- a/tests/VectorDrawableTest/res/drawable-hdpi/icon.png +++ b/tests/graphics/VectorDrawableTest/res/drawable-hdpi/icon.png diff --git a/tests/VectorDrawableTest/res/drawable-nodpi/bitmap_drawable01.jpg b/tests/graphics/VectorDrawableTest/res/drawable-nodpi/bitmap_drawable01.jpg Binary files differindex dc8c19716be5..dc8c19716be5 100644 --- a/tests/VectorDrawableTest/res/drawable-nodpi/bitmap_drawable01.jpg +++ b/tests/graphics/VectorDrawableTest/res/drawable-nodpi/bitmap_drawable01.jpg diff --git a/tests/VectorDrawableTest/res/drawable/animated_vector_drawable_attr_icon.xml b/tests/graphics/VectorDrawableTest/res/drawable/animated_vector_drawable_attr_icon.xml index 10a0970df29f..10a0970df29f 100644 --- a/tests/VectorDrawableTest/res/drawable/animated_vector_drawable_attr_icon.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/animated_vector_drawable_attr_icon.xml diff --git a/tests/VectorDrawableTest/res/drawable/animated_vector_drawable_attr_icon_animated.xml b/tests/graphics/VectorDrawableTest/res/drawable/animated_vector_drawable_attr_icon_animated.xml index 7e652296ee28..7e652296ee28 100644 --- a/tests/VectorDrawableTest/res/drawable/animated_vector_drawable_attr_icon_animated.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/animated_vector_drawable_attr_icon_animated.xml diff --git a/tests/VectorDrawableTest/res/drawable/animation_drawable_vector.xml b/tests/graphics/VectorDrawableTest/res/drawable/animation_drawable_vector.xml index a588960821ab..a588960821ab 100644 --- a/tests/VectorDrawableTest/res/drawable/animation_drawable_vector.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/animation_drawable_vector.xml diff --git a/tests/VectorDrawableTest/res/drawable/animation_vector_drawable01.xml b/tests/graphics/VectorDrawableTest/res/drawable/animation_vector_drawable01.xml index 8b0ceda4939f..8b0ceda4939f 100644 --- a/tests/VectorDrawableTest/res/drawable/animation_vector_drawable01.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/animation_vector_drawable01.xml diff --git a/tests/VectorDrawableTest/res/drawable/animation_vector_drawable_favorite.xml b/tests/graphics/VectorDrawableTest/res/drawable/animation_vector_drawable_favorite.xml index 9d8381fd5e62..9d8381fd5e62 100644 --- a/tests/VectorDrawableTest/res/drawable/animation_vector_drawable_favorite.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/animation_vector_drawable_favorite.xml diff --git a/tests/VectorDrawableTest/res/drawable/animation_vector_drawable_grouping_1.xml b/tests/graphics/VectorDrawableTest/res/drawable/animation_vector_drawable_grouping_1.xml index 4a7e4f6d870f..4a7e4f6d870f 100644 --- a/tests/VectorDrawableTest/res/drawable/animation_vector_drawable_grouping_1.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/animation_vector_drawable_grouping_1.xml diff --git a/tests/VectorDrawableTest/res/drawable/animation_vector_linear_progress_bar.xml b/tests/graphics/VectorDrawableTest/res/drawable/animation_vector_linear_progress_bar.xml index 05bf8335c2a7..05bf8335c2a7 100644 --- a/tests/VectorDrawableTest/res/drawable/animation_vector_linear_progress_bar.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/animation_vector_linear_progress_bar.xml diff --git a/tests/VectorDrawableTest/res/drawable/animation_vector_progress_bar.xml b/tests/graphics/VectorDrawableTest/res/drawable/animation_vector_progress_bar.xml index 4d46ee8f27d8..4d46ee8f27d8 100644 --- a/tests/VectorDrawableTest/res/drawable/animation_vector_progress_bar.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/animation_vector_progress_bar.xml diff --git a/tests/VectorDrawableTest/res/drawable/btn_radio_on_to_off_bundle.xml b/tests/graphics/VectorDrawableTest/res/drawable/btn_radio_on_to_off_bundle.xml index 4f05090f8b01..4f05090f8b01 100644 --- a/tests/VectorDrawableTest/res/drawable/btn_radio_on_to_off_bundle.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/btn_radio_on_to_off_bundle.xml diff --git a/tests/VectorDrawableTest/res/drawable/ic_hourglass.xml b/tests/graphics/VectorDrawableTest/res/drawable/ic_hourglass.xml index 5b409227456c..5b409227456c 100644 --- a/tests/VectorDrawableTest/res/drawable/ic_hourglass.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/ic_hourglass.xml diff --git a/tests/VectorDrawableTest/res/drawable/ic_hourglass_animation.xml b/tests/graphics/VectorDrawableTest/res/drawable/ic_hourglass_animation.xml index 3d87376c314d..3d87376c314d 100644 --- a/tests/VectorDrawableTest/res/drawable/ic_hourglass_animation.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/ic_hourglass_animation.xml diff --git a/tests/VectorDrawableTest/res/drawable/ic_rotate_2_portrait_v2.xml b/tests/graphics/VectorDrawableTest/res/drawable/ic_rotate_2_portrait_v2.xml index b549423f2db1..b549423f2db1 100644 --- a/tests/VectorDrawableTest/res/drawable/ic_rotate_2_portrait_v2.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/ic_rotate_2_portrait_v2.xml diff --git a/tests/VectorDrawableTest/res/drawable/ic_rotate_2_portrait_v2_animation.xml b/tests/graphics/VectorDrawableTest/res/drawable/ic_rotate_2_portrait_v2_animation.xml index 199fbf8b884e..199fbf8b884e 100644 --- a/tests/VectorDrawableTest/res/drawable/ic_rotate_2_portrait_v2_animation.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/ic_rotate_2_portrait_v2_animation.xml diff --git a/tests/VectorDrawableTest/res/drawable/ic_signal_airplane_v2.xml b/tests/graphics/VectorDrawableTest/res/drawable/ic_signal_airplane_v2.xml index 8b2a1a8e4346..8b2a1a8e4346 100644 --- a/tests/VectorDrawableTest/res/drawable/ic_signal_airplane_v2.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/ic_signal_airplane_v2.xml diff --git a/tests/VectorDrawableTest/res/drawable/ic_signal_airplane_v2_animation.xml b/tests/graphics/VectorDrawableTest/res/drawable/ic_signal_airplane_v2_animation.xml index bde2b38f871a..bde2b38f871a 100644 --- a/tests/VectorDrawableTest/res/drawable/ic_signal_airplane_v2_animation.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/ic_signal_airplane_v2_animation.xml diff --git a/tests/VectorDrawableTest/res/drawable/icon.png b/tests/graphics/VectorDrawableTest/res/drawable/icon.png Binary files differindex cb40a1988b52..cb40a1988b52 100644 --- a/tests/VectorDrawableTest/res/drawable/icon.png +++ b/tests/graphics/VectorDrawableTest/res/drawable/icon.png diff --git a/tests/VectorDrawableTest/res/drawable/state_animation_drawable04.xml b/tests/graphics/VectorDrawableTest/res/drawable/state_animation_drawable04.xml index a0a801ca45d5..a0a801ca45d5 100644 --- a/tests/VectorDrawableTest/res/drawable/state_animation_drawable04.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/state_animation_drawable04.xml diff --git a/tests/VectorDrawableTest/res/drawable/state_animation_drawable04_false.xml b/tests/graphics/VectorDrawableTest/res/drawable/state_animation_drawable04_false.xml index 3cf8e483eb51..3cf8e483eb51 100644 --- a/tests/VectorDrawableTest/res/drawable/state_animation_drawable04_false.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/state_animation_drawable04_false.xml diff --git a/tests/VectorDrawableTest/res/drawable/state_animation_vector_drawable01.xml b/tests/graphics/VectorDrawableTest/res/drawable/state_animation_vector_drawable01.xml index 768fe39f26af..768fe39f26af 100644 --- a/tests/VectorDrawableTest/res/drawable/state_animation_vector_drawable01.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/state_animation_vector_drawable01.xml diff --git a/tests/VectorDrawableTest/res/drawable/state_animation_vector_drawable01_false.xml b/tests/graphics/VectorDrawableTest/res/drawable/state_animation_vector_drawable01_false.xml index 96d378c26b47..96d378c26b47 100644 --- a/tests/VectorDrawableTest/res/drawable/state_animation_vector_drawable01_false.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/state_animation_vector_drawable01_false.xml diff --git a/tests/VectorDrawableTest/res/drawable/state_animation_vector_drawable02.xml b/tests/graphics/VectorDrawableTest/res/drawable/state_animation_vector_drawable02.xml index 6a67b0232a4d..6a67b0232a4d 100644 --- a/tests/VectorDrawableTest/res/drawable/state_animation_vector_drawable02.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/state_animation_vector_drawable02.xml diff --git a/tests/VectorDrawableTest/res/drawable/state_animation_vector_drawable02_false.xml b/tests/graphics/VectorDrawableTest/res/drawable/state_animation_vector_drawable02_false.xml index b722da15d9d1..b722da15d9d1 100644 --- a/tests/VectorDrawableTest/res/drawable/state_animation_vector_drawable02_false.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/state_animation_vector_drawable02_false.xml diff --git a/tests/VectorDrawableTest/res/drawable/state_animation_vector_drawable03.xml b/tests/graphics/VectorDrawableTest/res/drawable/state_animation_vector_drawable03.xml index e24dd1fc5b49..e24dd1fc5b49 100644 --- a/tests/VectorDrawableTest/res/drawable/state_animation_vector_drawable03.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/state_animation_vector_drawable03.xml diff --git a/tests/VectorDrawableTest/res/drawable/state_animation_vector_drawable03_false.xml b/tests/graphics/VectorDrawableTest/res/drawable/state_animation_vector_drawable03_false.xml index e788bc261789..e788bc261789 100644 --- a/tests/VectorDrawableTest/res/drawable/state_animation_vector_drawable03_false.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/state_animation_vector_drawable03_false.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable01.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable01.xml index 89afde22f635..89afde22f635 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable01.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable01.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable02.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable02.xml index f5d647ceaa8f..f5d647ceaa8f 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable02.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable02.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable03.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable03.xml index 7cddda177b39..7cddda177b39 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable03.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable03.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable04.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable04.xml index 0f3fb95f5d46..0f3fb95f5d46 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable04.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable04.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable05.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable05.xml index f94ecba1ffb8..f94ecba1ffb8 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable05.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable05.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable06.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable06.xml index 98b623572eb7..98b623572eb7 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable06.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable06.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable07.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable07.xml index 88c4a1eaea48..88c4a1eaea48 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable07.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable07.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable08.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable08.xml index 75529e2fd4ed..75529e2fd4ed 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable08.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable08.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable09.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable09.xml index 853a77000d4c..853a77000d4c 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable09.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable09.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable10.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable10.xml index 83ed194a14e4..83ed194a14e4 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable10.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable10.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable11.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable11.xml index b3d7d8eed349..b3d7d8eed349 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable11.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable11.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable12.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable12.xml index 69ae62c19aba..69ae62c19aba 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable12.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable12.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable13.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable13.xml index 2468a1b303cb..2468a1b303cb 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable13.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable13.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable14.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable14.xml index 01e24d302288..01e24d302288 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable14.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable14.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable15.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable15.xml index 4bab2e37898a..4bab2e37898a 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable15.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable15.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable16.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable16.xml index 107cda2ca233..107cda2ca233 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable16.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable16.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable17.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable17.xml index 801954986ab7..801954986ab7 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable17.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable17.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable18.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable18.xml index c93bdb94f646..c93bdb94f646 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable18.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable18.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable19.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable19.xml index 996b6beff8bf..996b6beff8bf 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable19.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable19.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable20.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable20.xml index 58021446bdc5..58021446bdc5 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable20.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable20.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable21.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable21.xml index 5626b44e4b50..5626b44e4b50 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable21.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable21.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable22.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable22.xml index 5b40d0d07013..5b40d0d07013 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable22.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable22.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable23.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable23.xml index 6ab6ffd2b1fb..6ab6ffd2b1fb 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable23.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable23.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable24.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable24.xml index f0b46994dc23..f0b46994dc23 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable24.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable24.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable25.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable25.xml index f46d14eb89f1..f46d14eb89f1 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable25.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable25.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable26.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable26.xml index 29cff525543b..29cff525543b 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable26.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable26.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable27.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable27.xml index b0f0cee86a73..b0f0cee86a73 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable27.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable27.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable28.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable28.xml index 2d2783b8f41e..2d2783b8f41e 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable28.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable28.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable29.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable29.xml index c0e9b2abba90..c0e9b2abba90 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable29.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable29.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable30.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable30.xml index 3dff196e96ec..3dff196e96ec 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable30.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable30.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable_favorite.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable_favorite.xml index f93486e70c56..f93486e70c56 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable_favorite.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable_favorite.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable_group_clip.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable_group_clip.xml index 9574d7e524c3..9574d7e524c3 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable_group_clip.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable_group_clip.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable_grouping_1.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable_grouping_1.xml index 7839ad19d0f1..7839ad19d0f1 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable_grouping_1.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable_grouping_1.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable_linear_progress_bar.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable_linear_progress_bar.xml index a6da114b511b..a6da114b511b 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable_linear_progress_bar.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable_linear_progress_bar.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable_progress_bar.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable_progress_bar.xml index 22cd9959ade8..22cd9959ade8 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable_progress_bar.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable_progress_bar.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable_scale0.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable_scale0.xml index 88bf777bdaea..88bf777bdaea 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable_scale0.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable_scale0.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable_scale1.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable_scale1.xml index 530c73b20e44..530c73b20e44 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable_scale1.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable_scale1.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable_scale2.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable_scale2.xml index 200eb617a9e8..200eb617a9e8 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable_scale2.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable_scale2.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable_scale3.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable_scale3.xml index a40fc9c21595..a40fc9c21595 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_drawable_scale3.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_drawable_scale3.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_icon_create.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_icon_create.xml index 0a6cedc5ced1..0a6cedc5ced1 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_icon_create.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_icon_create.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_icon_delete.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_icon_delete.xml index 94c10dfd6656..94c10dfd6656 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_icon_delete.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_icon_delete.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_icon_filltype_evenodd.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_icon_filltype_evenodd.xml index d5d86d80269b..d5d86d80269b 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_icon_filltype_evenodd.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_icon_filltype_evenodd.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_icon_filltype_nonzero.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_icon_filltype_nonzero.xml index 9754e4bed48b..9754e4bed48b 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_icon_filltype_nonzero.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_icon_filltype_nonzero.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_icon_gradient_1.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_icon_gradient_1.xml index d67aca7cdaec..d67aca7cdaec 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_icon_gradient_1.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_icon_gradient_1.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_icon_gradient_1_clamp.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_icon_gradient_1_clamp.xml index 2fa440a84cff..2fa440a84cff 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_icon_gradient_1_clamp.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_icon_gradient_1_clamp.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_icon_gradient_2.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_icon_gradient_2.xml index abf3c7a86b80..abf3c7a86b80 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_icon_gradient_2.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_icon_gradient_2.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_icon_gradient_2_repeat.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_icon_gradient_2_repeat.xml index 5a43f804a6e0..5a43f804a6e0 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_icon_gradient_2_repeat.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_icon_gradient_2_repeat.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_icon_gradient_3.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_icon_gradient_3.xml index 5f9726f72c03..5f9726f72c03 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_icon_gradient_3.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_icon_gradient_3.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_icon_gradient_3_mirror.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_icon_gradient_3_mirror.xml index e8de7c2b1f5d..e8de7c2b1f5d 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_icon_gradient_3_mirror.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_icon_gradient_3_mirror.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_icon_heart.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_icon_heart.xml index 870e508319e2..870e508319e2 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_icon_heart.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_icon_heart.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_icon_schedule.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_icon_schedule.xml index 3f79968d88a9..3f79968d88a9 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_icon_schedule.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_icon_schedule.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_icon_settings.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_icon_settings.xml index 7bd6304f78e4..7bd6304f78e4 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_icon_settings.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_icon_settings.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_icon_state_list_simple.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_icon_state_list_simple.xml index 9f08fe83015e..9f08fe83015e 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_icon_state_list_simple.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_icon_state_list_simple.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_icon_state_list_theme.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_icon_state_list_theme.xml index b1ed85025040..b1ed85025040 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_icon_state_list_theme.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_icon_state_list_theme.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_test01.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_test01.xml index dd71ef0e88f5..dd71ef0e88f5 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_test01.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_test01.xml diff --git a/tests/VectorDrawableTest/res/drawable/vector_test02.xml b/tests/graphics/VectorDrawableTest/res/drawable/vector_test02.xml index e4f48de862fa..e4f48de862fa 100644 --- a/tests/VectorDrawableTest/res/drawable/vector_test02.xml +++ b/tests/graphics/VectorDrawableTest/res/drawable/vector_test02.xml diff --git a/tests/VectorDrawableTest/res/interpolator/btn_radio_to_off_mtrl_animation_interpolator_0.xml b/tests/graphics/VectorDrawableTest/res/interpolator/btn_radio_to_off_mtrl_animation_interpolator_0.xml index d3728c475d9b..d3728c475d9b 100644 --- a/tests/VectorDrawableTest/res/interpolator/btn_radio_to_off_mtrl_animation_interpolator_0.xml +++ b/tests/graphics/VectorDrawableTest/res/interpolator/btn_radio_to_off_mtrl_animation_interpolator_0.xml diff --git a/tests/VectorDrawableTest/res/interpolator/custom_path_interpolator.xml b/tests/graphics/VectorDrawableTest/res/interpolator/custom_path_interpolator.xml index 489596c4fe5b..489596c4fe5b 100644 --- a/tests/VectorDrawableTest/res/interpolator/custom_path_interpolator.xml +++ b/tests/graphics/VectorDrawableTest/res/interpolator/custom_path_interpolator.xml diff --git a/tests/VectorDrawableTest/res/interpolator/custom_path_interpolator_favorite.xml b/tests/graphics/VectorDrawableTest/res/interpolator/custom_path_interpolator_favorite.xml index 3d125e490573..3d125e490573 100644 --- a/tests/VectorDrawableTest/res/interpolator/custom_path_interpolator_favorite.xml +++ b/tests/graphics/VectorDrawableTest/res/interpolator/custom_path_interpolator_favorite.xml diff --git a/tests/VectorDrawableTest/res/interpolator/custom_path_interpolator_grouping_1_01.xml b/tests/graphics/VectorDrawableTest/res/interpolator/custom_path_interpolator_grouping_1_01.xml index 6877bd96285d..6877bd96285d 100644 --- a/tests/VectorDrawableTest/res/interpolator/custom_path_interpolator_grouping_1_01.xml +++ b/tests/graphics/VectorDrawableTest/res/interpolator/custom_path_interpolator_grouping_1_01.xml diff --git a/tests/VectorDrawableTest/res/interpolator/ic_rotate_2_portrait_v2_arrows_1_rotation_interpolator.xml b/tests/graphics/VectorDrawableTest/res/interpolator/ic_rotate_2_portrait_v2_arrows_1_rotation_interpolator.xml index f798a84087c6..f798a84087c6 100644 --- a/tests/VectorDrawableTest/res/interpolator/ic_rotate_2_portrait_v2_arrows_1_rotation_interpolator.xml +++ b/tests/graphics/VectorDrawableTest/res/interpolator/ic_rotate_2_portrait_v2_arrows_1_rotation_interpolator.xml diff --git a/tests/VectorDrawableTest/res/interpolator/ic_rotate_2_portrait_v2_arrows_1_scalex_interpolator.xml b/tests/graphics/VectorDrawableTest/res/interpolator/ic_rotate_2_portrait_v2_arrows_1_scalex_interpolator.xml index 314cf448b9eb..314cf448b9eb 100644 --- a/tests/VectorDrawableTest/res/interpolator/ic_rotate_2_portrait_v2_arrows_1_scalex_interpolator.xml +++ b/tests/graphics/VectorDrawableTest/res/interpolator/ic_rotate_2_portrait_v2_arrows_1_scalex_interpolator.xml diff --git a/tests/VectorDrawableTest/res/interpolator/ic_rotate_2_portrait_v2_device_1_rotation_interpolator.xml b/tests/graphics/VectorDrawableTest/res/interpolator/ic_rotate_2_portrait_v2_device_1_rotation_interpolator.xml index f798a84087c6..f798a84087c6 100644 --- a/tests/VectorDrawableTest/res/interpolator/ic_rotate_2_portrait_v2_device_1_rotation_interpolator.xml +++ b/tests/graphics/VectorDrawableTest/res/interpolator/ic_rotate_2_portrait_v2_device_1_rotation_interpolator.xml diff --git a/tests/VectorDrawableTest/res/interpolator/ic_rotate_2_portrait_v2_device_2_pathdata_interpolator.xml b/tests/graphics/VectorDrawableTest/res/interpolator/ic_rotate_2_portrait_v2_device_2_pathdata_interpolator.xml index f798a84087c6..f798a84087c6 100644 --- a/tests/VectorDrawableTest/res/interpolator/ic_rotate_2_portrait_v2_device_2_pathdata_interpolator.xml +++ b/tests/graphics/VectorDrawableTest/res/interpolator/ic_rotate_2_portrait_v2_device_2_pathdata_interpolator.xml diff --git a/tests/VectorDrawableTest/res/interpolator/ic_signal_airplane_v2_path_1_1_pathdata_interpolator.xml b/tests/graphics/VectorDrawableTest/res/interpolator/ic_signal_airplane_v2_path_1_1_pathdata_interpolator.xml index 4917f770cae1..4917f770cae1 100644 --- a/tests/VectorDrawableTest/res/interpolator/ic_signal_airplane_v2_path_1_1_pathdata_interpolator.xml +++ b/tests/graphics/VectorDrawableTest/res/interpolator/ic_signal_airplane_v2_path_1_1_pathdata_interpolator.xml diff --git a/tests/VectorDrawableTest/res/interpolator/trim_end_interpolator.xml b/tests/graphics/VectorDrawableTest/res/interpolator/trim_end_interpolator.xml index 54b5ebd7aa86..54b5ebd7aa86 100644 --- a/tests/VectorDrawableTest/res/interpolator/trim_end_interpolator.xml +++ b/tests/graphics/VectorDrawableTest/res/interpolator/trim_end_interpolator.xml diff --git a/tests/VectorDrawableTest/res/interpolator/trim_start_interpolator.xml b/tests/graphics/VectorDrawableTest/res/interpolator/trim_start_interpolator.xml index c06c196088dd..c06c196088dd 100644 --- a/tests/VectorDrawableTest/res/interpolator/trim_start_interpolator.xml +++ b/tests/graphics/VectorDrawableTest/res/interpolator/trim_start_interpolator.xml diff --git a/tests/VectorDrawableTest/res/layout/activity_animated_vector_drawable_attr.xml b/tests/graphics/VectorDrawableTest/res/layout/activity_animated_vector_drawable_attr.xml index 92680d5da557..92680d5da557 100644 --- a/tests/VectorDrawableTest/res/layout/activity_animated_vector_drawable_attr.xml +++ b/tests/graphics/VectorDrawableTest/res/layout/activity_animated_vector_drawable_attr.xml diff --git a/tests/VectorDrawableTest/res/values/attrs.xml b/tests/graphics/VectorDrawableTest/res/values/attrs.xml index 98bf99217b11..98bf99217b11 100644 --- a/tests/VectorDrawableTest/res/values/attrs.xml +++ b/tests/graphics/VectorDrawableTest/res/values/attrs.xml diff --git a/tests/VectorDrawableTest/res/values/colors.xml b/tests/graphics/VectorDrawableTest/res/values/colors.xml index 6eb303649c39..6eb303649c39 100644 --- a/tests/VectorDrawableTest/res/values/colors.xml +++ b/tests/graphics/VectorDrawableTest/res/values/colors.xml diff --git a/tests/VectorDrawableTest/res/values/strings.xml b/tests/graphics/VectorDrawableTest/res/values/strings.xml index a550549faa37..a550549faa37 100644 --- a/tests/VectorDrawableTest/res/values/strings.xml +++ b/tests/graphics/VectorDrawableTest/res/values/strings.xml diff --git a/tests/VectorDrawableTest/res/values/styles.xml b/tests/graphics/VectorDrawableTest/res/values/styles.xml index 8adc03460d90..8adc03460d90 100644 --- a/tests/VectorDrawableTest/res/values/styles.xml +++ b/tests/graphics/VectorDrawableTest/res/values/styles.xml diff --git a/tests/VectorDrawableTest/src/com/android/test/dynamic/AnimatedStateVectorDrawableTest.java b/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/AnimatedStateVectorDrawableTest.java index 538655552d28..538655552d28 100644 --- a/tests/VectorDrawableTest/src/com/android/test/dynamic/AnimatedStateVectorDrawableTest.java +++ b/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/AnimatedStateVectorDrawableTest.java diff --git a/tests/VectorDrawableTest/src/com/android/test/dynamic/AnimatedVectorDrawableAttr.java b/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/AnimatedVectorDrawableAttr.java index 47ca482b7771..47ca482b7771 100644 --- a/tests/VectorDrawableTest/src/com/android/test/dynamic/AnimatedVectorDrawableAttr.java +++ b/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/AnimatedVectorDrawableAttr.java diff --git a/tests/VectorDrawableTest/src/com/android/test/dynamic/AnimatedVectorDrawableDupPerf.java b/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/AnimatedVectorDrawableDupPerf.java index 047e494a9551..047e494a9551 100644 --- a/tests/VectorDrawableTest/src/com/android/test/dynamic/AnimatedVectorDrawableDupPerf.java +++ b/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/AnimatedVectorDrawableDupPerf.java diff --git a/tests/VectorDrawableTest/src/com/android/test/dynamic/AnimatedVectorDrawableTest.java b/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/AnimatedVectorDrawableTest.java index 8f538aee78aa..8f538aee78aa 100644 --- a/tests/VectorDrawableTest/src/com/android/test/dynamic/AnimatedVectorDrawableTest.java +++ b/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/AnimatedVectorDrawableTest.java diff --git a/tests/VectorDrawableTest/src/com/android/test/dynamic/BitmapDrawableDupe.java b/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/BitmapDrawableDupe.java index 36c8f2b4adf2..36c8f2b4adf2 100644 --- a/tests/VectorDrawableTest/src/com/android/test/dynamic/BitmapDrawableDupe.java +++ b/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/BitmapDrawableDupe.java diff --git a/tests/VectorDrawableTest/src/com/android/test/dynamic/BoundsCheckTest.java b/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/BoundsCheckTest.java index e2d77ca7e40b..e2d77ca7e40b 100644 --- a/tests/VectorDrawableTest/src/com/android/test/dynamic/BoundsCheckTest.java +++ b/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/BoundsCheckTest.java diff --git a/tests/VectorDrawableTest/src/com/android/test/dynamic/ScaleDrawableTests.java b/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/ScaleDrawableTests.java index c5be6c417f69..c5be6c417f69 100644 --- a/tests/VectorDrawableTest/src/com/android/test/dynamic/ScaleDrawableTests.java +++ b/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/ScaleDrawableTests.java diff --git a/tests/VectorDrawableTest/src/com/android/test/dynamic/VectorCheckbox.java b/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/VectorCheckbox.java index 0b3ea4d293d2..0b3ea4d293d2 100644 --- a/tests/VectorDrawableTest/src/com/android/test/dynamic/VectorCheckbox.java +++ b/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/VectorCheckbox.java diff --git a/tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawable01.java b/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawable01.java index 85fc452add3e..85fc452add3e 100644 --- a/tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawable01.java +++ b/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawable01.java diff --git a/tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawableAnimation.java b/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawableAnimation.java index 93b06b6f047b..93b06b6f047b 100644 --- a/tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawableAnimation.java +++ b/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawableAnimation.java diff --git a/tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawableDupPerf.java b/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawableDupPerf.java index a00bc5e35c15..a00bc5e35c15 100644 --- a/tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawableDupPerf.java +++ b/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawableDupPerf.java diff --git a/tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawablePerformance.java b/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawablePerformance.java index 0d2d2e48e4c9..0d2d2e48e4c9 100644 --- a/tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawablePerformance.java +++ b/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawablePerformance.java diff --git a/tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawableStaticPerf.java b/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawableStaticPerf.java index 9d3eded60721..9d3eded60721 100644 --- a/tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawableStaticPerf.java +++ b/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawableStaticPerf.java diff --git a/tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawableTest.java b/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawableTest.java index 704d3d76bbec..704d3d76bbec 100644 --- a/tests/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawableTest.java +++ b/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/VectorDrawableTest.java diff --git a/tests/VectorDrawableTest/src/com/android/test/dynamic/VectorPathChecking.java b/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/VectorPathChecking.java index 34301923b0b6..34301923b0b6 100644 --- a/tests/VectorDrawableTest/src/com/android/test/dynamic/VectorPathChecking.java +++ b/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/VectorPathChecking.java diff --git a/tests/libs-permissions/system_ext/java/com/android/test/libs/system_ext/LibsSystemExtTest.java b/tests/libs-permissions/system_ext/java/com/android/test/libs/system_ext/LibsSystemExtTest.java index 9999aba37d8d..673c73aa2aac 100644 --- a/tests/libs-permissions/system_ext/java/com/android/test/libs/system_ext/LibsSystemExtTest.java +++ b/tests/libs-permissions/system_ext/java/com/android/test/libs/system_ext/LibsSystemExtTest.java @@ -22,7 +22,7 @@ package com.android.test.libs.system_ext;  public class LibsSystemExtTest {      /** -     * Dummy method for testing. +     * Placeholder method for testing.       */      public static void test() {      } diff --git a/tests/utils/testutils/java/android/os/test/FakePermissionEnforcer.java b/tests/utils/testutils/java/android/os/test/FakePermissionEnforcer.java index b94bb41c0988..d10ae307fdf4 100644 --- a/tests/utils/testutils/java/android/os/test/FakePermissionEnforcer.java +++ b/tests/utils/testutils/java/android/os/test/FakePermissionEnforcer.java @@ -47,6 +47,10 @@ public class FakePermissionEnforcer extends PermissionEnforcer {          mGranted.remove(permission);      } +    public void revokeAll() { +        mGranted.clear(); +    } +      private boolean granted(String permission) {          return mGranted.contains(permission);      } diff --git a/tests/vcn/java/android/net/vcn/VcnGatewayConnectionConfigTest.java b/tests/vcn/java/android/net/vcn/VcnGatewayConnectionConfigTest.java index a1a39ff173b4..59dc68900100 100644 --- a/tests/vcn/java/android/net/vcn/VcnGatewayConnectionConfigTest.java +++ b/tests/vcn/java/android/net/vcn/VcnGatewayConnectionConfigTest.java @@ -117,6 +117,16 @@ public class VcnGatewayConnectionConfigTest {          return buildTestConfig(UNDERLYING_NETWORK_TEMPLATES);      } +    // Public for use in VcnGatewayConnectionTest +    public static VcnGatewayConnectionConfig.Builder newTestBuilderMinimal() { +        final VcnGatewayConnectionConfig.Builder builder = newBuilder(); +        for (int caps : EXPOSED_CAPS) { +            builder.addExposedCapability(caps); +        } + +        return builder; +    } +      private static VcnGatewayConnectionConfig.Builder newBuilder() {          // Append a unique identifier to the name prefix to guarantee that all created          // VcnGatewayConnectionConfigs have a unique name (required by VcnConfig). @@ -125,6 +135,17 @@ public class VcnGatewayConnectionConfigTest {                  TUNNEL_CONNECTION_PARAMS);      } +    private static VcnGatewayConnectionConfig.Builder newBuilderMinimal() { +        final VcnGatewayConnectionConfig.Builder builder = +                new VcnGatewayConnectionConfig.Builder( +                        "newBuilderMinimal", TUNNEL_CONNECTION_PARAMS); +        for (int caps : EXPOSED_CAPS) { +            builder.addExposedCapability(caps); +        } + +        return builder; +    } +      private static VcnGatewayConnectionConfig buildTestConfigWithExposedCapsAndOptions(              VcnGatewayConnectionConfig.Builder builder,              Set<Integer> gatewayOptions, @@ -273,6 +294,7 @@ public class VcnGatewayConnectionConfigTest {          assertArrayEquals(RETRY_INTERVALS_MS, config.getRetryIntervalsMillis());          assertEquals(MAX_MTU, config.getMaxMtu()); +        assertTrue(config.isSafeModeEnabled());          assertFalse(                  config.hasGatewayOption( @@ -290,6 +312,14 @@ public class VcnGatewayConnectionConfigTest {      }      @Test +    public void testBuilderAndGettersSafeModeDisabled() { +        final VcnGatewayConnectionConfig config = +                newBuilderMinimal().setSafeModeEnabled(false).build(); + +        assertFalse(config.isSafeModeEnabled()); +    } + +    @Test      public void testPersistableBundle() {          final VcnGatewayConnectionConfig config = buildTestConfig(); @@ -305,6 +335,14 @@ public class VcnGatewayConnectionConfigTest {      }      @Test +    public void testPersistableBundleSafeModeDisabled() { +        final VcnGatewayConnectionConfig config = +                newBuilderMinimal().setSafeModeEnabled(false).build(); + +        assertEquals(config, new VcnGatewayConnectionConfig(config.toPersistableBundle())); +    } + +    @Test      public void testParsePersistableBundleWithoutVcnUnderlyingNetworkTemplates() {          PersistableBundle configBundle = buildTestConfig().toPersistableBundle();          configBundle.putPersistableBundle(UNDERLYING_NETWORK_TEMPLATES_KEY, null); @@ -411,4 +449,18 @@ public class VcnGatewayConnectionConfigTest {          assertEquals(config, configEqual);          assertNotEquals(config, configNotEqual);      } + +    @Test +    public void testSafeModeEnableDisableEquality() throws Exception { +        final VcnGatewayConnectionConfig config = newBuilderMinimal().build(); +        final VcnGatewayConnectionConfig configEqual = newBuilderMinimal().build(); + +        assertEquals(config.isSafeModeEnabled(), configEqual.isSafeModeEnabled()); + +        final VcnGatewayConnectionConfig configNotEqual = +                newBuilderMinimal().setSafeModeEnabled(false).build(); + +        assertEquals(config, configEqual); +        assertNotEquals(config, configNotEqual); +    }  } diff --git a/tests/vcn/java/com/android/server/vcn/VcnGatewayConnectionConnectedStateTest.java b/tests/vcn/java/com/android/server/vcn/VcnGatewayConnectionConnectedStateTest.java index 89271e1218d8..f84616426389 100644 --- a/tests/vcn/java/com/android/server/vcn/VcnGatewayConnectionConnectedStateTest.java +++ b/tests/vcn/java/com/android/server/vcn/VcnGatewayConnectionConnectedStateTest.java @@ -42,6 +42,7 @@ import static org.mockito.Matchers.anyInt;  import static org.mockito.Matchers.argThat;  import static org.mockito.Matchers.eq;  import static org.mockito.Mockito.doReturn; +import static org.mockito.Mockito.doThrow;  import static org.mockito.Mockito.mock;  import static org.mockito.Mockito.never;  import static org.mockito.Mockito.times; @@ -74,6 +75,9 @@ import androidx.test.filters.SmallTest;  import androidx.test.runner.AndroidJUnit4;  import com.android.server.vcn.VcnGatewayConnection.VcnChildSessionCallback; +import com.android.server.vcn.VcnGatewayConnection.VcnChildSessionConfiguration; +import com.android.server.vcn.VcnGatewayConnection.VcnIkeSession; +import com.android.server.vcn.VcnGatewayConnection.VcnNetworkAgent;  import com.android.server.vcn.routeselection.UnderlyingNetworkRecord;  import com.android.server.vcn.util.MtuUtils; @@ -345,6 +349,33 @@ public class VcnGatewayConnectionConnectedStateTest extends VcnGatewayConnection          verify(mConnMgr).reportNetworkConnectivity(eq(mNetworkAgent.getNetwork()), eq(false));      } +    @Test +    public void testMigrationHandleFailure() throws Exception { +        triggerChildOpened(); +        mTestLooper.dispatchAll(); +        assertEquals(mIkeConnectionInfo, mGatewayConnection.getIkeConnectionInfo()); + +        mGatewayConnection +                .getUnderlyingNetworkControllerCallback() +                .onSelectedUnderlyingNetworkChanged(TEST_UNDERLYING_NETWORK_RECORD_2); + +        final IkeSessionConnectionInfo newIkeConnectionInfo = +                new IkeSessionConnectionInfo( +                        TEST_ADDR_V4, TEST_ADDR_V4_2, TEST_UNDERLYING_NETWORK_RECORD_2.network); +        getIkeSessionCallback().onIkeSessionConnectionInfoChanged(newIkeConnectionInfo); +        getChildSessionCallback() +                .onIpSecTransformsMigrated(makeDummyIpSecTransform(), makeDummyIpSecTransform()); + +        doThrow(new IllegalArgumentException("testMigrationHandleFailure")) +                .when(mIpSecSvc) +                .setNetworkForTunnelInterface(anyInt(), any(), any()); + +        mTestLooper.dispatchAll(); + +        assertEquals(mGatewayConnection.mDisconnectingState, mGatewayConnection.getCurrentState()); +        verify(mIkeSession).close(); +    } +      private void triggerChildOpened() {          triggerChildOpened(Collections.singletonList(TEST_INTERNAL_ADDR), TEST_DNS_ADDR);      } @@ -623,6 +654,74 @@ public class VcnGatewayConnectionConnectedStateTest extends VcnGatewayConnection          verifySafeModeStateAndCallbackFired(2 /* invocationCount */, true /* isInSafeMode */);      } +    private void verifySetSafeModeAlarm( +            boolean safeModeEnabledByCaller, +            boolean safeModeConfigFlagEnabled, +            boolean expectingSafeModeEnabled) +            throws Exception { +        final VcnGatewayConnectionConfig config = +                VcnGatewayConnectionConfigTest.newTestBuilderMinimal() +                        .setSafeModeEnabled(safeModeEnabledByCaller) +                        .build(); +        final VcnGatewayConnection.Dependencies deps = +                mock(VcnGatewayConnection.Dependencies.class); +        setUpWakeupMessage( +                mSafeModeTimeoutAlarm, VcnGatewayConnection.SAFEMODE_TIMEOUT_ALARM, deps); +        doReturn(safeModeConfigFlagEnabled).when(mFeatureFlags).safeModeConfig(); + +        final VcnGatewayConnection connection = +                new VcnGatewayConnection( +                        mVcnContext, +                        TEST_SUB_GRP, +                        TEST_SUBSCRIPTION_SNAPSHOT, +                        config, +                        mGatewayStatusCallback, +                        true /* isMobileDataEnabled */, +                        deps); + +        connection.setSafeModeAlarm(); + +        final int expectedCallCnt = expectingSafeModeEnabled ? 1 : 0; +        verify(deps, times(expectedCallCnt)) +                .newWakeupMessage( +                        eq(mVcnContext), +                        any(), +                        eq(VcnGatewayConnection.SAFEMODE_TIMEOUT_ALARM), +                        any()); +    } + +    @Test +    public void testSafeModeEnabled_configFlagEnabled() throws Exception { +        verifySetSafeModeAlarm( +                true /* safeModeEnabledByCaller */, +                true /* safeModeConfigFlagEnabled */, +                true /* expectingSafeModeEnabled */); +    } + +    @Test +    public void testSafeModeEnabled_configFlagDisabled() throws Exception { +        verifySetSafeModeAlarm( +                true /* safeModeEnabledByCaller */, +                false /* safeModeConfigFlagEnabled */, +                true /* expectingSafeModeEnabled */); +    } + +    @Test +    public void testSafeModeDisabled_configFlagEnabled() throws Exception { +        verifySetSafeModeAlarm( +                false /* safeModeEnabledByCaller */, +                true /* safeModeConfigFlagEnabled */, +                false /* expectingSafeModeEnabled */); +    } + +    @Test +    public void testSafeModeDisabled_configFlagDisabled() throws Exception { +        verifySetSafeModeAlarm( +                false /* safeModeEnabledByCaller */, +                false /* safeModeConfigFlagEnabled */, +                true /* expectingSafeModeEnabled */); +    } +      private Consumer<VcnNetworkAgent> setupNetworkAndGetUnwantedCallback() {          triggerChildOpened();          mTestLooper.dispatchAll(); diff --git a/tests/vcn/java/com/android/server/vcn/VcnGatewayConnectionTestBase.java b/tests/vcn/java/com/android/server/vcn/VcnGatewayConnectionTestBase.java index 5efbf598f941..edced87427c8 100644 --- a/tests/vcn/java/com/android/server/vcn/VcnGatewayConnectionTestBase.java +++ b/tests/vcn/java/com/android/server/vcn/VcnGatewayConnectionTestBase.java @@ -53,6 +53,7 @@ import android.net.ipsec.ike.ChildSessionCallback;  import android.net.ipsec.ike.IkeSessionCallback;  import android.net.ipsec.ike.IkeSessionConfiguration;  import android.net.ipsec.ike.IkeSessionConnectionInfo; +import android.net.vcn.FeatureFlags;  import android.net.vcn.VcnGatewayConnectionConfig;  import android.net.vcn.VcnGatewayConnectionConfigTest;  import android.os.ParcelUuid; @@ -165,6 +166,7 @@ public class VcnGatewayConnectionTestBase {      @NonNull protected final Context mContext;      @NonNull protected final TestLooper mTestLooper;      @NonNull protected final VcnNetworkProvider mVcnNetworkProvider; +    @NonNull protected final FeatureFlags mFeatureFlags;      @NonNull protected final VcnContext mVcnContext;      @NonNull protected final VcnGatewayConnectionConfig mConfig;      @NonNull protected final VcnGatewayStatusCallback mGatewayStatusCallback; @@ -190,6 +192,7 @@ public class VcnGatewayConnectionTestBase {          mContext = mock(Context.class);          mTestLooper = new TestLooper();          mVcnNetworkProvider = mock(VcnNetworkProvider.class); +        mFeatureFlags = mock(FeatureFlags.class);          mVcnContext = mock(VcnContext.class);          mConfig = VcnGatewayConnectionConfigTest.buildTestConfig();          mGatewayStatusCallback = mock(VcnGatewayStatusCallback.class); @@ -222,6 +225,7 @@ public class VcnGatewayConnectionTestBase {          doReturn(mContext).when(mVcnContext).getContext();          doReturn(mTestLooper.getLooper()).when(mVcnContext).getLooper();          doReturn(mVcnNetworkProvider).when(mVcnContext).getVcnNetworkProvider(); +        doReturn(mFeatureFlags).when(mVcnContext).getFeatureFlags();          doReturn(mUnderlyingNetworkController)                  .when(mDeps) @@ -241,8 +245,15 @@ public class VcnGatewayConnectionTestBase {          doReturn(ELAPSED_REAL_TIME).when(mDeps).getElapsedRealTime();      } +    protected void setUpWakeupMessage( +            @NonNull WakeupMessage msg, +            @NonNull String cmdName, +            VcnGatewayConnection.Dependencies deps) { +        doReturn(msg).when(deps).newWakeupMessage(eq(mVcnContext), any(), eq(cmdName), any()); +    } +      private void setUpWakeupMessage(@NonNull WakeupMessage msg, @NonNull String cmdName) { -        doReturn(msg).when(mDeps).newWakeupMessage(eq(mVcnContext), any(), eq(cmdName), any()); +        setUpWakeupMessage(msg, cmdName, mDeps);      }      @Before  |