Age | Commit message (Collapse) | Author |
|
modules should specify the submodule of java_sdk_library that the module
actually depends on
Test: CI
Bug: 358613520
Change-Id: I01e0d07b31c4b46b31618405e0052d23914242f8
|
|
* 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
|
|
1. Query package name by intent rather than hardcoded. Otherwise
the force-stop may not kill the target app.
It is expected that metric files-cold-start-performance-median
will increase, because it was warm-start (only provider is killed).
2. Change from looping "-> launcher activity -> target activity" to
only "-> target activity", to eliminate uninterested factors from
transition between home.
3. Wait until the removal of previous target activity is completed
to start next iteration. So the metrics could be stabler by
focusing on measuring the launch flow.
4. Remove waitForIdle to avoid non deterministic waiting according
to accessibility event. It usually means UI interaction is idle
but not the app is idle.
This can also reduce test execution time by more than 70%, e.g.
warm-start 40s to 9s.
Bug: 258902050
Bug: 266684779
Test: atest FilesAppPerfTest
Change-Id: I8da0050105f02e3ba405b4b3184f56450befd358
|
|
Bug: 195589487
Change-Id: Ib4c3e022be0f5dd4fb888d5a1a2409776fa7ce14
|
|
am: f328f432dc am: 5eaffd0d8d
Original change: https://android-review.googlesource.com/c/platform/packages/apps/DocumentsUI/+/1587898
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I357726610109fc3873b47b3187af3344e7ca9b12
|
|
Do not use deprecated InstrumentationTestCase.
Bug: b/172498596
Test: atest DocumentsUIAppPerfTests
Change-Id: I4472deace40e21a53a2087f74641389364816f1b
|
|
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
|
|
Bug: 172498596
Test: atest DocumentsUIAppPerfTests
Change-Id: Ia02b1a02395abfa733fb145061c6d65e4213dc14
|
|
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
|
|
Bug: 76692459
Test: mmma packages/apps/DocumentsUI
Change-Id: Ie4d4dc1fc15c27a567d47ce28baec26ab5076f83
|
|
Add it to the suite version of APCT metric instrumentation.
Test: build device-tests.zip
Bug: 77280599
Change-Id: If1428a2e943e552a4770ae85dca68c166124b919
|
|
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
|
|
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
|
|
Test: make DocumentsUI
Change-Id: Ie549c3bf1a1680b3a2821078757c78255a23ec53
|
|
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
|
|
And move Shared to base.
And lots more to base.
Change-Id: I8b01264a329473c13c59f0cd25a320ba73dbd82d
|
|
FilesActivity > manager/ManageActivity
DocumentsActivity > picker/PickActivity
Change-Id: If2efb07fbebbd6ef84aa744af17c8cbeac05d770
|
|
* Move ActionMode logic into a new class ActionModeController
* Move SelectionDetails logic into MultiSelectionController
* Merge canSelect() and onBeforeItemStateChange()
* Add some basic unit tests for selecting unselectable items
* Fix a bug that selects unselectable items using gestural selection
* Convert MultiSelectManagerTests to JUnit4
Change-Id: I14642178ff39e7b990cc9f3fb0d9f40e6309e087
|
|
Kiling ia force-stopping was invalidating the entire roots cache.
Bug: 27743087
Change-Id: Ib788cfeaa6e60c40b7277ba7ca0f2371816eded1
|
|
The test launches the DocumentsUI as picker, then waits until the
main thread idles, which guarantees that roots are loaded and UI
rendered.
It confirms, that the recent system cache improves cold start
performance by around 24% on my configuration (from 1685ms to 1357ms).
Bug: 27370274
Change-Id: I738202ea434a7bfe7080fc0994f636ef0e7847cd
|