summaryrefslogtreecommitdiff
path: root/perf-tests
AgeCommit message (Collapse)Author
2024-08-30Make java_sdk_library dependencies explicit Jihoon Kang
modules should specify the submodule of java_sdk_library that the module actually depends on Test: CI Bug: 358613520 Change-Id: I01e0d07b31c4b46b31618405e0052d23914242f8
2024-01-03Build DocumentsUI sources once Colin Cross
Put all the DocumentsUI sources and resources into an android_library so that they are only built once and can always use a single package name to refer to the resources once use_resource_processor: true is enabled. This relands I97387234c9e90fa2a68b9ee7e013dbb0f15c04ca with a fix to export DocumentsUIManifestLib including the AndroidManifest.xml for merging into DocumentsUIGoogle and ArcDocumentsUI. Bug: 294256649 Test: DocumentsUI DocumentsUIGoogle DocumentsUITests DocumentsUIUnitTests Change-Id: I9b0caf2d63fdb00321391d4b50a0bee5f00bbc41
2023-12-19Update the imports to androidx.test.filters.* Fangqiu Su
Bug: 316941721 Test: mmma . Change-Id: I49d49816790dcc68945c2dca60f47f2aff5da155
2023-10-26Revert "Build DocumentsUI sources once" Colin Cross
Revert submission 25032702-DocumentsUI-lib Reason for revert: broke document browsing Reverted changes: /q/submissionid:25032702-DocumentsUI-lib Bug: 307873144 Bug: 307882692 Change-Id: I5042f5f430f515cfe648156f21f7570e43aabbe6
2023-10-17Build DocumentsUI sources once Colin Cross
Put all the DocumentsUI sources and resources into an android_library so that they are only built once and can always use a single package name to refer to the resources once use_resource_processor: true is enabled. Bug: 294256649 Test: DocumentsUI DocumentsUIGoogle DocumentsUITests DocumentsUIUnitTests Change-Id: I97387234c9e90fa2a68b9ee7e013dbb0f15c04ca
2023-04-26Update uiautomator references in packages/apps/DocumentsUI/ Yichun Li
* Remove unused dependencies. * Replace "ub-uiautomator" (v2.2.0) with "androidx.test.uiautomator_uiautomator" (v2.3.0). Bug: 235842600 Test: m DocumentsUI, presubmit Change-Id: Idc06a2ecce4d6ba29d796635c6a45b4d0444edd1
2021-02-12[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/DocumentsUI Bob Badour
Added SPDX-license-identifier-Apache-2.0 to: app-perf-tests/Android.bp perf-tests/Android.bp tests/Android.bp Added SPDX-license-identifier-Apache-2.0 legacy_unencumbered to: Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: Ie39012d186473a97039ee877f959292d2aa226a3
2019-09-05Fix AlertDialog TextInputLayout truncated issue Bill Lin
Adjust background top and bottom inset through alertDialogStyle Fixes: 136710838 Bug: 136176461 Test: manual, enlarge display size, font size and verify the dialog UI Test: atest DocumentsUIGoogleTests Change-Id: Id0d1ba20e908c04286d6f711c60186bc5a972c9a
2018-12-13Migrate packages/apps/DocumentsUI to androidx.test Brett Chabot
See go/jetpack-test-android-migration Test: make checkbuild Change-Id: Iee68768060f3811678eb51318fb429b629ff03b1
2018-10-24transform Android.mk to Android.bp felkachang
To speed up the build speed and testing cycle. Android build system find the all of Android.bp first and Android.mk later. * bpfmt -s -w Android.bp Fixes: 117403811 Test: atest DocumentsUITests Change-Id: Id9400f9e8d279a70846635d04eb4e5d744d07650
2018-04-09Migrated various apps under packages/apps/DocumentsUI/perf-tests/ to androidx KOUSHIK PANUGANTI
Bug: 76692459 Test: make DocumentsUIPerfTests Change-Id: If444d0cc67d25ffba18956e6b003bfe227d19829
2018-02-23packages/apps/DocumentsUI: Set LOCAL_SDK_VERSION where possible. Anton Hansson
This change sets LOCAL_SDK_VERSION for all packages where this is possible without breaking the build, and LOCAL_PRIVATE_PLATFORM_APIS := true otherwise. Setting one of these two will be made required soon, and this is a change in preparation for that. Not setting LOCAL_SDK_VERSION makes the app implicitly depend on the bootclasspath, which is often not required. This change effectively makes depending on private apis opt-in rather than opt-out. Test: make relevant packages Bug: 73535841 Change-Id: Ia8cb832ecb40050a5573959dab15e2deec0fb4c0
2017-12-08Stop statically including legacy-android-test Paul Duffin
Statically including legacy-android-test leads to duplicate classes which causes build time problems (with Proguard) and runtime problems on older SDK versions. This change: * Stops statically including legacy-android-test. * Adds compile time dependencies on andoid.test.base, android.test.mock and android.test.runner where necessary. * Adds <uses-library android:name="android.test.runner"/> to any affected package to ensure that the classes that were included by legacy-android-test are still available at runtime. That also adds a dependency on android.test.base and android.test.mock. The following change descriptions were generated automatically and so may be a little repetitive. They are provided to give the reviewer enough information to check the comments match what has actually been changed and check the reasoning behind the changes. * app-perf-tests/Android.mk Added 'android.test.base' to LOCAL_JAVA_LIBRARIES because DocumentsUIAppPerfTests's source depends on its classes and because of these changes they are no longer present on the compilation path. Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES because statically including the classes in DocumentsUIAppPerfTests results in duplicate classes which leads to build time and compile time issues. * perf-tests/Android.mk Added 'android.test.base' and 'android.test.mock' to LOCAL_JAVA_LIBRARIES because DocumentsUIPerfTests's source depends on their classes and because of these changes they are no longer present on the compilation path. Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES because statically including the classes in DocumentsUIPerfTests results in duplicate classes which leads to build time and compile time issues. * tests/Android.mk Added 'android.test.base' and 'android.test.mock' to LOCAL_JAVA_LIBRARIES because DocumentsUITests's source depends on their classes and because of these changes they are no longer present on the compilation path. Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES because statically including the classes in DocumentsUITests results in duplicate classes which leads to build time and compile time issues. Bug: 30188076 Test: make checkbuild Change-Id: Ic14e6ba4f57a82554eb8fae6038fabc8e1f19836
2017-04-26Use AAPT2 Alan Viverette
Test: make DocumentsUI Change-Id: Ie549c3bf1a1680b3a2821078757c78255a23ec53
2017-02-01Prepare for removal of legacy-test from default libraries Paul Duffin
In preparation for removing junit classes from the Android API the legacy-test target will be removed from the TARGET_DEFAULT_JAVA_LIBRARIES. This change adds explicit dependencies on junit and/or legacy-android-test to ensure that modules will compile properly once it is removed. Bug: 30188076 Test: make checkbuild Change-Id: I33c44d22d3e4e4e86013ce30d244b0bb433eb109
2016-09-29manager/ManageActivity back to files/FilesActivity. Steve McKay
The "mange" rename resulted in a disturbance in the force. Change-Id: I0f057ba7621912f173e47a472bfc6e23a5a6d54a
2016-09-16Functional Test for context menus. Ben Lin
Change-Id: Ibc3f9e0234444a6a2469218a475ca49c205bc93b
2016-09-16Move functional tests into separate test target. Steve McKay
Also separate out support code from unittests. Change-Id: I81490950373e170c857b23468da8d97d6aaf50d9
2016-09-16Move State to base and root stuff to roots. Steve McKay
And move Shared to base. And lots more to base. Change-Id: I8b01264a329473c13c59f0cd25a320ba73dbd82d
2016-09-15Move more classes to more specific locations. Steve McKay
Moved .model classes to .base. Deleted some unused classes. Moved functional tests into a new .funcitonal package. Followup to 1450250. Change-Id: Ic087fe4a014d9179fab3dc6f833aaf73373f9452
2016-09-15Move Activity classes to own packages. Steve McKay
FilesActivity > manager/ManageActivity DocumentsActivity > picker/PickActivity Change-Id: If2efb07fbebbd6ef84aa744af17c8cbeac05d770
2016-07-21Attempt at fixing broken tests and regressing performance. Ben Lin
1. testDeleteDocument_Cancel seems to pass far more often than testDeleteDocument, which always errors out due to not able to find the menu item. This is to combine the tests so we don't lose coverage, but also have less noise in APCT until we figure out what's going on. 2. We have regression currently on our jank tests. Per Guang's suggestion, we are going to try freezing device orientation to see if it helps. Bug: 30190207 Change-Id: Ibdfdb75471b3220faaa9e8abef03df489ff185c3
2016-05-13Initial effort toward fixing Suppress tests by integration of Espresso. Ben Lin
Bug: 27533946 Change-Id: I0286ff6d4c53b464180e3100b7219e766ca09de3
2016-03-30Render thumbnails in DocumentsUI jank tests. Tomasz Mikolajewski
Bug: 27383277 Change-Id: I0b5f267d7dc6c6c426b68f261c470f4ae46367a4
2016-03-28Add basic jank tests for DocumentsUI. Tomasz Mikolajewski
This CL adds two jank tests: * For opening a root (directory) with many files. * For flinging through a directory with many files. Bug: 27383277 Change-Id: Ie67efe6d5495ff3a8ed63135ed7ec2d4e6262bd2
2016-03-06fix DocumentsUI tests makefile Guang Zhu
For instrumentation test apks, it should not statically include Java libraries that are already present in the app module being instrumented. They only need to be on classpath during compile time. Bug: 26689464 Change-Id: I68d4be95e30ae70bbab23d016a87eb085c10cc50
2016-03-03Add broken assert in performance tests of DocumentsUI. Tomasz Mikolajewski
Bug: 27370274 Change-Id: Ibdacd82b384d37d76527c622d9986876fe84fcbd
2016-03-02Fix DocumentUI's perf tests compile failure. Tomasz Mikolajewski
It compiled locally, but not on the APCT. Bug: 27370274 Change-Id: I7f10f3bf5b370d8e92311febfdcae133148e1312
2016-03-02Add scaffolds for performance tests of DocumentsUI Tomasz Mikolajewski
Bug: 27370274 Change-Id: I14dea1b85cd84c8bb3c0eee27b2954108bfa4f8b